Adwaita: spinbutton fixes

reset background-color on backdrop disable buttons and entry node.
This commit is contained in:
Lapo Calamandrei 2016-04-21 16:25:05 +02:00
parent 22cd8e9d4f
commit 517f33b1a6
3 changed files with 9 additions and 3 deletions

View File

@ -1054,6 +1054,8 @@ spinbutton {
border: none;
border-radius: 0;
box-shadow: none;
&:backdrop:disabled { background-color: transparent; }
}
button {
@ -1094,7 +1096,7 @@ spinbutton {
&:backdrop:disabled {
color: transparentize($backdrop_insensitive_color,0.7);
background-image: none;
background-color: transparent;
border-style: none none none solid; // It is needed or it gets overridden
&:dir(rtl) { border-style: none solid none none; }

View File

@ -1521,6 +1521,8 @@ spinbutton:not(.vertical) {
border: none;
border-radius: 0;
box-shadow: none; }
spinbutton:not(.vertical) entry:backdrop:disabled {
background-color: transparent; }
spinbutton:not(.vertical) button {
min-height: 16px;
margin: 0;
@ -1550,7 +1552,7 @@ spinbutton:not(.vertical) {
transition: 200ms ease-out; }
spinbutton:not(.vertical) button:backdrop:disabled {
color: rgba(93, 103, 103, 0.3);
background-image: none;
background-color: transparent;
border-style: none none none solid; }
spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
border-style: none solid none none; }

View File

@ -1528,6 +1528,8 @@ spinbutton:not(.vertical) {
border: none;
border-radius: 0;
box-shadow: none; }
spinbutton:not(.vertical) entry:backdrop:disabled {
background-color: transparent; }
spinbutton:not(.vertical) button {
min-height: 16px;
margin: 0;
@ -1557,7 +1559,7 @@ spinbutton:not(.vertical) {
transition: 200ms ease-out; }
spinbutton:not(.vertical) button:backdrop:disabled {
color: rgba(195, 195, 192, 0.3);
background-image: none;
background-color: transparent;
border-style: none none none solid; }
spinbutton:not(.vertical) button:backdrop:disabled:dir(rtl) {
border-style: none solid none none; }