diff options
author | Horst3180 | 2016-03-02 12:28:43 +0100 |
---|---|---|
committer | Horst3180 | 2016-03-02 12:28:43 +0100 |
commit | 3b607e4f5174834a66a81a7cdf7e14faed5836d6 (patch) | |
tree | c33c4c66826aa68728eed49cbedd8406ca0161a8 /common/gtk-3.0/3.20/gtk-solid-darker.css | |
parent | 380b18e2a54962411a82367a9fe803d2fe6faadc (diff) | |
download | solarc-theme-3b607e4f5174834a66a81a7cdf7e14faed5836d6.tar.gz solarc-theme-3b607e4f5174834a66a81a7cdf7e14faed5836d6.tar.xz solarc-theme-3b607e4f5174834a66a81a7cdf7e14faed5836d6.zip |
update scrollbar and scale styling
Diffstat (limited to 'common/gtk-3.0/3.20/gtk-solid-darker.css')
-rw-r--r-- | common/gtk-3.0/3.20/gtk-solid-darker.css | 97 |
1 files changed, 61 insertions, 36 deletions
diff --git a/common/gtk-3.0/3.20/gtk-solid-darker.css b/common/gtk-3.0/3.20/gtk-solid-darker.css index de9f415..250f875 100644 --- a/common/gtk-3.0/3.20/gtk-solid-darker.css +++ b/common/gtk-3.0/3.20/gtk-solid-darker.css @@ -1629,20 +1629,26 @@ notebook { color: #5294E2; } * { - -GtkRange-slider-width: 13; - -GtkRange-trough-border: 0; -GtkScrollbar-has-backward-stepper: false; - -GtkScrollbar-has-forward-stepper: false; - -GtkScrollbar-min-slider-length: 42; - -GtkRange-stepper-spacing: 0; - -GtkRange-trough-under-steppers: 1; } + -GtkScrollbar-has-forward-stepper: false; } scrollbar button { border: none; } +scrollbar.vertical button.down { + -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } + +scrollbar.vertical button.up { + -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } + +scrollbar.horizontal button.down { + -gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); } + +scrollbar.horizontal button.up { + -gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); } + scrollbar.overlay-indicator:not(.dragging):not(.hovering) { - opacity: 0.4; - -GtkRange-slider-width: 6px; } + opacity: 0.4; } scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider { margin: 0; background-color: #8a8e96; @@ -1652,9 +1658,11 @@ scrollbar.overlay-indicator:not(.dragging):not(.hovering) { border-style: none; background-color: transparent; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider { + min-width: 4px; margin-top: 2px; margin-bottom: 2px; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider { + min-height: 4px; margin-left: 2px; margin-right: 2px; } @@ -1678,32 +1686,29 @@ scrollbar slider { border-radius: 100px; margin: 3px; } -scrollbar.fine-tune slider { +scrollbar.vertical.fine-tune slider { + min-width: 4px; margin: 4px; } scrollbar.vertical slider { - margin-left: 4px; } - scrollbar.vertical slider:dir(rtl) { - margin-left: 3px; - margin-right: 4px; } - -scrollbar.vertical.fine-tune .slider { - margin-left: 5px; } - scrollbar.vertical.fine-tune .slider:dir(rtl) { - margin-left: 4px; - margin-right: 5px; } - -scrollbar.vertical trough { + min-height: 42px; + min-width: 6px; + margin: 3px; } + +scrollbar.vertical trough:dir(ltr) { border-left-style: solid; } - scrollbar.vertical trough:dir(rtl) { - border-left-style: none; - border-right-style: solid; } -scrollbar.horizontal slider { - margin-top: 4px; } +scrollbar.vertical trough:dir(rtl) { + border-right-style: solid; } scrollbar.horizontal.fine-tune slider { - margin-top: 5px; } + min-height: 4px; + margin: 4px; } + +scrollbar.horizontal slider { + min-height: 6px; + min-width: 42px; + margin-top: 3px; } scrollbar.horizontal trough { border-top-style: solid; } @@ -1914,19 +1919,37 @@ checkbutton check { margin: 0; } scale { - -GtkScale-slider-length: 15; - -GtkRange-slider-width: 15; - -GtkRange-trough-border: 0; - outline-offset: -1px; - -gtk-outline-radius: 2px; } + min-height: 9px; + min-width: 9px; + padding: 5px; } scale marks { - color: alpha(currentColor,0.7); } - scale.fine-tune trough, scale.fine-tune fill, scale.fine-tune highlight { - border-radius: 5px; - margin: 3px; } + color: alpha(currentColor,0.3); } + scale marks.top { + margin-bottom: -4px; } + scale marks.bottom { + margin-top: -4px; } + scale marks.left { + margin-right: -4px; } + scale marks.right { + margin-left: -4px; } + scale.horizontal mark indicator { + min-height: 3px; + min-width: 1px; } + scale.vertical mark indicator { + min-height: 1px; + min-width: 3px; } + scale.fine-tune { + padding: 3px; } + scale.fine-tune trough, scale.fine-tune fill, scale.fine-tune highlight { + border-radius: 5px; } + scale.fine-tune slider { + margin: -4px; } scale trough, scale fill, scale highlight { border-radius: 2.5px; } scale slider { + min-width: 15px; + min-height: 15px; + margin: -6px; background-clip: border-box; background-image: linear-gradient(to bottom, #fbfbfc); border: 1px solid rgba(123, 142, 186, 0.5); @@ -1966,6 +1989,8 @@ scale { background-image: linear-gradient(to bottom, #b1cff2); border-color: #b1cff2; } scale trough { + outline-offset: 2px; + -gtk-outline-radius: 2px; margin: 5px; border: none; background-image: linear-gradient(to bottom, #cfd6e6); } |