-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMMM-KitchenTimer.css
More file actions
134 lines (114 loc) · 2.54 KB
/
Copy pathMMM-KitchenTimer.css
File metadata and controls
134 lines (114 loc) · 2.54 KB
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
130
131
132
133
134
.MMM-KitchenTimer {
width: 100%;
}
.kitchen-timer {
--timer-accent: #f2b84b;
box-sizing: border-box;
display: grid;
gap: 22px;
justify-items: center;
width: min(92vw, 900px);
margin: 0 auto;
color: #f5f5f5;
font-variant-numeric: tabular-nums;
}
.kitchen-timer button {
appearance: none;
border: 1px solid rgba(255, 255, 255, 0.22);
color: inherit;
background: rgba(255, 255, 255, 0.07);
font: inherit;
cursor: pointer;
touch-action: manipulation;
}
.kitchen-timer button:focus-visible {
outline: 3px solid var(--timer-accent);
outline-offset: 4px;
}
.kitchen-timer__title {
margin: 0;
color: #aaa;
font-size: clamp(24px, 4vw, 42px);
font-weight: 300;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.kitchen-timer__display {
min-width: min(88vw, 680px);
padding: 18px 32px;
border: 0 !important;
background: transparent !important;
font-size: clamp(88px, 19vw, 190px) !important;
font-weight: 300;
line-height: 1;
}
.kitchen-timer__status {
min-height: 1.2em;
color: #999;
font-size: clamp(20px, 3vw, 32px);
}
.kitchen-timer__presets {
display: flex;
flex-wrap: wrap;
gap: 14px;
justify-content: center;
}
.kitchen-timer__preset,
.kitchen-timer__reset {
min-width: 112px;
min-height: 72px;
padding: 12px 22px;
border-radius: 18px;
font-size: clamp(24px, 3.5vw, 36px) !important;
}
.kitchen-timer__preset:active,
.kitchen-timer__reset:active {
transform: scale(0.97);
background: rgba(255, 255, 255, 0.16);
}
.kitchen-timer__reset {
min-height: 72px;
color: #aaa !important;
font-size: clamp(20px, 2.8vw, 30px) !important;
}
.kitchen-timer__reset:disabled {
cursor: default;
opacity: 0.42;
}
.kitchen-timer__reset:disabled:active {
transform: none;
background: rgba(255, 255, 255, 0.07);
}
.kitchen-timer--paused .kitchen-timer__display {
color: #8dc8e8;
}
.kitchen-timer--finished {
--timer-accent: #ff765e;
}
.kitchen-timer--finished .kitchen-timer__display,
.kitchen-timer--finished .kitchen-timer__status {
color: var(--timer-accent);
}
.kitchen-timer--compact {
gap: 8px;
width: auto;
}
.kitchen-timer--compact .kitchen-timer__title {
font-size: 18px;
}
.kitchen-timer--compact .kitchen-timer__display {
min-width: 0;
padding: 4px;
font-size: 52px !important;
}
.kitchen-timer--compact .kitchen-timer__status {
font-size: 16px;
}
.kitchen-timer--compact .kitchen-timer__preset,
.kitchen-timer--compact .kitchen-timer__reset {
min-width: 60px;
min-height: 40px;
padding: 6px 10px;
border-radius: 10px;
font-size: 16px !important;
}