2019-01-23 07:15:59 -08:00
|
|
|
@import '~styles/variables.less';
|
|
|
|
|
|
|
|
.Loader {
|
2019-01-23 08:35:03 -08:00
|
|
|
position: relative;
|
2019-01-23 07:15:59 -08:00
|
|
|
color: @primary-color;
|
|
|
|
font-size: 2rem;
|
2019-01-23 08:35:03 -08:00
|
|
|
|
|
|
|
&:not(.is-inline) {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-large {
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-small {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-tip {
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 50%;
|
|
|
|
width: 200px;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
text-align: center;
|
|
|
|
color: @text-color-secondary;
|
|
|
|
font-size: 0.8rem;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
}
|
2019-02-05 12:34:19 -08:00
|
|
|
|
|
|
|
&.is-overlay {
|
|
|
|
z-index: 10;
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
transform: none !important;
|
|
|
|
background: rgba(255, 255, 255, 0.5);
|
|
|
|
}
|
2019-01-23 07:15:59 -08:00
|
|
|
}
|