mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
43 lines
760 B
SCSS
43 lines
760 B
SCSS
// Loading throbber displayed when ajax request takes too long to complete
|
|
#progress {
|
|
display: none;
|
|
@include border-radius(0 0 4px 4px);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1000;
|
|
background-color: $spree-blue;
|
|
color: #FFFFFF;
|
|
opacity: .8;
|
|
font-size: 1rem;
|
|
padding: .5rem 1rem;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
|
|
.spinner {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
// Loading message replacing a table when it's loading for example
|
|
#loading {
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
color: $color-4;
|
|
|
|
i {
|
|
font-size: 2rem;
|
|
}
|
|
img.spinner {
|
|
border: 0px;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
h1 {
|
|
margin-top: 20px;
|
|
color: inherit;
|
|
}
|
|
}
|