summaryrefslogtreecommitdiffstats
path: root/panels/display/night-light.css
blob: 02c0a09fd9fee3b494ac1872762edcc6b342041a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* 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;
}