GTK 3.20 :: Fixed levelbar nth-child (#446)

* * Fixed levelbar nth-child.

* * Border color fix.
pull/448/head
Csaba Jakosa 2016-05-16 12:02:20 +02:00 committed by Khurshid Alam
parent fa6fdff0fe
commit 62528fbcf6
1 changed files with 33 additions and 33 deletions

View File

@ -20,9 +20,8 @@
background-color: shade($bg_color, 1.08);
background-image: none;
}
}
progressbar progress {
progress {
@include linear-gradient($selected_bg_color);
border-radius: 0;
@ -54,6 +53,7 @@
}
}
}
}
levelbar {
block {
@ -75,22 +75,21 @@
border-radius: $roundness;
}
&.horizontal.discrete { margin-right: 1px; }
&.horizontal.discrete block {
margin: 0 2px;
&.vertical.discrete { margin-bottom: 1px; }
&:first-child { margin: 0; }
}
block:not(.empty) {
@include linear-gradient($selected_bg_color);
&.vertical.discrete block {
margin: 2px 0;
border-color: transparent;
border-radius: 0;
&:first-child { margin: 0; }
}
block {
@include linear-gradient($selected_bg_color);
// FIXME: it would be nice to set make fill blocks bigger, but we'd need
// :nth-child working on discrete indicators
border-color: transparent;
border-radius: 0;
@ -99,7 +98,8 @@
border-color: transparent;
}
&.high {
&.high,
:not(.empty) {
background-color: $selected_bg_color;
border-color: transparent;
}