forked from AuroraMiddleware/gtk
Make titlebuttons round
- use even sides for the titlebuttons so the result is a circle and not an ellipse - add maximum border radius - set min width/height to 0 - adjust margin and padding to match the previous look
This commit is contained in:
parent
e8f3b47bf3
commit
0af2e65c80
@ -4515,6 +4515,12 @@ button.titlebutton {
|
||||
|
||||
@include _button_text_shadow;
|
||||
|
||||
border-radius: 9999px;
|
||||
padding: 6px;
|
||||
margin: 0 2px;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
|
||||
.selection-mode & {
|
||||
@extend %button.flat.suggested-action;
|
||||
|
||||
|
@ -1956,7 +1956,7 @@ messagedialog.csd decoration { border-radius: 8px; box-shadow: 0 1px 2px rgba(0,
|
||||
|
||||
.solid-csd decoration:backdrop { box-shadow: inset 0 0 0 3px #353535, inset 0 1px rgba(238, 238, 236, 0.07); }
|
||||
|
||||
button.titlebutton { text-shadow: 0 -1px rgba(0, 0, 0, 0.834353); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.834353); }
|
||||
button.titlebutton { text-shadow: 0 -1px rgba(0, 0, 0, 0.834353); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.834353); border-radius: 9999px; padding: 6px; margin: 0 2px; min-width: 0; min-height: 0; }
|
||||
|
||||
button.titlebutton:backdrop { -gtk-icon-shadow: none; }
|
||||
|
||||
|
@ -1972,7 +1972,7 @@ messagedialog.csd decoration { border-radius: 8px; box-shadow: 0 1px 2px rgba(0,
|
||||
|
||||
.solid-csd decoration:backdrop { box-shadow: inset 0 0 0 3px #f6f5f4, inset 0 1px rgba(255, 255, 255, 0.8); }
|
||||
|
||||
button.titlebutton { text-shadow: 0 1px rgba(255, 255, 255, 0.769231); -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.769231); }
|
||||
button.titlebutton { text-shadow: 0 1px rgba(255, 255, 255, 0.769231); -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.769231); border-radius: 9999px; padding: 6px; margin: 0 2px; min-width: 0; min-height: 0; }
|
||||
|
||||
button.titlebutton:backdrop { -gtk-icon-shadow: none; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user