File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
common/gnome-shell/40/sass Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -1556,30 +1556,29 @@ StScrollBar {
15561556//
15571557// Close buttons
15581558//
1559+ $window_close_button_size : 22px ;
1560+ $window_close_button_padding : 0 ;
1561+
15591562.window-close {
15601563 background-color : lighten (saturate ($destructive_color , 6% ), 4% );
1561- border-radius : 22 px ;
1564+ border-radius : $window_close_button_size * 0.5 + $window_close_button_padding * 2 ; ;
15621565 border : none ;
15631566 box-shadow : 0 1px 0 0 rgba (0 ,0 ,0 ,0.1 );;
15641567 color : $destructive_fg_color ;
1565- height : 22 px ;
1566- width : 22 px ;
1567- padding : 0 ;
1568+ height : $window_close_button_size ;
1569+ width : $window_close_button_size ;
1570+ padding : $window_close_button_padding ;
15681571
15691572 & > St Icon { icon-size : 16px ; }
15701573
15711574 & :hover {
15721575 background-color : lighten (saturate ($destructive_color , 15% ), 12% );
15731576 color : $destructive_fg_color ;
1574- height : 22px ;
1575- width : 22px ;
15761577 }
15771578
15781579 & :active {
15791580 background-color : darken (adjust-hue (desaturate ($destructive_color , 18% ), -5% ), 9% );
15801581 color : $destructive_fg_color ;
1581- height : 22px ;
1582- width : 22px ;
15831582 }
15841583}
15851584
You can’t perform that action at this time.
0 commit comments