Adwaita: fix headerbar spinbutton size

fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484
This commit is contained in:
Lapo Calamandrei 2016-02-03 18:32:51 +01:00
parent 9b08853537
commit 207a842bfd
3 changed files with 11 additions and 0 deletions

View File

@ -910,12 +910,14 @@ spinbutton {
padding: 0; padding: 0;
entry { entry {
margin: 0;
background: none; background: none;
border: none; border: none;
box-shadow: none; box-shadow: none;
} }
button { button {
margin: 0;
background-image: none; background-image: none;
border-style: none none none solid; border-style: none none none solid;
border-color: transparentize($borders_color, 0.7); border-color: transparentize($borders_color, 0.7);
@ -1351,6 +1353,7 @@ headerbar {
// add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height // add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height
entry, entry,
spinbutton,
separator, separator,
button { button {
margin-top: 6px; margin-top: 6px;

View File

@ -1351,12 +1351,14 @@ headerbar button.titlebutton:visited,
spinbutton:not(.vertical) { spinbutton:not(.vertical) {
padding: 0; } padding: 0; }
spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) { spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) {
margin: 0;
background: none; background: none;
border: none; border: none;
box-shadow: none; } box-shadow: none; }
spinbutton:not(.vertical) button, spinbutton:not(.vertical) button,
spinbutton:not(.vertical) .titlebar button.titlebutton, spinbutton:not(.vertical) .titlebar button.titlebutton,
.titlebar spinbutton:not(.vertical) button.titlebutton { .titlebar spinbutton:not(.vertical) button.titlebutton {
margin: 0;
background-image: none; background-image: none;
border-style: none none none solid; border-style: none none none solid;
border-color: rgba(28, 31, 31, 0.3); border-color: rgba(28, 31, 31, 0.3);
@ -1952,11 +1954,13 @@ headerbar {
min-height: 26px; min-height: 26px;
padding: 0 5px; } padding: 0 5px; }
.titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical), .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical),
.titlebar:not(headerbar) spinbutton,
.titlebar:not(headerbar) separator, .titlebar:not(headerbar) separator,
.titlebar:not(headerbar) button, .titlebar:not(headerbar) button,
.titlebar:not(headerbar) button.titlebutton, .titlebar:not(headerbar) button.titlebutton,
headerbar entry, headerbar entry,
headerbar spinbutton:not(.vertical), headerbar spinbutton:not(.vertical),
headerbar spinbutton,
headerbar separator, headerbar separator,
headerbar button, headerbar button,
headerbar button.titlebutton, headerbar button.titlebutton,

View File

@ -1355,12 +1355,14 @@ headerbar button.titlebutton:visited,
spinbutton:not(.vertical) { spinbutton:not(.vertical) {
padding: 0; } padding: 0; }
spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) { spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) {
margin: 0;
background: none; background: none;
border: none; border: none;
box-shadow: none; } box-shadow: none; }
spinbutton:not(.vertical) button, spinbutton:not(.vertical) button,
spinbutton:not(.vertical) .titlebar button.titlebutton, spinbutton:not(.vertical) .titlebar button.titlebutton,
.titlebar spinbutton:not(.vertical) button.titlebutton { .titlebar spinbutton:not(.vertical) button.titlebutton {
margin: 0;
background-image: none; background-image: none;
border-style: none none none solid; border-style: none none none solid;
border-color: rgba(157, 157, 153, 0.3); border-color: rgba(157, 157, 153, 0.3);
@ -1956,11 +1958,13 @@ headerbar {
min-height: 26px; min-height: 26px;
padding: 0 5px; } padding: 0 5px; }
.titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical), .titlebar:not(headerbar) entry, .titlebar:not(headerbar) spinbutton:not(.vertical),
.titlebar:not(headerbar) spinbutton,
.titlebar:not(headerbar) separator, .titlebar:not(headerbar) separator,
.titlebar:not(headerbar) button, .titlebar:not(headerbar) button,
.titlebar:not(headerbar) button.titlebutton, .titlebar:not(headerbar) button.titlebutton,
headerbar entry, headerbar entry,
headerbar spinbutton:not(.vertical), headerbar spinbutton:not(.vertical),
headerbar spinbutton,
headerbar separator, headerbar separator,
headerbar button, headerbar button,
headerbar button.titlebutton, headerbar button.titlebutton,