scss_ninja 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +78 -4
- data/app/assets/stylesheets/border&radius.scss +174 -0
- data/app/assets/stylesheets/cards.scss +119 -0
- data/app/assets/stylesheets/carousel.scss +61 -0
- data/app/assets/stylesheets/columns.scss +228 -0
- data/app/assets/stylesheets/css/border&radius.css +228 -0
- data/app/assets/stylesheets/css/buttons.css +72 -0
- data/app/assets/stylesheets/css/cards.css +157 -0
- data/app/assets/stylesheets/css/carousel.css +13872 -0
- data/app/assets/stylesheets/css/columns.css +438 -0
- data/app/assets/stylesheets/css/forms.css +46 -0
- data/app/assets/stylesheets/css/heights.css +80 -0
- data/app/assets/stylesheets/css/margins&paddings.css +390 -0
- data/app/assets/stylesheets/css/modals.css +58 -0
- data/app/assets/stylesheets/css/nav.css +259 -0
- data/app/assets/stylesheets/css/opacity.css +40 -0
- data/app/assets/stylesheets/css/scss_ninja.css +14 -0
- data/app/assets/stylesheets/css/slidebtn.css +59 -0
- data/app/assets/stylesheets/css/tables.css +610 -0
- data/app/assets/stylesheets/css/texts&backgrounds.css +392 -0
- data/app/assets/stylesheets/forms.scss +40 -0
- data/app/assets/stylesheets/margins&paddings.scss +174 -30
- data/app/assets/stylesheets/modals.scss +53 -0
- data/app/assets/stylesheets/nav.scss +248 -0
- data/app/assets/stylesheets/opacity.scss +5 -0
- data/app/assets/stylesheets/scss_ninja.scss +8 -474
- data/app/assets/stylesheets/tables.scss +571 -0
- data/app/assets/stylesheets/texts&backgrounds.scss +12 -0
- data/lib/scss_ninja/version.rb +1 -1
- data/scss_ninja-0.1.0.gem +0 -0
- metadata +26 -2
@@ -0,0 +1,392 @@
|
|
1
|
+
.has-text-center {
|
2
|
+
text-align: center;
|
3
|
+
}
|
4
|
+
|
5
|
+
.text-upcase {
|
6
|
+
text-transform: uppercase;
|
7
|
+
}
|
8
|
+
|
9
|
+
.text-lowercase {
|
10
|
+
text-transform: lowercase;
|
11
|
+
}
|
12
|
+
|
13
|
+
.text-dark {
|
14
|
+
color: #000000;
|
15
|
+
}
|
16
|
+
|
17
|
+
.text-pri {
|
18
|
+
color: #00ffff;
|
19
|
+
}
|
20
|
+
|
21
|
+
.text-danger {
|
22
|
+
color: #ff0000;
|
23
|
+
}
|
24
|
+
|
25
|
+
.text-success {
|
26
|
+
color: #008000;
|
27
|
+
}
|
28
|
+
|
29
|
+
.text-warning {
|
30
|
+
color: #ffa500;
|
31
|
+
}
|
32
|
+
|
33
|
+
.text-pink {
|
34
|
+
color: #ff00ff;
|
35
|
+
}
|
36
|
+
|
37
|
+
.text-gray {
|
38
|
+
color: #808080;
|
39
|
+
}
|
40
|
+
|
41
|
+
.text-light {
|
42
|
+
color: #e6e6e6;
|
43
|
+
}
|
44
|
+
|
45
|
+
.text-info {
|
46
|
+
color: #0000ff;
|
47
|
+
}
|
48
|
+
|
49
|
+
.shadow-red {
|
50
|
+
text-shadow: 2px 2px #ff0000;
|
51
|
+
}
|
52
|
+
|
53
|
+
.shadow-blue {
|
54
|
+
text-shadow: 2px 2px #0000ff;
|
55
|
+
}
|
56
|
+
|
57
|
+
.shadow-white {
|
58
|
+
text-shadow: 2px 2px white;
|
59
|
+
}
|
60
|
+
|
61
|
+
.shadow-light {
|
62
|
+
text-shadow: 2px 2px #dfdcdc;
|
63
|
+
}
|
64
|
+
|
65
|
+
.shadow-dark {
|
66
|
+
text-shadow: 2px 2px #000;
|
67
|
+
}
|
68
|
+
|
69
|
+
.text-white {
|
70
|
+
color: white;
|
71
|
+
font-weight: 900;
|
72
|
+
text-shadow: 2px 2px #343450;
|
73
|
+
font-size: 25px;
|
74
|
+
letter-spacing: 1px;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* ############# colors ############ */
|
78
|
+
.bg-dark {
|
79
|
+
background-color: #000000;
|
80
|
+
}
|
81
|
+
|
82
|
+
.bg-light {
|
83
|
+
background-color: #e6e6e6;
|
84
|
+
}
|
85
|
+
|
86
|
+
.bg-gray {
|
87
|
+
background-color: #808080;
|
88
|
+
}
|
89
|
+
|
90
|
+
.bg-white {
|
91
|
+
background-color: white;
|
92
|
+
}
|
93
|
+
|
94
|
+
/* ############# primary colors ########### */
|
95
|
+
.bg-pri {
|
96
|
+
background-color: #00ffff;
|
97
|
+
}
|
98
|
+
|
99
|
+
.bg-pri-light-1 {
|
100
|
+
background-color: #1affff;
|
101
|
+
}
|
102
|
+
|
103
|
+
.bg-pri-light-2 {
|
104
|
+
background-color: #4dffff;
|
105
|
+
}
|
106
|
+
|
107
|
+
.bg-pri-light-3 {
|
108
|
+
background-color: #80ffff;
|
109
|
+
}
|
110
|
+
|
111
|
+
.bg-pri-light-4 {
|
112
|
+
background-color: #b3ffff;
|
113
|
+
}
|
114
|
+
|
115
|
+
.bg-pri-light-5 {
|
116
|
+
background-color: #e6ffff;
|
117
|
+
}
|
118
|
+
|
119
|
+
/* ######## primary dark colors */
|
120
|
+
.bg-pri-dark-1 {
|
121
|
+
background-color: #001a1a;
|
122
|
+
}
|
123
|
+
|
124
|
+
.bg-pri-dark-2 {
|
125
|
+
background-color: #004d4d;
|
126
|
+
}
|
127
|
+
|
128
|
+
.bg-pri-dark-3 {
|
129
|
+
background-color: #008080;
|
130
|
+
}
|
131
|
+
|
132
|
+
.bg-pri-dark-4 {
|
133
|
+
background-color: #00b3b3;
|
134
|
+
}
|
135
|
+
|
136
|
+
.bg-pri-dark-4 {
|
137
|
+
background-color: #00cccc;
|
138
|
+
}
|
139
|
+
|
140
|
+
/* ################# Red backgounds ############### */
|
141
|
+
.bg-red {
|
142
|
+
background-color: #ff0000;
|
143
|
+
}
|
144
|
+
|
145
|
+
.bg-red-light-1 {
|
146
|
+
background-color: #ff3333;
|
147
|
+
}
|
148
|
+
|
149
|
+
.bg-red-light-2 {
|
150
|
+
background-color: #ff4d4d;
|
151
|
+
}
|
152
|
+
|
153
|
+
.bg-red-light-3 {
|
154
|
+
background-color: #ff8080;
|
155
|
+
}
|
156
|
+
|
157
|
+
.bg-red-light-4 {
|
158
|
+
background-color: #ff9999;
|
159
|
+
}
|
160
|
+
|
161
|
+
.bg-red-light-5 {
|
162
|
+
background-color: #ffcccc;
|
163
|
+
}
|
164
|
+
|
165
|
+
/* ########### red dark styles ############ */
|
166
|
+
.bg-red-dark-1 {
|
167
|
+
background-color: #1a0000;
|
168
|
+
}
|
169
|
+
|
170
|
+
.bg-red-dark-2 {
|
171
|
+
background-color: #4d0000;
|
172
|
+
}
|
173
|
+
|
174
|
+
.bg-red-dark-3 {
|
175
|
+
background-color: #800000;
|
176
|
+
}
|
177
|
+
|
178
|
+
.bg-red-dark-4 {
|
179
|
+
background-color: #b30000;
|
180
|
+
}
|
181
|
+
|
182
|
+
.bg-red-dark-5 {
|
183
|
+
background-color: #e60000;
|
184
|
+
}
|
185
|
+
|
186
|
+
/* ########## orange backgrounds ########## */
|
187
|
+
.bg-orn {
|
188
|
+
background-color: #ffa500;
|
189
|
+
}
|
190
|
+
|
191
|
+
.bg-orn-light-1 {
|
192
|
+
background-color: #ffb833;
|
193
|
+
}
|
194
|
+
|
195
|
+
.bg-orn-light-2 {
|
196
|
+
background-color: #ffc966;
|
197
|
+
}
|
198
|
+
|
199
|
+
.bg-orn-light-3 {
|
200
|
+
background-color: #ffdb99;
|
201
|
+
}
|
202
|
+
|
203
|
+
.bg-orn-light-4 {
|
204
|
+
background-color: #ffedcc;
|
205
|
+
}
|
206
|
+
|
207
|
+
.bg-orn-light-5 {
|
208
|
+
background-color: #fff6e6;
|
209
|
+
}
|
210
|
+
|
211
|
+
/* ############# Orange dark ############### */
|
212
|
+
.bg-orn-dark-1 {
|
213
|
+
background-color: #1a1100;
|
214
|
+
}
|
215
|
+
|
216
|
+
.bg-orn-dark-2 {
|
217
|
+
background-color: #4d3200;
|
218
|
+
}
|
219
|
+
|
220
|
+
.bg-orn-dark-3 {
|
221
|
+
background-color: #805300;
|
222
|
+
}
|
223
|
+
|
224
|
+
.bg-orn-dark-4 {
|
225
|
+
background-color: #b37400;
|
226
|
+
}
|
227
|
+
|
228
|
+
.bg-orn-dark-5 {
|
229
|
+
background-color: #e69500;
|
230
|
+
}
|
231
|
+
|
232
|
+
/* ############ Success colurs ############## */
|
233
|
+
.bg-suc {
|
234
|
+
background-color: #008000;
|
235
|
+
}
|
236
|
+
|
237
|
+
.bg-suc-light-1 {
|
238
|
+
background-color: #00b300;
|
239
|
+
}
|
240
|
+
|
241
|
+
.bg-suc-light-2 {
|
242
|
+
background-color: #00ff00;
|
243
|
+
}
|
244
|
+
|
245
|
+
.bg-suc-light-3 {
|
246
|
+
background-color: #4dff4d;
|
247
|
+
}
|
248
|
+
|
249
|
+
.bg-suc-light-4 {
|
250
|
+
background-color: #99ff99;
|
251
|
+
}
|
252
|
+
|
253
|
+
.bg-suc-light-5 {
|
254
|
+
background-color: #ccffcc;
|
255
|
+
}
|
256
|
+
|
257
|
+
/* ############# success dark colors ############## */
|
258
|
+
.bg-suc-dark-1 {
|
259
|
+
background-color: #001a00;
|
260
|
+
}
|
261
|
+
|
262
|
+
.bg-suc-dark-2 {
|
263
|
+
background-color: #003300;
|
264
|
+
}
|
265
|
+
|
266
|
+
.bg-suc-dark-3 {
|
267
|
+
background-color: #004d00;
|
268
|
+
}
|
269
|
+
|
270
|
+
.bg-suc-dark-4 {
|
271
|
+
background-color: #006600;
|
272
|
+
}
|
273
|
+
|
274
|
+
.bg-suc-dark-5 {
|
275
|
+
background-color: #028502;
|
276
|
+
}
|
277
|
+
|
278
|
+
/* ############# Pink backgrounds ############ */
|
279
|
+
.bg-pnk {
|
280
|
+
background-color: #ff00ff;
|
281
|
+
}
|
282
|
+
|
283
|
+
.bg-pnk-light-1 {
|
284
|
+
background-color: #ff33ff;
|
285
|
+
}
|
286
|
+
|
287
|
+
.bg-pnk-light-2 {
|
288
|
+
background-color: #ff66ff;
|
289
|
+
}
|
290
|
+
|
291
|
+
.bg-pnk-light-3 {
|
292
|
+
background-color: #ff99ff;
|
293
|
+
}
|
294
|
+
|
295
|
+
.bg-pnk-light-4 {
|
296
|
+
background-color: #ffb3ff;
|
297
|
+
}
|
298
|
+
|
299
|
+
.bg-pnk-light-5 {
|
300
|
+
background-color: #ffe6ff;
|
301
|
+
}
|
302
|
+
|
303
|
+
/* ############ Pink dark colors ############# */
|
304
|
+
.bg-pnk-dark-1 {
|
305
|
+
background-color: #1a001a;
|
306
|
+
}
|
307
|
+
|
308
|
+
.bg-pnk-dark-2 {
|
309
|
+
background-color: #4d004d;
|
310
|
+
}
|
311
|
+
|
312
|
+
.bg-pnk-dark-3 {
|
313
|
+
background-color: #800080;
|
314
|
+
}
|
315
|
+
|
316
|
+
.bg-pnk-dark-4 {
|
317
|
+
background-color: #b300b3;
|
318
|
+
}
|
319
|
+
|
320
|
+
.bg-pnk-dark-5 {
|
321
|
+
background-color: #cc00cc;
|
322
|
+
}
|
323
|
+
|
324
|
+
/* ############ Info background colors ########### */
|
325
|
+
.bg-info {
|
326
|
+
background-color: #0000ff;
|
327
|
+
}
|
328
|
+
|
329
|
+
.bg-info-light-1 {
|
330
|
+
background-color: #3333ff;
|
331
|
+
}
|
332
|
+
|
333
|
+
.bg-info-light-2 {
|
334
|
+
background-color: #6666ff;
|
335
|
+
}
|
336
|
+
|
337
|
+
.bg-info-light-3 {
|
338
|
+
background-color: #9999ff;
|
339
|
+
}
|
340
|
+
|
341
|
+
.bg-info-light-4 {
|
342
|
+
background-color: #bdbdfd;
|
343
|
+
}
|
344
|
+
|
345
|
+
.bg-info-light-5 {
|
346
|
+
background-color: #d0d0fa;
|
347
|
+
}
|
348
|
+
|
349
|
+
/* ############ Info dark styles ############### */
|
350
|
+
.bg-info-dark-1 {
|
351
|
+
background-color: #000033;
|
352
|
+
}
|
353
|
+
|
354
|
+
.bg-info-dark-2 {
|
355
|
+
background-color: #000066;
|
356
|
+
}
|
357
|
+
|
358
|
+
.bg-info-dark-3 {
|
359
|
+
background-color: #000099;
|
360
|
+
}
|
361
|
+
|
362
|
+
.bg-info-dark-4 {
|
363
|
+
background-color: #0303ca;
|
364
|
+
}
|
365
|
+
|
366
|
+
.bg-info-dark-5 {
|
367
|
+
background-color: #0404d8;
|
368
|
+
}
|
369
|
+
|
370
|
+
/* ############ Gradients x-axis ############# */
|
371
|
+
.grdx-pnkl-orn {
|
372
|
+
background: -webkit-gradient(linear, left top, right top, from(#cc99ff), to(#ff9966));
|
373
|
+
background: linear-gradient(to right, #cc99ff 0%, #ff9966 100%);
|
374
|
+
}
|
375
|
+
|
376
|
+
.grdx-pri-orn {
|
377
|
+
background: -webkit-gradient(linear, left top, right top, from(#66ffcc), color-stop(71%, #ff9933));
|
378
|
+
background: linear-gradient(to right, #66ffcc 0%, #ff9933 71%);
|
379
|
+
}
|
380
|
+
|
381
|
+
.rrg-red-orn-grn {
|
382
|
+
background-image: repeating-radial-gradient(red, yellow 10%, green 15%);
|
383
|
+
}
|
384
|
+
|
385
|
+
.rrg-red-orn-pri {
|
386
|
+
background-image: repeating-radial-gradient(red, yellow 10%, cyan 15%);
|
387
|
+
}
|
388
|
+
|
389
|
+
.rrg-red-orn-pnk {
|
390
|
+
background-image: repeating-radial-gradient(red, yellow 10%, #db08ca 15%);
|
391
|
+
}
|
392
|
+
/*# sourceMappingURL=texts&backgrounds.css.map */
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* ############ Styles for forms ############# */
|
2
|
+
form {
|
3
|
+
display: flex;
|
4
|
+
flex-direction: column;
|
5
|
+
width: 100%;
|
6
|
+
font-family: 'Times New Roman', Times, serif;
|
7
|
+
font-size: 17px;
|
8
|
+
text-shadow: 2px 2px rgb(203, 203, 206);
|
9
|
+
|
10
|
+
.label {
|
11
|
+
font-weight: 900;
|
12
|
+
}
|
13
|
+
|
14
|
+
.field {
|
15
|
+
margin-bottom: 1.2rem;
|
16
|
+
}
|
17
|
+
|
18
|
+
.input {
|
19
|
+
width: 100%;
|
20
|
+
height: 4vh;
|
21
|
+
border: 1px solid rgb(224, 222, 222);
|
22
|
+
border-radius: 5px;
|
23
|
+
font-size: 25px;
|
24
|
+
padding-left: 0.5%;
|
25
|
+
}
|
26
|
+
|
27
|
+
.actions {
|
28
|
+
width: 100%;
|
29
|
+
|
30
|
+
.submit {
|
31
|
+
padding: 0.7rem 2.5rem 0.7rem 2.5rem;
|
32
|
+
font-size: 17px;
|
33
|
+
font-weight: 900;
|
34
|
+
border: 1px solid rgb(9, 231, 194);
|
35
|
+
border-radius: 7px;
|
36
|
+
color: white;
|
37
|
+
margin-bottom: 1.2rem;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
@@ -5,33 +5,105 @@ $margin-bottom: 5;
|
|
5
5
|
$margin-right: 5;
|
6
6
|
$margin-left: 5;
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
.m-auto {
|
9
|
+
margin: auto auto auto auto;
|
10
|
+
}
|
11
|
+
|
12
|
+
.mx-auto {
|
13
|
+
margin-left: auto;
|
14
|
+
margin-right: auto;
|
15
|
+
}
|
16
|
+
|
17
|
+
@for $i from 0 through 5 {
|
18
|
+
@if $i == 0 {
|
19
|
+
.mx-#{$i} {
|
20
|
+
margin-left: $i;
|
21
|
+
margin-right: $i;
|
22
|
+
}
|
23
|
+
} @else {
|
24
|
+
.mx-#{$i} {
|
25
|
+
margin-left: $i 1rem;
|
26
|
+
margin-right: $i * 1rem;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.my-auto {
|
32
|
+
margin-top: auto;
|
33
|
+
margin-bottom: auto;
|
34
|
+
}
|
35
|
+
|
36
|
+
@for $i from 0 through 5 {
|
37
|
+
@if $i == 0 {
|
38
|
+
.my-#{$i} {
|
39
|
+
margin-top: $i;
|
40
|
+
margin-bottom: $i;
|
41
|
+
}
|
42
|
+
} @else {
|
43
|
+
.my-#{$i} {
|
44
|
+
margin-top: $i 1rem;
|
45
|
+
margin-bottom: $i * 1rem;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
@for $i from 0 through $margin {
|
51
|
+
@if $i == 0 {
|
52
|
+
.m-#{$i} {
|
53
|
+
margin: $i;
|
54
|
+
}
|
55
|
+
} @else {
|
56
|
+
.m-#{$i} {
|
57
|
+
margin: $i * 1rem;
|
58
|
+
}
|
11
59
|
}
|
12
60
|
}
|
13
61
|
|
14
|
-
@for $i from
|
15
|
-
|
16
|
-
|
62
|
+
@for $i from 0 through $margin-top {
|
63
|
+
@if $i == 0 {
|
64
|
+
.mt-#{$i} {
|
65
|
+
margin: $i;
|
66
|
+
}
|
67
|
+
} @else {
|
68
|
+
.mt-#{$i} {
|
69
|
+
margin: $i * 1rem;
|
70
|
+
}
|
17
71
|
}
|
18
72
|
}
|
19
73
|
|
20
|
-
@for $i from
|
21
|
-
|
22
|
-
|
74
|
+
@for $i from 0 through $margin-bottom {
|
75
|
+
@if $i == 0 {
|
76
|
+
.mb-#{$i} {
|
77
|
+
margin: $i;
|
78
|
+
}
|
79
|
+
} @else {
|
80
|
+
.mb-#{$i} {
|
81
|
+
margin: $i * 1rem;
|
82
|
+
}
|
23
83
|
}
|
24
84
|
}
|
25
85
|
|
26
|
-
@for $i from
|
27
|
-
|
28
|
-
|
86
|
+
@for $i from 0 through $margin-right {
|
87
|
+
@if $i == 0 {
|
88
|
+
.mr-#{$i} {
|
89
|
+
margin: $i;
|
90
|
+
}
|
91
|
+
} @else {
|
92
|
+
.mr-#{$i} {
|
93
|
+
margin: $i * 1rem;
|
94
|
+
}
|
29
95
|
}
|
30
96
|
}
|
31
97
|
|
32
|
-
@for $i from
|
33
|
-
|
34
|
-
|
98
|
+
@for $i from 0 through $margin-left {
|
99
|
+
@if $i == 0 {
|
100
|
+
.ml-#{$i} {
|
101
|
+
margin: $i;
|
102
|
+
}
|
103
|
+
} @else {
|
104
|
+
.ml-#{$i} {
|
105
|
+
margin: $i * 1rem;
|
106
|
+
}
|
35
107
|
}
|
36
108
|
}
|
37
109
|
|
@@ -43,32 +115,104 @@ $padding-bottom: 5;
|
|
43
115
|
$padding-right: 5;
|
44
116
|
$padding-left: 5;
|
45
117
|
|
46
|
-
|
47
|
-
|
48
|
-
|
118
|
+
.p-auto {
|
119
|
+
padding: auto auto auto auto;
|
120
|
+
}
|
121
|
+
|
122
|
+
.px-auto {
|
123
|
+
padding-left: auto;
|
124
|
+
padding-right: auto;
|
125
|
+
}
|
126
|
+
|
127
|
+
@for $i from 0 through 5 {
|
128
|
+
@if $i == 0 {
|
129
|
+
.px-#{$i} {
|
130
|
+
padding-left: $i;
|
131
|
+
padding-right: $i;
|
132
|
+
}
|
133
|
+
} @else {
|
134
|
+
.px-#{$i} {
|
135
|
+
padding-left: $i 1rem;
|
136
|
+
padding-right: $i * 1rem;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
.py-auto {
|
142
|
+
padding-top: auto;
|
143
|
+
padding-bottom: auto;
|
144
|
+
}
|
145
|
+
|
146
|
+
@for $i from 0 through 5 {
|
147
|
+
@if $i == 0 {
|
148
|
+
.py-#{$i} {
|
149
|
+
padding-top: $i;
|
150
|
+
padding-bottom: $i;
|
151
|
+
}
|
152
|
+
} @else {
|
153
|
+
.py-#{$i} {
|
154
|
+
padding-top: $i 1rem;
|
155
|
+
padding-bottom: $i * 1rem;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
@for $i from 0 through $padding {
|
161
|
+
@if $i == 0 {
|
162
|
+
.p-#{$i} {
|
163
|
+
padding: $i;
|
164
|
+
}
|
165
|
+
} @else {
|
166
|
+
.p-#{$i} {
|
167
|
+
padding: $i * 1rem;
|
168
|
+
}
|
49
169
|
}
|
50
170
|
}
|
51
171
|
|
52
|
-
@for $i from
|
53
|
-
|
54
|
-
|
172
|
+
@for $i from 0 through $padding-top {
|
173
|
+
@if $i == 0 {
|
174
|
+
.pt-#{$i} {
|
175
|
+
padding-top: $i;
|
176
|
+
}
|
177
|
+
} @else {
|
178
|
+
.pt-#{$i} {
|
179
|
+
padding-top: $i * 1rem;
|
180
|
+
}
|
55
181
|
}
|
56
182
|
}
|
57
183
|
|
58
|
-
@for $i from
|
59
|
-
|
60
|
-
|
184
|
+
@for $i from 0 through $padding-bottom {
|
185
|
+
@if $i == 0 {
|
186
|
+
.pb-#{$i} {
|
187
|
+
padding-bottom: $i;
|
188
|
+
}
|
189
|
+
} @else {
|
190
|
+
.pb-#{$i} {
|
191
|
+
padding-bottom: $i * 1rem;
|
192
|
+
}
|
61
193
|
}
|
62
194
|
}
|
63
195
|
|
64
|
-
@for $i from
|
65
|
-
|
66
|
-
|
196
|
+
@for $i from 0 through $padding-right {
|
197
|
+
@if $i == 0 {
|
198
|
+
.pr-#{$i} {
|
199
|
+
padding-right: $i;
|
200
|
+
}
|
201
|
+
} @else {
|
202
|
+
.pr-#{$i} {
|
203
|
+
padding-right: $i * 1rem;
|
204
|
+
}
|
67
205
|
}
|
68
206
|
}
|
69
207
|
|
70
|
-
@for $i from
|
71
|
-
|
72
|
-
|
208
|
+
@for $i from 0 through $padding-left {
|
209
|
+
@if $i == 0 {
|
210
|
+
.pl-#{$i} {
|
211
|
+
padding-left: $i;
|
212
|
+
}
|
213
|
+
} @else {
|
214
|
+
.pl-#{$i} {
|
215
|
+
padding-left: $i * 1rem;
|
216
|
+
}
|
73
217
|
}
|
74
218
|
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
.modal {
|
2
|
+
width: 100%;
|
3
|
+
height: 100%;
|
4
|
+
|
5
|
+
.input-modal {
|
6
|
+
display: none;
|
7
|
+
}
|
8
|
+
|
9
|
+
.input-modal:checked ~ .modal-card {
|
10
|
+
display: block;
|
11
|
+
transform: scale(1, 1);
|
12
|
+
transform-origin: top;
|
13
|
+
transition: transform 0.5s ease-in-out;
|
14
|
+
}
|
15
|
+
|
16
|
+
.modal-card {
|
17
|
+
position: relative;
|
18
|
+
transform: scale(1, 0);
|
19
|
+
|
20
|
+
label{
|
21
|
+
position: absolute;
|
22
|
+
top: 0.2rem;
|
23
|
+
right: 0.2rem;
|
24
|
+
height: 2rem;
|
25
|
+
width: 2.8rem;
|
26
|
+
|
27
|
+
span {
|
28
|
+
font-size: 3rem;
|
29
|
+
font-weight: 900;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.modal-card-header {
|
34
|
+
position: absolute;
|
35
|
+
top: 2rem;
|
36
|
+
height: 20%;
|
37
|
+
}
|
38
|
+
|
39
|
+
.modal-card-body {
|
40
|
+
position: absolute;
|
41
|
+
top: calc(20% + 2rem);
|
42
|
+
height: calc(100% - (20% + 2rem + 10%));
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.modal-control {
|
47
|
+
label {
|
48
|
+
padding: 1rem 0.7rem 1rem 0.7rem;
|
49
|
+
background-color: aqua;
|
50
|
+
border-radius: 0.8rem;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|