mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
d36790640e
- box-sizing: border-box added to all elements globally in #8921 - Relates to #9031
29 lines
563 B
SCSS
29 lines
563 B
SCSS
.progress {
|
|
border-radius: 1.2em;
|
|
background-color: $color-teal-darker;
|
|
border: 1px solid $color-teal;
|
|
opacity: 0;
|
|
|
|
&.active {
|
|
@include transition(opacity 0.3s ease);
|
|
opacity: 1;
|
|
}
|
|
|
|
.bar {
|
|
@include transition(width 0.3s ease);
|
|
border-radius: 1.5em;
|
|
overflow: hidden;
|
|
text-align: end;
|
|
line-height: 1.2em;
|
|
color: $color-white;
|
|
font-size: 0.85em;
|
|
background-color: $color-teal;
|
|
height: 1.2em;
|
|
padding-inline-end: 1em;
|
|
|
|
@media (forced-colors: active) {
|
|
background-color: ButtonText;
|
|
}
|
|
}
|
|
}
|