aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.18/sass
diff options
context:
space:
mode:
authorHorst31802015-09-12 01:44:22 +0200
committerHorst31802015-09-12 01:44:22 +0200
commit55d070552de090555a5c88a722d988a2c54eea9c (patch)
treea216a04e1d082678bb1eb1198651d55d225d4040 /common/gtk-3.0/3.18/sass
parentafc416f6c45b4215f38584512ea00b8cfa532113 (diff)
downloadsolarc-theme-55d070552de090555a5c88a722d988a2c54eea9c.tar.gz
solarc-theme-55d070552de090555a5c88a722d988a2c54eea9c.tar.xz
solarc-theme-55d070552de090555a5c88a722d988a2c54eea9c.zip
rubberband and content-view tweaks
Diffstat (limited to 'common/gtk-3.0/3.18/sass')
-rw-r--r--common/gtk-3.0/3.18/sass/_common.scss16
1 files changed, 12 insertions, 4 deletions
diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss
index d555aef..dab3844 100644
--- a/common/gtk-3.0/3.18/sass/_common.scss
+++ b/common/gtk-3.0/3.18/sass/_common.scss
@@ -119,8 +119,8 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix);
}
.rubberband {
- border: 1px solid $selected_bg_color;
- background-color: transparentize($selected_bg_color,0.8);
+ border: 1px solid darken($selected_bg_color, 10%);
+ background-color: transparentize(darken($selected_bg_color, 10%), 0.8);
}
.label {
@@ -1439,6 +1439,8 @@ GtkTreeView.view { // treeview grid lines a
border-left-color: transparentize($fg_color, 0.85); // this is actually the tree lines color,
border-top-color: transparentize(black, 0.9); // while this is the grid lines color, better then nothing
+ &.rubberband { @extend .rubberband; } // to avoid borders being overridden by the previously set props
+
&:selected {
border-radius: 0;
border-left-color: mix($selected_fg_color, $selected_bg_color, 50%);
@@ -2066,8 +2068,7 @@ GtkSwitch {
//selection-mode
@each $s,$as in ('','-selectionmode'),
(':checked', '-checked-selectionmode') {
- GtkIconView.view.check#{$s},
- GtkFlowBox.view.check#{$s} {
+ .view.content-view.check#{$s}:not(.list) {
-gtk-icon-source: -gtk-scaled(url("assets/checkbox#{$as}#{$asset_suffix}.png"),
url("assets/checkbox#{$as}#{$asset_suffix}@2.png"));
background-color: transparent;
@@ -2816,6 +2817,13 @@ GtkColorButton.button {
/********
* Misc *
********/
+//content view (grid/list)
+.content-view {
+ background-color: $base_color;
+ &:hover { -gtk-image-effect: highlight; }
+ &.rubberband { @extend .rubberband; }
+}
+
.scale-popup .button { // +/- buttons on GtkVolumeButton popup
padding: 6px;
&:hover {