mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
Adwaita: hover state for horizontal spinbuttons
This commit is contained in:
parent
462f86d301
commit
51417f98d1
@ -393,16 +393,22 @@ GtkColorButton.button { padding: 4px; } // Uniform padding on the GtkColorButton
|
||||
background-image: none;
|
||||
border-width: 0 0 0 1px;
|
||||
border-color: transparentize($borders_color,0.7);
|
||||
color: mix($fg_color,$base_color,95%);
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
// padding-left: 6px;
|
||||
// padding-right: 6px;
|
||||
&:dir(rtl) { border-width: 0 1px 0 0; }
|
||||
&:hover {
|
||||
color: $fg_color;
|
||||
background-color: transparentize(black,0.95);
|
||||
}
|
||||
&:insensitive {
|
||||
color: transparentize($insensitive_fg_color,0.7);
|
||||
}
|
||||
&:active {
|
||||
box-shadow: inset 0 2px 3px -1px transparentize(black,0.8);
|
||||
background-color: transparentize(black,0.9);
|
||||
}
|
||||
&:backdrop {
|
||||
border-color: transparentize($backdrop_borders_color,0.7);
|
||||
|
@ -499,14 +499,19 @@ GtkColorButton.button {
|
||||
background-image: none;
|
||||
border-width: 0 0 0 1px;
|
||||
border-color: rgba(28, 31, 31, 0.3);
|
||||
color: #e4e4e2;
|
||||
border-radius: 0;
|
||||
box-shadow: none; }
|
||||
.spinbutton .button:dir(rtl) {
|
||||
border-width: 0 1px 0 0; }
|
||||
.spinbutton .button:hover {
|
||||
color: #eeeeec;
|
||||
background-color: rgba(0, 0, 0, 0.05); }
|
||||
.spinbutton .button:insensitive {
|
||||
color: rgba(147, 150, 149, 0.3); }
|
||||
.spinbutton .button:active {
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2); }
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2);
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
.spinbutton .button:backdrop {
|
||||
border-color: rgba(30, 34, 34, 0.3); }
|
||||
.spinbutton .button:backdrop:insensitive {
|
||||
|
@ -499,14 +499,19 @@ GtkColorButton.button {
|
||||
background-image: none;
|
||||
border-width: 0 0 0 1px;
|
||||
border-color: rgba(161, 161, 161, 0.3);
|
||||
color: #383e40;
|
||||
border-radius: 0;
|
||||
box-shadow: none; }
|
||||
.spinbutton .button:dir(rtl) {
|
||||
border-width: 0 1px 0 0; }
|
||||
.spinbutton .button:hover {
|
||||
color: #2e3436;
|
||||
background-color: rgba(0, 0, 0, 0.05); }
|
||||
.spinbutton .button:insensitive {
|
||||
color: rgba(141, 144, 145, 0.3); }
|
||||
.spinbutton .button:active {
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2); }
|
||||
box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.2);
|
||||
background-color: rgba(0, 0, 0, 0.1); }
|
||||
.spinbutton .button:backdrop {
|
||||
border-color: rgba(168, 168, 168, 0.3); }
|
||||
.spinbutton .button:backdrop:insensitive {
|
||||
|
Loading…
Reference in New Issue
Block a user