forked from AuroraMiddleware/gtk
Adwaita: Fix levelbar styling
The block nodes are inside a trough node.
This commit is contained in:
parent
b471158e38
commit
7fd06cacbd
@ -3066,7 +3066,7 @@ $levelbar_border_radius: 3px;
|
||||
|
||||
levelbar {
|
||||
&.horizontal {
|
||||
> block {
|
||||
trough > block {
|
||||
min-height: $levelbar_size;
|
||||
border-radius: $levelbar_border_radius;
|
||||
|
||||
@ -3085,7 +3085,7 @@ levelbar {
|
||||
|
||||
// segmented level bar
|
||||
&.discrete {
|
||||
> block {
|
||||
trough > block {
|
||||
min-height: 2px;
|
||||
margin: 1px;
|
||||
min-width: 24px;
|
||||
@ -3099,12 +3099,12 @@ levelbar {
|
||||
}
|
||||
|
||||
&.vertical {
|
||||
> block {
|
||||
trough > block {
|
||||
min-width: $levelbar_size;
|
||||
border-radius: $levelbar_border_radius;
|
||||
}
|
||||
|
||||
&.discrete > block {
|
||||
&.discrete > trough > block {
|
||||
min-width: $levelbar_size - 7px;
|
||||
margin: 1px 0;
|
||||
min-height: 32px;
|
||||
@ -3118,7 +3118,7 @@ levelbar {
|
||||
}
|
||||
|
||||
// level bar colours
|
||||
> block {
|
||||
> trough > block {
|
||||
border: 1px solid;
|
||||
box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user