-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
109 lines (94 loc) · 2.06 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
::selection {
display: none;
}
:root {
--white-soft: rgba(255, 255, 255, 0.35);
--white-light: rgba(255, 255, 255, 0.5);
--white: rgba(255, 255, 255, 0.8);
--black: #32292F;
--first-color: #35A7FF;
--second-color: #44CF6C;
}
body {
display: grid;
height: 100vh;
width: 100vw;
align-items: center;
justify-items: center;
overflow: hidden;
color: var(--black);
background: linear-gradient(120deg, var(--first-color), var(--first-color) 25%, var(--second-color) 75%, var(--second-color));
}
button,
input {
cursor: pointer;
padding: 8px 16px;
border: none;
width: 100%;
background-color: transparent;
border-bottom: 1px solid var(--white-soft);
border-right: 1px solid var(--white-soft);
}
button:hover,
input:hover {
background-color: var(--white-light);
}
button:disabled,
input:disabled {
cursor: default;
}
button:disabled:hover,
input:disabled:hover {
background-color: inherit;
}
input {
width: 100%;
cursor: text;
}
input:focus {
outline: none;
background-color: var(--white);
}
input:disabled:focus {
background-color: inherit;
}
.timer {
width: 280px;
background-color: var(--white-soft);
backdrop-filter: blur(20px);
border-top: 1px solid var(--white-soft);
border-left: 1px solid var(--white-soft);
box-shadow: 5px 5px 30px var(--white-light);
border-radius: 10px;
overflow: hidden;
transition: all 0.6s ease-in-out;
}
.timer:hover {
box-shadow: 5px 5px 30px var(--white-soft);
margin-bottom: 15px;
}
.timer__default-custom {
text-align: center;
padding-left: 32px;
}
.timer__time {
font-size: 4rem;
font-weight: bold;
display: flex;
justify-content: center;
cursor: default;
border-bottom: 1px solid var(--white-soft);
border-right: 1px solid var(--white-soft);
}
.timer__controls,
.timer__default {
display: flex;
justify-content: space-between;
align-items: center;
}