Skip to content

Commit fc3d8b7

Browse files
committed
Titlebutton sizing corrections
1 parent 54c3442 commit fc3d8b7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

gtk-3.20/gtk-widgets.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ switch {
17481748
switch:checked {
17491749
background-color: shade(@theme_selected_bg_color, 0.7); }
17501750
switch:checked:backdrop {
1751-
background-color: @theme_unfocused_selected_bg_color; }
1751+
background-color: shade(@theme_unfocused_selected_bg_color, 0.7); }
17521752
switch:disabled {
17531753
background-color: @theme_disabled_bg_color; }
17541754
switch:disabled:backdrop {
@@ -2599,15 +2599,18 @@ messagedialog.csd .dialog-action-area button {
25992599
padding-right: 12px;
26002600
color: alpha(currentColor, 0.7); }
26012601
.titlebar .titlebutton.close, .titlebar .titlebutton.maximize, .titlebar .titlebutton.minimize, .titlebar .titlebutton:not(separator) {
2602-
padding: 3px 5px;
2602+
padding: 0;
2603+
min-height: 20px;
2604+
min-width: 26px;
26032605
border: none;
26042606
color: transparent;
26052607
background-color: transparent;
26062608
-gtk-icon-shadow: none;
26072609
background-position: center;
26082610
background-repeat: no-repeat; }
26092611
.titlebar .titlebutton.close {
2610-
padding: 3px 14px;
2612+
min-height: 20px;
2613+
min-width: 45px;
26112614
background: url("assets/close-normal.png") center center; }
26122615
.titlebar .titlebutton.close:hover {
26132616
background: url("assets/close-hover.png") center center; }

0 commit comments

Comments
 (0)