[gtk/wip/baedert/for-master: 2/19] Adwaita: Fix levelbar styling
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 2/19] Adwaita: Fix levelbar styling
- Date: Fri, 7 Feb 2020 04:28:13 +0000 (UTC)
commit 11de423723f6786bb048df9116abaeae4bc98991
Author: Timm Bäder <mail baedert org>
Date: Tue Feb 4 09:44:03 2020 +0100
Adwaita: Fix levelbar styling
The block nodes are inside a trough node.
gtk/theme/Adwaita/_common.scss | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 96c068d154..07f6eb75b9 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3137,7 +3137,7 @@ $levelbar_border_radius: 3px;
levelbar {
&.horizontal {
- > block {
+ trough > block {
min-height: $levelbar_size;
border-radius: $levelbar_border_radius;
@@ -3156,7 +3156,7 @@ levelbar {
// segmented level bar
&.discrete {
- > block {
+ trough > block {
min-height: 2px;
margin: 1px;
min-width: 24px;
@@ -3170,12 +3170,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;
@@ -3189,7 +3189,7 @@ levelbar {
}
// level bar colours
- > block {
+ > trough > block {
border: 1px solid;
box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]