diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2015-10-07 23:24:59 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2015-10-07 23:24:59 +0200 |
commit | 77db09fd608c7f8e03c06544b128290f94f2a311 (patch) | |
tree | a96fc16fd4f164875dc33add3c1dd23d1e9c5dc1 | |
parent | 9408374557eaf8b5d114b8386326999465e042f1 (diff) | |
download | gtk+-wip/lapo/paddings.tar.gz |
Adwaita: globally increase paddingswip/lapo/paddings
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 2 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained-dark.css | 30 | ||||
-rw-r--r-- | gtk/theme/Adwaita/gtk-contained.css | 30 |
3 files changed, 31 insertions, 31 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index e3e7e6d695..af1aa89d28 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -5,7 +5,7 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94); $asset_suffix: if($variant=='dark', '-dark', ''); -$padding: 4px; +$padding: 6px; $internal_padding: 3px; $font_compensation: 1px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 47370a56f6..785eb8264e 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -154,7 +154,7 @@ GtkTextView { ****************/ .entry { border: 1px solid; - padding: 4px 8px 5px; + padding: 6px 12px 7px; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color: transparent; @@ -314,7 +314,7 @@ GtkTextView { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#215d9c), to(transparent)); } } .button, .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 4px; + padding: 6px; border: 1px solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); @@ -945,13 +945,13 @@ GtkTextView { padding-left: 0; } .stack-switcher > .button, .header-bar .stack-switcher > .button.titlebutton, .titlebar .stack-switcher > .button.titlebutton { - padding: 4px; + padding: 6px; outline-offset: -3px; } .stack-switcher > .button > GtkImage, .header-bar .stack-switcher > .button.titlebutton > GtkImage, .titlebar .stack-switcher > .button.titlebutton > GtkImage { - padding-left: 5px; - padding-right: 5px; - padding-top: 6px; } + padding-left: 7px; + padding-right: 7px; + padding-top: 8px; } .stack-switcher > .button.image-button, .header-bar .stack-switcher > .titlebutton.button, .titlebar .stack-switcher > .titlebutton.button { padding-left: 2px; @@ -1273,7 +1273,7 @@ GtkColorButton.button GtkColorSwatch:first-child:last-child { color: #dadad9; border-radius: 0; box-shadow: none; - padding: 7px; } + padding: 9px; } .spinbutton .button:dir(rtl) { border-style: none solid none none; } .spinbutton .button:hover { @@ -1468,8 +1468,8 @@ GtkComboBox { text-shadow: 0 -1px rgba(0, 0, 0, 0.81176); icon-shadow: 0 -1px rgba(0, 0, 0, 0.81176); } GtkComboBox:not(.combobox-entry) .the-button-in-the-combobox { - padding-top: 2px; - padding-bottom: 3px; + padding-top: 4px; + padding-bottom: 5px; padding-left: 6px; padding-right: 6px; } GtkComboBox:insensitive { @@ -1506,7 +1506,7 @@ GtkComboBox { ************/ .toolbar, .inline-toolbar, .search-bar, .location-bar { -GtkWidget-window-dragging: true; - padding: 4px; + padding: 6px; background-color: #393f3f; } .osd .toolbar, .osd .inline-toolbar, .osd .search-bar, .osd .location-bar, .toolbar.osd, .osd.inline-toolbar, .osd.search-bar, .osd.location-bar { padding: 13px; @@ -1538,7 +1538,7 @@ GtkComboBox { ***************/ .titlebar, .header-bar { - padding: 4px; + padding: 6px; border-width: 0 0 1px; border-style: solid; border-color: #1c1f1f; @@ -1555,13 +1555,13 @@ GtkComboBox { .titlebar .title, .header-bar .title { font-weight: bold; - padding-left: 12px; - padding-right: 12px; } + padding-left: 18px; + padding-right: 18px; } .titlebar .subtitle, .header-bar .subtitle { font-size: smaller; - padding-left: 12px; - padding-right: 12px; } + padding-left: 18px; + padding-right: 18px; } .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 542e684d2e..f63cead26d 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -154,7 +154,7 @@ GtkTextView { ****************/ .entry { border: 1px solid; - padding: 4px 8px 5px; + padding: 6px 12px 7px; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color: transparent; @@ -314,7 +314,7 @@ GtkTextView { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#4a90d9), to(transparent)); } } .button, .header-bar .button.titlebutton, .titlebar .button.titlebutton { - padding: 4px; + padding: 6px; border: 1px solid; border-radius: 3px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); @@ -945,13 +945,13 @@ GtkTextView { padding-left: 0; } .stack-switcher > .button, .header-bar .stack-switcher > .button.titlebutton, .titlebar .stack-switcher > .button.titlebutton { - padding: 4px; + padding: 6px; outline-offset: -3px; } .stack-switcher > .button > GtkImage, .header-bar .stack-switcher > .button.titlebutton > GtkImage, .titlebar .stack-switcher > .button.titlebutton > GtkImage { - padding-left: 5px; - padding-right: 5px; - padding-top: 6px; } + padding-left: 7px; + padding-right: 7px; + padding-top: 8px; } .stack-switcher > .button.image-button, .header-bar .stack-switcher > .titlebutton.button, .titlebar .stack-switcher > .titlebutton.button { padding-left: 2px; @@ -1273,7 +1273,7 @@ GtkColorButton.button GtkColorSwatch:first-child:last-child { color: #43484a; border-radius: 0; box-shadow: none; - padding: 7px; } + padding: 9px; } .spinbutton .button:dir(rtl) { border-style: none solid none none; } .spinbutton .button:hover { @@ -1468,8 +1468,8 @@ GtkComboBox { text-shadow: 0 1px rgba(255, 255, 255, 0.76923); icon-shadow: 0 1px rgba(255, 255, 255, 0.76923); } GtkComboBox:not(.combobox-entry) .the-button-in-the-combobox { - padding-top: 2px; - padding-bottom: 3px; + padding-top: 4px; + padding-bottom: 5px; padding-left: 6px; padding-right: 6px; } GtkComboBox:insensitive { @@ -1506,7 +1506,7 @@ GtkComboBox { ************/ .toolbar, .inline-toolbar, .search-bar, .location-bar { -GtkWidget-window-dragging: true; - padding: 4px; + padding: 6px; background-color: #ededed; } .osd .toolbar, .osd .inline-toolbar, .osd .search-bar, .osd .location-bar, .toolbar.osd, .osd.inline-toolbar, .osd.search-bar, .osd.location-bar { padding: 13px; @@ -1538,7 +1538,7 @@ GtkComboBox { ***************/ .titlebar, .header-bar { - padding: 4px; + padding: 6px; border-width: 0 0 1px; border-style: solid; border-color: #a1a1a1; @@ -1555,13 +1555,13 @@ GtkComboBox { .titlebar .title, .header-bar .title { font-weight: bold; - padding-left: 12px; - padding-right: 12px; } + padding-left: 18px; + padding-right: 18px; } .titlebar .subtitle, .header-bar .subtitle { font-size: smaller; - padding-left: 12px; - padding-right: 12px; } + padding-left: 18px; + padding-right: 18px; } .titlebar .header-bar-separator, .titlebar > GtkBox > .separator.vertical, .header-bar .header-bar-separator, .header-bar > GtkBox > .separator.vertical { |