-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
130 lines (99 loc) · 2.01 KB
/
style.scss
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
@import 'variables';
@import 'set_defaults';
@import 'adjust_bootstrap';
@import 'utility_classes';
@import 'layout';
@import 'overall_styling';
// Page specific elements
@import 'start';
#thermal_image {
text-align: center;
margin: 10px;
& > * {
width: 100%;
border: 3px solid;
}
}
#details {
display: table;
width: 100%;
span {
display: table-cell;
text-align: center;
}
}
#microwave_container #extras {
padding: 10px 0;
background-color: $primary_color;
margin: 0;
.btn-round {
color: $emphasis_color;
}
}
.btn-container .glyphicon, .fa {
font-size: 40px;
}
#stop {
border: 3px solid #800;
border-radius: 10px;
background-color: #E00;
span {
/* Outline the stop character to highlight it.
* We do this by putting a shadow on it, no offset and a small radius.
* One shadow isn't visible enough, counter this by doing a few of them.
* The black tints it black, doesn't apply a hard black colour.
*/
text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
color: darken(#E00, 8%);
}
// Position stop near bottom of the page
&.footer { // Override #three_column_layout .footer
width: $width - 40px;
line-height: $footer_height;
padding: 10px 0;
margin: 20px;
// Position inner button in center of stop button
display: flex;
justify-content: center;
align-content: center;
}
// Position stop icon inside center of inner button
span {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
}
.btn {
font-size: 24px;
}
.btn-mw {
color: $text_color;
border: thin solid $text_color;
border-radius: 10px;
}
.btn-round {
border-radius: 50%;
background: white;
border-color: $emphasis_color;
// Padding is adjusted by utilities.js:square_element() to ensure a perfect circle
}
#time_dial {
cursor: pointer;
}
#power_wrapper {
display: block;
margin: 0 auto;
text-align: center;
position: relative;
#power_triangle {
position: relative;
cursor: pointer;
}
#power_marker {
position: absolute;
top: -5px;
cursor: move;
}
}