0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/scss/components/_progressbar.scss
Thibaud Colas 14280ad7ea
Convert all UI code to CSS logical properties (#8051)
- Rewrite all styles to use logical properties
- Update Stylelint configuration to include logical properties checks
2022-03-15 13:21:06 +00:00

26 lines
509 B
SCSS

.progress {
border-radius: 1.2em;
background-color: $color-teal-dark;
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;
box-sizing: border-box;
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;
}
}