Adwaita: fix stack-switcher button outline offset
See https://bugzilla.gnome.org/show_bug.cgi?id=738636
This commit is contained in:
@ -637,6 +637,9 @@ $_dot_color: if($variant=='light', $selected_bg_color,
|
||||
// to position the needs attention dot, padding is added to the button
|
||||
// child, a label needs just lateral padding while an icon needs vertical
|
||||
// padding added too.
|
||||
|
||||
outline-offset: -3px; // needs to be set or it gets overriden by GtkRadioButton outline-offset
|
||||
|
||||
> .label {
|
||||
padding-left: 6px; // label padding
|
||||
padding-right: 6px; //
|
||||
|
||||
@ -956,6 +956,10 @@ GtkCalendar.header .button.titlebutton {
|
||||
.titlebar .text-button.titlebutton.button .label:last-child,
|
||||
GtkCalendar.header .text-button.titlebutton.button .label:last-child {
|
||||
padding-right: 8px; }
|
||||
.stack-switcher > .button, .header-bar .stack-switcher > .button.titlebutton,
|
||||
.titlebar .stack-switcher > .button.titlebutton,
|
||||
GtkCalendar.header .stack-switcher > .button.titlebutton {
|
||||
outline-offset: -3px; }
|
||||
.stack-switcher > .button > .label {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; }
|
||||
|
||||
@ -948,6 +948,10 @@ GtkCalendar.header .button.titlebutton {
|
||||
.titlebar .text-button.titlebutton.button .label:last-child,
|
||||
GtkCalendar.header .text-button.titlebutton.button .label:last-child {
|
||||
padding-right: 8px; }
|
||||
.stack-switcher > .button, .header-bar .stack-switcher > .button.titlebutton,
|
||||
.titlebar .stack-switcher > .button.titlebutton,
|
||||
GtkCalendar.header .stack-switcher > .button.titlebutton {
|
||||
outline-offset: -3px; }
|
||||
.stack-switcher > .button > .label {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; }
|
||||
|
||||
Reference in New Issue
Block a user