Adwaita: stack switcher button fixes

Paddings and outline offset are ok now.
This commit is contained in:
Lapo Calamandrei 2014-07-21 19:26:41 +02:00
parent c4b583ed47
commit 6b8dd7beef
3 changed files with 14 additions and 10 deletions

View File

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

View File

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

View File

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