@mtvh/mtvh-design-system 0.0.24 → 0.0.26

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 (106) hide show
  1. package/assets/scss/base/_all.scss +3 -3
  2. package/assets/scss/base/_functions.scss +16 -15
  3. package/assets/scss/base/_global.scss +1 -1
  4. package/assets/scss/base/_print.scss +5 -5
  5. package/assets/scss/common/_custom.scss +7 -10
  6. package/assets/scss/components/_alert.scss +0 -1
  7. package/assets/scss/components/_all.scss +13 -11
  8. package/assets/scss/components/_banner.scss +7 -13
  9. package/assets/scss/components/_breadcrumb.scss +10 -8
  10. package/assets/scss/components/_button-circle.scss +38 -0
  11. package/assets/scss/components/_button.scss +28 -31
  12. package/assets/scss/components/_card-list.scss +63 -0
  13. package/assets/scss/components/_content-block.scss +35 -33
  14. package/assets/scss/components/_form.scss +92 -77
  15. package/assets/scss/components/_link.scss +9 -9
  16. package/assets/scss/components/_list-group.scss +1 -1
  17. package/assets/scss/components/_notification.scss +0 -1
  18. package/assets/scss/components/_pagination.scss +2 -4
  19. package/assets/scss/components/_payment.scss +0 -0
  20. package/assets/scss/components/_status.scss +5 -6
  21. package/assets/scss/components/_stepper.scss +18 -21
  22. package/assets/scss/config/_all.scss +2 -2
  23. package/assets/scss/config/_font.scss +5 -5
  24. package/assets/scss/config/_icon-list.scss +685 -104
  25. package/assets/scss/config/_map-amends.scss +0 -4
  26. package/assets/scss/config/_palette.scss +38 -40
  27. package/assets/scss/config/_theme.scss +3 -6
  28. package/assets/scss/config/_variables.scss +117 -117
  29. package/assets/scss/core/_all.scss +2 -2
  30. package/assets/scss/core/iconography/_icon.scss +26 -13
  31. package/assets/scss/core/typography/_typography.scss +36 -18
  32. package/assets/scss/forms/_form-check.scss +14 -16
  33. package/assets/scss/forms/_form-chip.scss +13 -16
  34. package/assets/scss/forms/_form-control.scss +32 -9
  35. package/assets/scss/forms/_form-date-input.scss +0 -1
  36. package/assets/scss/forms/_form-select.scss +3 -5
  37. package/assets/scss/forms/_formio.scss +24 -22
  38. package/assets/scss/forms/_global.scss +1 -1
  39. package/assets/scss/forms/_input-group.scss +1 -1
  40. package/assets/scss/forms/_labels.scss +2 -2
  41. package/assets/scss/forms/_mtvho_contact_phone.scss +2 -2
  42. package/assets/scss/forms/_validation.scss +6 -4
  43. package/assets/scss/mixins/_butttons.scss +38 -10
  44. package/assets/scss/mixins/_form.scss +8 -12
  45. package/assets/scss/mixins/_icon.scss +38 -28
  46. package/assets/scss/mtvh.scss +5 -5
  47. package/dist/images/icons/alarm-clock.svg +7 -0
  48. package/dist/images/icons/bar-chart.svg +7 -0
  49. package/dist/images/icons/bell.svg +6 -0
  50. package/dist/images/icons/box-open.svg +7 -0
  51. package/dist/images/icons/calculator.svg +14 -0
  52. package/dist/images/icons/calendar.svg +7 -0
  53. package/dist/images/icons/call.svg +6 -0
  54. package/dist/images/icons/chart-with-down-arrow.svg +6 -0
  55. package/dist/images/icons/chart-with-up-arrow.svg +6 -0
  56. package/dist/images/icons/checkmark.svg +6 -0
  57. package/dist/images/icons/clipboard-alt.svg +10 -0
  58. package/dist/images/icons/clipboard.svg +12 -0
  59. package/dist/images/icons/clock.svg +9 -0
  60. package/dist/images/icons/cog-purple.svg +5 -0
  61. package/dist/images/icons/container.svg +6 -0
  62. package/dist/images/icons/cup.svg +7 -0
  63. package/dist/images/icons/envelop-closed.svg +4 -0
  64. package/dist/images/icons/envelop-open.svg +5 -0
  65. package/dist/images/icons/envelop-with-letter.svg +7 -0
  66. package/dist/images/icons/filters.svg +8 -0
  67. package/dist/images/icons/flower.svg +7 -0
  68. package/dist/images/icons/frame.svg +8 -0
  69. package/dist/images/icons/halifax.svg +14 -0
  70. package/dist/images/icons/hanging-picture.svg +9 -0
  71. package/dist/images/icons/heart.svg +4 -0
  72. package/dist/images/icons/hourglass.svg +7 -0
  73. package/dist/images/icons/house.svg +5 -0
  74. package/dist/images/icons/jigsaw.svg +8 -0
  75. package/dist/images/icons/keys.svg +8 -0
  76. package/dist/images/icons/leaf.svg +4 -0
  77. package/dist/images/icons/line-graph.svg +6 -0
  78. package/dist/images/icons/location-pointer.svg +5 -0
  79. package/dist/images/icons/map-with-pointer.svg +6 -0
  80. package/dist/images/icons/mastercard.svg +7 -0
  81. package/dist/images/icons/monitor.svg +6 -0
  82. package/dist/images/icons/natwest.svg +14 -0
  83. package/dist/images/icons/padlock.svg +6 -0
  84. package/dist/images/icons/page.svg +7 -0
  85. package/dist/images/icons/phone-with-speech.svg +8 -0
  86. package/dist/images/icons/pie-chart.svg +7 -0
  87. package/dist/images/icons/presentation-board.svg +5 -0
  88. package/dist/images/icons/presentation.svg +5 -0
  89. package/dist/images/icons/printer.svg +7 -0
  90. package/dist/images/icons/rbs.svg +14 -0
  91. package/dist/images/icons/recycle.svg +6 -0
  92. package/dist/images/icons/ringing.svg +12 -0
  93. package/dist/images/icons/santander.svg +15 -0
  94. package/dist/images/icons/shield-with-tick.svg +5 -0
  95. package/dist/images/icons/shield.svg +6 -0
  96. package/dist/images/icons/signposts.svg +5 -0
  97. package/dist/images/icons/speech-bubbles.svg +6 -0
  98. package/dist/images/icons/star.svg +4 -0
  99. package/dist/images/icons/stopwatch.svg +8 -0
  100. package/dist/images/icons/tree.svg +4 -0
  101. package/dist/images/icons/visacard.svg +11 -0
  102. package/dist/images/icons/wallet-with-notes.svg +5 -0
  103. package/dist/js/app.min.js +1 -1
  104. package/dist/mtvh.min.css +35 -1
  105. package/package.json +1 -1
  106. package/assets/scss/components/_close.scss +0 -48
