Skip to content

Commit d83b6bb

Browse files
committed
Sizing and color corrections
1 parent 9086914 commit d83b6bb

File tree

1 file changed

+21
-27
lines changed

1 file changed

+21
-27
lines changed

gtk-3.20/gtk-widgets.css

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ image, image:disabled, label, label:disabled, box, box:disabled {
5454
label selection {
5555
background-color: @theme_selected_bg_color;
5656
color: @theme_selected_fg_color; }
57-
label.separator {
58-
color: @borders; }
59-
label.separator:backdrop {
60-
color: @unfocused_borders; }
6157
label.dim-label, label.separator, popover label.separator, popover.background label.separator, label:disabled {
6258
opacity: 0.55; }
6359

@@ -819,6 +815,11 @@ button.circular, button.circular-button {
819815
border-radius: 50%;
820816
-gtk-outline-radius: 50%; }
821817

818+
stackswitcher button.circular, stackswitcher button.text-button.circular {
819+
min-width: 32px;
820+
min-height: 32px;
821+
padding: 0; }
822+
822823
printdialog paper {
823824
border: 1px solid @borders;
824825
background: @light_shadow;
@@ -1716,39 +1717,32 @@ headerbar, headerbar:not(.titlebar) {
17161717
padding-right: 12px;
17171718
color: alpha(currentColor, 0.7); }
17181719
headerbar button, headerbar:not(.titlebar) button {
1719-
padding: 4px 8px;
1720-
border-style: solid;
1721-
border-width: 0;
1720+
border-color: transparent;
17221721
border-radius: 4px;
17231722
color: @headerbar_fg_color;
1724-
border-color: @borders;
1725-
background-color: mix(@theme_bg_color, @theme_fg_color, 0.1);
1726-
-gtk-outline-radius: 4px; }
1723+
background-color: transparent; }
1724+
headerbar button:hover, headerbar:not(.titlebar) button:hover {
1725+
border-color: @borders;
1726+
color: @headerbar_fg_color;
1727+
background-color: @headerbar_bg_color; }
17271728
headerbar button:active, headerbar button:checked, headerbar:not(.titlebar) button:active, headerbar:not(.titlebar) button:checked {
17281729
color: @theme_selected_fg_color;
1729-
border-color: @theme_selected_bg_color;
17301730
background-color: @theme_selected_bg_color; }
17311731
headerbar button:active:backdrop, headerbar button:checked:backdrop, headerbar:not(.titlebar) button:active:backdrop, headerbar:not(.titlebar) button:checked:backdrop {
17321732
color: @theme_unfocused_selected_fg_color;
1733-
border-color: @theme_unfocused_selected_bg_color;
1734-
background-color: @theme_unfocused_selected_bg_color; }
1735-
headerbar button:active:disabled, headerbar button:checked:disabled, headerbar:not(.titlebar) button:active:disabled, headerbar:not(.titlebar) button:checked:disabled {
1736-
color: @theme_disabled_fg_color;
1737-
border-color: mix(@borders, @theme_disabled_bg_color, 0.85);
1738-
background-color: shade(@theme_disabled_bg_color, 0.9); }
1739-
headerbar button:active:disabled:backdrop, headerbar button:checked:disabled:backdrop, headerbar:not(.titlebar) button:active:disabled:backdrop, headerbar:not(.titlebar) button:checked:disabled:backdrop {
1740-
color: @theme_unfocused_disabled_fg_color;
1741-
border-color: @unfocused_borders;
1742-
background-color: shade(@theme_unfocused_disabled_bg_color, 0.9); }
1733+
background-color: shade(@theme_unfocused_selected_bg_color, 0.6); }
17431734
headerbar button:disabled, headerbar:not(.titlebar) button:disabled {
1744-
color: mix(@headerbar_fg_color, @theme_unfocused_disabled_fg_color, 0.5);
1745-
border-color: mix(@borders, @theme_unfocused_disabled_fg_color, 0.5); }
1735+
border-color: transparent;
1736+
color: alpha(@borders, 0.8);
1737+
background-color: transparent; }
17461738
headerbar button:disabled:backdrop, headerbar:not(.titlebar) button:disabled:backdrop {
1747-
color: @theme_unfocused_disabled_fg_color;
1748-
border-color: @theme_unfocused_disabled_fg_color; }
1739+
border-color: transparent;
1740+
color: alpha(@borders, 0.7);
1741+
background-color: transparent; }
17491742
headerbar button:backdrop, headerbar:not(.titlebar) button:backdrop {
1750-
color: @theme_unfocused_fg_color;
1751-
border-color: @theme_unfocused_fg_color; }
1743+
border-color: transparent;
1744+
background-color: transparent;
1745+
color: @theme_unfocused_fg_color; }
17521746
headerbar entry, headerbar:not(.titlebar) entry {
17531747
padding: 4px 8px; }
17541748

0 commit comments

Comments
 (0)