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
@@ -0,0 +1,708 @@
1
+ @import '../abstract/_all';
2
+ $input-padding-x: 14px;
3
+ $input-padding-y: 14px;
4
+
5
+ .form {
6
+ width: 100%;
7
+ }
8
+
9
+ .form-control[disabled],
10
+ .form-control[readonly],
11
+ fieldset[disabled] .form-control {
12
+ background-color: transparent;
13
+ opacity: 1;
14
+ }
15
+
16
+ .input,
17
+ .textarea,
18
+ .select select {
19
+ border: 1px solid transparent;
20
+ border-color: $c-middle-grey;
21
+ border-width: 0 0 1px 0;
22
+ border-radius: 0;
23
+ appearance: none;
24
+ align-items: center;
25
+ box-shadow: none;
26
+ display: inline-flex;
27
+ justify-content: flex-start;
28
+ padding: 8px 0;
29
+ position: relative;
30
+ vertical-align: top;
31
+ height: 40px;
32
+ box-sizing: border-box;
33
+
34
+ color: $c-primary;
35
+ max-width: 100%;
36
+ width: 100%;
37
+ font-size: $text-input-m;
38
+ line-height: 1;
39
+ @media (min-width: $break-sm) {
40
+ font-size: $text-input-d;
41
+ }
42
+ &.validation-error {
43
+ border-color: $c-error;
44
+ }
45
+ &:focus {
46
+ outline: none;
47
+
48
+ border: 1px solid transparent;
49
+ border-color: $c-primary;
50
+ border-width: 0 0 1px 0;
51
+ }
52
+ }
53
+
54
+ input::input-placeholder {
55
+ color: $c-middle-grey;
56
+ transform: translate3d(0, 0, 0);
57
+ }
58
+
59
+ .textarea {
60
+ min-height: 100px;
61
+ padding: 16px;
62
+ box-sizing: border-box;
63
+ }
64
+
65
+ label {
66
+ font-size: $text-md;
67
+ }
68
+
69
+ .select {
70
+ max-width: 100%;
71
+ appearance: none;
72
+ align-items: center;
73
+ border-radius: $form-radius;
74
+ box-shadow: none;
75
+ display: inline-flex;
76
+ justify-content: flex-start;
77
+ position: relative;
78
+ vertical-align: top;
79
+ select {
80
+ cursor: pointer;
81
+ display: block;
82
+ max-width: 100%;
83
+ outline: 0;
84
+ &:hover {
85
+ opacity: 0.6;
86
+ }
87
+ }
88
+ label {
89
+ position: absolute;
90
+ top: 50%;
91
+ transform: translateY(-50%);
92
+ left: 0;
93
+ z-index: 1;
94
+ }
95
+ &::after {
96
+ border: 1px solid $c-primary;
97
+ border-radius: $form-radius;
98
+ border-right: 0;
99
+ border-top: 0;
100
+ content: ' ';
101
+ height: 8px;
102
+ margin-top: -6px;
103
+ pointer-events: none;
104
+ position: absolute;
105
+ top: 50%;
106
+ right: 4px;
107
+ transform: rotate(-45deg);
108
+ transform-origin: center;
109
+ width: 8px;
110
+ }
111
+ &:not(.is-multiple) {
112
+ height: 40px;
113
+ }
114
+ &:not(.is-multiple, .is-loading)::after {
115
+ border-color: $c-primary;
116
+ }
117
+ select::-ms-expand {
118
+ display: none;
119
+ }
120
+ select[disabled]:hover,
121
+ fieldset[disabled] select:hover {
122
+ border-color: $c-light-grey;
123
+ }
124
+ select:not([multiple]) {
125
+ padding-right: 30px;
126
+ }
127
+ select[multiple] {
128
+ height: auto;
129
+ padding: 0;
130
+ }
131
+ select[multiple] option {
132
+ padding: 0 0;
133
+ }
134
+ &:not(.is-multiple, .is-loading):hover::after {
135
+ border-color: $c-primary;
136
+ }
137
+ &.select-label {
138
+ select {
139
+ padding-left: 100px;
140
+ }
141
+ }
142
+ &.select-box {
143
+ height: auto;
144
+ select {
145
+ background-color: $c-middle-grey;
146
+ min-width: 24px;
147
+ width: 100%;
148
+ height: 24px;
149
+ padding: 0 16px 0 8px;
150
+ font-size: $text-input-d;
151
+ border-radius: $form-radius;
152
+ border: none;
153
+ text-align: center;
154
+ }
155
+ &::after {
156
+ display: block;
157
+ right: 6px;
158
+ width: 5px;
159
+ height: 5px;
160
+ margin-top: -3px;
161
+ }
162
+ }
163
+ &.select-flat,
164
+ &.select-flat-no-icon {
165
+ width: max-content;
166
+ label {
167
+ z-index: 0;
168
+ left: 0;
169
+ }
170
+ select {
171
+ border: none;
172
+ padding-left: 0;
173
+ background: none;
174
+ padding-right: 40px;
175
+ }
176
+ &::after {
177
+ right: 0;
178
+ }
179
+ }
180
+ &.select-flat-no-icon {
181
+ padding-right: 8px;
182
+ &::after {
183
+ content: none;
184
+ }
185
+ }
186
+ &.select-secondary-rd {
187
+ width: max-content;
188
+ &:hover {
189
+ opacity: 0.5;
190
+ }
191
+ label {
192
+ z-index: 0;
193
+ left: 0;
194
+ }
195
+ &::after {
196
+ display: none;
197
+ }
198
+ select {
199
+ border-radius: $obj-radius;
200
+ border: 1px solid $c-primary;
201
+ padding: 6px 2px 4px;
202
+ min-width: 100px;
203
+ text-align: center;
204
+ background: none;
205
+ height: 32px;
206
+ font-size: $text-input-m;
207
+ @media (min-width: $break-sm) {
208
+ padding: 14px 2px;
209
+ height: 40px;
210
+ font-size: $text-input-d;
211
+ }
212
+ opacity: 0;
213
+ &:hover {
214
+ opacity: 0;
215
+ }
216
+ }
217
+ &.select:not([multiple]),
218
+ &.select:not(.is-multiple) {
219
+ height: 32px;
220
+ @media (min-width: $break-sm) {
221
+ height: 40px;
222
+ }
223
+ }
224
+ &.select select:not(.is-multiple),
225
+ &.select select:not([multiple]) {
226
+ padding: 6px 2px 4px;
227
+ height: 32px;
228
+ width: 100px;
229
+ @media (min-width: $break-sm) {
230
+ width: 120px;
231
+ padding: 14px 2px;
232
+ height: 40px;
233
+ }
234
+ }
235
+ .btn-secondary-rd {
236
+ position: absolute;
237
+ top: 0;
238
+ left: 0;
239
+ }
240
+ }
241
+ .select-secondary-rd {
242
+ .btn.btn-secondary-rd {
243
+ padding: 9px 2px 4px;
244
+ &:hover {
245
+ opacity: 0.5;
246
+ }
247
+ @media (min-width: $break-sm) {
248
+ padding: 16px 2px 14px;
249
+ }
250
+ }
251
+ }
252
+ &.select-size {
253
+ width: max-content;
254
+ label {
255
+ z-index: 0;
256
+ left: 0;
257
+ }
258
+ select {
259
+ border-radius: $obj-radius;
260
+ background: none;
261
+ padding-right: 40px;
262
+ border-color: $c-primary;
263
+ &:hover {
264
+ opacity: 0.6;
265
+ }
266
+ }
267
+ }
268
+ }
269
+
270
+ .validation-error-messages {
271
+ color: $c-error;
272
+ font-weight: 500;
273
+ svg {
274
+ path {
275
+ fill: $c-error;
276
+ }
277
+ }
278
+ }
279
+ .validation-error-wrap {
280
+ min-height: 24px;
281
+ }
282
+ .input-line {
283
+ border-top: 1px solid transparent;
284
+ border-left: 1px solid transparent;
285
+ border-right: 1px solid transparent;
286
+ background-color: transparent;
287
+ padding-left: 0;
288
+ border-bottom: 1px solid $c-primary;
289
+ }
290
+
291
+ .input-notouch {
292
+ @include font-regular;
293
+ pointer-events: none;
294
+ border-color: $c-middle-grey;
295
+ padding: 24px 0;
296
+ }
297
+
298
+ .info-text {
299
+ color: $c-dark-grey;
300
+ margin-top: 4px;
301
+ width: 100%;
302
+ float: left;
303
+ }
304
+ .form-text {
305
+ right: 0;
306
+ left: auto;
307
+ position: absolute;
308
+ top: 0;
309
+ min-width: 50px;
310
+ height: 40px;
311
+ box-sizing: border-box;
312
+ display: table;
313
+ span {
314
+ vertical-align: middle;
315
+ display: table-cell;
316
+ padding-right: 16px;
317
+ padding: 12px;
318
+ }
319
+ }
320
+ .form-text-svg {
321
+ svg {
322
+ display: inline-block;
323
+ padding: 12px;
324
+ box-sizing: initial;
325
+ }
326
+ }
327
+ .form-input-label-2,
328
+ .error-zone {
329
+ label {
330
+ font-size: $text-input-d;
331
+ }
332
+
333
+ font-family: $font-family-form;
334
+ position: relative;
335
+
336
+ .validation-error-messages {
337
+ width: calc(100% - 40px);
338
+ }
339
+ .help {
340
+ font-family: $font-family-form;
341
+ position: relative;
342
+ line-height: 1.5;
343
+ font-size: $text-input-d;
344
+ margin-top: 0;
345
+ padding-top: 2px;
346
+ margin-bottom: 4px;
347
+ width: calc(100% - 50px);
348
+ display: flex;
349
+ flex-direction: row;
350
+ justify-content: flex-start;
351
+ align-items: flex-start;
352
+ }
353
+ .input-text {
354
+ color: $c-dark-grey;
355
+ margin-top: 4px;
356
+ line-height: 1;
357
+ }
358
+ .info-text {
359
+ color: $c-dark-grey;
360
+ margin-top: 4px;
361
+ width: auto;
362
+ position: absolute;
363
+ right: 0;
364
+ }
365
+ & > input,
366
+ & > label,
367
+ & > textarea {
368
+ font-family: $font-family-form;
369
+ padding: 16px 0;
370
+ font-weight: normal;
371
+ }
372
+ & > label {
373
+ box-sizing: border-box;
374
+ position: absolute;
375
+ top: 0;
376
+ left: 0;
377
+ display: block;
378
+ width: 100%;
379
+ font-weight: normal;
380
+ margin-top: 1px;
381
+ margin-bottom: 0;
382
+ line-height: 1.1;
383
+ color: $c-dark-grey;
384
+ border-radius: $obj-radius;
385
+ transition: all 0.1s ease-in-out;
386
+ pointer-events: none;
387
+ }
388
+ & input::input-placeholder {
389
+ color: transparent;
390
+ }
391
+ & input:input-placeholder {
392
+ color: transparent;
393
+ }
394
+ & input::placeholder {
395
+ color: transparent;
396
+ }
397
+ & input:not(:placeholder-shown) {
398
+ padding-top: calc(#{$input-padding-y} + #{$input-padding-y} * (2 / 3));
399
+ padding-bottom: calc(#{$input-padding-y} / 3 + 3px);
400
+ }
401
+ & input:not(:placeholder-shown) ~ label {
402
+ padding-top: 0;
403
+ padding-bottom: calc(#{$input-padding-y} / 3);
404
+ font-size: $text-sm;
405
+ color: $c-dark-grey;
406
+ }
407
+ & input::-webkit-list-button,
408
+ & input::-webkit-calendar-picker-indicator {
409
+ display: none;
410
+ opacity: 0;
411
+ }
412
+ input:-webkit-autofill,
413
+ input:-webkit-autofill:hover,
414
+ input:-webkit-autofill:focus,
415
+ textarea:-webkit-autofill,
416
+ textarea:-webkit-autofill:hover,
417
+ textarea:-webkit-autofill:focus,
418
+ select:-webkit-autofill,
419
+ select:-webkit-autofill:hover,
420
+ select:-webkit-autofill:focus {
421
+ border: 1px solid $c-middle-grey;
422
+ -webkit-text-fill-color: $c-primary;
423
+ box-shadow: 0 0 0 1000px $c-white inset;
424
+ transition: background-color 5000s ease-in-out 0s;
425
+ }
426
+ &.input-line .input {
427
+ border: none;
428
+ }
429
+ input:-ms-input-placeholder {
430
+ color: $c-dark-grey !important;
431
+ }
432
+ input {
433
+ background-color: $c-white;
434
+ }
435
+ &.has-ico-pre,
436
+ .has-ico-pre {
437
+ &.btn,
438
+ & > input,
439
+ & > label {
440
+ padding-left: $btn-padding * 2;
441
+ }
442
+ .form-icon {
443
+ top: 0;
444
+ left: 0;
445
+ }
446
+ .ico-pre {
447
+ height: 45px;
448
+ position: absolute;
449
+ top: 0;
450
+ right: auto;
451
+ left: 0;
452
+ box-sizing: border-box;
453
+ margin: 0;
454
+ cursor: pointer;
455
+ align-items: center;
456
+ display: inline-flex;
457
+ justify-content: center;
458
+ }
459
+ }
460
+ &.has-ico-post,
461
+ .has-ico-post {
462
+ &.btn,
463
+ & > input,
464
+ & > label {
465
+ padding-right: $btn-padding * 3;
466
+ }
467
+ .form-icon {
468
+ padding: $btn-padding;
469
+ top: 0;
470
+ right: 0;
471
+ left: auto;
472
+ }
473
+ .ico-post {
474
+ height: 45px;
475
+ position: absolute;
476
+ top: 0;
477
+ right: 0;
478
+ left: auto;
479
+ box-sizing: border-box;
480
+ margin: 0;
481
+ cursor: pointer;
482
+ align-items: center;
483
+ display: inline-flex;
484
+ justify-content: center;
485
+ }
486
+ }
487
+ }
488
+
489
+ .form-input-label-2 {
490
+ &.required {
491
+ label::after {
492
+ content: ' *';
493
+ }
494
+ }
495
+ }
496
+
497
+ .is-error {
498
+ .input,
499
+ label,
500
+ .help {
501
+ color: $c-error !important;
502
+ }
503
+ .input {
504
+ border-bottom: 1px solid $c-error;
505
+ }
506
+ .input-prefix :nth-child(1)::placeholder {
507
+ color: $c-error;
508
+ }
509
+ svg {
510
+ g {
511
+ stroke: $c-error !important;
512
+ }
513
+ path {
514
+ fill: $c-error !important;
515
+ }
516
+ }
517
+ }
518
+
519
+ .ok-input {
520
+ .input,
521
+ label,
522
+ .help {
523
+ color: $c-success !important;
524
+ }
525
+ .input {
526
+ border-bottom: 1px solid $c-success;
527
+ color: $c-success;
528
+ }
529
+ .input-prefix:nth-child(1)::placeholder {
530
+ color: $c-success;
531
+ }
532
+ .input-line {
533
+ border-top: 1px solid transparent;
534
+ border-left: 1px solid transparent;
535
+ border-right: 1px solid transparent;
536
+ border-bottom: 1px solid $c-success;
537
+ color: $c-success;
538
+ }
539
+ }
540
+
541
+ .disabled-input {
542
+ pointer-events: none;
543
+ opacity: 0.4;
544
+ }
545
+
546
+ .input-line-v2 {
547
+ position: relative;
548
+ display: flex;
549
+ padding-right: 64px;
550
+ .input,
551
+ .input:focus,
552
+ .textarea,
553
+ .textarea:focus {
554
+ @include font-regular;
555
+ padding: 12px 0 4px;
556
+ height: auto;
557
+ border: none;
558
+ border-bottom: 1px solid $c-primary;
559
+ }
560
+ .input::input-placeholder {
561
+ @include font-regular;
562
+ text-overflow: inherit;
563
+ line-height: initial;
564
+ white-space: pre;
565
+ overflow-wrap: normal;
566
+ -webkit-user-modify: read-only !important;
567
+ overflow: hidden;
568
+ }
569
+ }
570
+
571
+ .has-light {
572
+ .form-input-label input,
573
+ .form-input-label-2 input {
574
+ background-color: transparent;
575
+ }
576
+ input,
577
+ label {
578
+ color: $c-white;
579
+ }
580
+ .form-input-label,
581
+ .form-input-prefix {
582
+ & > label {
583
+ color: $c-white;
584
+ }
585
+ & input::input-placeholder {
586
+ color: transparent;
587
+ }
588
+ & input:input-placeholder {
589
+ color: transparent;
590
+ }
591
+ & input::placeholder {
592
+ color: transparent;
593
+ }
594
+ & input:not(:placeholder-shown) ~ label {
595
+ color: $c-white;
596
+ }
597
+ input:-webkit-autofill,
598
+ input:-webkit-autofill:hover,
599
+ input:-webkit-autofill:focus,
600
+ textarea:-webkit-autofill,
601
+ textarea:-webkit-autofill:hover,
602
+ textarea:-webkit-autofill:focus,
603
+ select:-webkit-autofill,
604
+ select:-webkit-autofill:hover,
605
+ select:-webkit-autofill:focus {
606
+ border: 1px solid $c-white;
607
+ -webkit-text-fill-color: $c-white;
608
+ box-shadow: 0 0 0 1000px $c-primary inset;
609
+ }
610
+ .input,
611
+ .textarea,
612
+ .select select {
613
+ background-color: transparent;
614
+ border-color: $c-white;
615
+ color: $c-white;
616
+ }
617
+ }
618
+ .form-input-label-2 .info-text,
619
+ .error-zone .info-text {
620
+ color: $c-white;
621
+ }
622
+ .input-prefix {
623
+ input::input-placeholder {
624
+ color: $c-white;
625
+ transform: translate3d(0, 0, 0);
626
+ opacity: 0.7;
627
+ }
628
+ }
629
+ }
630
+
631
+ .form-postcode {
632
+ flex-wrap: wrap;
633
+ gap: 8px;
634
+
635
+ > :not(.select):nth-child(1) {
636
+ flex: 0 0 200px;
637
+ }
638
+
639
+ > :nth-child(2) {
640
+ flex: 1 0 auto;
641
+ }
642
+
643
+ .form-input-label-2 .help {
644
+ width: 100%;
645
+ }
646
+ }
647
+
648
+ .form-prefix {
649
+ display: flex;
650
+ flex-wrap: wrap;
651
+ gap: 8px;
652
+ > :not(.select):nth-child(1) {
653
+ flex: 0 0 75px;
654
+ }
655
+ > :nth-child(2) {
656
+ flex: 5 0 130px;
657
+ }
658
+ > .btn {
659
+ flex: 1 0 auto;
660
+ }
661
+ }
662
+
663
+ // a eliminar activate-user---input-phone-combo----itxphoneaccountcreation
664
+ .form-input-prefix {
665
+ display: flex;
666
+ .input-prefix {
667
+ width: 52px;
668
+ display: inline-block;
669
+ margin-right: 8px;
670
+ }
671
+ .input-prefix .input {
672
+ padding-left: 0;
673
+ padding-right: 0;
674
+ text-align: center;
675
+ }
676
+ .form-input-label,
677
+ .form-input-label-2 {
678
+ display: inline-block;
679
+ width: calc(100% - 60px);
680
+ }
681
+ }
682
+ //a eliminar pickup component
683
+ .form-input-mobile {
684
+ position: absolute;
685
+ z-index: 1;
686
+ width: calc(100% - 40px);
687
+ max-width: 450px;
688
+ top: 20px;
689
+ left: 50%;
690
+ transform: translateX(-50%);
691
+ }
692
+
693
+ @supports (-ms-ime-align: auto) {
694
+ .form-input-label-2 > label {
695
+ display: none;
696
+ }
697
+ .formlabel input:-ms-input-placeholder {
698
+ color: $c-dark-grey;
699
+ }
700
+ }
701
+ @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
702
+ .form-input-label-2 > label {
703
+ display: none;
704
+ }
705
+ .formlabel input:-ms-input-placeholder {
706
+ color: $c-dark-grey !important;
707
+ }
708
+ }