1
1
// layouts
2
+ html {
3
+ font-size : 18px ;
4
+ }
5
+
2
6
body {
3
7
-webkit-font-smoothing : antialiased ;
4
8
-moz-osx-font-smoothing : grayscale ;
5
9
font-family : ' Inter' , sans-serif ;
6
10
margin : 0 ;
7
11
}
8
12
13
+ .primary-container {
14
+ padding-top : 7rem ;
15
+ }
16
+
17
+ .container-mid {
18
+ max-width : 98% ;
19
+ padding : 0 ;
20
+ }
21
+
9
22
.center-row {
10
23
margin-left : auto ;
11
24
margin-right : auto ;
12
25
max-width : 100% ;
13
26
text-align : center ;
14
27
}
15
28
29
+ @media (max-width : 1199px ) and (min-width : 992px ) {
30
+ html {
31
+ font-size : 17px ;
32
+ }
33
+
34
+ .container-mid {
35
+ max-width : 90% ;;
36
+ }
37
+ }
38
+
39
+ @media (max-width : 991px ) and (min-width : 768px ) {
40
+ html {
41
+ font-size : 17px ;
42
+ }
43
+
44
+ .container-mid {
45
+ max-width : 100% ;;
46
+ }
47
+ }
48
+
49
+ @media (max-width : 767px ) and (min-width : 575px ) {
50
+ html {
51
+ font-size : 16px ;
52
+ }
53
+
54
+ .container-mid {
55
+ max-width : 100% ;;
56
+ }
57
+ }
58
+
59
+ @media (max-width : 576px ) {
60
+ html {
61
+ font-size : 14px ;
62
+ }
63
+
64
+ .container-mid {
65
+ max-width : 100% ;;
66
+ }
67
+
68
+ .primary-container {
69
+ padding-top : 6rem ;
70
+ }
71
+ }
72
+
16
73
// headings
17
74
.main-heading {
18
- font-family : ' Playfair Display' , serif ;
19
- font-weight : 800 ;
20
- padding-bottom : 1.5rem ;
75
+ font-family : ' Inter' , sans-serif ;
76
+ font-size : 2.4rem ;
77
+ font-weight : 600 ;
78
+ padding-bottom : 1rem ;
79
+ }
80
+
81
+ // text
82
+ .medium-text {
83
+ font-weight : 600 ;
21
84
}
22
85
23
86
// buttons
24
87
.primary-button {
25
88
background-color : $primary-button ;
26
89
border : 0 ;
90
+ border-radius : 0.35rem ;
27
91
color : $white ;
92
+ font-size : 1rem ;
28
93
font-weight : 500 ;
29
94
margin-bottom : 2rem ;
30
95
margin-top : 1rem ;
31
- padding : 0.5rem 1.5rem ;
96
+ padding : 0.4rem 1.5rem ;
97
+ transition : all .3s ease-in ;
32
98
33
99
& :disabled ,
34
100
& :hover ,
@@ -38,13 +104,55 @@ body {
38
104
color : $white ;
39
105
}
40
106
107
+ & :hover {
108
+ box-shadow : 0 10px 10px $shadow-black ;
109
+ transform : translateY (-5px );
110
+ }
111
+
41
112
& :focus {
42
113
background-color : $primary-button ;
43
114
border-color : $primary-button ;
44
115
box-shadow : 0 0 0 0.2rem $input-shadow ;
45
116
}
46
117
}
47
118
119
+ .primary-delete-button {
120
+ background-color : $error-hover-red ;
121
+ border : 0 ;
122
+ border-radius : 0.35rem ;
123
+ color : $white ;
124
+ font-weight : 500 ;
125
+ font-size : 1rem ;
126
+ margin-bottom : 2rem ;
127
+ margin-top : 1rem ;
128
+ padding : 0.5rem 2.5rem ;
129
+ transition : all .3s ease-in ;
130
+
131
+ & :disabled ,
132
+ & :hover ,
133
+ & .active {
134
+ background-color : $error-hover-red ;
135
+ border : 0 ;
136
+ color : $white ;
137
+ }
138
+
139
+ & :hover {
140
+ box-shadow : 0 10px 10px $shadow-black ;
141
+ transform : translateY (-5px );
142
+ }
143
+
144
+ & :focus {
145
+ background-color : $error-hover-red ;
146
+ border-color : $error-hover-red ;
147
+ box-shadow : 0 0 0 0.2rem $input-shadow ;
148
+ }
149
+
150
+ svg {
151
+ margin-right : 0.1rem ;
152
+ padding-bottom : 0.2rem ;
153
+ }
154
+ }
155
+
48
156
// alerts
49
157
.alert {
50
158
color : $error-red ;
@@ -88,59 +196,171 @@ body {
88
196
}
89
197
}
90
198
199
+ .anchor-container {
200
+ display : flex ;
201
+ float : right ;
202
+ }
203
+
204
+ .anchor-danger-text {
205
+ color : $error-red ;
206
+ font-size : 1.2rem ;
207
+ font-weight : 600 ;
208
+ padding-top : 1.6rem ;
209
+ text-decoration : underline ;
210
+
211
+ & :hover {
212
+ color : $error-hover-red ;
213
+ text-decoration : none ;
214
+ }
215
+ }
216
+
217
+ .anchor-update-text {
218
+ color : $form-label ;
219
+
220
+ & :hover {
221
+ color : $primary-button ;
222
+ }
223
+ }
224
+
91
225
// modals
226
+ .modal-content {
227
+ border-radius : 0.5rem ;
228
+ }
229
+
92
230
.modal-heading {
93
- font-family : ' Playfair Display' , serif ;
94
- font-weight : 700 ;
95
- padding-bottom : 1rem ;
96
- padding-top : 0.6rem ;
231
+ font-family : ' Inter' , sans-serif ;
232
+ font-size : 2rem ;
233
+ font-weight : 600 ;
234
+ padding-bottom : 0 ;
235
+ margin-top : -2rem ;
236
+ padding-left : 1.9rem ;
237
+ padding-top : 1.3rem ;
238
+
239
+ svg {
240
+ font-size : 2rem ;
241
+ margin-right : 0.2rem ;
242
+ padding-bottom : 0.2rem ;
243
+ }
244
+ }
245
+
246
+ .modal-header {
247
+ border-bottom : 0 ;
248
+ padding : 0 ;
249
+ padding-right : 4rem ;
250
+ padding-top : 2.8rem ;
251
+
252
+ .close {
253
+ background-color : $navbar-light ;
254
+ border-radius : 50% ;
255
+ box-shadow : 0 2px 2px $shadow-black ;
256
+ padding : 0.4rem 0.6rem ;
257
+ }
258
+ }
259
+
260
+ .modal-body {
261
+ padding-top : 0 ;
97
262
}
98
263
99
264
.modal-form {
100
265
padding : 1rem ;
101
266
}
102
267
103
- // to be done//
104
- code {
105
- font-family : source- code- pro, Menlo, Monaco, Consolas, ' Courier New' ,
106
- monospace ;
268
+ .modal-delete-container {
269
+ margin-left : auto ;
270
+ margin-right : auto ;
271
+ padding : 1rem ;
272
+ text-align : center ;
107
273
}
108
274
109
- .App {
110
- text-align : center ;
275
+ .modal-delete-text {
276
+ text-align : left ;
111
277
}
112
278
113
- .App-logo {
114
- height : 40vmin ;
115
- pointer-events : none ;
279
+ @media (min-width : 768px ) {
280
+ .modal-wide .modal-dialog {
281
+ max-width : 700px ;
282
+ margin : 1.75rem auto ;
283
+ }
116
284
}
117
285
118
- @media (prefers-reduced-motion : no- preference) {
119
- .App-logo {
120
- animation : App- logo- spin infinite 20s linear ;
286
+ // tags
287
+ .primary-tag {
288
+ font-size : 0.8rem ;
289
+ font-weight : 600 ;
290
+ margin : 0.4rem 0.2rem ;
291
+ padding : 0.4rem 0.8rem ;
292
+ transition : all .3s ease-in ;
293
+ a {
294
+ color : $white ;
295
+ text-shadow : 1px 1px $subheading-black ;
296
+ text-decoration : none ;
297
+
298
+ & :hover {
299
+ color : $white ;
300
+ text-decoration : none ;
301
+ }
302
+ }
303
+
304
+ & :hover {
305
+ transform : translateY (-3px );
121
306
}
122
307
}
123
308
124
- .App-header {
125
- background-color : #282c34 ;
126
- min-height : 100vh ;
127
- display : flex ;
128
- flex-direction : column ;
129
- align-items : center ;
130
- justify-content : center ;
131
- font-size : calc (10px + 2vmin );
132
- color : white ;
309
+ .primary-big-tag {
310
+ color : $white ;
311
+ font-size : 1.8rem ;
312
+ font-weight : 600 ;
313
+ margin : 0 0.2rem ;
314
+ padding : 0.4rem 0.8rem ;
133
315
}
134
316
135
- .App-link {
136
- color : #61dafb ;
317
+ // checkboxes
318
+ .primary-checkpoint {
319
+ background-color : $shadow-black ;
320
+ bottom : 0 ;
321
+ display : inline-block ;
322
+ height : 1.5rem ;
323
+ position : absolute ;
324
+ width : 1.5rem ;
325
+
326
+ & ::after {
327
+ content : ' ' ;
328
+ display : none ;
329
+ position : absolute ;
330
+ }
137
331
}
138
332
139
- @keyframes App-logo-spin {
140
- from {
141
- transform : rotate (0deg );
333
+ .primary-checkpoint-container {
334
+ cursor : pointer ;
335
+ display : block ;
336
+ font-size : 1rem ;
337
+ position : relative ;
338
+
339
+ input {
340
+ height : 0 ;
341
+ opacity : 0 ;
342
+ position : absolute ;
343
+ width : 0 ;
344
+ }
345
+
346
+ h6 {
347
+ display : inline-block ;
348
+ margin-bottom : 0 ;
349
+ margin-right : 0.5rem ;
142
350
}
143
- to {
144
- transform : rotate (360deg );
351
+
352
+ input :checked ~ .primary-checkpoint {
353
+ background-color : $primary-button ;
354
+
355
+ & ::after {
356
+ border : solid $white ;
357
+ border-width : 0 3px 3px 0 ;
358
+ display : block ;
359
+ height : 1rem ;
360
+ left : 0.5rem ;
361
+ top : 0.15rem ;
362
+ transform : rotate (45deg );
363
+ width : 0.5rem ;
364
+ }
145
365
}
146
366
}
0 commit comments