-
Notifications
You must be signed in to change notification settings - Fork 0
/
css.css
113 lines (96 loc) · 1.78 KB
/
css.css
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
body {
color: #ffffff;
background-color: #1b5e20;
}
body.end {
color: #1b5e20;
background-color: #ffffff;
}
h4 {
margin-bottom: 0;
}
a:not(.chip):not(.btn) {
color: #ffffff;
font-weight: bolder;
text-decoration: underline;
}
.end a:not(.chip):not(.btn) {
color: #000000;
}
.flow-text:first-of-type,
.no-bottom-margin {
margin-bottom: 0;
}
.flow-text:not(:first-of-type),
.no-margin {
margin: 0;
}
.flow-text > span {
vertical-align: middle;
}
#num-minutes {
font-size: 5rem;
height: 6rem;
color: #ffffff;
border-bottom: 1px solid #ffffff;
-webkit-box-shadow: 0 1px 0 0 #ffffff;
box-shadow: 0 1px 0 0 #ffffff;
}
#num-minutes:focus {
border-bottom: 2px solid #ffffff;
-webkit-box-shadow: 0 2px 0 0 #ffffff;
box-shadow: 0 2px 0 0 #ffffff;
transition: border-bottom 400ms, box-shadow 400ms, -webkit-box-shadow 400ms;
}
#num-minutes:focus + label {
color: #ffffff;
transition: color 400ms;
}
#start-btn {
background-color: #ffffff;
color: #1b5e20;
height: 5rem;
padding: 0 1em;
font-size: 200%;
line-height: 5rem;
}
#toolbox {
bottom: 0;
position: absolute;
right: 0;
}
#toolbox i {
cursor: pointer;
}
#timer-page {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
height: 100vh;
--size: 1px;
}
#timer-page span {
margin: 0;
overflow-wrap: break-word; /* allow times to overflow line-height-wise */
line-height: 1.2em;
}
#clock-mode-button-wrapper {
position: fixed;
right: 0;
bottom: 0;
}
#clock-mode-button {
background: #ffffff44;
color: white;
transition: background-color 300ms ease-in-out;
border: 0;
border-top-left-radius: 2rem;
height: 4rem;
width: 14ch;
cursor: pointer;
}
#clock-mode-button:hover,
#clock-mode-button:focus {
background: #ffffff66;
}