holygrail2 1.0.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.
Files changed (57) hide show
  1. package/.editorconfig +13 -0
  2. package/.prettierrc +6 -0
  3. package/.stylelintrc +27 -0
  4. package/.vscode/settings.json +3 -0
  5. package/assets/images/minilogo.png +0 -0
  6. package/cssconfig.json +373 -0
  7. package/dist/style.css +10376 -0
  8. package/dist/style.css.map +1 -0
  9. package/doc/docs.css +1764 -0
  10. package/doc/docs.css.map +1 -0
  11. package/guide/index.html +3202 -0
  12. package/package.json +59 -0
  13. package/readme.md +123 -0
  14. package/scss/_partials.scss +44 -0
  15. package/scss/abstract/_0debug.scss +192 -0
  16. package/scss/abstract/_all.scss +4 -0
  17. package/scss/abstract/_breakpoints.scss +27 -0
  18. package/scss/abstract/_fonts.scss +22 -0
  19. package/scss/abstract/_mixins.scss +691 -0
  20. package/scss/abstract/_reset.scss +124 -0
  21. package/scss/abstract/_setup.scss +385 -0
  22. package/scss/base/_alignment.scss +294 -0
  23. package/scss/base/_animations.scss +64 -0
  24. package/scss/base/_extras.scss +21 -0
  25. package/scss/base/_grid.scss +361 -0
  26. package/scss/base/_height.scss +19 -0
  27. package/scss/base/_helpers.scss +814 -0
  28. package/scss/base/_icons.scss +162 -0
  29. package/scss/base/_ratios.scss +262 -0
  30. package/scss/base/_rtl.scss +480 -0
  31. package/scss/base/_spacing.scss +60 -0
  32. package/scss/base/_types.scss +117 -0
  33. package/scss/docs.scss +680 -0
  34. package/scss/elements/_animated.scss +73 -0
  35. package/scss/elements/_banners.scss +68 -0
  36. package/scss/elements/_buttons.scss +1324 -0
  37. package/scss/elements/_checkbox.scss +722 -0
  38. package/scss/elements/_color_selector.scss +112 -0
  39. package/scss/elements/_datalist.scss +55 -0
  40. package/scss/elements/_form.scss +708 -0
  41. package/scss/elements/_links.scss +268 -0
  42. package/scss/elements/_list.scss +271 -0
  43. package/scss/elements/_modal.scss +141 -0
  44. package/scss/elements/_progressbar.scss +20 -0
  45. package/scss/elements/_tabs.scss +216 -0
  46. package/scss/elements/_tabs_specials.scss +216 -0
  47. package/scss/elements/_tag.scss +58 -0
  48. package/scss/elements/_tooltip.scss +176 -0
  49. package/scss/layouts/_box3.scss +64 -0
  50. package/scss/layouts/_box4.scss +19 -0
  51. package/scss/layouts/_card.scss +24 -0
  52. package/scss/layouts/_card9.scss +348 -0
  53. package/scss/layouts/_feel.scss +2 -0
  54. package/scss/layouts/_header_account.scss +144 -0
  55. package/scss/layouts/_hgbread.scss +51 -0
  56. package/scss/layouts/_row1.scss +108 -0
  57. package/scss/style.scss +1 -0
