This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
to-do-list.css
213 lines (147 loc) · 2.85 KB
/
to-do-list.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
body {
background-color: black;
color: white;
font-family: Roboto, Arial, Helvetica, sans-serif;
user-select: none;
}
div.title-container {
display: flex;
justify-content: center;
align-items: center;
}
h1.title {
display: inline-block;
font-size: 40px;
margin-right: 3px;
}
img.icon {
height: 40px;
margin-left: 3px;
}
div.button-wrapper {
text-align: center;
}
button {
outline: none;
}
button.create-to-do-list-button,
button.create-to-do-button {
color: white;
background-color: rgb(50, 150, 50);
box-shadow: 0 0 28px rgba(50, 150, 50, 0.95);
border: none;
border-radius: 4px;
padding: 10px 18px;
transition: padding 0.15s, margin 0.15s, box-shadow 0.15s;
}
button.create-to-do-list-button:hover {
padding: 14px 28px;
margin-top: -4px;
margin-bottom: -4px;
}
button.create-to-do-button:hover {
padding: 12px 28px;
margin-top: -2px;
margin-bottom: -2px;
}
button.create-to-do-list-button:active,
button.create-to-do-button:active {
box-shadow: none;
}
div.to-do-lists-grid {
display: grid;
grid-template-columns: 400px 400px 400px;
column-gap: 20px;
row-gap: 20px;
margin-top: 30px;
}
div.to-do-list {
background-color: gainsboro;
border-radius: 6px;
padding: 10px 4px;
position: relative;
}
div.close-to-do-list-icon-wrapper {
position: relative;
}
img.close-to-do-list-icon {
position: absolute;
top: -8px;
right: -2px;
height: 12px;
}
div.close-to-do-list-tooltip {
position: absolute;
top: -18px;
right: -27px;
font-size: 7px;
padding: 2px 4px;
border-radius: 3px;
background-color: rgb(50, 50, 50);
opacity: 0;
z-index: 100;
transition: opacity 0.15s;
pointer-events: none;
}
div.close-to-do-list-icon-wrapper:hover div.close-to-do-list-tooltip {
opacity: 1;
}
div.to-do-list-input-grid {
display: grid;
grid-template-columns: 130px 130px 112px;
column-gap: 10px;
margin-top: 4px;
}
input {
outline: none;
}
div.to-do-list-item-grid {
margin-top: 10px;
display: grid;
grid-template-columns: 130px 82px 35px 112px;
column-gap: 10px;
row-gap: 10px;
align-items: center;
justify-content: center;
}
div.to-do-list-item-name,
div.to-do-list-item-date {
color: black;
font-size: 12px;
}
div.to-do-list-item-name {
font-weight: bold;
}
button.delete-to-do-list-item-button {
background-color: red;
box-shadow: 0 0 15px rgba(255, 0, 0, 0.85);
color: white;
border: none;
border-radius: 4px;
height: 28px;
transition: box-shadow 0.25s;
}
button.delete-to-do-list-item-button:hover {
box-shadow: 0 0 25px rgba(255, 0, 0, 0.85);
}
button.delete-to-do-list-item-button:active {
box-shadow: none;
}
div.credits-container {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 5px;
left: 5px;
}
img.flaticon-icon {
height: 12px;
margin-right: 3px;
}
a.credits {
display: inline-block;
color: white;
font-size: 12px;
margin-left: 3px;
}