Adwaita: fix stack-switcher button outline offset

See https://bugzilla.gnome.org/show_bug.cgi?id=738636
This commit is contained in:
Lapo Calamandrei
2014-10-16 20:04:04 +02:00
parent 998feeb2bc
commit ed25153f2d
3 changed files with 49 additions and 38 deletions

View File

@ -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; //

View File

@ -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; }

View File

@ -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; }