mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 07:04:29 +00:00
Adwaita: stack switcher button fixes
Paddings and outline offset are ok now.
This commit is contained in:
parent
c4b583ed47
commit
6b8dd7beef
@ -376,12 +376,14 @@ GtkLabel {
|
||||
.header-bar .stack-switcher &.text-button {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px; // I need these two to not get overridden by radio
|
||||
padding-bottom: 6px; // button style
|
||||
padding-top: 5px; // I need these to not get overridden by radio
|
||||
padding-bottom: 6px; // button style
|
||||
outline-offset: -3px; //
|
||||
|
||||
}
|
||||
.stack-switcher > & {
|
||||
padding-left: 0; // subtract the padding which will be added to the
|
||||
padding-right: 0; // GtkLabel
|
||||
padding-left: 2px; // subtract the padding which will be added to the
|
||||
padding-right: 2px; // GtkLabel
|
||||
> GtkLabel {
|
||||
padding-left: 6px; // label padding
|
||||
padding-right: 6px; //
|
||||
|
@ -493,10 +493,11 @@
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 6px; }
|
||||
padding-bottom: 6px;
|
||||
outline-offset: -3px; }
|
||||
.stack-switcher > .button {
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
padding-left: 2px;
|
||||
padding-right: 2px; }
|
||||
.stack-switcher > .button > GtkLabel {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; }
|
||||
|
@ -485,10 +485,11 @@
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 6px; }
|
||||
padding-bottom: 6px;
|
||||
outline-offset: -3px; }
|
||||
.stack-switcher > .button {
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
padding-left: 2px;
|
||||
padding-right: 2px; }
|
||||
.stack-switcher > .button > GtkLabel {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; }
|
||||
|
Loading…
Reference in New Issue
Block a user