fix progressbar for lua theme

This commit is contained in:
fujr 2024-11-17 16:02:20 +08:00
parent 1ba28906a2
commit 5099c05a20
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@
.cbi-progressbar { .cbi-progressbar {
border: 1px solid var(--border-color-high,var(--progressbarColor)); border: 1px solid var(--border-color-high,var(--progressbarColor,var(--background-color)));
border-radius: 3px; border-radius: 3px;
position: relative; position: relative;
min-width: 170px; min-width: 170px;
@ -19,7 +19,7 @@
} }
.cbi-progressbar > div { .cbi-progressbar > div {
background: var(--primary-color-medium,var(--progressbar)); background: var(--progressbar, var(--primary, var(--primary-color-medium)));
height: 100%; height: 100%;
transition: width .25s ease-in; transition: width .25s ease-in;
width: 0%; width: 0%;

View File

@ -10,7 +10,7 @@
.cbi-progressbar { .cbi-progressbar {
border: 1px solid var(--border-color-high,var(--progressbarColor)); border: 1px solid var(--border-color-high,var(--progressbarColor,var(--background-color)));
border-radius: 3px; border-radius: 3px;
position: relative; position: relative;
min-width: 170px; min-width: 170px;
@ -20,7 +20,7 @@
} }
.cbi-progressbar > div { .cbi-progressbar > div {
background: var(--primary-color-medium,var(--progressbar)); background: var(--progressbar, var(--primary, var(--primary-color-medium)));
height: 100%; height: 100%;
transition: width .25s ease-in; transition: width .25s ease-in;
width: 0%; width: 0%;