| /* |
| Copyright 2020 TATA ELXSI |
| |
| 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. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in) |
| */ |
| @import '../../../assets/scss/mixins/mixin'; |
| @import '../../../assets/scss/variable'; |
| .loader-overlay { |
| -ms-opacity: 0.9; |
| @include background(null, $white, null, null, null); |
| @include position_value(absolute, 0, null, null, 0); |
| @include wh-value(100%, 100%); |
| opacity: 0.9; |
| vertical-align: middle; |
| z-index: 100000; |
| .loader-content { |
| @include wh-value(50%, null); |
| margin-left: auto; |
| margin-top: auto; |
| .loader-text { |
| color: $body-color; |
| } |
| } |
| .loader-center { |
| @include position_value(absolute, 50%, null, null, 50%); |
| @include flexbox(block, null, null, null, null, null); |
| -moz-transform: translate(-50%, -50%); |
| -ms-transform: translate(-50%, -50%); |
| -o-transform: translate(-50%, -50%); |
| -webkit-transform: translate(-50%, -50%); |
| transform: translate(-50%, -55%); |
| } |
| } |
| .loader, |
| .loader:after { |
| @include roundedCornersPercentage(50%); |
| @include wh-value(10em, 10em); |
| } |
| .loader { |
| @include font(null, 3px, null); |
| @include position_value(relative, null, null, null, null); |
| @include border(top, 2, solid, rgba(5, 76, 140, 0.28)); |
| @include border(right, 2, solid, rgba(5, 76, 140, 0.28)); |
| @include border(bottom, 2, solid, rgba(5, 76, 140, 0.28)); |
| @include border(left, 2, solid, $primary); |
| margin: 0 auto; |
| text-indent: -9999em; |
| -webkit-transform: translateZ(0); |
| -ms-transform: translateZ(0); |
| transform: translateZ(0); |
| -webkit-animation: load8 1.1s infinite linear; |
| animation: load8 1.1s infinite linear; |
| } |
| @-webkit-keyframes load8 { |
| 0% { |
| -webkit-transform: rotate(0deg); |
| transform: rotate(0deg); |
| } |
| 100% { |
| -webkit-transform: rotate(360deg); |
| transform: rotate(360deg); |
| } |
| } |
| @keyframes load8 { |
| 0% { |
| -webkit-transform: rotate(0deg); |
| transform: rotate(0deg); |
| } |
| 100% { |
| -webkit-transform: rotate(360deg); |
| transform: rotate(360deg); |
| } |
| } |
| @keyframes blink {50% { color: transparent }} |
| .loader__dot { animation: 1s blink infinite } |
| .loader__dot:nth-child(2) { animation-delay: 250ms } |
| .loader__dot:nth-child(3) { animation-delay: 500ms } |