Adwaita: noticiable scale slider active state for the dark variant

This commit is contained in:
Lapo Calamandrei 2014-06-14 11:30:22 +02:00
parent b10e358f5e
commit 83bc345b50
2 changed files with 5 additions and 2 deletions

View File

@ -1249,7 +1249,10 @@ GtkCheckButton.text-button:selected { background-color: transparent; }
border-color: $backdrop_insensitive_color;
}
}
&:active { border: 1px solid darken($selected_borders_color, 3%); }
&:active {
border: 1px solid if($variant=='light',darken($selected_borders_color,3%),
darken($selected_bg_color,15%));
}
&.fine-tune:active { //FIXME: Lapo doesn't like the shrinkage. Bad for touch
border: 4px solid transparent; //margin
//FIXME: there's a square background under the slider

View File

@ -1584,7 +1584,7 @@ GtkCheckButton.text-button:selected {
box-shadow: inset 0 1px rgba(255, 255, 255, 0);
border-color: #454c4c; }
.scale.slider:active {
border: 1px solid #0c233b; }
border: 1px solid #14375d; }
.scale.slider.fine-tune:active {
border: 4px solid transparent;
box-shadow: inset 0 2px rgba(238, 238, 236, 0.1), inset 0 0 0 1px #0c233b; }