Adwaita: increase padding on header-bar and action-bar text buttons

This commit is contained in:
Lapo Calamandrei 2014-07-16 19:47:54 +02:00
parent 0d1b036e58
commit e084e5c67e
3 changed files with 14 additions and 3 deletions

View File

@ -364,6 +364,11 @@ GtkLabel {
// GtkImage itself to fit the circle
padding: 5px 2px;
}
.action-bar .stack-switcher &.text-button,
.header-bar .stack-switcher &.text-button {
padding-left: 10px;
padding-right: 10px;
}
.stack-switcher > & {
padding-left: 0; // subtract the padding which will be added to the
padding-right: 0; // GtkLabel
@ -398,7 +403,7 @@ GtkLabel {
.header-bar &.image-button,
.action-bar &.image-button { padding: 8px; }
.header-bar &.text-button,
.action-bar &.text-button { padding: 6px 8px 5px; } // due to font metrics
.action-bar &.text-button { padding: 6px 16px 5px; } // due to font metrics
//inline-toolbar buttons
.inline-toolbar &, .inline-toolbar &:backdrop {

View File

@ -480,6 +480,9 @@
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0.1); }
.action-bar .stack-switcher .button.image-button, .header-bar .stack-switcher .button.image-button {
padding: 5px 2px; }
.action-bar .stack-switcher .button.text-button, .header-bar .stack-switcher .button.text-button {
padding-left: 10px;
padding-right: 10px; }
.stack-switcher > .button {
padding-left: 0;
padding-right: 0; }
@ -499,7 +502,7 @@
.header-bar .button.image-button, .action-bar .button.image-button {
padding: 8px; }
.header-bar .button.text-button, .action-bar .button.text-button {
padding: 6px 8px 5px; }
padding: 6px 16px 5px; }
.inline-toolbar .button, .inline-toolbar .button:backdrop {
border-radius: 2px;
border-width: 1px; }

View File

@ -472,6 +472,9 @@
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px white; }
.action-bar .stack-switcher .button.image-button, .header-bar .stack-switcher .button.image-button {
padding: 5px 2px; }
.action-bar .stack-switcher .button.text-button, .header-bar .stack-switcher .button.text-button {
padding-left: 10px;
padding-right: 10px; }
.stack-switcher > .button {
padding-left: 0;
padding-right: 0; }
@ -491,7 +494,7 @@
.header-bar .button.image-button, .action-bar .button.image-button {
padding: 8px; }
.header-bar .button.text-button, .action-bar .button.text-button {
padding: 6px 8px 5px; }
padding: 6px 16px 5px; }
.inline-toolbar .button, .inline-toolbar .button:backdrop {
border-radius: 2px;
border-width: 1px; }