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;
entry {
margin: 0;
background: none;
border: none;
box-shadow: none;
}
button {
margin: 0;
background-image: none;
border-style: none none none solid;
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
entry,
spinbutton,
separator,
button {
margin-top: 6px;

View File

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

View File

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