0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
wagtail/client/scss/components/_progressbar.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
650 B
SCSS
Raw Normal View History

.progress {
border-radius: 1.2em;
background-color: theme('colors.surface-button-hover');
border: 1px solid theme('colors.surface-button-default');
opacity: 0;
2014-07-04 18:07:35 +02:00
&.active {
2014-07-07 11:14:23 +02:00
@include transition(opacity 0.3s ease);
2015-11-03 13:15:33 +01:00
opacity: 1;
}
.bar {
2014-07-04 18:07:35 +02:00
@include transition(width 0.3s ease);
border-radius: 1.5em;
overflow: hidden;
text-align: end;
line-height: 1.2em;
color: theme('colors.text-button');
font-size: 0.85em;
background-color: theme('colors.surface-button-default');
height: 1.2em;
padding-inline-end: 1em;
@media (forced-colors: active) {
background-color: ButtonText;
}
}
2015-11-03 13:15:33 +01:00
}