Adwaita: spinbutton button hover visible on the dark variant

This commit is contained in:
Lapo Calamandrei 2014-07-23 17:53:31 +02:00
parent 2b1cad0289
commit db2133bad4
3 changed files with 25 additions and 3 deletions

View File

@ -246,6 +246,12 @@ GtkLabel {
&:selected:backdrop { color: $backdrop_base_color; } &:selected:backdrop { color: $backdrop_base_color; }
} }
} }
&.image { // entry icons colors
color: mix($fg_color,$base_color,80%);
&:hover { color: $fg_color; }
&:active { color: $selected_bg_color; }
&:backdrop { color: mix($backdrop_fg_color,$backdrop_base_color,80%); }
}
} }
/*********** /***********
@ -607,7 +613,7 @@ GtkColorButton.button {
&:dir(rtl) { border-width: 0 1px 0 0; } &:dir(rtl) { border-width: 0 1px 0 0; }
&:hover { &:hover {
color: $fg_color; color: $fg_color;
background-color: transparentize(black,0.95); background-color: transparentize($fg_color,0.95);
} }
&:insensitive { &:insensitive {
color: transparentize($insensitive_fg_color,0.7); color: transparentize($insensitive_fg_color,0.7);

View File

@ -256,6 +256,14 @@
color: #292929; } color: #292929; }
.entry.warning:selected:backdrop { .entry.warning:selected:backdrop {
color: #2c2c2c; } color: #2c2c2c; }
.entry.image {
color: #c6c6c5; }
.entry.image:hover {
color: #eeeeec; }
.entry.image:active {
color: #215d9c; }
.entry.image:backdrop {
color: #a9aba9; }
/*********** /***********
* Buttons * * Buttons *
@ -702,7 +710,7 @@ GtkColorButton.button {
border-width: 0 1px 0 0; } border-width: 0 1px 0 0; }
.spinbutton .button:hover { .spinbutton .button:hover {
color: #eeeeec; color: #eeeeec;
background-color: rgba(0, 0, 0, 0.05); } background-color: rgba(238, 238, 236, 0.05); }
.spinbutton .button:insensitive { .spinbutton .button:insensitive {
color: rgba(147, 150, 149, 0.3); } color: rgba(147, 150, 149, 0.3); }
.spinbutton .button:active { .spinbutton .button:active {

View File

@ -248,6 +248,14 @@
box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #fde4cc, 0 1px white; } box-shadow: inset 0 2px 2px -2px #7f7f7f, inset 0 0 2px 1px #fde4cc, 0 1px white; }
.entry.warning:selected, .entry.warning:selected:focus { .entry.warning:selected, .entry.warning:selected:focus {
background-color: #f57900; } background-color: #f57900; }
.entry.image {
color: #575c5e; }
.entry.image:hover {
color: #2e3436; }
.entry.image:active {
color: #4a90d9; }
.entry.image:backdrop {
color: #75797a; }
/*********** /***********
* Buttons * * Buttons *
@ -694,7 +702,7 @@ GtkColorButton.button {
border-width: 0 1px 0 0; } border-width: 0 1px 0 0; }
.spinbutton .button:hover { .spinbutton .button:hover {
color: #2e3436; color: #2e3436;
background-color: rgba(0, 0, 0, 0.05); } background-color: rgba(46, 52, 54, 0.05); }
.spinbutton .button:insensitive { .spinbutton .button:insensitive {
color: rgba(141, 144, 145, 0.3); } color: rgba(141, 144, 145, 0.3); }
.spinbutton .button:active { .spinbutton .button:active {