Skip to content

Commit

Permalink
Bring scrollbar closer to source material
Browse files Browse the repository at this point in the history
  • Loading branch information
Elbullazul committed Mar 31, 2019
1 parent 9781d96 commit 7560bb8
Show file tree
Hide file tree
Showing 9 changed files with 344 additions and 4 deletions.
81 changes: 81 additions & 0 deletions gtk-3.0/assets/arrow-down-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions gtk-3.0/assets/arrow-left-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions gtk-3.0/assets/arrow-right-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions gtk-3.0/assets/arrow-up-active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gtk-3.0/assets/checkbox-checked-insensitive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gtk-3.0/assets/checkbox-checked-insensitive@2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gtk-3.0/assets/checkbox-unchecked-insensitive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gtk-3.0/assets/checkbox-unchecked-insensitive@2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 20 additions & 4 deletions gtk-3.0/gtk-widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -1437,8 +1437,16 @@ scrollbar {
border-radius: 0; }
scrollbar:backdrop {
background-color: mix(@theme_bg_color, @theme_fg_color, 0.1); }
scrollbar button, scrollbar button:backdrop, scrollbar button:hover, scrollbar button:hover:backdrop, scrollbar button:active, scrollbar button:active:backdrop, scrollbar button:disabled, scrollbar button:disabled:backdrop {
padding: 3px;
scrollbar button:hover {
box-shadow: none;
border-color: mix(@theme_bg_color, @theme_fg_color, 0.1);
background-color: mix(@theme_bg_color, @theme_fg_color, 0.2); }
scrollbar button:active {
box-shadow: none;
border-color: mix(@theme_bg_color, @theme_fg_color, 0.1);
background-color: mix(@theme_bg_color, @theme_fg_color, 0.6); }
scrollbar button, scrollbar button:backdrop, scrollbar button:disabled, scrollbar button:disabled:backdrop {
padding: 4px;
border-color: mix(@theme_bg_color, @theme_fg_color, 0.1);
background-color: mix(@theme_bg_color, @theme_fg_color, 0.1); }
scrollbar slider {
Expand All @@ -1450,9 +1458,9 @@ scrollbar {
background-clip: padding-box;
background-color: mix(@theme_bg_color, @theme_fg_color, 0.4); }
scrollbar slider:hover {
background-color: mix(@theme_bg_color, @theme_fg_color, 0.4); }
background-color: mix(@theme_bg_color, @theme_fg_color, 0.35); }
scrollbar slider:hover:active {
background-color: mix(@theme_bg_color, @theme_fg_color, 0.45); }
background-color: mix(@theme_bg_color, @theme_fg_color, 0.6); }
scrollbar slider:backdrop {
background-color: mix(@theme_bg_color, @theme_fg_color, 0.45); }
scrollbar slider:disabled {
Expand Down Expand Up @@ -1495,17 +1503,25 @@ scrollbar {
min-width: 6px; }
scrollbar.horizontal button.down {
-gtk-icon-source: url("assets/arrow-right.svg"); }
scrollbar.horizontal button.down:active {
-gtk-icon-source: url("assets/arrow-right-active.svg"); }
scrollbar.horizontal button.up {
-gtk-icon-source: url("assets/arrow-left.svg"); }
scrollbar.horizontal button.up:active {
-gtk-icon-source: url("assets/arrow-left-active.svg"); }
scrollbar.vertical slider {
min-height: 40px; }
scrollbar.vertical button {
min-height: 6px;
min-width: 6px; }
scrollbar.vertical button.down {
-gtk-icon-source: url("assets/arrow-down.svg"); }
scrollbar.vertical button.down:active {
-gtk-icon-source: url("assets/arrow-down-active.svg"); }
scrollbar.vertical button.up {
-gtk-icon-source: url("assets/arrow-up.svg"); }
scrollbar.vertical button.up:active {
-gtk-icon-source: url("assets/arrow-up-active.svg"); }
treeview ~ scrollbar.vertical {
border-top: 1px solid @borders;
margin-top: -1px; }
Expand Down

0 comments on commit 7560bb8

Please sign in to comment.