$tlv-light-gray: #eaeaea;
$tlv-hover: #e6f6fb;
$highlight-gray: #eceff3;
+$transparent-black: rgba(0,0,0,.3);
$content-background-color: $white;
@import "modules";
&.dox-ui-punch-out {
- background-color: $content-background-color;
+ background-color: $content-background-color;
&.dox-ui-punch-out-full-page {
position: absolute;
top: 0;
right: 0;
overflow-y: auto;
}
- }
+ }
}
/* Out of namespace context for datepicker */
top: 50px;
}
}
+
+
+.onboarding-loader {
+ .onboarding-loader-backdrop {
+ @import "common/variables";
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ position: absolute;
+ background-color: $transparent-black;
+ }
+}
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
import OnboardingView from './OnboardingView.jsx';
import { connect } from 'react-redux';
-const mapStateToProps = ({ currentScreen }) => ({ currentScreen });
+const mapStateToProps = ({ currentScreen, loader: { isLoading } }) => ({
+ currentScreen,
+ isLoading
+});
const Onboarding = connect(mapStateToProps, null)(OnboardingView);
export default Onboarding;
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
}
render() {
- let { currentScreen } = this.props;
+ let { currentScreen, isLoading } = this.props;
let { screen, props } = currentScreen;
-
+ const preventClicks = isLoading ? 'no-pointer-events' : '';
return (
- <div className="dox-ui dox-ui-punch-out dox-ui-punch-out-full-page">
+ <div
+ className={`dox-ui dox-ui-punch-out dox-ui-punch-out-full-page ${preventClicks}`}>
{(() => {
switch (screen) {
case enums.SCREEN.ONBOARDING_CATALOG: