aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/gtk-solid-dark.css
diff options
context:
space:
mode:
authorHorst31802016-05-14 12:18:02 +0200
committerHorst31802016-05-14 12:18:02 +0200
commitd49d7df3c2c83a7654b936ab41c88590a564e611 (patch)
tree9d7b63b53ed3e5d79efd963c07f0d2ef48be0d4b /common/gtk-3.0/3.20/gtk-solid-dark.css
parentbef48753bc90e8bbeaeac2c980150b3486fb2ee8 (diff)
downloadsolarc-theme-d49d7df3c2c83a7654b936ab41c88590a564e611.tar.gz
solarc-theme-d49d7df3c2c83a7654b936ab41c88590a564e611.tar.xz
solarc-theme-d49d7df3c2c83a7654b936ab41c88590a564e611.zip
fix laggy scrollbar in gnome-terminal
Diffstat (limited to 'common/gtk-3.0/3.20/gtk-solid-dark.css')
-rw-r--r--common/gtk-3.0/3.20/gtk-solid-dark.css190
1 files changed, 65 insertions, 125 deletions
diff --git a/common/gtk-3.0/3.20/gtk-solid-dark.css b/common/gtk-3.0/3.20/gtk-solid-dark.css
index d320cae..af746a3 100644
--- a/common/gtk-3.0/3.20/gtk-solid-dark.css
+++ b/common/gtk-3.0/3.20/gtk-solid-dark.css
@@ -1779,127 +1779,73 @@ notebook {
notebook > header > tabs > tab button.flat:active, notebook > header > tabs > tab button.sidebar-button:active, notebook > header > tabs > tab button.flat:active:hover, notebook > header > tabs > tab button.sidebar-button:active:hover {
color: #5294E2; }
-* {
- -GtkScrollbar-has-backward-stepper: false;
- -GtkScrollbar-has-forward-stepper: false; }
-
-scrollbar button,
-.scrollbar button {
- border: none; }
-
-scrollbar.vertical button.down,
-.scrollbar.vertical button.down {
- -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
-
-scrollbar.vertical button.up,
-.scrollbar.vertical button.up {
- -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
-
-scrollbar.horizontal button.down,
-.scrollbar.horizontal button.down {
- -gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); }
-
-scrollbar.horizontal button.up,
-.scrollbar.horizontal button.up {
- -gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); }
-
-scrollbar.overlay-indicator:not(.dragging):not(.hovering),
-.scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
- opacity: 0.4; }
- scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider,
- .scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
- margin: 0;
- background-color: #a5abb5;
- border: 1px solid rgba(0, 0, 0, 0.3);
- background-clip: padding-box; }
- scrollbar.overlay-indicator:not(.dragging):not(.hovering) trough,
- .scrollbar.overlay-indicator:not(.dragging):not(.hovering) trough {
- border-style: none;
- background-color: transparent; }
- scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider,
- .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,
- .scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
- min-height: 4px;
- margin-left: 2px;
- margin-right: 2px; }
-
-scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering,
-.scrollbar.overlay-indicator.dragging,
-.scrollbar.overlay-indicator.hovering {
- opacity: 0.99; }
-
-scrollbar trough,
-.scrollbar trough {
+scrollbar {
background-color: #3e434f;
- border: 1px none #2b2e39; }
-
-scrollbar slider,
-scrollbar .slider,
-.scrollbar slider,
-.scrollbar .slider {
- background-color: #767b87; }
- scrollbar slider:hover,
- scrollbar .slider:hover,
- .scrollbar slider:hover,
- .scrollbar .slider:hover {
- background-color: #676b78; }
- scrollbar slider:hover:active,
- scrollbar .slider:hover:active,
- .scrollbar slider:hover:active,
- .scrollbar .slider:hover:active {
- background-color: #5294E2; }
- scrollbar slider:disabled,
- scrollbar .slider:disabled,
- .scrollbar slider:disabled,
- .scrollbar .slider:disabled {
+ transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
+ * {
+ -GtkScrollbar-has-backward-stepper: false;
+ -GtkScrollbar-has-forward-stepper: false; }
+ scrollbar.top {
+ border-bottom: 1px solid #2b2e39; }
+ scrollbar.bottom {
+ border-top: 1px solid #2b2e39; }
+ scrollbar.left {
+ border-right: 1px solid #2b2e39; }
+ scrollbar.right {
+ border-left: 1px solid #2b2e39; }
+ 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 slider {
+ min-width: 6px;
+ min-height: 6px;
+ margin: -1px;
+ border: 4px solid transparent;
+ border-radius: 8px;
+ background-clip: padding-box;
+ background-color: #767b87; }
+ scrollbar slider:hover {
+ background-color: #676b78; }
+ scrollbar slider:hover:active {
+ background-color: #5294E2; }
+ scrollbar slider:disabled {
+ background-color: transparent; }
+ scrollbar.fine-tune slider {
+ min-width: 4px;
+ min-height: 4px; }
+ scrollbar.fine-tune.horizontal slider {
+ border-width: 5px 4px; }
+ scrollbar.fine-tune.vertical slider {
+ border-width: 4px 5px; }
+ scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
+ opacity: 0.4;
+ border-color: transparent;
background-color: transparent; }
-
-scrollbar slider,
-scrollbar .slider,
-.scrollbar slider,
-.scrollbar .slider {
- border-radius: 100px;
- margin: 3px; }
-
-scrollbar.vertical.fine-tune slider,
-.scrollbar.vertical.fine-tune slider {
- min-width: 4px;
- margin: 4px; }
-
-scrollbar.vertical slider,
-.scrollbar.vertical slider {
- min-height: 42px;
- min-width: 6px;
- margin: 3px; }
-
-scrollbar.vertical trough:dir(ltr),
-.scrollbar.vertical trough:dir(ltr) {
- border-left-style: solid; }
-
-scrollbar.vertical trough:dir(rtl),
-.scrollbar.vertical trough:dir(rtl) {
- border-right-style: solid; }
-
-scrollbar.horizontal.fine-tune slider,
-.scrollbar.horizontal.fine-tune slider {
- min-height: 4px;
- margin: 4px; }
-
-scrollbar.horizontal slider,
-scrollbar.horizontal .slider,
-.scrollbar.horizontal slider,
-.scrollbar.horizontal .slider {
- min-height: 6px;
- min-width: 42px;
- margin-top: 3px; }
-
-scrollbar.horizontal trough,
-.scrollbar.horizontal trough {
- border-top-style: solid; }
+ scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
+ margin: 0;
+ min-width: 4px;
+ min-height: 4px;
+ background-color: #a5abb5;
+ border: 1px solid rgba(0, 0, 0, 0.3); }
+ scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider {
+ margin: 0 2px;
+ min-width: 40px; }
+ scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider {
+ margin: 2px 0;
+ min-height: 40px; }
+ scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering {
+ opacity: 0.99; }
+ scrollbar.horizontal slider {
+ min-width: 40px; }
+ scrollbar.vertical slider {
+ min-height: 40px; }
switch {
font: 1;
@@ -3141,12 +3087,6 @@ modelbutton.flat:selected arrow, treeview.view:selected, treeview.view:selected:
terminal-window notebook > header.top > tabs > tab:checked {
box-shadow: inset 0 -1px #2b2e39; }
-terminal-window scrollbar.vertical slider {
- margin-left: 3px; }
-
-terminal-window scrollbar trough {
- border-width: 0; }
-
terminal-window notebook > header.top {
padding-top: 3px;
box-shadow: inset 0 1px #262a33, inset 0 -1px #2b2e39; }