scss_ninja 0.1.0

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.
@@ -0,0 +1,480 @@
1
+ body {
2
+ margin: 0;
3
+ }
4
+
5
+ .flex-col {
6
+ flex-direction: column;
7
+ }
8
+
9
+ .has-text-centered {
10
+ text-align: center;
11
+ align-content: center;
12
+ width: 100%;
13
+ }
14
+
15
+ .is-fullwidth {
16
+ width: inherit;
17
+ }
18
+
19
+ .submit {
20
+ padding-left: 2.5rem;
21
+ padding-right: 2.5rem;
22
+ padding-top: 0.7rem;
23
+ padding-bottom: 0.7rem;
24
+ font-size: 17px;
25
+ font-weight: 900;
26
+ border: 1px solid rgb(9, 231, 194);
27
+ border-radius: 7px;
28
+ color: white;
29
+ margin-bottom: 1.2rem;
30
+ text-align: center;
31
+ text-decoration: none;
32
+ }
33
+
34
+ .main {
35
+ margin: 0;
36
+ }
37
+
38
+ .button {
39
+ padding: 0.7rem 2.5rem 0.7rem 2.5rem;
40
+ font-size: 17px;
41
+ font-weight: 900;
42
+ background-color: #000000;
43
+ border: 1px solid rgb(9, 231, 194);
44
+ border-radius: 7px;
45
+ color: white;
46
+ text-decoration: none;
47
+ }
48
+
49
+ /* ################ Styles for columns ################# */
50
+
51
+ $column: 12;
52
+
53
+ @for $i from 1 through $column {
54
+ @if $column <= 11 {
55
+ .column-#{$i} {
56
+ width: (99% * ($i / $column));
57
+ height: inherit;
58
+ margin-right: 0 0.5% 0 0.5%;
59
+ }
60
+ } @else {
61
+ .column-#{$i} {
62
+ width: (100% * ($i / $column));
63
+ height: inherit;
64
+ }
65
+ }
66
+ }
67
+
68
+ .columns {
69
+ width: 100%;
70
+ height: fit-content;
71
+ display: flex;
72
+ }
73
+
74
+ .is-centered {
75
+ align-self: center;
76
+ justify-content: center;
77
+ }
78
+
79
+ /* ############ Styles for forms ############# */
80
+
81
+ form {
82
+ display: flex;
83
+ flex-direction: column;
84
+ width: 100%;
85
+ font-family: 'Times New Roman', Times, serif;
86
+ font-size: 17px;
87
+ text-shadow: 2px 2px rgb(203, 203, 206);
88
+
89
+ .label {
90
+ font-weight: 900;
91
+ }
92
+
93
+ .field {
94
+ margin-bottom: 1.2rem;
95
+ }
96
+
97
+ .input {
98
+ width: 100%;
99
+ height: 4vh;
100
+ border: 1px solid rgb(224, 222, 222);
101
+ border-radius: 5px;
102
+ font-size: 25px;
103
+ padding-left: 0.5%;
104
+ }
105
+
106
+ .actions {
107
+ width: 100%;
108
+
109
+ .submit {
110
+ padding: 0.7rem 2.5rem 0.7rem 2.5rem;
111
+ font-size: 17px;
112
+ font-weight: 900;
113
+ border: 1px solid rgb(9, 231, 194);
114
+ border-radius: 7px;
115
+ color: white;
116
+ margin-bottom: 1.2rem;
117
+ }
118
+ }
119
+ }
120
+
121
+ /* ####### Styles for card ######## */
122
+
123
+ .card {
124
+ width: 94%;
125
+ display: flex;
126
+ border: 1px solid rgb(226, 222, 222);
127
+ border-radius: 20px;
128
+ padding: 0 3% 3% 0;
129
+ box-shadow: 5px 10px rgb(233, 232, 232);
130
+
131
+ .aside {
132
+ display: flex;
133
+ flex-direction: column;
134
+ align-items: center;
135
+ margin-left: 0;
136
+ padding-left: 0;
137
+ border: inherit;
138
+ border-top-left-radius: inherit;
139
+ font-family: 'Times New Roman', Times, serif;
140
+
141
+ .aside-header {
142
+ margin-top: 0%;
143
+ }
144
+
145
+ .aside-body {
146
+ width: 100%;
147
+ display: flex;
148
+ flex-direction: column;
149
+ justify-content: space-evenly;
150
+ align-items: center;
151
+ margin-left: 10px;
152
+ padding-left: 0;
153
+ }
154
+ }
155
+
156
+ .body {
157
+ display: flex;
158
+ flex-direction: column;
159
+
160
+ .card-header {
161
+ font-weight: 900;
162
+ text-align: center;
163
+ }
164
+
165
+ .card-content {
166
+ width: 100%;
167
+ margin-left: 0.9%;
168
+ }
169
+
170
+ .card-footer {
171
+ display: flex;
172
+ justify-content: space-evenly;
173
+ }
174
+ }
175
+ }
176
+
177
+ .table {
178
+ font-family: 'Times New Roman', Times, serif;
179
+ width: 100%;
180
+ background: #012b39;
181
+ border: 1px solid rgb(133, 102, 102);
182
+ border-radius: 10px;
183
+ box-shadow: 5px 10px rgb(233, 232, 232);
184
+
185
+ tr {
186
+ th {
187
+ width: inherit;
188
+ // background-color: #000a0e;
189
+ color: #e2b842;
190
+ font-weight: 900;
191
+ font-size: 19px;
192
+ padding: 0.75em 1em;
193
+ text-align: center;
194
+ }
195
+
196
+ td {
197
+ color: #fff;
198
+ padding: 0.65em 1em;
199
+ text-align: center;
200
+ font-weight: 600;
201
+
202
+ a {
203
+ text-decoration: none;
204
+ color: inherit;
205
+ }
206
+ }
207
+ }
208
+
209
+ tbody tr:nth-child(odd) {
210
+ background: #e4a9a9;
211
+ box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
212
+ &:hover {
213
+ background-color: #012b39;
214
+ color: #000000 !important;
215
+ }
216
+ }
217
+
218
+ tbody tr:nth-child(even) {
219
+ &:hover {
220
+ background-color: #e4a9a9;
221
+ transition: all 0.1s ease-in-out;
222
+ color: #e4a9a9;
223
+ }
224
+ }
225
+ }
226
+
227
+ /* ############ Nav bar styles ############# */
228
+ @media only screen and (min-width: 826px) {
229
+ .nav-bar {
230
+ display: grid;
231
+ grid-template-columns: 2fr 8fr 2fr;
232
+ height: 70px;
233
+ width: 100%;
234
+ background-color: rgb(118, 233, 204);
235
+ font-size: 20px;
236
+ font-family: 'Times New Roman', Times, serif;
237
+
238
+ .checkbox,
239
+ .checkbox-lab {
240
+ display: none;
241
+ }
242
+
243
+ .nav-start {
244
+ grid-column: 1 / span 1;
245
+ padding: 0;
246
+ margin: 23px 0 0 0;
247
+
248
+ p {
249
+ padding: 0;
250
+ margin: 0 0 0 20px;
251
+ width: fit-content;
252
+ text-shadow: 2px 2px rgb(189, 186, 186);
253
+ font-weight: 900;
254
+ }
255
+
256
+ p::after {
257
+ content: '';
258
+ height: 7px;
259
+ width: 0;
260
+ display: block;
261
+ background-color: ivory;
262
+ border-radius: 2px;
263
+ }
264
+
265
+ p:hover::after {
266
+ width: 100%;
267
+ transition: width 0.2s ease-in-out;
268
+ }
269
+ }
270
+
271
+ .mid-nav {
272
+ grid-column: 2 / span 1;
273
+ margin: 0;
274
+ margin-top: 23px;
275
+
276
+ ul {
277
+ display: flex;
278
+ padding: 0;
279
+ margin: 0;
280
+
281
+ li {
282
+ list-style: none;
283
+ padding: 0;
284
+ margin: 0 auto 0 auto;
285
+ font-family: 'Times New Roman', Times, serif;
286
+ width: fit-content;
287
+
288
+ a {
289
+ text-decoration: none;
290
+ color: black;
291
+ width: fit-content;
292
+ font-weight: 900;
293
+ text-shadow: 2px 2px rgb(211, 210, 210);
294
+ }
295
+
296
+ a:hover::after {
297
+ content: '';
298
+ height: 7px;
299
+ background-color: aliceblue;
300
+ display: block;
301
+ border-radius: 2px;
302
+ }
303
+ }
304
+ }
305
+ }
306
+
307
+ .nav-end {
308
+ grid-column: 3 / span 1;
309
+ margin-top: 23px;
310
+ }
311
+ }
312
+ }
313
+
314
+ @media only screen and (max-width: 825px) {
315
+ .nav-bar {
316
+ all: initial;
317
+ position: relative;
318
+ display: grid;
319
+ grid-template-columns: 2fr 4fr 3fr;
320
+ height: 70px;
321
+ width: 100%;
322
+ background-color: rgb(118, 233, 204);
323
+ font-size: 20px;
324
+ font-family: 'Times New Roman', Times, serif;
325
+
326
+ .checkbox {
327
+ display: none;
328
+ }
329
+
330
+ .checkbox:checked ~ .mid-nav {
331
+ display: block;
332
+ }
333
+
334
+ .checkbox:checked ~ .checkbox-lab > span {
335
+ transform: rotate(45deg);
336
+ transition: transform 0.4s ease-in-out;
337
+ }
338
+
339
+ .checkbox:checked ~ .checkbox-lab > span:hover {
340
+ transform: rotate(180deg);
341
+ transition: transform 0.7s ease-in-out;
342
+ }
343
+
344
+ .checkbox:checked ~ .checkbox-lab > span::after {
345
+ transform: rotate(90deg);
346
+ bottom: 0;
347
+ }
348
+
349
+ .checkbox:checked ~ .checkbox-lab > span::before {
350
+ display: none;
351
+ }
352
+
353
+ .checkbox-lab {
354
+ display: block;
355
+ height: calc(70px - 23px);
356
+ margin: 30px 0 0 20px;
357
+ grid-column: 1 / span 1;
358
+ }
359
+
360
+ .checkbox-lab > span {
361
+ content: '';
362
+ display: block;
363
+ background-color: ivory;
364
+ width: 55px;
365
+ height: 6px;
366
+ position: relative;
367
+ }
368
+
369
+ .checkbox-lab > span::before {
370
+ content: '';
371
+ display: block;
372
+ background-color: ivory;
373
+ width: 55px;
374
+ height: 6px;
375
+ position: absolute;
376
+ top: 13px
377
+ }
378
+
379
+ .checkbox-lab > span::after {
380
+ content: '';
381
+ display: block;
382
+ background-color: ivory;
383
+ width: 55px;
384
+ height: 6px;
385
+ position: absolute;
386
+ bottom: 13px;
387
+ }
388
+
389
+ .nav-start {
390
+ grid-column: 2/ span 1;
391
+ padding: 0;
392
+ margin: 23px 0 0 0;
393
+
394
+ p {
395
+ padding: 0;
396
+ margin: 0 0 0 20px;
397
+ width: fit-content;
398
+ text-shadow: 2px 2px rgb(189, 186, 186);
399
+ font-weight: 900;
400
+ }
401
+
402
+ p::after {
403
+ content: '';
404
+ height: 7px;
405
+ width: 0;
406
+ display: block;
407
+ background-color: ivory;
408
+ border-radius: 2px;
409
+ }
410
+
411
+ p:hover::after {
412
+ width: 100%;
413
+ transition: width 0.2s ease-in-out;
414
+ }
415
+ }
416
+
417
+ .mid-nav {
418
+ display: none;
419
+ position: absolute;
420
+ top: 100%;
421
+ left: 0 !important;
422
+ margin: 0;
423
+ width: 100%;
424
+ height: 90vh;
425
+ background-color: rgb(13, 192, 192);
426
+ z-index: 1;
427
+
428
+ ul {
429
+ padding: 0;
430
+ margin-left: auto;
431
+ margin-right: auto;
432
+ width: 20%;
433
+ height: 30%;
434
+ margin-top: 30%;
435
+ align-items: center;
436
+
437
+ li {
438
+ list-style: none;
439
+ padding: 0;
440
+ margin: 0 auto;
441
+ width: fit-content;
442
+ font-family: 'Times New Roman', Times, serif;
443
+
444
+ a {
445
+ text-decoration: none;
446
+ color: black;
447
+ width: fit-content;
448
+ font-weight: 900;
449
+ text-shadow: 2px 2px rgb(211, 210, 210);
450
+ }
451
+
452
+ a:hover::after {
453
+ content: '';
454
+ height: 7px;
455
+ background-color: aliceblue;
456
+ border-radius: 2px;
457
+ display: block;
458
+ }
459
+
460
+ }
461
+ }
462
+ }
463
+
464
+ .nav-end {
465
+ grid-column: 3 / span 1;
466
+ margin-top: 23px;
467
+ }
468
+ }
469
+ }
470
+
471
+ .img-rounded {
472
+ border-radius: 50%;
473
+ }
474
+
475
+ @import url('./margins&paddings.scss');
476
+ @import url('./texts&backgrounds.scss');
477
+ @import url('./heights.scss');
478
+ @import url('./buttons.scss');
479
+ @import url('./carousel.scss');
480
+ @import url('./slidebtn.scss');
@@ -0,0 +1,48 @@
1
+ .radio-container {
2
+ width: 100%;
3
+ height:20vh;
4
+ background-color: rgb(185, 216, 216);
5
+ padding: 5rem;
6
+
7
+ .radio-btn,
8
+ .radio-btn1 {
9
+ display: none;
10
+ }
11
+
12
+ .second-label,
13
+ .first-label {
14
+ background-color: white;
15
+ width: 6rem;
16
+ height: 2rem;
17
+ display: block;
18
+ border-radius: 0.99rem;
19
+ position: relative;
20
+
21
+ span {
22
+ background-color: black;
23
+ width: 2rem;
24
+ height: inherit;
25
+ display: block;
26
+ border-radius: inherit;
27
+ position: absolute;
28
+ left: 0;
29
+ top: 0;
30
+ }
31
+ }
32
+
33
+ .radio-btn:checked ~ .first-label > span {
34
+ transform: translate(200%, 0);
35
+ transition: transform 0.1s ease;
36
+ }
37
+
38
+ .radio-btn1:checked ~ .second-label,
39
+ .radio-btn:checked ~ .first-label {
40
+ background-color: orange;
41
+ transition: background-color 0.1s ease;
42
+ }
43
+
44
+ .radio-btn1:checked ~ .second-label > span {
45
+ transform: translate(200%, 0);
46
+ transition: transform 0.1s ease;
47
+ }
48
+ }