aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass/_common.scss
diff options
context:
space:
mode:
authorHorst31802016-02-19 11:06:17 +0100
committerHorst31802016-02-19 11:06:17 +0100
commit01d84120a6bd1d218f0faac6e1e069c8a180b3ad (patch)
tree6e57e3eadb9b6f31bb6d41efad982716ac8f87fd /common/gtk-3.0/3.20/sass/_common.scss
parent65500eb2c688bbdd8ec3e7f92526a6c0aad3d5cd (diff)
downloadsolarc-theme-01d84120a6bd1d218f0faac6e1e069c8a180b3ad.tar.gz
solarc-theme-01d84120a6bd1d218f0faac6e1e069c8a180b3ad.tar.xz
solarc-theme-01d84120a6bd1d218f0faac6e1e069c8a180b3ad.zip
column header cleanup
Diffstat (limited to 'common/gtk-3.0/3.20/sass/_common.scss')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss41
1 files changed, 16 insertions, 25 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 602b782..bce6118 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -1419,42 +1419,29 @@ treeview.view {
header {
button {
- @extend %column_header_button;
$_column_header_color: mix($fg_color,$base_color,80%);
+
+ &, &:hover, &:active { @extend %column_header_button; }
+
color: $_column_header_color;
background-color: $base_color;
font-weight: bold;
&:hover {
- @extend %column_header_button;
color: $selected_bg_color;
- box-shadow: none;
- transition: none; //I shouldn't need this
}
&:active {
- @extend %column_header_button;
color: $fg_color;
- transition: none; //I shouldn't need this
}
&.dnd {
- @extend header.button.dnd;
+ &, &:selected, &:hover {
+ transition: none;
+ color: $selected_bg_color;
+ box-shadow: inset 1px 1px 0 1px $selected_bg_color,
+ inset -1px 0 0 1px $selected_bg_color,
+ inset 1px 1px $base_color, inset -1px 0 $base_color;
+ }
}
}
- button:last-child,
- button:last-child:hover,
- button:last-child:active { //treeview-like derived widgets in Banshee and Evolution
- border-right-style: none;
- border-image: none;
- }
- }
- header.button.dnd { // for treeview-like derive widgets
- transition: none;
- color: $selected_bg_color;
- box-shadow: inset 1px 1px 0 1px $selected_bg_color,
- inset -1px 0 0 1px $selected_bg_color,
- inset 1px 1px $base_color, inset -1px 0 $base_color;;
- &:active { @extend header.button.dnd; }
- &:selected { @extend header.button.dnd; }
- &:hover { @extend header.button.dnd; }
}
}
@@ -1466,10 +1453,10 @@ treeview.view {
border-style: none solid none none;
border-radius: 0;
border-image: linear-gradient(to bottom,
- transparentize(if($variant == 'light', black, white), 1) 20%,
+ $base_color 20%,
transparentize(if($variant == 'light', black, white), 0.89) 20%,
transparentize(if($variant == 'light', black, white), 0.89) 80%,
- transparentize(if($variant == 'light', black, white), 1) 80%) 0 1 0 0 / 0 1px 0 0 stretch;
+ $base_color 80%) 0 1 0 0 / 0 1px 0 0 stretch;
&:active, &:hover { background-color: $base_color; }
&:active:hover { color: $fg_color; }
@@ -1477,6 +1464,10 @@ treeview.view {
border-color: $bg_color;
background-image: none;
}
+ &:last-child {
+ border-right-style: none;
+ border-image: none;
+ }
}
//