-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.css
209 lines (189 loc) · 4.45 KB
/
app.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
body {
background-color: #E7F6F2;
font-family: 'Quicksand', sans-serif;
}
/* Title */
h1 {
font-weight: bold;
font-size: 60px;
color: #2C3333;
}
/* Subtitle ("Add a new task") */
h4 {
font-weight: 600;
color: #395B64;
font-size: 25px;
padding-bottom: 15px;
}
/* "Created by: . . . */
.credits {
font-weight: 600;
color: #395B64;
padding-bottom: 30px;
}
a {
text-decoration: none;
}
a:hover {
color: #395B64;
text-decoration: underline;
}
#pleaseEnterText {
font-weight: 500;
color: #C21010;
padding-left: 63px;
display: none;
}
/* Link to github */
a {
font-weight: 600;
color: #395B64;
padding-bottom: 30px;
}
/* Columns */
#colOne {
padding-top: 50px;
padding-left: 50px;
}
#addTask {
display: flex;
}
#colOneTwo {
display: inline-block;
}
#colTwo {
padding-top: 60px;
}
@media (max-width: 990px) {
#colTwo {
padding-left: 50px;
}
}
#taskItem {
display: flex;
align-items: center;
}
/* ⬅️ Left Column Items */
/* ----- Add a new task ----- */
#outerSquare {
display: flex;
justify-content: center;
align-items: center;
height: 50px;
width: 50px;
border-radius: 12px;
background: #E7F6F2;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 12.7282px;
}
#iconSelector {
height: 35px;
width: 35px;
background-color: rgba(165, 201, 202, 0.15);
text-align: center;
margin: 0 auto;
border-radius: 8px;
-moz-appearance: none; /* To remove default dropdown arrow */
border: none;
}
#taskInput {
padding-left: 10px;
background: #E7F6F2;
font-weight: 400;
color: #395B64;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 12px;
/* Only using border and border-color doesn't work */
/* border: 2px solid #C21010 !important; */
border: none;
border-width: 0 1px;
height: 50px;
}
/* Removed blue highlight border when clicking input */
#taskInput:focus {
outline: none;
}
.emptyTaskInput {
padding-left: 10px;
background: #E7F6F2;
font-weight: 400;
color: #395B64;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 12px;
border: 5px;
border-color: #C21010;
height: 50px;
}
#newTaskBtn {
font-weight: 200;
color: #395B64;
border: none;
padding: 0px 12px 0px 12px; /* Top Right Bottom Left */
background: #E7F6F2;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 8px;
}
#newTaskBtn:hover {
color: #E7F6F2;
background-color: #2C3333;
box-shadow: 0px 3.39419px 10.1826px rgba(44, 51, 51, 0.5);
}
.addTaskElement {
margin-left: 10px; /* Spacing between div elements */
}
/* ➡️ Right Column Items */
/* ----- Single Task Item ----- */
#taskItem {
font-family: 'Quicksand', sans-serif;
font-weight: 400;
color: #395B64;
font-size: 18px;
padding-top: 10px;
}
#outerSquareTwo {
display: flex;
justify-content: center;
align-items: center;
overflow: auto;
white-space: nowrap;
padding-left: 10px;
padding-right: 10px;
height: 50px;
width: max-content;
border-radius: 12px;
background: #E7F6F2;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 12.7282px;
}
#taskIcon {
background-color: rgba(165, 201, 202, 0.15);
height: 35px;
width: 35px;
padding-top: 4px; /* To center emoji in square */
text-align: center;
margin: 0 auto;
border-radius: 8px;
-moz-appearance: none; /* To remove default dropdown arrow */
}
#taskText {
margin-left: 13px;
margin-right: 10px;
font-size: 16px;
overflow: auto;
text-overflow: ellipsis;
}
#deleteBtn {
font-weight: 200;
color: #395B64;
border: none;
margin-left: 10px;
padding: 10px 12px 10px 12px; /* Top Right Bottom Left */
background: #E7F6F2;
box-shadow: 0px 3.39419px 10.1826px rgba(165, 201, 202, 0.5); /* For opacity of 50%, we converted the HEX to RGBA */
border-radius: 8px;
}
#deleteBtn:hover {
color: #E7F6F2;
background-color: #2C3333;
box-shadow: 0px 3.39419px 10.1826px rgba(44, 51, 51, 0.5);
}