gnome-control-center/panels/display/night-light.css
Benjamin Berg 6d16bf7337 display: Increase the trough size using a different method
Increasing the trough size by setting the min-height caused issue when
the scale was being fine-tuned. Changing the padding seems to have a
similar effect without triggering any such issue (with Adwaita).

Fixes #335
2019-08-25 09:16:46 +00:00

28 lines
745 B
CSS

/* color selection by Daniel Foré and elementary OS */
@define-color ORANGE_100 #ffc27d;
@define-color ORANGE_500 #f37329;
@define-color base_color white;
@define-color bg_color shade (@base_color, 0.96);
/* Hide the marks at the beginning and the end */
.night-light-temperature mark indicator:nth-child(even) {
color:transparent;
}
.night-light-temperature trough {
padding-top: 2px;
padding-bottom: 2px;
background-image: linear-gradient(to right, mix(@bg_color, @ORANGE_100, 0.5), @ORANGE_500);
}
.night-light-temperature:dir(rtl) trough {
background-image: linear-gradient(to left, mix(@bg_color, @ORANGE_100, 0.5), @ORANGE_500);
}
.padded-spinbutton {
min-width: 40px;
}
.unpadded-button {
padding: 6px;
}