package/scss/docs.scss ADDED
@@ -0,0 +1,680 @@
1
+ @use 'sass:math';
2
+ @import 'abstract/reset.scss';
3
+
4
+ @import 'base/_animations.scss';
5
+
6
+ @import 'abstract/_all.scss';
7
+
8
+ $variable-colors: (
9
+ c-white: #{$c-white},
10
+ c-black: #{$c-black},
11
+ c-dark-grey: #{$c-dark-grey},
12
+ c-middle-grey: #{$c-middle-grey},
13
+ c-light-grey: #{$c-light-grey},
14
+ c-primary: #{$c-primary},
15
+ c-secondary: #{$c-secondary},
16
+ c-accent: #{$c-accent},
17
+ c-error: #{$c-error},
18
+ c-sale: #{$c-sale},
19
+ c-info: #{$c-info},
20
+ c-valid: #{$c-valid},
21
+ c-warning: #{$c-warning},
22
+ c-feel: #{$c-feel},
23
+ c-feel-dark: #{$c-feel-dark},
24
+ c-feel-light: #{$c-feel-light},
25
+ c-limited: #{$c-limited},
26
+ c-success: #{$c-success},
27
+ c-alert: #{$c-alert},
28
+ c-facebook: #{$c-facebook},
29
+ c-google: #{$c-google},
30
+ c-naver: #{$c-naver},
31
+ c-wechat: #{$c-wechat},
32
+ );
33
+ $variable-list: (
34
+ break-xs: #{$break-xs},
35
+ break-sm: #{$break-sm},
36
+ break-md: #{$break-md},
37
+ break-lg: #{$break-lg},
38
+ break-xl: #{$break-xl},
39
+ min-vw: #{$min-vw},
40
+ height-xs: #{$height-xs},
41
+ height-sm: #{$height-sm},
42
+ height-md: #{$height-md},
43
+ height-lg: #{$height-lg},
44
+ height-xl: #{$height-xl},
45
+ height-full: #{$height-full},
46
+ height-home: #{$height-home},
47
+ container: #{$container},
48
+ container-2: #{$container-2},
49
+ container-3: #{$container-3},
50
+ container-4: #{$container-4},
51
+ font-primary: #{$font-family-a-r},
52
+ font-family-secondary: #{$font-family-b-r},
53
+ font-primary-weight-light: #{$font-weight-light},
54
+ font-primary-weight-regular: #{$font-weight-regular},
55
+ font-primary-weight-medium: #{$font-weight-medium},
56
+ font-primary-weight-bold: #{$font-weight-bold},
57
+ font-secondary-weight-light: #{$font-weight-secondary-light},
58
+ font-secondary-weight-medium: #{$font-weight-secondary-medium},
59
+ xl: 1500px,
60
+ );
61
+
62
+ $variabletotals: length($variable-list);
63
+ $variablecolors: length($variable-colors);
64
+
65
+ @for $i from 1 through $variabletotals {
66
+ .var-a-#{nth(map-keys($variable-list), $i)} {
67
+ &::after {
68
+ display: inline-block;
69
+ content: '#{nth(map-keys($variable-list), $i)}';
70
+ }
71
+ }
72
+ .var-b-#{nth(map-keys($variable-list), $i)} {
73
+ &::after {
74
+ content: '#{nth(map-values($variable-list), $i)}';
75
+ display: inline-block;
76
+ }
77
+ }
78
+ }
79
+
80
+ @for $i from 1 through $variablecolors {
81
+ .var-a-#{nth(map-keys($variable-colors), $i)} {
82
+ &::before {
83
+ display: inline-block;
84
+ content: '#{nth(map-keys($variable-colors), $i)}';
85
+ }
86
+ }
87
+ .var-b-#{nth(map-keys($variable-colors), $i)} {
88
+ &::before {
89
+ content: '#{nth(map-values($variable-colors), $i)}';
90
+ display: inline-block;
91
+ }
92
+ }
93
+ }
94
+
95
+ @for $i from 1 through $variablecolors {
96
+ .bg-#{nth(map-keys($variable-colors), $i)} {
97
+ background-color: #{nth(map-values($variable-colors), $i)};
98
+ }
99
+ }
100
+
101
+ @mixin tablas($spacingArray, $spacingName, $totalItems) {
102
+ @each $name, $value in $spacingArray {
103
+ $i: index(($spacingArray), ($name $value));
104
+ $spacing0: $name;
105
+ $spacing1: nth($value, 1);
106
+ $spacing2: nth($value, 2);
107
+ $spacing3: nth($value, 3);
108
+ $spacing4: nth($value, 4);
109
+ .#{$spacingName} {
110
+ .filas:nth-child(#{$i}) {
111
+ .item {
112
+ &::after {
113
+ content: '#{$name}';
114
+ }
115
+ }
116
+ .item-0 {
117
+ word-wrap: break-word;
118
+ }
119
+ .item-1 {
120
+ &::after {
121
+ content: '#{$spacing1}';
122
+ }
123
+ }
124
+ .item-2 {
125
+ &::after {
126
+ content: '#{$spacing2}';
127
+ }
128
+ }
129
+ .item-3 {
130
+ &::after {
131
+ content: '#{$spacing3}';
132
+ }
133
+ }
134
+ .item-4 {
135
+ &::after {
136
+ content: '#{$spacing4}';
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
143
+ @mixin tablas2($spacingArray, $spacingName, $totalItems) {
144
+ @each $name, $value in $spacingArray {
145
+ $i: index(($spacingArray), ($name $value));
146
+ $spacing0: $name;
147
+ $spacing1: nth($value, 1);
148
+ .#{$spacingName} {
149
+ .filas:nth-child(#{$i}) {
150
+ .item {
151
+ &::after {
152
+ content: '#{$name}';
153
+ }
154
+ }
155
+ .item-0 {
156
+ word-wrap: break-word;
157
+ }
158
+ .item-1 {
159
+ &::after {
160
+ content: '#{$spacing1}';
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
167
+ @mixin tablas3($spacingArray, $spacingName, $totalItems) {
168
+ @each $name, $value in $spacingArray {
169
+ $i: index(($spacingArray), ($name $value));
170
+ $spacing0: $name;
171
+ $spacing1: nth($value, 1);
172
+ $spacing2: nth($value, 2);
173
+ $spacing3: nth($value, 3);
174
+ .#{$spacingName} {
175
+ .filas:nth-child(#{$i}) {
176
+ .item {
177
+ &::after {
178
+ content: '#{$name}';
179
+ }
180
+ }
181
+ .item-0 {
182
+ word-wrap: break-word;
183
+ }
184
+ .item-1 {
185
+ &::after {
186
+ content: '#{$spacing1}';
187
+ }
188
+ }
189
+ .item-2 {
190
+ &::after {
191
+ content: '#{$spacing2}';
192
+ }
193
+ }
194
+ .item-3 {
195
+ &::after {
196
+ content: '#{$spacing3}';
197
+ }
198
+ }
199
+ }
200
+ }
201
+ }
202
+ }
203
+ @mixin muestraArray($nombreArray, $nombreClase, $totalItems) {
204
+ @each $name, $value in $nombreArray {
205
+ $i: index($nombreArray, $name $value);
206
+
207
+ .#{$nombreClase} {
208
+ .filas:nth-child(#{$i}) {
209
+ .item {
210
+ &::after {
211
+ content: '#{$name}';
212
+ }
213
+ }
214
+
215
+ @for $j from 1 through $totalItems {
216
+ .item-#{$j} {
217
+ &::after {
218
+ content: '#{nth($value, $j)}';
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+ }
225
+ }
226
+
227
+ @include tablas($margin, 'marginbox', 2);
228
+ @include tablas($margin-y, 'marginbox-y', 2);
229
+ @include tablas($margin-x, 'marginbox-x', 2);
230
+ @include tablas($margin-top, 'marginbox-top', 2);
231
+ @include tablas($margin-right, 'marginbox-right', 2);
232
+ @include tablas($margin-bottom, 'marginbox-bottom', 2);
233
+ @include tablas($margin-left, 'marginbox-left', 2);
234
+ @include tablas($padding, 'paddingbox', 2);
235
+ @include tablas($padding-y, 'paddingbox-y', 2);
236
+ @include tablas($padding-x, 'paddingbox-x', 2);
237
+ @include tablas($padding-top, 'paddingbox-top', 2);
238
+ @include tablas($padding-left, 'paddingbox-left', 2);
239
+ @include tablas($padding-bottom, 'paddingbox-bottom', 2);
240
+ @include tablas($padding-right, 'paddingbox-right', 2);
241
+
242
+ @include muestraArray($heights, 'heights', 2);
243
+ @include muestraArray($headersFluids, 'fluids', 3);
244
+ @include muestraArray($minheaders, 'minheaders', 4);
245
+
246
+ .font-family-a {
247
+ &::after {
248
+ content: '' + $font-family-a-r;
249
+ position: relative;
250
+ }
251
+ }
252
+ .font-family-b {
253
+ &::after {
254
+ content: '' + $font-family-b-r;
255
+ position: relative;
256
+ }
257
+ }
258
+ .font-family-c {
259
+ &::after {
260
+ content: '' + $font-family-c-r;
261
+ position: relative;
262
+ }
263
+ }
264
+ .mini-site-main {
265
+ padding-left: 200px;
266
+ padding-right: 20px;
267
+ }
268
+ .tag-color-wrap {
269
+ .wrap-item {
270
+ position: relative;
271
+ width: 100%;
272
+ margin: 10px 10px 0 0;
273
+ padding: 5px;
274
+ box-shadow: 0 9px 25px rgb(0 0 0 / 15%);
275
+
276
+ &::after {
277
+ position: absolute;
278
+ margin-top: -50px;
279
+ bottom: 10px;
280
+ font-size: 12px;
281
+ left: 16px;
282
+ }
283
+ ::before {
284
+ width: 100%;
285
+ text-align: center;
286
+ position: absolute;
287
+ z-index: 10;
288
+ font-size: 12px;
289
+ margin-top: -40px;
290
+ left: 0;
291
+
292
+ color: white;
293
+ bottom: 27px;
294
+ }
295
+ .item {
296
+ height: 100px;
297
+ margin: 0;
298
+ position: relative;
299
+
300
+ &::after {
301
+ font-size: 12px;
302
+ position: absolute;
303
+ margin-top: -20px;
304
+ width: 100%;
305
+ }
306
+ }
307
+ }
308
+ }
309
+
310
+ .site-menu-mobile {
311
+ background-color: #000;
312
+ position: fixed;
313
+ height: 100vh;
314
+ width: 60px;
315
+ }
316
+
317
+ .guide {
318
+ section {
319
+ padding-bottom: 20px;
320
+ }
321
+ .element-code {
322
+ width: 100%;
323
+ max-width: 500px;
324
+ min-height: 200px;
325
+ margin: 20px auto;
326
+ }
327
+
328
+ .title-zone {
329
+ color: #000;
330
+ margin-bottom: 20px;
331
+ padding: 100px 0 10px;
332
+ }
333
+ .site-main {
334
+ position: relative;
335
+ margin: 0 0 0 55px;
336
+ padding: 0 8px;
337
+ @media (min-width: $break-lg) {
338
+ margin: 0 0 0 180px;
339
+ }
340
+ }
341
+ .mb-5 {
342
+ margin-bottom: 5px;
343
+ }
344
+ .menu-lateral ul.list-clear li {
345
+ margin: 0;
346
+ line-height: 1.2;
347
+ }
348
+ .menu-lateral {
349
+ padding-left: 10px;
350
+ }
351
+ .guide-logo-menu {
352
+ img {
353
+ padding-top: 20px;
354
+ }
355
+ }
356
+ .list-clear {
357
+ margin-bottom: 30px;
358
+ }
359
+ .guide-title {
360
+ color: #878787;
361
+ font-size: 11px;
362
+ font-family: Arial, Helvetica, sans-serif !important;
363
+ text-transform: uppercase;
364
+ }
365
+ .guide-text {
366
+ text-align: center;
367
+ width: 100%;
368
+ color: #b7c1c8;
369
+ font-size: 8px;
370
+ font-family: Arial, Helvetica, sans-serif !important;
371
+ text-transform: uppercase;
372
+ padding: 10px 0;
373
+ float: left;
374
+ span {
375
+ width: 100%;
376
+ clear: both;
377
+ float: left;
378
+ }
379
+ }
380
+ .menulateral {
381
+ position: fixed;
382
+ top: 62px;
383
+ overflow: auto;
384
+ height: calc(100vh - 62px);
385
+ font-size: 10px;
386
+ box-sizing: border-box;
387
+ -webkit-box-flex: 0;
388
+ width: 180px;
389
+ padding: 0 0 0 20px;
390
+ html {
391
+ font-size: 12px;
392
+ }
393
+ }
394
+ .guide-hover {
395
+ text-decoration: none;
396
+ opacity: 0.6;
397
+ }
398
+ code[class*='language-'],
399
+ pre[class*='language-'] {
400
+ font-size: 12px;
401
+ }
402
+ table {
403
+ width: 100%;
404
+ max-width: 100%;
405
+ border-collapse: collapse;
406
+ caption-side: bottom;
407
+ font-size: 12px;
408
+ text-align: left;
409
+ th:nth-child(1) {
410
+ width: 150px;
411
+ }
412
+ thead,
413
+ tbody,
414
+ tfoot {
415
+ tr {
416
+ th,
417
+ td {
418
+ padding: 10px;
419
+ vertical-align: top;
420
+ border: 1px solid #eaeaea;
421
+ p:last-child {
422
+ margin-bottom: 0;
423
+ }
424
+ }
425
+ }
426
+ }
427
+ td:first-child > code {
428
+ white-space: nowrap;
429
+ }
430
+ thead {
431
+ background-color: $primary-guide;
432
+ color: #fff;
433
+ }
434
+ td {
435
+ &:first-child {
436
+ color: $primary-guide !important;
437
+ }
438
+ }
439
+ }
440
+ code {
441
+ background-color: #f1f1f1;
442
+ padding-left: 4px;
443
+ padding-right: 4px;
444
+ color: $secondary-guide;
445
+ }
446
+ pre > code {
447
+ background-color: transparent;
448
+ }
449
+ a {
450
+ text-decoration: none;
451
+ }
452
+ .item-w {
453
+ width: 40px;
454
+ height: 40px;
455
+ padding: 4px;
456
+ background: #eceff3;
457
+ }
458
+ .item-i {
459
+ min-width: 20%;
460
+ min-height: 20%;
461
+ display: block;
462
+ border: 1px solid #fff;
463
+ box-sizing: border-box;
464
+ }
465
+ .item-i:nth-child(1) {
466
+ background-color: $primary-guide;
467
+ opacity: 0.93;
468
+ }
469
+ .item-i:nth-child(2) {
470
+ background-color: $primary-guide;
471
+ opacity: 0.83;
472
+ }
473
+ .item-i:nth-child(3) {
474
+ background-color: $primary-guide;
475
+ opacity: 0.79;
476
+ }
477
+ .item-i:nth-child(4) {
478
+ background-color: $primary-guide;
479
+ opacity: 0.72;
480
+ }
481
+ .item-i:nth-child(5) {
482
+ background-color: $primary-guide;
483
+ opacity: 0.65;
484
+ }
485
+ .item-i:nth-child(6) {
486
+ background-color: $primary-guide;
487
+ opacity: 0.58;
488
+ }
489
+ .item-i:nth-child(7) {
490
+ background-color: $primary-guide;
491
+ opacity: 0.51;
492
+ }
493
+ .item-i:nth-child(8) {
494
+ background-color: $primary-guide;
495
+ opacity: 0.44;
496
+ }
497
+ .item-i:nth-child(9) {
498
+ background-color: $primary-guide;
499
+ opacity: 0.37;
500
+ }
501
+ .item-i:nth-child(10) {
502
+ background-color: $primary-guide;
503
+ opacity: 0.3;
504
+ }
505
+ .box-demo,
506
+ .box-demo2 {
507
+ height: 100%;
508
+ box-sizing: border-box;
509
+ padding: 20px;
510
+ border: 1px solid #fff;
511
+ }
512
+ .box-demo-inner {
513
+ height: 200px;
514
+ border: 1px solid #fff;
515
+ background-color: $primary-guide;
516
+ opacity: 0.6;
517
+ font-size: 20px;
518
+ padding-top: 100px;
519
+ text-align: center;
520
+ color: #fff;
521
+ }
522
+ .box-demo:nth-child(1) {
523
+ background-color: rgb(0 191 203 / 20%);
524
+ }
525
+ .box-demo:nth-child(2) {
526
+ background-color: rgb(0 191 203 / 20%);
527
+ }
528
+ .box-demo:nth-child(3) {
529
+ background-color: rgb(0 191 203 / 20%);
530
+ }
531
+ .box-demo2:nth-child(1) {
532
+ background-color: rgb(255 33 33 / 20%);
533
+ }
534
+ .box-demo2:nth-child(2) {
535
+ background-color: rgb(255 33 33 / 20%);
536
+ }
537
+ .box-demo2:nth-child(3) {
538
+ background-color: rgb(255 33 33 / 20%);
539
+ }
540
+ .box-demo .col {
541
+ font-size: 12px;
542
+ background-color: rgb(0 191 203 / 60%);
543
+ border: 1px solid #fff;
544
+ }
545
+ .flexbox-map {
546
+ .h3 {
547
+ min-height: 50px;
548
+ font-size: 20px;
549
+ background-color: rgb(33 255 214 / 33%);
550
+ padding: 20px;
551
+ }
552
+ }
553
+ .box-info {
554
+ padding: 20px;
555
+ border: 1px solid gray;
556
+ font-style: italic;
557
+ opacity: 0.5;
558
+ }
559
+ .guide-icon-top {
560
+ display: inline-block;
561
+ }
562
+ .resize-container {
563
+ position: relative;
564
+ min-height: 400px;
565
+ display: flex;
566
+ padding: 50px 0;
567
+ grid-template-columns: repeat(3, 1fr);
568
+ justify-content: center;
569
+ width: 100%;
570
+ box-sizing: border-box;
571
+ }
572
+ .mini-box {
573
+ background: #eaeaea;
574
+ width: 100px;
575
+ color: #757171;
576
+ font-size: 10px;
577
+ float: left;
578
+ margin: 11px;
579
+ }
580
+ }
581
+ pre[class*='language-'] {
582
+ margin: 20px 0;
583
+ }
584
+ .mini-box {
585
+ span {
586
+ @include font-bold;
587
+ display: block;
588
+ font-size: 14px;
589
+ }
590
+ }
591
+ .filas {
592
+ line-height: 2;
593
+ }
594
+
595
+ .item {
596
+ white-space: nowrap;
597
+ }
598
+ .bg-docs {
599
+ background: #fafafa;
600
+ }
601
+
602
+ .grid-6-docs {
603
+ display: grid;
604
+ grid-template-columns: repeat(6, 1fr);
605
+ column-gap: 0;
606
+
607
+ div:nth-child(6n + 3),
608
+ div:nth-child(6n + 4) {
609
+ background-color: #eaeaea;
610
+ }
611
+
612
+ div {
613
+ border-bottom: 1px solid #f6f6f6;
614
+ padding: 6px;
615
+ }
616
+
617
+ div:nth-child(6n + 1),
618
+ div:nth-child(6n + 3),
619
+ div:nth-child(6n + 5) {
620
+ font-size: 14px;
621
+ font-weight: bold;
622
+ }
623
+ }
624
+
625
+ .grid-8-docs {
626
+ display: grid;
627
+ grid-template-columns: repeat(8, 1fr);
628
+
629
+ &:nth-child(even) {
630
+ background-color: #f7f6f6; /* Cambia el color de fondo de las filas pares */
631
+ }
632
+
633
+ /* Opcional: Estilos para filas impares */
634
+ &:nth-child(odd) {
635
+ background-color: #fff; /* Cambia el color de fondo de las filas impares */
636
+ }
637
+ }
638
+
639
+ .grid-24-docs {
640
+ display: grid;
641
+ grid-template-columns: repeat(24, 1fr);
642
+ gap: 16px;
643
+ align-items: start;
644
+ }
645
+
646
+ .grid-10-docs {
647
+ display: grid;
648
+ grid-template-columns: repeat(10, 1fr);
649
+ border-bottom: 1px dashed #d8d8d8;
650
+ border-left: 1px dashed #d8d8d8;
651
+
652
+ align-items: start;
653
+ div {
654
+ padding: 10px;
655
+ border-top: 1px dashed #d8d8d8;
656
+ border-right: 1px dashed #d8d8d8;
657
+ height: 100%;
658
+ display: flex;
659
+ justify-content: center;
660
+ align-items: center;
661
+ }
662
+ }
663
+
664
+ .grid-4-docs {
665
+ display: grid;
666
+ grid-template-columns: repeat(4, 1fr);
667
+ border-bottom: 1px dashed #d8d8d8;
668
+ border-left: 1px dashed #d8d8d8;
669
+
670
+ align-items: start;
671
+ & > div {
672
+ padding: 10px;
673
+ border-top: 1px dashed #d8d8d8;
674
+ border-right: 1px dashed #d8d8d8;
675
+ height: 100%;
676
+ display: flex;
677
+ justify-content: center;
678
+ align-items: center;
679
+ }
680
+ }