@@ -3,31 +3,29 @@
3
3
  //
4
4
 
5
5
  .form-check {
6
-
7
6
  display: flex;
8
7
  margin-bottom: $mtvh-spacing-5;
9
8
 
10
9
  &:last-child {
11
10
  margin-bottom: 0;
12
11
  }
12
+ }
13
13
 
14
- .form-check-label {
15
- position: relative;
16
- display: flex;
17
- align-items: center;
18
- @include field-focus();
19
- input {
20
- float: unset;
21
- align-self: start;
22
- }
23
- &:hover {
24
- cursor: pointer;
25
- }
14
+ .form-check-label {
15
+ position: relative;
16
+ display: flex;
17
+ align-items: center;
18
+ @include field-focus();
19
+ input {
20
+ float: unset;
21
+ align-self: start;
22
+ }
23
+ &:hover {
24
+ cursor: pointer;
26
25
  }
27
26
  }
28
27
 
29
28
  .form-check-input {
30
-
31
29
  margin-top: 0;
32
30
  margin-right: $mtvh-spacing-4;
33
31
  float: unset;
@@ -35,8 +33,8 @@
35
33
  border: var(--#{$prefix}border-width) solid var(--#{$prefix}grey-06);
36
34
 
37
35
  &:checked {
38
- background-color: var( --#{$prefix}form-check-input-checked-bg-color);
39
- border-color: var( --#{$prefix}form-check-input-checked-bg-color);
36
+ background-color: var(--#{$prefix}form-check-input-checked-bg-color);
37
+ border-color: var(--#{$prefix}form-check-input-checked-bg-color);
40
38
  }
41
39
 
42
40
  &[type="checkbox"] {
@@ -15,32 +15,31 @@
15
15
  position: absolute;
16
16
 
17
17
  &:focus {
18
- + label {
18
+ + label {
19
19
  @include focus-style();
20
20
  color: inherit;
21
21
  }
22
22
  }
23
23
  &:checked {
24
- + label {
24
+ + label {
25
25
  background-color: $form-check-input-checked-bg-color;
26
26
  color: $form-check-input-checked-color;
27
27
  }
28
28
  &:focus {
29
- + label {
29
+ + label {
30
30
  color: $form-check-input-checked-color;
31
31
  }
32
32
  }
33
33
  }
34
34
 
35
35
  &[type="checkbox"] {
36
-
37
- &:checked + label {
36
+ &:checked + label {
38
37
  &:hover {
39
38
  position: relative;
40
39
  &:after {
41
- position: absolute;;
40
+ position: absolute;
42
41
  content: "";
43
- background-image: get-icon( 'cancel' , white);
42
+ background-image: get-icon("cancel", white);
44
43
  background-repeat: no-repeat;
45
44
  right: 5px;
46
45
  top: 12px;
@@ -52,23 +51,21 @@
52
51
  }
53
52
  }
54
53
  }
55
-
56
54
  }
57
55
 
58
- .form-check-label {
59
-
60
- padding: $mtvh-spacing-3 $mtvh-spacing-6;
61
- border: 1px solid var(--mtvh-grey-06);
62
- border-radius: 0.5rem;
63
- background-color: var(--mtvh-grey-01);
64
-
56
+ .form-check-label {
57
+ padding: $mtvh-spacing-3 $mtvh-spacing-6;
58
+ border: 1px solid var(--mtvh-grey-06);
59
+ border-radius: 0.5rem;
60
+ background-color: var(--mtvh-grey-01);
65
61
  }
66
62
 
67
63
  &--fullwidth {
68
64
  .form-check {
69
65
  width: 100%;
70
66
  }
71
- .form-check-label, .form-check-label span {
67
+ .form-check-label,
68
+ .form-check-label span {
72
69
  width: 100%;
73
70
  }
74
71
  }
@@ -1,6 +1,4 @@
1
- .form-control {
2
-
3
-
1
+ .form-control {
4
2
  @include field-focus();
5
3
 
6
4
  &.is-invalid {
@@ -12,7 +10,8 @@
12
10
  background-image: none;
13
11
  }
14
12
 
15
- span[ref|="charcount"], .text-muted {
13
+ span[ref|="charcount"],
14
+ .text-muted {
16
15
  color: var(--mtvh-grey-06) !important;
17
16
  }
18
17
 
@@ -20,16 +19,40 @@
20
19
  max-width: var(--#{$prefix}form-control-input-width);
21
20
  }
22
21
 
23
- &[ref|="postCode"], &[inputmode|="decimal"], &[autocomplete|="tel"] {
22
+ &[ref|="postCode"],
23
+ &[inputmode|="decimal"],
24
+ &[autocomplete|="tel"] {
24
25
  max-width: $input-width-size-md;
25
26
  }
26
27
 
27
28
  &textarea {
29
+ max-height: 496px;
30
+ @include media-breakpoint-up(md) {
31
+ max-height: 608px;
32
+ }
33
+ }
28
34
 
29
- max-height: 496px;
30
- @include media-breakpoint-up(md) {
31
- max-height: 608px;
32
- }
35
+ &--xxs {
36
+ --#{$prefix}form-control-input-width: #{$input-width-size-xxs};
33
37
  }
34
38
 
39
+ &--xs {
40
+ --#{$prefix}form-control-input-width: #{$input-width-size-xs};
41
+ }
42
+
43
+ &--sm {
44
+ --#{$prefix}form-control-input-width: #{$input-width-size-sm};
45
+ }
46
+
47
+ &--md {
48
+ --#{$prefix}form-control-input-width: #{$input-width-size-md};
49
+ }
50
+
51
+ &--lg {
52
+ --#{$prefix}form-control-input-width: #{$input-width-size-lg};
53
+ }
54
+
55
+ &--xl {
56
+ --#{$prefix}form-control-input-width: #{$input-width-size-xl};
57
+ }
35
58
  }
@@ -10,7 +10,6 @@
10
10
 
11
11
  &:has(select) {
12
12
  width: auto;
13
-
14
13
  }
15
14
 
16
15
  &--large {
@@ -1,6 +1,5 @@
1
-
2
- .form-select, select {
3
-
1
+ .form-select,
2
+ select {
4
3
  color: $form-select-color;
5
4
  max-width: unset;
6
5
  -o-appearance: none;
@@ -10,7 +9,6 @@
10
9
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.99024 13.8513L18.4014 5.44069C18.5717 5.27035 18.7789 5.17873 19.0228 5.1658C19.267 5.15321 19.4885 5.24434 19.6874 5.4392C19.8862 5.63439 19.9898 5.84863 19.998 6.08193C20.0063 6.31489 19.911 6.53726 19.7122 6.74901L11.0779 15.3829C10.9085 15.5396 10.7375 15.6573 10.5649 15.7358C10.3922 15.814 10.2007 15.8531 9.99024 15.8531C9.77981 15.8531 9.58761 15.8137 9.41363 15.7348C9.23998 15.6559 9.07412 15.5376 8.91605 15.3799L0.290642 6.752C0.102411 6.56377 0.00614352 6.34671 0.00183483 6.10082C-0.00280383 5.85492 0.0942936 5.63438 0.293127 5.4392C0.491961 5.24434 0.707031 5.14691 0.938341 5.14691C1.16965 5.14691 1.38323 5.24484 1.57908 5.44069L9.99024 13.8513Z' fill='black'/%3E%3C/svg%3E%0A");
11
10
  background-repeat: no-repeat;
12
11
  background-size: 1rem;
13
- background-position: right .75rem center;
12
+ background-position: right 0.75rem center;
14
13
  @include field-focus();
15
-
16
14
  }
@@ -1,30 +1,32 @@
1
1
  .formio-component {
2
-
3
- &.formio-hidden{
4
- margin-bottom: 0;
5
- --#{$prefix}form-group-padding-y: 0;
6
- }
7
-
8
- &.formio-component-button:has(> button[type="submit"]),&.formio-component-form,&.formio-component-fieldset,&.formio-component-columns,&.formio-component-mtvhLogicSet{
9
- margin-bottom:0;
10
- }
11
-
12
- &.has-message {
13
- &.has-error {
14
- .text-danger {
15
- color: $form-feedback-invalid-color !important;
16
- font-weight: bold;
17
- }
2
+ &.formio-hidden {
3
+ margin-bottom: 0;
4
+ --#{$prefix}form-group-padding-y: 0;
5
+ }
6
+
7
+ &.formio-component-button:has(> button[type="submit"]),
8
+ &.formio-component-form,
9
+ &.formio-component-fieldset,
10
+ &.formio-component-columns,
11
+ &.formio-component-mtvhLogicSet {
12
+ margin-bottom: 0;
13
+ }
14
+
15
+ &.has-message {
16
+ &.has-error {
17
+ .text-danger {
18
+ color: $form-feedback-invalid-color !important;
19
+ font-weight: bold;
18
20
  }
19
-
20
21
  }
22
+ }
21
23
 
22
- //Remove padding from last child
23
- div.formio-component-form{
24
- & .formio-component:last-child {
25
- margin-bottom:0!important;
26
- }
24
+ //Remove padding from last child
25
+ div.formio-component-form {
26
+ & .formio-component:last-child {
27
+ margin-bottom: 0 !important;
27
28
  }
29
+ }
28
30
  }
29
31
 
30
32
  .formio-wizard-nav-container {
@@ -5,6 +5,6 @@ input::-webkit-inner-spin-button {
5
5
  }
6
6
 
7
7
  /* Firefox */
8
- input[type=number] {
8
+ input[type="number"] {
9
9
  -moz-appearance: textfield;
10
10
  }
@@ -1,3 +1,3 @@
1
1
  .input-group-text {
2
- border-radius: 0.25rem 0 0 0.25rem ;
2
+ border-radius: 0.25rem 0 0 0.25rem;
3
3
  }
@@ -1,4 +1,5 @@
1
- .col-form-label, .form-label {
1
+ .col-form-label,
2
+ .form-label {
2
3
  font-size: $form-label-font-size;
3
4
  font-weight: $form-label-font-weight;
4
5
  padding: 0;
@@ -7,6 +8,5 @@
7
8
  .optional-question {
8
9
  font-weight: $mtvh-font-weight-normal;
9
10
  font-size: $font-size-sm;
10
-
11
11
  }
12
12
  }
@@ -1,6 +1,6 @@
1
1
  .formio-component-mtvhoContactPhone {
2
- select, input {
3
-
2
+ select,
3
+ input {
4
4
  @include media-breakpoint-up(lg) {
5
5
  width: 50%;
6
6
  }
@@ -4,11 +4,13 @@
4
4
  // primarily for client-side validation via scoped `:invalid` and `:valid`
5
5
  // pseudo-classes but also includes `.is-invalid` and `.is-valid` classes for
6
6
  // server-side validation.
7
- .was-validated .form-control:invalid, .form-control.is-invalid {
7
+ .was-validated .form-control:invalid,
8
+ .form-control.is-invalid {
8
9
  padding-right: $input-padding-x;
9
10
  }
10
11
 
11
- .invalid-feedback, .formio-component.has-error.has-message .invalid-feedback {
12
+ .invalid-feedback,
13
+ .formio-component.has-error.has-message .invalid-feedback {
12
14
  font-weight: $mtvh-font-weight-bold;
13
15
  &:has(.error.form-text) {
14
16
  .form-text {
@@ -28,7 +30,8 @@
28
30
  }
29
31
 
30
32
  .mtvh-chips {
31
- &.has-error, &.has-message {
33
+ &.has-error,
34
+ &.has-message {
32
35
  .form-check-label {
33
36
  color: $form-label-color;
34
37
  span {
@@ -46,4 +49,3 @@
46
49
  }
47
50
  }
48
51
  }
49
-
@@ -6,9 +6,8 @@
6
6
  transition: transform 0.3s ease-in;
7
7
  }
8
8
 
9
- @mixin hover-animate( $position : 'left', $rotate : '') {
10
-
11
- @if $position == 'right' {
9
+ @mixin hover-animate($position: "left", $rotate: "") {
10
+ @if $position == "right" {
12
11
  &:hover:not(.disabled) {
13
12
  &:after {
14
13
  -webkit-transform: translateX(4px);
@@ -20,7 +19,7 @@
20
19
  }
21
20
  } @else {
22
21
  &:hover:not(.disabled) {
23
- &:before{
22
+ &:before {
24
23
  -webkit-transform: translateX(-4px);
25
24
  -moz-transform: translateX(-4px);
26
25
  -ms-transform: translateX(-4px);
@@ -29,23 +28,52 @@
29
28
  }
30
29
  }
31
30
  }
32
-
33
31
  }
34
32
 
35
33
  @mixin icon-transform($direction) {
36
34
  //default is a right
37
35
  -webkit-mask-repeat: no-repeat;
38
36
  mask-repeat: no-repeat;
39
- content:' ';
37
+ content: " ";
40
38
  opacity: 1;
41
39
  display: inline-block;
42
40
  vertical-align: middle;
43
41
  background-repeat: no-repeat;
44
- margin-top: -.125rem;
45
- @if $direction == 'right' {
42
+ margin-top: -0.125rem;
43
+ @if $direction == "right" {
46
44
  margin-left: $button-icon-spacing;
47
- }
48
- @else {
45
+ } @else {
49
46
  margin-right: $button-icon-spacing;
50
47
  }
51
48
  }
49
+
50
+ @mixin button-circle() {
51
+ border: 0;
52
+ border-radius: 50%;
53
+ -moz-border-radius: 50%;
54
+ -webkit-border-radius: 50%;
55
+ padding: $mtvh-spacing-4;
56
+
57
+ &:focus-visible {
58
+ box-shadow: none;
59
+ outline: solid var(--#{$prefix}btn-outline-border)
60
+ var(--#{$prefix}btn-close-focus-outline-color);
61
+ outline-offset: calc(var(--mtvh-btn-outline-border) * -2);
62
+ text-decoration: none;
63
+ -webkit-tap-highlight-color: unset;
64
+ }
65
+ &:focus:not(:focus-visible) {
66
+ outline: 0;
67
+ }
68
+ &:hover {
69
+ cursor: pointer;
70
+ outline: 0;
71
+ }
72
+ &:hover {
73
+ background-color: rgba(0, 0, 0, 0.08);
74
+ }
75
+ &:active:not(:disabled):not(.disabled) {
76
+ outline: 0;
77
+ background-color: rgba(0, 0, 0, 0.16);
78
+ }
79
+ }
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  @mixin form-invalid-text() {
4
2
  color: $form-feedback-invalid-color;
5
3
  font-size: $font-size-sm;
@@ -8,20 +6,19 @@
8
6
  display: flex;
9
7
  margin: $mtvh-spacing-3 0 0 0;
10
8
  &:before {
11
- content: '';
12
- -webkit-mask: get-icon('error',$danger);
13
- mask: get-icon('error',$danger);
9
+ content: "";
10
+ -webkit-mask: get-icon("error", $danger);
11
+ mask: get-icon("error", $danger);
14
12
  background-color: $danger;
15
13
  mask-repeat: no-repeat;
16
14
  -webkit-mask-repeat: no-repeat;
17
15
  padding-right: $mtvh-spacing-6;
18
16
  margin-top: $mtvh-spacing-1;
17
+ vertical-align: top;
19
18
  }
20
-
21
19
  }
22
20
 
23
-
24
- @mixin textfield-no-arrow(){
21
+ @mixin textfield-no-arrow() {
25
22
  input::-webkit-outer-spin-button,
26
23
  input::-webkit-inner-spin-button {
27
24
  -webkit-appearance: none;
@@ -29,14 +26,12 @@
29
26
  }
30
27
 
31
28
  /* Firefox */
32
- input[type=number] {
29
+ input[type="number"] {
33
30
  -moz-appearance: textfield;
34
31
  padding-right: $input-padding-x !important;
35
32
  }
36
-
37
33
  }
38
34
 
39
-
40
35
  @mixin field-focus() {
41
36
  &:focus {
42
37
  @include focus-style();
@@ -44,7 +39,8 @@
44
39
  }
45
40
  @mixin focus-style() {
46
41
  box-shadow: none;
47
- outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}primary-outline-color);
42
+ outline: solid var(--#{$prefix}btn-outline-border)
43
+ var(--#{$prefix}primary-outline-color);
48
44
  outline-offset: var(--#{$prefix}btn-outline-border);
49
45
  color: $input-color;
50
46
  }
@@ -1,75 +1,84 @@
1
1
  // arrow direction: left, right, up, down, Default: right
2
2
  // arrow position: left, right
3
- @mixin mtvh-icon($icon : '', $color :'', $hover-color :'', $active-color :'', $border-color :'', $position : 'left', $direction : 'right', $width : 20px, $height: 20px, $svg-path : null) {
4
-
5
- @if $border-color != '' {
3
+ @mixin mtvh-icon(
4
+ $icon: "",
5
+ $color: "",
6
+ $hover-color: "",
7
+ $active-color: "",
8
+ $border-color: "",
9
+ $position: "left",
10
+ $direction: "right",
11
+ $width: 20px,
12
+ $height: 20px,
13
+ $svg-path: null
14
+ ) {
15
+ @if $border-color != "" {
6
16
  $border-color: $color;
7
17
  }
8
- @if $hover-color == '' {
18
+ @if $hover-color == "" {
9
19
  $hover-color: $color;
10
20
  }
11
- @if $active-color == '' {
21
+ @if $active-color == "" {
12
22
  $active-color: $color;
13
23
  }
14
- &:before, &:after {
24
+ &:before,
25
+ &:after {
15
26
  height: $height;
16
27
  width: $width;
17
28
  }
18
29
 
19
30
  text-decoration: none;
20
- @if $position == 'right' {
21
-
31
+ @if $position == "right" {
22
32
  &:after {
23
-
24
-
25
33
  @include animate-default;
26
34
  @include icon-transform($direction);
27
35
 
28
- @if $svg-path {
36
+ @if $svg-path {
29
37
  background-image: url($svg-path);
30
38
  } @else {
31
39
  -webkit-mask: get-icon($icon);
32
- mask: get-icon($icon);
40
+ mask: get-icon($icon);
33
41
  background-color: currentColor;
34
42
  }
35
43
  }
36
44
 
37
- @if $svg-path == '' {
45
+ @if $svg-path == "" {
38
46
  &:hover:not(.disabled) {
39
47
  &:after {
40
48
  background-color: currentColor;
41
49
  }
42
50
  }
43
- &:focus, &:active {
44
-
51
+ &:focus,
52
+ &:active {
45
53
  &:after {
46
54
  background-color: currentColor;
47
55
  }
48
56
  }
49
57
  }
50
- } @else { //position is left
58
+ } @else {
59
+ //position is left
51
60
 
52
- &:before{ ;
61
+ &:before {
53
62
  @include animate-default;
54
- @include icon-transform('left');
55
- @if $svg-path {
63
+ @include icon-transform("left");
64
+ @if $svg-path {
56
65
  background-image: url($svg-path);
57
66
  } @else {
58
67
  -webkit-mask: get-icon($icon);
59
68
  mask: get-icon($icon);
60
- background-color: currentColor
69
+ background-color: currentColor;
61
70
  }
62
-
63
71
  }
64
72
 
65
- @if $svg-path == '' {
73
+ @if $svg-path == "" {
66
74
  &:hover:not(.disabled) {
67
75
  &:before {
68
76
  background-color: currentColor;
69
77
  }
70
78
  }
71
79
 
72
- &:focus, &:active {
80
+ &:focus,
81
+ &:active {
73
82
  &:before {
74
83
  background-color: currentColor;
75
84
  }
@@ -78,7 +87,8 @@
78
87
  }
79
88
 
80
89
  &.base {
81
- &:before, &:after {
90
+ &:before,
91
+ &:after {
82
92
  mask-size: auto 9px;
83
93
  mask-repeat: no-repeat;
84
94
  -webkit-mask-size: auto 9px;
@@ -87,8 +97,9 @@
87
97
  }
88
98
  }
89
99
 
90
- @mixin icon-size ($width,$height) {
91
- &:before, &:after {
100
+ @mixin icon-size($width, $height) {
101
+ &:before,
102
+ &:after {
92
103
  mask-size: $width $height;
93
104
  width: $width;
94
105
  height: $height;
@@ -97,10 +108,9 @@
97
108
  }
98
109
 
99
110
  @mixin mtvh-banner-icon() {
100
-
101
111
  padding-top: #{$mtvh-spacing-3};
102
112
  padding-bottom: #{$mtvh-spacing-3};
103
- padding-left: (calc(#{$icon-size-scale-md} + #{$mtvh-spacing-5} ));
113
+ padding-left: (calc(#{$icon-size-scale-md} + #{$mtvh-spacing-5}));
104
114
  padding-right: #{$mtvh-spacing-4};
105
115
  position: relative;
106
116
 
@@ -4,12 +4,12 @@
4
4
  @import "bootstrap/scss/functions";
5
5
 
6
6
  // 2. Include any default variable overrides here
7
- @import 'config/palette';
7
+ @import "config/palette";
8
8
  @import "config/variables";
9
9
  @import "config/font";
10
- @import 'config/theme';
10
+ @import "config/theme";
11
11
  @import "config/icon-list";
12
- @import 'base/all';
12
+ @import "base/all";
13
13
 
14
14
  @import "mixins/icon";
15
15
  @import "mixins/form";
@@ -69,6 +69,6 @@
69
69
  @import "bootstrap/scss/utilities/api";
70
70
 
71
71
  // 8. Add additional custom code here
72
- @import 'components/all';
72
+ @import "components/all";
73
73
 
74
- @import 'core/all';
74
+ @import "core/all";
@@ -0,0 +1,7 @@
1
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M47.1638 24.771C48.7314 24.1498 50.6266 22.6044 50.6578 20.5232C50.7046 17.5101 47.0624 11.8723 43.3421 12.9051C41.5327 13.4099 37.5785 13.7826 37.5629 13.7748C37.2041 13.5807 36.4554 13.3633 35.4961 13.1614L47.1638 24.7788V24.771Z" fill="#1791E8"/>
3
+ <path d="M4.95235 26.2931C7.33892 26.9765 8.21244 25.1749 7.70548 26.4562L16.0351 12.9983C12.3538 12.9051 13.2273 11.0879 12.3928 11.88C9.28873 10.9637 7.09714 9.131 3.53289 11.5539C1.46609 12.9517 0.701766 15.3047 0.45219 16.3919C-0.397927 20.1116 -0.405727 23.3965 3.64208 25.6486C6.15344 27.0541 1.70007 25.1671 4.93675 26.2931H4.95235Z" fill="#1791E8"/>
4
+ <path d="M25.6846 12.742C15.452 13.107 5.60156 19.5991 5.60156 33.8336C5.60156 44.1464 13.5256 52.0596 24.195 53.4807C35.574 55.0028 43.3733 46.4838 44.3248 37.2582C45.4791 26.099 37.3601 12.3227 25.6924 12.742H25.6846Z" fill="white"/>
5
+ <path d="M34.0651 19.8321C33.7453 19.9485 33.2618 20.6475 33.1448 20.8882C32.7938 21.6104 31.9983 23.2412 31.5771 23.9789C30.3683 26.0601 28.9644 28.0171 27.7477 30.0983C27.6307 30.2924 26.648 32.1872 26.5934 32.1639C25.4313 31.6669 23.9885 31.6436 22.7484 31.465C22.1167 31.3718 21.4849 31.2786 20.8532 31.1855C21.1028 31.2165 20.978 31.201 20.4788 31.1233C19.3089 30.9525 18.1157 31.7446 17.8037 32.094C15.7603 34.4237 20.2838 35.3789 20.2526 35.3789C21.6175 35.5653 23.0292 35.7206 24.4096 35.7051C25.0492 35.7051 26.4998 35.9303 27.1238 35.7905C27.194 35.775 28.0129 35.8992 28.9722 35.3479C30.8206 34.2762 29.9393 33.3831 30.4073 32.7075C31.7487 30.7816 33.0668 28.8402 34.3459 26.8755C35.4612 25.1515 36.8494 23.0859 36.2879 20.927C36.0461 20.0107 34.8918 19.537 34.0651 19.8398V19.8321Z" fill="black"/>
6
+ <path d="M52.8396 13.006C50.9834 10.8938 48.2146 9.27851 45.3601 9.1232C45.0014 -0.708128 33.6457 -0.0402811 26.0258 0.0373755C22.4304 0.0762038 18.289 0.355767 15.5826 2.99609C13.781 4.75113 13.3598 6.71584 13.6016 9.31734C10.2245 8.75045 6.65249 10.0473 4.07874 12.7653C0.210315 16.8345 -0.132852 24.3672 5.27982 27.4502C5.72438 27.6987 6.24693 27.6987 6.70708 27.5278C6.16894 33.8646 8.35272 40.9779 12.0028 45.451C10.9967 46.1421 10.0842 47.1283 9.45242 47.936C6.87867 51.2209 6.66029 53.535 6.63689 53.636C6.18453 55.2279 8.68029 56.3695 9.38222 54.7853C9.42122 54.6921 11.5114 52.0285 12.1978 51.2286C12.7905 50.5375 13.4534 49.9007 14.1476 49.3027C14.4907 49.0076 14.8573 48.7902 15.2005 48.5495C22.1808 54.0631 31.6725 54.63 39.1597 50.4288C39.1831 50.4521 39.1909 50.4753 39.2143 50.4986C40.08 51.415 44.3072 55.2823 44.7362 55.5153C45.4303 55.8802 46.1011 56.0744 46.6626 55.9734C47.4581 55.8414 48.1211 55.2512 48.3238 54.4902C48.3238 54.4902 48.8464 53.3797 46.959 51.3995C46.4208 50.8403 45.7735 50.3822 45.1729 49.8852C44.3618 49.2095 43.5351 48.5728 42.685 47.9515C43.4805 47.2681 44.237 46.5226 44.939 45.7072C49.5951 40.3412 50.9132 33.95 49.6185 27.9472C52.4028 28.7393 55.5069 24.2818 55.8813 22.0453C56.4351 18.7604 54.9922 15.4444 52.8474 12.9983L52.8396 13.006ZM18.2422 4.7589C19.8878 2.77865 23.7562 2.98056 26.0258 2.9262C29.4185 2.83301 32.9359 2.84855 36.2506 3.62511C39.9085 4.47933 40.6026 7.01094 41.3045 10.1638C40.275 10.8006 39.3703 11.6703 38.6528 12.6721C32.7488 9.25521 24.9261 9.13097 18.5385 11.8101C18.1096 11.4141 17.6728 11.0491 17.2049 10.7462C17.1893 8.70385 16.9475 6.33533 18.2422 4.76666V4.7589ZM7.19064 24.507C6.41071 23.047 5.34222 21.7346 5.16283 20.0184C4.98345 18.3566 5.92716 16.85 6.97226 15.6541C8.01736 14.4582 9.28863 13.6428 10.8329 13.2545C12.1588 12.9206 13.3832 13.371 14.5375 13.9923C12.2991 15.5532 10.4195 17.5489 9.09365 19.9408C8.22014 21.3153 7.604 22.8684 7.19844 24.5147L7.19064 24.507ZM41.6711 42.4612C35.3693 49.9783 25.0821 50.4288 17.509 44.5579C12.0418 40.3256 9.00006 32.6299 10.4351 26.1145C10.6769 25.9592 10.8953 25.7495 11.0747 25.4544C14.015 20.4688 17.1815 16.7103 22.9607 15.0639C28.1238 13.5885 34.5036 14.7611 38.6762 18.1702C46.2804 24.3827 48.1289 34.7576 41.6711 42.4689V42.4612ZM51.8335 21.2066C51.6931 23.148 49.6575 23.4353 48.5734 24.538C47.1462 20.8882 44.7362 17.5023 41.5229 14.73C42.3964 13.5885 43.4649 12.7187 45.1417 12.7498C47.0292 12.7886 48.7762 14.3029 49.8525 15.7162C51.077 17.3315 51.9817 19.1409 51.8257 21.2066H51.8335Z" fill="black"/>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="56" height="50" viewBox="0 0 56 50" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.29637 3.82578C7.98628 0.402756 25.5192 1.0529 29.9708 1.06073C39.1245 1.06073 45.4461 0.606415 49.3657 1.16256C55.1944 1.99286 55.1787 4.01378 55.1944 6.95116C55.2257 11.7763 55.3509 27.2622 55.3352 29.1264C55.2805 35.385 55.9376 40.077 53.794 43.2259C52.6673 44.8786 48.8416 46.7664 44.9845 46.5079C39.1637 46.1241 30.5967 47.252 23.3442 45.6619C19.8157 44.8865 13.2986 46.3982 7.1335 46.9309C5.66265 47.0562 4.44998 45.7716 4.4578 44.1502C4.48127 38.7532 3.91797 31.1238 3.91797 26.9097C3.91797 21.1289 4.60645 7.24881 6.29637 3.81795V3.82578Z" fill="white"/>
3
+ <path d="M7.22152 45.9047C4.87442 46.0066 7.00246 27.9045 7.73006 27.834C8.01172 27.8026 11.8766 28.2334 13.9499 28.0376C15.7024 27.8731 14.1533 37.7349 14.7636 45.9047C14.9044 47.7377 7.83177 45.8812 7.2137 45.9047H7.22152Z" fill="#FA3D54"/>
4
+ <path d="M22.3092 45.3957C20.8853 44.2756 19.8839 17.2047 21.2921 16.7347C21.6129 16.625 25.2118 15.8652 27.4103 16.8052C29.1393 17.5493 28.7794 22.0376 28.8342 31.7114C28.8576 35.3851 28.9828 40.0692 29.241 45.192C29.3505 47.3226 22.8803 45.85 22.3092 45.3957Z" fill="#1791E8"/>
5
+ <path d="M38.3202 44.8865C36.685 44.0719 35.1829 7.31153 40.1509 6.76322C40.5734 6.71622 42.6545 5.84676 45.2598 7.00604C47.0984 7.82068 44.8451 27.9829 46.9966 44.7847C47.3252 47.3617 39.2356 45.3408 38.328 44.8865H38.3202Z" fill="#9470D1"/>
6
+ <path d="M54.8423 45.1596C53.2228 44.6739 51.3216 44.6504 49.5222 44.6426C49.7021 44.4389 49.8351 44.1961 49.8821 43.8828C50.6097 39.1438 50.2263 34.0837 50.3671 29.2821C50.5236 23.9948 50.6957 18.7153 50.6723 13.4202C50.6723 11.5638 50.6723 5.7125 48.8572 4.74121C46.3849 3.40176 42.4104 5.12503 39.6643 4.67855C38.2874 4.45139 37.2233 6.05716 38.0527 7.03628C38.0135 7.17728 37.9822 7.33394 37.9744 7.50626C37.8492 13.4985 37.7788 19.4829 37.7241 25.4752C37.6928 28.8121 37.6849 32.1489 37.7397 35.4858C37.7554 36.5668 37.9118 43.3031 38.4751 44.0864C38.7098 44.4076 35.377 44.3919 33.468 44.3919C33.5149 44.2118 33.5462 44.016 33.5306 43.7888C33.202 39.0028 32.9907 34.2012 32.8969 29.4074C32.8186 24.9817 33.554 20.1801 32.7795 15.8171C32.67 15.2218 31.9971 14.744 31.4103 14.7753C28.7972 14.9006 25.8008 14.3288 23.1955 14.5168C22.5461 14.5168 21.8967 14.9633 21.8185 15.8563C21.0283 25.0836 21.709 34.5928 22.7574 43.7966C22.7886 44.063 22.8825 44.2901 23.0155 44.4703C21.396 44.4938 19.667 44.5251 17.9223 44.5643C17.6094 39.6608 17.672 33.1124 18.4934 28.3108C18.6343 27.4648 18.2822 26.4935 17.3434 26.2898C14.4173 25.6554 11.3739 26.1097 8.40871 26.1802C7.10998 26.2115 6.57797 27.7311 7.21169 28.6006C7.13345 28.8826 7.2821 30.1515 7.29775 30.6293C7.35252 32.3134 6.96133 42.0499 7.27428 44.8619C7.27428 44.8619 7.27428 44.8698 7.27428 44.8776C6.17896 44.9167 5.09147 44.9637 3.99616 45.0186C3.69103 38.995 3.2529 32.9949 3.21379 26.94C3.16684 18.9581 3.36244 10.9841 3.50326 3.00228C3.53456 1.22419 0.976212 1.38908 0.741502 3.88906C-0.0565203 12.3891 0.373788 18.9503 0.358141 26.9321C0.350317 32.9557 0.24861 39.1751 0.741502 45.2379C-0.338167 45.7001 -0.220812 47.345 0.976212 47.7053C0.976212 47.7053 0.976212 47.7053 0.976212 48.2365C0.976212 48.7676 4.18392 49.9127 4.12133 48.2365C4.11827 48.1544 4.12133 48.1239 4.12133 47.9873C11.6477 48.4024 20.0817 47.486 27.5533 47.4233C32.889 47.3763 48.1765 47.1648 50.1716 47.2745C51.0243 47.3215 53.035 47.2667 53.5592 47.5643C55.6403 48.7706 57.1503 45.8567 54.8345 45.1596H54.8423ZM10.0204 29.376C11.679 29.423 13.7601 29.1802 15.4187 29.2821C14.6911 33.6607 14.0887 40.3344 15.4579 44.6269C13.7836 44.6661 12.1328 44.7131 10.5837 44.7601C10.6463 44.1099 10.2864 30.2298 10.0204 29.376ZM25.8399 44.4468C25.9181 44.2666 25.9572 44.0551 25.9259 43.7966C25.1436 36.9271 25.0027 19.3028 24.8854 17.3994C26.3562 17.5952 28.0383 17.7519 29.5248 17.7362C29.298 18.8485 29.1806 26.8382 29.2119 29.4074C29.2667 34.2169 29.517 39.0107 29.9864 43.7888C30.0099 44.016 30.0725 44.2118 30.1507 44.3998C28.5782 44.3998 27.4124 44.4233 25.8321 44.4468H25.8399ZM46.3614 43.8906C46.4084 44.1726 46.5335 44.4076 46.6978 44.5956C44.6871 44.5251 41.0022 44.4859 41.1821 44.1021C41.6985 43.0133 41.3621 36.4571 41.3464 35.5015C41.2917 32.1646 41.3308 28.8277 41.3699 25.4909C41.4481 19.7806 41.5342 14.0625 41.4638 8.35223C42.7077 8.54022 43.9674 8.43056 45.3678 8.12507C47.5819 7.63943 46.6744 16.9685 46.6352 18.6135C46.5257 23.0626 46.3692 27.504 46.2362 31.9531C46.1189 35.8696 45.6886 40.0211 46.3536 43.8906H46.3614Z" fill="black"/>
7
+ </svg>