holygrail2 1.1.87 → 1.1.88

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "holygrail2",
3
- "version": "1.1.87",
3
+ "version": "1.1.88",
4
4
  "description": "A minimal, responsive, style-agnostic CSS framework.",
5
5
  "main": "scss/style.scss",
6
6
  "directories": {
@@ -1,18 +1,15 @@
1
1
  @import '../abstract/_all';
2
2
  $input-padding-x: 14px;
3
3
  $input-padding-y: 14px;
4
-
5
4
  .form {
6
5
  width: 100%;
7
6
  }
8
-
9
7
  .form-control[disabled],
10
8
  .form-control[readonly],
11
9
  fieldset[disabled] .form-control {
12
10
  background-color: transparent;
13
11
  opacity: 1;
14
12
  }
15
-
16
13
  .input,
17
14
  .textarea,
18
15
  .select select {
@@ -30,7 +27,6 @@ fieldset[disabled] .form-control {
30
27
  vertical-align: top;
31
28
  height: 40px;
32
29
  box-sizing: border-box;
33
-
34
30
  color: $c-primary;
35
31
  max-width: 100%;
36
32
  width: 100%;
@@ -40,12 +36,10 @@ fieldset[disabled] .form-control {
40
36
  }
41
37
  &:focus {
42
38
  outline: none;
43
-
44
39
  border: var(--line-width) solid transparent;
45
40
  border-color: $c-primary;
46
41
  border-width: 0 0 var(--line-width) 0;
47
42
  }
48
-
49
43
  &disabled,
50
44
  &.disabled {
51
45
  pointer-events: none;
@@ -53,18 +47,15 @@ fieldset[disabled] .form-control {
53
47
  color: $c-middle-grey;
54
48
  }
55
49
  }
56
-
57
50
  input::input-placeholder {
58
51
  color: $c-middle-grey;
59
52
  transform: translate3d(0, 0, 0);
60
53
  }
61
-
62
54
  .textarea {
63
55
  min-height: 100px;
64
56
  padding: 8px 0;
65
57
  box-sizing: border-box;
66
58
  }
67
-
68
59
  .select {
69
60
  max-width: 100%;
70
61
  appearance: none;
@@ -265,7 +256,6 @@ input::input-placeholder {
265
256
  }
266
257
  }
267
258
  }
268
-
269
259
  .validation-error-messages {
270
260
  color: $c-error;
271
261
  font-weight: 500;
@@ -286,14 +276,12 @@ input::input-placeholder {
286
276
  padding-left: 0;
287
277
  border-bottom: var(--line-width) solid $c-primary;
288
278
  }
289
-
290
279
  .input-notouch {
291
280
  @include font-regular;
292
281
  pointer-events: none;
293
282
  border-color: $c-middle-grey;
294
283
  padding: 24px 0;
295
284
  }
296
-
297
285
  .info-text {
298
286
  color: $c-dark-grey;
299
287
  margin-top: 4px;
@@ -328,10 +316,8 @@ input::input-placeholder {
328
316
  label {
329
317
  font-size: $text-input-d;
330
318
  }
331
-
332
319
  font-family: $font-family-form;
333
320
  position: relative;
334
-
335
321
  .validation-error-messages {
336
322
  width: calc(100% - 40px);
337
323
  }
@@ -360,14 +346,14 @@ input::input-placeholder {
360
346
  position: absolute;
361
347
  right: 0;
362
348
  }
363
- & > input,
364
- & > label,
365
- & > textarea {
349
+ &>input,
350
+ &>label,
351
+ &>textarea {
366
352
  font-family: $font-family-form;
367
353
  padding: 16px 0;
368
354
  font-weight: normal;
369
355
  }
370
- & > label {
356
+ &>label {
371
357
  box-sizing: border-box;
372
358
  position: absolute;
373
359
  top: 0;
@@ -397,7 +383,7 @@ input::input-placeholder {
397
383
  padding-top: calc(#{$input-padding-y} + #{$input-padding-y} * (2 / 3));
398
384
  padding-bottom: 14px;
399
385
  }
400
- & input:not(:placeholder-shown) ~ label {
386
+ & input:not(:placeholder-shown)~label {
401
387
  padding-top: 1px;
402
388
  padding-bottom: calc(#{$input-padding-y} / 3);
403
389
  font-size: 9px;
@@ -407,7 +393,7 @@ input::input-placeholder {
407
393
  padding-top: calc(#{$input-padding-y} + #{$input-padding-y} * (2 / 3));
408
394
  padding-bottom: 14px;
409
395
  }
410
- & input:focus ~ label {
396
+ & input:focus~label {
411
397
  padding-top: 1px;
412
398
  padding-bottom: calc(#{$input-padding-y} / 3);
413
399
  font-size: 9px;
@@ -444,8 +430,8 @@ input::input-placeholder {
444
430
  &.has-ico-pre,
445
431
  .has-ico-pre {
446
432
  &.btn,
447
- & > input,
448
- & > label {
433
+ &>input,
434
+ &>label {
449
435
  padding-left: $btn-padding * 2;
450
436
  }
451
437
  .form-icon {
@@ -469,8 +455,8 @@ input::input-placeholder {
469
455
  &.has-ico-post,
470
456
  .has-ico-post {
471
457
  &.btn,
472
- & > input,
473
- & > label {
458
+ &>input,
459
+ &>label {
474
460
  padding-right: $btn-padding * 3;
475
461
  }
476
462
  .form-icon {
@@ -494,7 +480,6 @@ input::input-placeholder {
494
480
  }
495
481
  }
496
482
  }
497
-
498
483
  .form-input-label-2 {
499
484
  &.required {
500
485
  label::after {
@@ -502,7 +487,6 @@ input::input-placeholder {
502
487
  }
503
488
  }
504
489
  }
505
-
506
490
  .is-error {
507
491
  .input,
508
492
  .help {
@@ -522,19 +506,17 @@ input::input-placeholder {
522
506
  fill: $c-error !important;
523
507
  }
524
508
  }
525
-
526
- svg.ico-default {
527
- g {
528
- stroke: $c-primary !important;
529
- }
530
- path {
531
- fill: $c-primary !important;
509
+ .ico-default {
510
+ svg {
511
+ g {
512
+ stroke: $c-primary !important;
513
+ }
514
+ path {
515
+ fill: $c-primary !important;
516
+ }
532
517
  }
533
518
  }
534
-
535
-
536
519
  }
537
-
538
520
  .ok-input {
539
521
  .input,
540
522
  .help {
@@ -555,12 +537,10 @@ input::input-placeholder {
555
537
  color: $c-success;
556
538
  }
557
539
  }
558
-
559
540
  .disabled-input {
560
541
  pointer-events: none;
561
542
  opacity: 0.4;
562
543
  }
563
-
564
544
  .input-line-v2 {
565
545
  position: relative;
566
546
  display: flex;
@@ -585,13 +565,11 @@ input::input-placeholder {
585
565
  overflow: hidden;
586
566
  }
587
567
  }
588
-
589
568
  .has-light {
590
569
  .form-input-label input,
591
570
  .form-input-label-2 input {
592
571
  background-color: transparent;
593
572
  }
594
-
595
573
  input,
596
574
  label {
597
575
  color: $c-white;
@@ -600,7 +578,7 @@ input::input-placeholder {
600
578
  .form-input-label-2,
601
579
  .form-input-prefix,
602
580
  .form-prefix {
603
- & > label {
581
+ &>label {
604
582
  color: $c-white;
605
583
  }
606
584
  & input::input-placeholder {
@@ -612,7 +590,7 @@ input::input-placeholder {
612
590
  & input::placeholder {
613
591
  color: transparent;
614
592
  }
615
- & input:not(:placeholder-shown) ~ label {
593
+ & input:not(:placeholder-shown)~label {
616
594
  color: $c-white;
617
595
  }
618
596
  input:-webkit-autofill,
@@ -647,29 +625,23 @@ input::input-placeholder {
647
625
  opacity: 0.7;
648
626
  }
649
627
  }
650
-
651
628
  .input:focus {
652
629
  border-color: #fff;
653
630
  }
654
631
  }
655
-
656
632
  .form-postcode {
657
633
  flex-wrap: wrap;
658
634
  gap: 8px;
659
-
660
635
  > :not(.select):nth-child(1) {
661
636
  flex: 0 0 200px;
662
637
  }
663
-
664
638
  > :nth-child(2) {
665
639
  flex: 1 0 auto;
666
640
  }
667
-
668
641
  .form-input-label-2 .help {
669
642
  width: 100%;
670
643
  }
671
644
  }
672
-
673
645
  .form-prefix {
674
646
  display: flex;
675
647
  flex-wrap: wrap;
@@ -680,11 +652,10 @@ input::input-placeholder {
680
652
  > :nth-child(2) {
681
653
  flex: 5 0 130px;
682
654
  }
683
- > .btn {
655
+ >.btn {
684
656
  flex: 1 0 auto;
685
657
  }
686
658
  }
687
-
688
659
  // a eliminar activate-user---input-phone-combo----itxphoneaccountcreation
689
660
  .form-input-prefix {
690
661
  display: flex;
@@ -714,20 +685,20 @@ input::input-placeholder {
714
685
  left: 50%;
715
686
  transform: translateX(-50%);
716
687
  }
717
-
718
688
  @supports (-ms-ime-align: auto) {
719
- .form-input-label-2 > label {
689
+ .form-input-label-2>label {
720
690
  display: none;
721
691
  }
722
692
  .formlabel input:-ms-input-placeholder {
723
693
  color: $c-dark-grey;
724
694
  }
725
695
  }
726
- @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
727
- .form-input-label-2 > label {
696
+ @media all and (-ms-high-contrast: none),
697
+ (-ms-high-contrast: active) {
698
+ .form-input-label-2>label {
728
699
  display: none;
729
700
  }
730
701
  .formlabel input:-ms-input-placeholder {
731
702
  color: $c-dark-grey !important;
732
703
  }
733
- }
704
+ }