-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
136 lines (117 loc) · 2.02 KB
/
styles.css
File metadata and controls
136 lines (117 loc) · 2.02 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
135
136
* {
box-sizing: border-box;
}
body {
margin: 0;
background: #eee;
font-family: Roboto, Arial, sans-serif;
padding: 1rem;
}
.button {
height: 3rem;
padding: 0 3rem;
background: black;
color: white;
border-radius: 8px;
border-width: 0;
cursor: pointer;
}
.app {
max-width: 40rem;
margin: 0 auto;
}
.app__list {
padding: 0;
}
.task {
border: 1px solid rgba(0, 0, 0, 0.2);
background: rgba(255, 255, 255, 1);
height: 4rem;
border-radius: 6px;
display: flex;
margin-bottom: 0.5rem;
}
.task__check {
width: 5rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.task__check:hover {
background: rgba(0, 50, 200, 0.1);
}
.task__input {
height: 2rem;
width: 2rem;
border-radius: 16px;
cursor: pointer;
}
.task__icon {
height: 1.5rem;
width: 1.5rem;
}
.task__title {
height: 4rem;
width: 100%;
background: none;
text-align: left;
border-width: 0;
padding: 0 1rem;
font-size: 1rem;
cursor: pointer;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
border-left: 1px solid grey;
}
.task__title:hover {
background: rgba(0, 50, 200, 0.1);
}
.overlay {
border-width: 0;
position: fixed;
top: 4rem;
max-width: 30rem;
width: 90%;
border-radius: 16px;
z-index: 10;
background-color: rgba(255, 255, 255, 1);
padding: 1rem 3rem;
box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2),
0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);
}
.overlay__title {
text-align: center;
}
.overlay__row {
padding-top: 1rem;
display: flex;
justify-content: center;
gap: 0.5rem;
}
.overlay__field {
display: block;
padding-bottom: 1rem;
}
.overlay__input {
width: 100%;
background: rgba(0, 0, 0, 0.05);
height: 3rem;
padding: 0 1rem;
font-size: 1rem;
border-radius: 6px;
border-width: 0;
}
.backdrop {
display: none;
background: rgba(0, 0, 0, 0.3);
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
}
.overlay[open] ~ .backdrop {
display: block;
}