Created
September 22, 2016 13:18
-
-
Save johnrhampton/e55cd59585d92d7c82d747b3e39a4a1c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* LoadingOverlay component styles | |
*/ | |
.loading-overlay .mdl-spinner { | |
height: 150px; | |
width: 150px; | |
} | |
.page-loading { | |
z-index: 99999 !important; | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-color: #ccc; | |
opacity: .9; | |
pointer-events: auto; | |
-webkit-backface-visibility: hidden; | |
-moz-backface-visibility: hidden; | |
-ms-backface-visibility: hidden; | |
-o-backface-visibility: hidden; | |
backface-visibility: hidden; | |
-webkit-transition: opacity 0.3s linear; | |
-moz-transition: opacity 0.3s linear; | |
-o-transition: opacity 0.3s linear; | |
transition: opacity 0.3s linear; | |
} | |
.loading-overlay-message { | |
z-index: 2; | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
-webkit-transform: translate(-50%, -50%); | |
transform: translate(-50%, -50%); | |
-webkit-text-shadow: 2px 2px #000000; | |
text-shadow: 2px 2px #000000; | |
text-shadow: 2px 2px rgba(0, 0, 0, 0.15); | |
font-weight: 500; | |
font-size: 3.8em; | |
} | |
@media screen and (max-width: 525px) { | |
.loading-overlay-message { | |
display: none; | |
} | |
} | |
.loading-overlay { | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
-webkit-transform: translate(-50%, -50%); | |
transform: translate(-50%, -50%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment