-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
94 lines (82 loc) · 1.52 KB
/
main.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
$color-white: #fff;
$color-grey-light: #f7f7f7;
$color-grey-mid-light: #b9b9b9;
$color-grey-dark: #7b7b7b;
$color-black: #333;
body,
button {
padding: 0;
margin: 0;
color: $color-black;
font-family: "Roboto", sans-serif;
font-weight: 100;
}
.time {
font-size: 10rem;
white-space: pre;
text-align: center;
}
.command {
font-size: 3rem;
letter-spacing: 3px;
white-space: pre;
font-weight: 500;
display: block;
text-align: center;
}
small {
font-size: 2rem;
display: block;
}
.container {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.button-container {
display: flex;
justify-content: space-around;
align-content: center;
margin: 12px auto;
+ .button-container {
height: 0;
}
}
button {
text-align: center;
background-color: $color-white;
border: 2px solid $color-black;
font-weight: 500;
width: 80px;
height: 48px;
cursor: pointer;
border-radius: 48px;
outline: none;
&:disabled {
background: linear-gradient(
-45deg,
$color-grey-mid-light 25%,
$color-grey-light 25%,
$color-grey-light 50%,
$color-grey-mid-light 50%,
$color-grey-mid-light 75%,
$color-grey-light 75%,
$color-grey-light
);
color: $color-grey-dark;
cursor: not-allowed;
background-size: 4px 4px;
}
&:not(:disabled) {
&:hover {
box-shadow: 0 0 5px $color-grey-dark;
}
&:active {
box-shadow: 0 0 5px inset $color-grey-mid-light;
}
&:focus {
outline: none;
}
}
}