Adwaita: reset entry props on horizontal spinbuttons

the spinbutton node is where the styling is applied, the leftover
properties on the entry node make a backdrop transition bad.
This commit is contained in:
Lapo Calamandrei 2016-03-19 18:09:22 +01:00
parent 8f2213836c
commit 20a8ac5542
3 changed files with 7 additions and 0 deletions

View File

@ -987,9 +987,12 @@ spinbutton {
entry {
min-width: 28px;
// reset all the other props since the spinbutton node is styled here
margin: 0;
background: none;
background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none;
}

View File

@ -1215,7 +1215,9 @@ spinbutton:not(.vertical) {
min-width: 28px;
margin: 0;
background: none;
background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none; }
spinbutton:not(.vertical) button {
min-height: 16px;

View File

@ -1221,7 +1221,9 @@ spinbutton:not(.vertical) {
min-width: 28px;
margin: 0;
background: none;
background-color: transparent;
border: none;
border-radius: 0;
box-shadow: none; }
spinbutton:not(.vertical) button {
min-height: 16px;