@mtvh/mtvh-design-system 0.0.5 → 0.0.6
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/assets/scss/base/_mixins.scss +0 -74
- package/assets/scss/components/_all.scss +9 -5
- package/assets/scss/components/_banner.scss +107 -0
- package/assets/scss/components/_breadcrumb.scss +1 -9
- package/assets/scss/components/_close.scss +52 -0
- package/assets/scss/components/_content-block.scss +5 -2
- package/assets/scss/components/_form.scss +29 -0
- package/assets/scss/components/_list-group.scss +21 -0
- package/assets/scss/components/_stepper.scss +88 -0
- package/assets/scss/config/_map-list.scss +10 -5
- package/assets/scss/config/_palette.scss +1 -1
- package/assets/scss/config/_theme.scss +27 -3
- package/assets/scss/config/_variables.scss +76 -17
- package/assets/scss/core/typography/_typography.scss +8 -0
- package/assets/scss/forms/_form-check.scss +37 -7
- package/assets/scss/forms/_form-control.scss +2 -0
- package/assets/scss/forms/_form-date-input.scss +14 -0
- package/assets/scss/forms/_global.scss +10 -0
- package/assets/scss/forms/_validation.scss +18 -1
- package/assets/scss/mixins/_banner.scss +20 -0
- package/assets/scss/mixins/_butttons.scss +51 -0
- package/assets/scss/mixins/_form.scss +37 -0
- package/assets/scss/mtvh.scss +6 -1
- package/dist/images/icons/border-cross-fill.svg +5 -0
- package/dist/images/icons/border-info-fill.svg +6 -0
- package/dist/images/icons/border-tick-fill.svg +5 -0
- package/dist/images/icons/border-warning-sign-fill.svg +6 -0
- package/dist/mtvh.min.css +1 -1
- package/package.json +1 -1
|
@@ -1,55 +1,3 @@
|
|
|
1
|
-
@mixin animate-default() {
|
|
2
|
-
-webkit-transition: transform 0.3s ease-out;
|
|
3
|
-
-moz-transition: transform 0.3s ease-out;
|
|
4
|
-
-ms-transition: transform 0.3s ease-out;
|
|
5
|
-
-o-transition: transform 0.3s ease-out;
|
|
6
|
-
transition: transform 0.3s ease-in;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin hover-animate( $position : 'left', $rotate : '') {
|
|
10
|
-
|
|
11
|
-
@if $position == 'right' {
|
|
12
|
-
&:hover:not(.disabled) {
|
|
13
|
-
&:after {
|
|
14
|
-
-webkit-transform: translateX(4px);
|
|
15
|
-
-moz-transform: translateX(4px);
|
|
16
|
-
-ms-transform: translateX(4px);
|
|
17
|
-
-o-transform: translateX(4px);
|
|
18
|
-
transform: translateX(4px);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
} @else {
|
|
22
|
-
&:hover:not(.disabled) {
|
|
23
|
-
&:before{
|
|
24
|
-
-webkit-transform: translateX(-4px);
|
|
25
|
-
-moz-transform: translateX(-4px);
|
|
26
|
-
-ms-transform: translateX(-4px);
|
|
27
|
-
-o-transform: translateX(-4px);
|
|
28
|
-
transform: translateX(-4px);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin icon-transform($direction) {
|
|
36
|
-
//default is a right
|
|
37
|
-
-webkit-mask-repeat: no-repeat;
|
|
38
|
-
mask-repeat: no-repeat;
|
|
39
|
-
content:' ';
|
|
40
|
-
opacity: 1;
|
|
41
|
-
display: inline-block;
|
|
42
|
-
vertical-align: middle;
|
|
43
|
-
background-repeat: no-repeat;
|
|
44
|
-
margin-top: -.125rem;
|
|
45
|
-
@if $direction == 'right' {
|
|
46
|
-
margin-left: $button-icon-spacing;
|
|
47
|
-
}
|
|
48
|
-
@else {
|
|
49
|
-
margin-right: $button-icon-spacing;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
1
|
// arrow direction: left, right, up, down, Default: right
|
|
54
2
|
// arrow position: left, right
|
|
55
3
|
@mixin mtvh-icon($icon : '', $color :'', $hover-color :'', $active-color :'', $border-color :'', $position : 'left', $direction : 'right', $width : 20px, $height: 20px, $svg-path : null) {
|
|
@@ -147,25 +95,3 @@
|
|
|
147
95
|
background-size: 100%;
|
|
148
96
|
}
|
|
149
97
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
@mixin form-invalid-text() {
|
|
153
|
-
color: var(--mtvh-red-04);
|
|
154
|
-
font-size: $font-size-sm;
|
|
155
|
-
font-weight: bold;
|
|
156
|
-
padding-left: $mtvh-spacing-6;
|
|
157
|
-
position: relative;
|
|
158
|
-
display: flex;
|
|
159
|
-
gap: $mtvh-spacing-3;
|
|
160
|
-
&:before {
|
|
161
|
-
content: '';
|
|
162
|
-
-webkit-mask: get-icon('error',$danger);
|
|
163
|
-
mask: get-icon('error',$danger);
|
|
164
|
-
background-color: currentColor;
|
|
165
|
-
mask-repeat: no-repeat;
|
|
166
|
-
-webkit-mask-repeat: no-repeat;
|
|
167
|
-
margin-left: -$mtvh-spacing-6;
|
|
168
|
-
padding-right: $icon-size-scale-sm;
|
|
169
|
-
margin-top: $mtvh-spacing-2;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
@import '
|
|
2
|
-
@import
|
|
3
|
-
@import '
|
|
4
|
-
@import '
|
|
5
|
-
@import '
|
|
1
|
+
@import '_button';
|
|
2
|
+
@import "_close";
|
|
3
|
+
@import '_content-block';
|
|
4
|
+
@import '_form';
|
|
5
|
+
@import '_link';
|
|
6
|
+
@import '_breadcrumb';
|
|
7
|
+
@import '_list-group';
|
|
8
|
+
@import '_stepper';
|
|
9
|
+
@import '_banner';
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.mtvh-banner {
|
|
2
|
+
|
|
3
|
+
background-color: var(--#{$prefix}banner-bg);
|
|
4
|
+
color: var(--#{$prefix}banner-color);
|
|
5
|
+
display: none;
|
|
6
|
+
|
|
7
|
+
&:has(.mtvh-banner-row) {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
a {
|
|
12
|
+
color: var(--#{$prefix}banner-link-color);
|
|
13
|
+
&:focus-visible {
|
|
14
|
+
outline-color: inherit;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mtvh-btn {
|
|
19
|
+
align-self: flex-start;
|
|
20
|
+
@include media-breakpoint-up(lg) {
|
|
21
|
+
margin-left: $mtvh-spacing-5;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mtvh-icon {
|
|
26
|
+
@include mtvh-banner-icon();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
.mtvh-banner-row {
|
|
33
|
+
|
|
34
|
+
--#{$prefix}banner-padding-y :#{$mtvh-spacing-3};
|
|
35
|
+
--#{$prefix}banner-padding-x : 0;
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
padding: var(--#{$prefix}banner-padding-y) var(--#{$prefix}banner-padding-x);
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
.btn-close {
|
|
43
|
+
flex-shrink: 0;
|
|
44
|
+
top: unset;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
button {
|
|
49
|
+
flex-shrink: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
+ .mtvh-banner-row {
|
|
53
|
+
border-top: 1px solid var(--#{$prefix}border-color);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.alert {
|
|
57
|
+
--#{$prefix}alert-margin-bottom: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
span {
|
|
61
|
+
align-content: center;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--masquerading {
|
|
65
|
+
flex-wrap: wrap;
|
|
66
|
+
|
|
67
|
+
&:has(.mtvh-btn) {
|
|
68
|
+
span {
|
|
69
|
+
@include media-breakpoint-down(lg) {
|
|
70
|
+
margin-bottom: $mtvh-spacing-5;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include media-breakpoint-up(lg) {
|
|
76
|
+
flex-wrap: unset;
|
|
77
|
+
span {
|
|
78
|
+
margin-bottom: 0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
@each $state in map-keys($banner-theme-colors) {
|
|
86
|
+
.mtvh-banner-#{$state} {
|
|
87
|
+
--#{$prefix}banner-color: var(--#{$prefix}black);
|
|
88
|
+
--#{$prefix}border-color: var(--#{$prefix}black);
|
|
89
|
+
--#{$prefix}banner-bg: var(--#{$prefix}banner-#{$state}-bg);
|
|
90
|
+
|
|
91
|
+
--#{$prefix}banner-link-color: var(--#{$prefix}black);
|
|
92
|
+
--#{$prefix}banner-icon: var(--#{$prefix}banner-#{$state}-icon);
|
|
93
|
+
|
|
94
|
+
@if($state == "emergency" or $state == "dark") {
|
|
95
|
+
--#{$prefix}banner-link-color: var(--#{$prefix}white);
|
|
96
|
+
--#{$prefix}banner-color: var(--#{$prefix}white);
|
|
97
|
+
--#{$prefix}border-color: var(--#{$prefix}transparent);
|
|
98
|
+
}
|
|
99
|
+
@if($state == "dark") {
|
|
100
|
+
.mtvh-banner-row {
|
|
101
|
+
--#{$prefix}banner-padding-y: #{$mtvh-spacing-5};
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
// scss-docs-end banner-modifiers
|
|
107
|
+
|
|
@@ -11,16 +11,8 @@
|
|
|
11
11
|
display: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
@include media-breakpoint-down('lg') {
|
|
14
15
|
|
|
15
|
-
@include media-breakpoint-down('md') {
|
|
16
|
-
|
|
17
|
-
&:before {
|
|
18
|
-
content: " ";
|
|
19
|
-
height: 32px;
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
width: 100%;
|
|
23
|
-
}
|
|
24
16
|
&:after {
|
|
25
17
|
position: absolute;
|
|
26
18
|
right: 0;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.btn-close {
|
|
2
|
+
|
|
3
|
+
&-circle {
|
|
4
|
+
|
|
5
|
+
border-radius: 50%;
|
|
6
|
+
-moz-border-radius:50%;
|
|
7
|
+
-webkit-border-radius: 50%;
|
|
8
|
+
width: $btn-close-circle-width;
|
|
9
|
+
height: $btn-close-circle-height;
|
|
10
|
+
padding: $mtvh-spacing-4;
|
|
11
|
+
|
|
12
|
+
&:focus-visible {
|
|
13
|
+
box-shadow: none;
|
|
14
|
+
outline: solid var(--#{$prefix}btn-outline-border) var(--#{$prefix}btn-close-focus-outline-color);
|
|
15
|
+
outline-offset: var(--#{$prefix}btn-outline-border);
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
-webkit-tap-highlight-color: unset;
|
|
18
|
+
}
|
|
19
|
+
&:focus:not(:focus-visible) {
|
|
20
|
+
outline: 0;
|
|
21
|
+
}
|
|
22
|
+
&:hover {
|
|
23
|
+
background-color: var(--#{$prefix}btn-close-hover-bg-color);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
.alert-dismissible {
|
|
30
|
+
.btn-close-circle {
|
|
31
|
+
top: $mtvh-spacing-5;
|
|
32
|
+
padding: $mtvh-spacing-4;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@each $state in map-keys($banner-theme-colors) {
|
|
37
|
+
.mtvh-banner-#{$state} {
|
|
38
|
+
.btn-close {
|
|
39
|
+
--#{$prefix}btn-close-focus-outline-color: var(--#{$prefix}dark-outline-color);
|
|
40
|
+
--#{$prefix}btn-close-hover-bg-color: var(--#{$prefix}btn-close-#{$state}-hover-bg);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@each $state in map-keys($content-block-theme-colors) {
|
|
46
|
+
.mtvh-content-block-bg--#{$state} {
|
|
47
|
+
.btn-close {
|
|
48
|
+
--#{$prefix}btn-close-focus-outline-color: var(--#{$prefix}dark-outline-color);
|
|
49
|
+
--#{$prefix}btn-close-hover-bg-color: var(--#{$prefix}btn-close-#{$state}-hover-bg);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -27,6 +27,9 @@ $mtvh-content-block-border: (
|
|
|
27
27
|
grey-03: (
|
|
28
28
|
border-color: var(--mtvh-grey-03)
|
|
29
29
|
),
|
|
30
|
+
grey-04: (
|
|
31
|
+
border-color: var(--mtvh-grey-04)
|
|
32
|
+
),
|
|
30
33
|
red-04: (
|
|
31
34
|
border-color: var(--mtvh-red-04)
|
|
32
35
|
),
|
|
@@ -160,7 +163,7 @@ $mtvh-content-block-border: (
|
|
|
160
163
|
margin-bottom: $mtvh-spacing-3;
|
|
161
164
|
}
|
|
162
165
|
|
|
163
|
-
h3:has(+ p + p ), h3:has(+ p + p + p){
|
|
166
|
+
h3:has(+ p + p ), h3:has(+ p + p + p), h3:has(+ div){
|
|
164
167
|
margin-bottom: $mtvh-spacing-5;
|
|
165
168
|
}
|
|
166
169
|
|
|
@@ -175,7 +178,7 @@ $mtvh-content-block-border: (
|
|
|
175
178
|
max-width: 380px;
|
|
176
179
|
}
|
|
177
180
|
@include media-breakpoint-up(lg) {
|
|
178
|
-
max-width:
|
|
181
|
+
max-width: 62%;
|
|
179
182
|
}
|
|
180
183
|
@include media-breakpoint-up(xl) {
|
|
181
184
|
max-width: 65%;
|
|
@@ -5,6 +5,35 @@
|
|
|
5
5
|
@import "../forms/labels";
|
|
6
6
|
@import "../forms/validation";
|
|
7
7
|
@import "../forms/formio";
|
|
8
|
+
@import "../forms/form-date-input";
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
background-color: var(--mtvh-white);
|
|
12
|
+
margin: 0 calc(var(--mtvh-gutter-x)* -0.5);
|
|
13
|
+
padding: var(--mtvh-gutter-x);
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
|
|
16
|
+
@include media-breakpoint-up("md") {
|
|
17
|
+
padding: $mtvh-spacing-5 $mtvh-spacing-11 $mtvh-spacing-5 $mtvh-spacing-11;
|
|
18
|
+
}
|
|
8
19
|
|
|
9
20
|
}
|
|
21
|
+
.mtvh-form-container {
|
|
22
|
+
|
|
23
|
+
@include media-breakpoint-up("md") {
|
|
10
24
|
|
|
25
|
+
}
|
|
26
|
+
@include media-breakpoint-up("lg") {
|
|
27
|
+
padding-left: 10%;
|
|
28
|
+
padding-right: 10%;
|
|
29
|
+
}
|
|
30
|
+
@include media-breakpoint-up("xl") {
|
|
31
|
+
padding-left: 285px;
|
|
32
|
+
padding-right: 285px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.form-group {
|
|
36
|
+
margin-top: $form-group-margin-top;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.list-group-item {
|
|
2
|
+
margin-bottom: 0;
|
|
3
|
+
border-radius: 0;
|
|
4
|
+
|
|
5
|
+
& + .list-group-item {
|
|
6
|
+
border-top-width: 1px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:last-child {
|
|
10
|
+
padding-bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-border-top {
|
|
14
|
+
border :0;
|
|
15
|
+
border-top: 1px solid;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--border-yellow-02 {
|
|
19
|
+
border-color: var(--mtvh-yellow-02);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.mtvh-stepper {
|
|
2
|
+
|
|
3
|
+
--#{$prefix}stepper-font-color: #{$stepper-font-color};
|
|
4
|
+
--#{$prefix}stepper-sm-font-color: #{$stepper-sm-font-color};
|
|
5
|
+
--#{$prefix}stepper-font-size: #{$stepper-font-size};
|
|
6
|
+
--#{$prefix}stepper-bg-color: #{$stepper-bg-color};
|
|
7
|
+
--#{$prefix}stepper-active-bg-color: #{$stepper-active-bg-color};
|
|
8
|
+
--#{$prefix}stepper-disabled-bg-color: #{$stepper-disabled-bg-color};
|
|
9
|
+
--#{$prefix}stepper-disabled-font-color: #{$stepper-disabled-font-color};
|
|
10
|
+
--#{$prefix}stepper-item-padding-x: #{$stepper-item-padding-x};
|
|
11
|
+
--#{$prefix}stepper-item-padding-y: #{$stepper-item-padding-y};
|
|
12
|
+
--#{$prefix}stepper-breakpoint: #{$stepper-breakpoint};
|
|
13
|
+
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: nowrap;
|
|
16
|
+
list-style: none;
|
|
17
|
+
position: relative;
|
|
18
|
+
width: 100%;
|
|
19
|
+
padding: 0 0 $mtvh-spacing-9 0;
|
|
20
|
+
margin: 0 0 0 0;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
color: var(--#{$prefix}stepper-font-color);
|
|
23
|
+
text-align: center;
|
|
24
|
+
|
|
25
|
+
@include media-breakpoint-up($stepper-breakpoint) {
|
|
26
|
+
padding-bottom: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mtvh-stepper-item {
|
|
30
|
+
|
|
31
|
+
counter-increment: count;
|
|
32
|
+
flex-basis: 100%;
|
|
33
|
+
margin-right: 1px;
|
|
34
|
+
color: var(--#{$prefix}stepper-disabled-font-color);
|
|
35
|
+
font-size: var(--#{$prefix}stepper-font-size);
|
|
36
|
+
padding: var(--#{$prefix}stepper-item-padding-x) var(--#{$prefix}stepper-item-padding-y);
|
|
37
|
+
background-color: var(--#{$prefix}stepper-disabled-bg-color);
|
|
38
|
+
|
|
39
|
+
&:has( a + span), &:has( span + a ) {
|
|
40
|
+
background-color: var(--#{$prefix}stepper-bg-color);
|
|
41
|
+
color: var(--#{$prefix}stepper-font-color);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:first-child {
|
|
45
|
+
border-radius: 50px 0 0 50px;
|
|
46
|
+
}
|
|
47
|
+
&:last-child {
|
|
48
|
+
border-radius: 0 50px 50px 0;
|
|
49
|
+
}
|
|
50
|
+
&.active {
|
|
51
|
+
background-color: var(--#{$prefix}stepper-active-bg-color);
|
|
52
|
+
}
|
|
53
|
+
&:before {
|
|
54
|
+
counter-increment: count-1;
|
|
55
|
+
content: counter(count);
|
|
56
|
+
@include media-breakpoint-up($stepper-breakpoint) {
|
|
57
|
+
content: counter(count) ".";
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
a {
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
color: var(--#{$prefix}stepper-font-color);
|
|
64
|
+
font-size: var(--#{$prefix}stepper-font-size);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
a, span {
|
|
68
|
+
@include media-breakpoint-down($stepper-breakpoint) {
|
|
69
|
+
|
|
70
|
+
opacity: 0;
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 80%;
|
|
73
|
+
left: 50%;
|
|
74
|
+
margin-left: auto;
|
|
75
|
+
text-align: center;
|
|
76
|
+
transform: translate(-50%, -50%);
|
|
77
|
+
color: var(--#{$prefix}stepper-sm-font-color);
|
|
78
|
+
width:100%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.active {
|
|
83
|
+
span, a {
|
|
84
|
+
opacity: 1;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -29,7 +29,9 @@ $icons: (
|
|
|
29
29
|
,'hamburger' : '<svg width="32" height="22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.811 21.289c-.362 0-.671-.128-.927-.384a1.266 1.266 0 0 1-.384-.929c0-.356.128-.663.384-.918.256-.256.565-.384.927-.384h28.387c.356 0 .662.128.918.384s.384.563.384.92c0 .362-.128.671-.384.927a1.253 1.253 0 0 1-.918.384H1.81Zm0-8.942c-.362 0-.671-.128-.927-.385a1.265 1.265 0 0 1-.384-.928c0-.357.128-.663.384-.919s.565-.384.927-.384h28.387c.356 0 .662.129.918.385s.384.563.384.92c0 .362-.128.671-.384.927a1.253 1.253 0 0 1-.918.384H1.81Zm0-8.943c-.362 0-.671-.128-.927-.384A1.266 1.266 0 0 1 .5 2.092c0-.357.128-.663.384-.92C1.14.918 1.449.79 1.81.79h28.387c.356 0 .662.128.918.384.256.257.384.563.384.92 0 .362-.128.672-.384.928a1.253 1.253 0 0 1-.918.383H1.81Z" fill="#000"/></svg>'
|
|
30
30
|
,'expand' : '<svg width="29" height="29" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.448 6.664c-.288.01-.506-.093-.686-.426-.18-.332-.218-.628.04-.84.259-.212 2.023-.411 2.667-.5.644-.09 1.737-.31 2.304-.467.567-.157 1.021-.285 1.241-.045.22.24.38.507.264 1.235-.115.727-.783 4.466-.814 4.781-.031.315-.587.315-.812.166-.225-.15-.581-.207-.501-.615.08-.408.385-2.935.385-2.935s-.32.42-1.056 1.17c-1.059 1.08-1.406 1.476-2.3 2.301-.895.826-2.363 2.081-2.805 2.386-.443.306-.886.619-1.029.103-.143-.515.243-1.14.84-1.749.597-.608 1.597-1.524 2.7-2.613 1.266-1.248 2.372-2.375 2.372-2.375s-.883.143-1.5.256a8.543 8.543 0 0 1-1.31.159v.008ZM10.067 23.411c.289-.01.507.094.687.426.18.332.218.629-.04.84-.26.212-2.023.412-2.667.5-.644.09-1.738.311-2.305.468-.566.157-1.02.284-1.24.044-.22-.24-.38-.507-.264-1.234.115-.727.783-4.466.814-4.782.031-.315.587-.314.811-.165.225.149.582.206.502.614-.08.408-.385 2.936-.385 2.936s.32-.421 1.055-1.17c1.06-1.08 1.407-1.477 2.301-2.302.894-.826 2.362-2.08 2.805-2.386.443-.305.885-.619 1.028-.103.143.516-.243 1.141-.84 1.75-.596.607-1.596 1.524-2.699 2.613-1.267 1.248-2.372 2.374-2.372 2.374s.882-.143 1.499-.256a8.534 8.534 0 0 1 1.31-.159v-.008Z" fill="#000"/></svg>'
|
|
31
31
|
,'collapse' : '<svg width="29" height="29" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M23.911 8.78c.288-.011.507.093.686.425.18.333.218.629-.04.84-.258.212-2.022.412-2.666.501-.644.09-1.738.31-2.305.467-.567.157-1.02.284-1.24.044-.22-.24-.38-.507-.265-1.234.116-.727.784-4.466.815-4.782.03-.315.586-.314.811-.165.225.149.582.206.502.614-.08.408-.386 2.936-.386 2.936s.32-.42 1.056-1.17c1.06-1.08 1.406-1.476 2.3-2.302.895-.825 2.363-2.08 2.806-2.386.442-.305.885-.618 1.028-.103.143.516-.243 1.141-.84 1.75-.596.608-1.597 1.524-2.7 2.613-1.266 1.248-2.371 2.374-2.371 2.374s.882-.143 1.499-.256a8.542 8.542 0 0 1 1.31-.158v-.009ZM5.366 21.033c-.288.01-.507-.094-.686-.426-.18-.333-.218-.629.04-.84.259-.212 2.023-.412 2.667-.501.644-.09 1.737-.31 2.304-.467.567-.157 1.021-.284 1.24-.044.22.24.38.507.265 1.234-.115.727-.783 4.466-.814 4.782-.031.315-.587.314-.812.165-.225-.149-.581-.206-.501-.614.08-.408.385-2.936.385-2.936s-.32.42-1.056 1.17c-1.059 1.08-1.406 1.476-2.3 2.302-.895.825-2.363 2.08-2.805 2.386-.443.305-.886.618-1.029.103-.143-.516.243-1.141.84-1.75.597-.608 1.597-1.524 2.7-2.613 1.266-1.248 2.372-2.374 2.372-2.374s-.883.143-1.5.256a8.544 8.544 0 0 1-1.31.158v.009Z" fill="#000"/></svg>'
|
|
32
|
-
|
|
32
|
+
,'border-tick' : '<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 27"><path d="M22.174 11.832c0-4.67-5.278-9.7-10.91-8.623-13.02 2.156-15.483 22.634-2.11 22.634 13.372 0 13.02-9.34 13.02-14.011Z"/><path fill="#000" d="m16.618 9.722.552-.45.004-.005c.268-.223.602-.338.931-.338.348 0 .695.128.958.402.48.492.49 1.36-.067 1.813l-.462.377c-1.347 1.096-2.7 2.197-3.867 3.47-.126.16-.248.325-.37.488-.254.34-.508.68-.797.988-.16.171-.36.346-.574.453a3.51 3.51 0 0 1-.45.158c-.334.099-.855.009-1.131-.21-.272-.209-.357-.303-.557-.59a2.39 2.39 0 0 1-.143-.221 36.72 36.72 0 0 1-.262-.465c-.156-.28-.312-.559-.481-.831-.294-.479-.615-.94-.944-1.402-.192-.27-.196-.693-.098-.992.102-.317.334-.586.641-.744.312-.163.69-.197 1.033-.094.356.107.57.329.775.615.36.51.713 1.018 1.033 1.548.165-.2.339-.398.512-.59.437-.487.905-.932 1.39-1.373.768-.695 1.571-1.351 2.374-2.007Z"/><path fill="#000" fill-rule="evenodd" d="M11.991 1.139a9.882 9.882 0 0 1 1.661-.27h.005c.209-.017.418-.025.628-.025.347 0 .694.021 1.046.051a8.951 8.951 0 0 1 3.652 1.12c.125.035.25.086.37.15.114.059.23.116.348.174.404.199.812.4 1.175.656.325.23.641.47.953.718.65.509 1.287 1.048 1.875 1.625a8.03 8.03 0 0 1 1.647 2.34c.303.658.566 1.338.726 2.039.17.736.25 1.48.285 2.232a6.09 6.09 0 0 1-.027.787l-.017.235c-.018.3-.054.599-.094.898-.191 1.429-.574 2.831-1.202 4.14-.343.71-.708 1.394-1.114 2.07-.387.64-.864 1.223-1.358 1.787a15.008 15.008 0 0 1-1.62 1.582c-.268.225-.564.427-.857.628l-.057.04c-.325.222-.659.448-1.01.632-.758.39-1.533.71-2.348.97-.33.108-.668.18-1.01.24-.637.112-1.297.193-1.942.167-1.457-.06-2.94-.26-4.298-.791a18.953 18.953 0 0 1-2.173-.983c-.597-.325-1.198-.663-1.733-1.078-.614-.48-1.202-.958-1.75-1.501a11.185 11.185 0 0 1-1.322-1.62c-.37-.54-.749-1.096-1.02-1.686-.32-.71-.601-1.424-.829-2.168C.372 15.614.296 14.9.256 14.19a6.763 6.763 0 0 1 0-.996c.08-.787.205-1.557.379-2.33.142-.642.423-1.258.708-1.848.316-.659.668-1.296 1.122-1.873.481-.612.993-1.232 1.581-1.754a24.366 24.366 0 0 1 1.737-1.394A16.496 16.496 0 0 1 7.76 2.777c.615-.325 1.243-.642 1.902-.886a24.128 24.128 0 0 1 2.33-.752Zm5.081 2.8c-.49-.183-.975-.32-1.482-.431v.004a9.936 9.936 0 0 0-1.817-.09c-.86.12-1.688.351-2.512.612-.628.235-1.247.483-1.835.795a28.1 28.1 0 0 0-1.884 1.095c-.499.36-.975.731-1.434 1.137-.4.351-.761.732-1.118 1.12a13.11 13.11 0 0 0-.628.843c-.184.274-.344.555-.507.84l-.026.045a7.631 7.631 0 0 0-.437 1.035c-.13.424-.24.838-.339 1.27l-.01.06a7.543 7.543 0 0 0-.119 1.014c-.009.415-.004.816.018 1.231.102.77.32 1.493.583 2.22l.034.075c.171.377.341.752.558 1.1.232.377.468.745.717 1.108.237.304.473.608.744.881.32.32.646.625.984.924A19.68 19.68 0 0 0 8.1 21.883c.49.307 1.025.551 1.554.793l.071.032.056.022c.382.151.77.304 1.169.415.4.107.797.205 1.202.29.78.107 1.564.167 2.352.12a10.8 10.8 0 0 0 1.875-.427c.311-.125.623-.249.922-.402.365-.189.717-.385 1.068-.6l-.102.074-.102.072c.476-.33.957-.667 1.38-1.06.387-.364.753-.736 1.104-1.125.352-.432.695-.868.98-1.343.285-.474.552-.953.81-1.44.25-.535.468-1.083.66-1.643.178-.526.307-1.06.414-1.6.12-.88.192-1.752.156-2.638a7.244 7.244 0 0 0-.138-.872c-.094-.41-.205-.804-.339-1.202a9.672 9.672 0 0 0-.863-1.62c-.606-.745-1.368-1.377-2.116-1.989a9.851 9.851 0 0 0-.77-.573 9.041 9.041 0 0 0-.869-.5 1.255 1.255 0 0 1-.552-.193 7.848 7.848 0 0 0-.949-.534Z" clip-rule="evenodd"/></svg>'
|
|
33
|
+
,'border-warning-sign' : '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 27 27"><path d="M20.137 7.841c-3.409-4.18-5.032-5.916-7.173-5.568-.795 0-2.784 1.74-3.855 4.292-1.07 2.553-3.747 7.773-5.032 11.95-1.285 4.176.214 5.336 1.285 5.336 1.07 0 6.317.464 9.743 0s10.6-1.624 11.135-3.944c.675-2.927-2.034-7.077-6.103-12.066Z"/><path fill="#000" d="M14.045 19.196c-.428-.49-.7-.607-1.128-.706-.811-.185-1.54.275-1.806 1.02a1.946 1.946 0 0 0-.11.576c-.012.623.278 1.269.69 1.686a1.418 1.418 0 0 0 1.776.21c.534-.34 1.06-1.045.836-1.69-.015-.04-.016-.12-.017-.221-.003-.243-.008-.608-.204-.833l-.037-.042ZM11.933 16.77c.4.549 1.083.491 1.477-.024.695-.912.637-2.314.587-3.524-.01-.239-.02-.47-.023-.688-.007-.432-.001-.866.004-1.3.014-1.06.027-2.121-.143-3.165-.185-1.113-1.975-.984-2.205.034-.27 1.191-.265 2.447-.261 3.678 0 .265.002.529 0 .79-.002.234-.01.48-.018.733-.041 1.192-.087 2.547.582 3.459v.006Z"/><path fill="#000" fill-rule="evenodd" d="M17.115 4.206c2.436 3.336 4.647 6.914 6.625 10.562 1.26 2.325 4.732 10.183.702 10.827-5.246.838-10.746.56-16.068.293h-.002c-.471-.024-.941-.048-1.409-.07a35.16 35.16 0 0 0-1.046-.029c-1.558-.027-3.378-.059-4.629-.842-1.83-1.147-1.013-4.151-.455-5.79 1.117-3.273 2.707-6.133 4.404-9.106.269-.47.62-1.009.971-1.55.334-.513.67-1.027.936-1.486l-.009-.038c-.05-.213-.107-.453.05-.703C8.39 4.335 10.128 1.542 12.43.925c1.935-.52 3.449 1.573 4.49 3.013l.194.268Zm2.488 19.162c1.957-.362 4.127-.874 4.403-1.159.252-.26-.157-1.089-.585-1.956-.307-.62-.623-1.26-.713-1.726-.141-.727-1.2-2.446-2.13-3.958-.498-.81-.96-1.562-1.225-2.068-.386-.74-1.222-1.856-2.063-2.98-.81-1.08-1.624-2.168-2.049-2.934-.865-1.562-1.947-2.678-2.488-2.79-.541-.111-2.606 2.537-3.363 3.988-.132.252-.29.547-.47.886-.859 1.61-2.23 4.183-3.75 7.594-.207.454-.443.939-.683 1.432-.82 1.687-1.689 3.476-1.689 4.512 0 .483.098.82.32 1.055.262.037.573.059.933.083l.387.028c4.892.368 10.154.375 15.165-.007Z" clip-rule="evenodd"/></svg>'
|
|
34
|
+
,'border-info' : '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 27"><path d="M9.724 2.08c-4.73 0-9.822 5.362-8.731 11.082 2.183 13.226 22.919 15.729 22.919 2.145S14.453 2.08 9.724 2.08Z"/><path fill="#000" d="M15.89 7.284c-.304-.575-.542-.75-.936-.945-.747-.365-1.563-.084-1.99.58-.103.166-.19.34-.24.536-.154.604-.02 1.298.285 1.798.35.577 1.052.835 1.682.612.598-.209 1.27-.775 1.2-1.455a.901.901 0 0 1 .034-.22c.053-.237.132-.592-.007-.856l-.027-.05ZM13.431 11.653c.469-.516 1.281-.573 1.758-.024v.007c.796.911.742 2.266.693 3.458-.01.254-.02.5-.021.733-.003.261-.002.525 0 .79.004 1.231.01 2.487-.311 3.679-.274 1.017-2.405 1.146-2.624.034-.203-1.044-.187-2.106-.17-3.166.006-.434.012-.868.004-1.3-.004-.218-.016-.45-.027-.687-.06-1.21-.13-2.612.698-3.524Z"/><path fill="#000" fill-rule="evenodd" d="M12.992 1.139a9.882 9.882 0 0 1 1.66-.27h.005c.21-.017.419-.025.628-.025.348 0 .695.021 1.047.051a8.95 8.95 0 0 1 3.652 1.12c.124.035.249.086.37.15.114.059.23.116.347.174.404.199.813.4 1.175.656.325.23.642.47.953.718.65.509 1.287 1.048 1.875 1.625a8.03 8.03 0 0 1 1.648 2.34c.303.658.566 1.338.726 2.039.17.736.25 1.48.285 2.232.014.26-.007.525-.027.787l-.018.235c-.018.3-.053.599-.093.898-.192 1.429-.575 2.831-1.203 4.14-.342.71-.708 1.394-1.113 2.07-.387.64-.864 1.223-1.358 1.787a15.018 15.018 0 0 1-1.621 1.582c-.268.225-.563.427-.856.628l-.057.04c-.325.222-.66.448-1.011.632-.757.39-1.532.71-2.347.97-.33.108-.668.18-1.011.24-.637.112-1.296.193-1.942.167-1.456-.06-2.939-.26-4.297-.791a18.956 18.956 0 0 1-2.174-.983c-.596-.325-1.197-.663-1.732-1.078-.614-.48-1.202-.958-1.75-1.501a11.185 11.185 0 0 1-1.323-1.62c-.37-.54-.748-1.096-1.02-1.686-.32-.71-.6-1.424-.828-2.168-.21-.684-.285-1.398-.325-2.108a6.764 6.764 0 0 1 0-.996c.08-.787.205-1.557.379-2.33.142-.642.423-1.258.708-1.848.316-.659.668-1.296 1.122-1.873.48-.612.993-1.232 1.58-1.754a24.366 24.366 0 0 1 1.738-1.394A16.496 16.496 0 0 1 8.76 2.777c.615-.325 1.243-.642 1.902-.886a24.133 24.133 0 0 1 2.329-.752Zm5.081 2.8a10.65 10.65 0 0 0-1.483-.431v.004a9.936 9.936 0 0 0-1.817-.09c-.86.12-1.688.351-2.512.612-.628.235-1.247.483-1.834.795-.646.342-1.27.706-1.884 1.095-.499.36-.976.731-1.434 1.137-.401.351-.762.732-1.118 1.12a13.11 13.11 0 0 0-.628.843c-.184.274-.345.555-.508.84l-.026.045a7.631 7.631 0 0 0-.437 1.035c-.129.424-.24.838-.338 1.27l-.01.06a7.543 7.543 0 0 0-.12 1.014c-.008.415-.004.816.018 1.231.103.77.321 1.493.584 2.22l.034.075c.17.377.341.752.558 1.1.232.377.468.745.717 1.108.236.304.472.608.744.881.32.32.646.625.984.924a19.68 19.68 0 0 0 1.536 1.056c.49.307 1.026.551 1.555.793l.07.032.056.022c.383.151.77.304 1.17.415.4.107.797.205 1.202.29.78.107 1.563.167 2.351.12a10.8 10.8 0 0 0 1.875-.427c.312-.125.624-.249.922-.402.365-.189.717-.385 1.069-.6l-.102.074-.103.072c.477-.33.958-.667 1.38-1.06.388-.364.753-.736 1.105-1.125.352-.432.695-.868.98-1.343.285-.474.552-.953.81-1.44.25-.535.468-1.083.66-1.643.178-.526.307-1.06.414-1.6.12-.88.191-1.752.156-2.638a7.264 7.264 0 0 0-.139-.872c-.093-.41-.204-.804-.338-1.202a9.672 9.672 0 0 0-.864-1.62c-.606-.745-1.367-1.377-2.115-1.989a9.848 9.848 0 0 0-.77-.573 9.05 9.05 0 0 0-.87-.5 1.255 1.255 0 0 1-.551-.193 7.854 7.854 0 0 0-.949-.534Z" clip-rule="evenodd"/></svg>'
|
|
33
35
|
);
|
|
34
36
|
|
|
35
37
|
/**
|
|
@@ -63,11 +65,14 @@ $mtvh-icons : (
|
|
|
63
65
|
'sign-in':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
64
66
|
'expand':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
65
67
|
'collapse':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
68
|
+
'border-tick':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
69
|
+
'border-warning-sign':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
70
|
+
'border-info':( width: $icon-size-scale-md, height: $icon-size-scale-md ),
|
|
66
71
|
'hamburger' :( width: 32px, height: 22px ),
|
|
67
|
-
|
|
68
|
-
'border-tick':
|
|
69
|
-
'border-
|
|
70
|
-
'border-
|
|
72
|
+
|
|
73
|
+
'border-tick-fill':( width: $icon-size-scale-md, height: $icon-size-scale-md ,svg-path: '#{$asset-icon-path}border-tick-fill.svg'),
|
|
74
|
+
'border-warning-sign-fill':( width: $icon-size-scale-md, height: $icon-size-scale-md ,svg-path: '#{$asset-icon-path}border-warning-sign-fill.svg'),
|
|
75
|
+
'border-info-fill':( width: $icon-size-scale-md, height: $icon-size-scale-md ,svg-path: '#{$asset-icon-path}border-info-fill.svg'),
|
|
71
76
|
|
|
72
77
|
'credit-card': ( width: $icon-size-scale-xl, height: $icon-size-scale-xl,svg-path: '#{$asset-icon-path}credit-card.svg'),
|
|
73
78
|
'bank-notes': ( width: $icon-size-scale-xl, height: $icon-size-scale-xl, svg-path: '#{$asset-icon-path}bank-notes.svg' ),
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
|
|
3
|
-
/* Borders */
|
|
4
3
|
--mtvh-font: 'Paralucent', sans-serif;
|
|
5
|
-
|
|
6
4
|
--mtvh-link-color: var(--mtvh-blue-04);
|
|
7
5
|
|
|
8
6
|
--mtvh-border-color: var(--mtvh-grey-06);
|
|
@@ -10,7 +8,7 @@
|
|
|
10
8
|
--mtvh-btn-disabled-border-color: var(--mtvh-grey-06);
|
|
11
9
|
--mtvh-btn-disabled-color: var(--mtvh-white);
|
|
12
10
|
--mtvh-btn-border-radius: 3rem;
|
|
13
|
-
|
|
11
|
+
--mtvh-link-border-radius: 0.25rem;
|
|
14
12
|
--mtvh-btn-line-height: 1.5;
|
|
15
13
|
--mtvh-btn-font-weight: bold;
|
|
16
14
|
--mtvh-btn-outline-color: var(--mtvh-blue-03);
|
|
@@ -20,4 +18,30 @@
|
|
|
20
18
|
/* Shadows */
|
|
21
19
|
--mtvh-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
|
|
22
20
|
--mtvh-btn-focus-box-shadow: 0;
|
|
21
|
+
|
|
22
|
+
/* Banner */
|
|
23
|
+
--mtvh-banner-danger-bg: var(--mtvh-red-02);
|
|
24
|
+
--mtvh-banner-success-bg: var(--mtvh-green-02);
|
|
25
|
+
--mtvh-banner-success-bg-subtle: var(--mtvh-green-01);
|
|
26
|
+
--mtvh-banner-warning-bg: var(--mtvh-yellow-02);
|
|
27
|
+
--mtvh-banner-emergency-bg: var(--mtvh-red-05);
|
|
28
|
+
--mtvh-banner-dark-bg: var(--mtvh-black);
|
|
29
|
+
--mtvh-banner-white-bg: var(--mtvh-white);
|
|
30
|
+
--mtvh-banner-grey-bg: var(--mtvh-grey);
|
|
31
|
+
|
|
32
|
+
/* MTVH close button */
|
|
33
|
+
--mtvh-btn-close-yellow-01-hover-bg: var(--mtvh-yellow-02);
|
|
34
|
+
--mtvh-btn-close-green-01-hover-bg: var(--mtvh-green-02);
|
|
35
|
+
--mtvh-btn-close-red-01-hover-bg: var(--mtvh-red-02);
|
|
36
|
+
--mtvh-btn-close-white-hover-bg: var(--mtvh-grey-02);
|
|
37
|
+
--mtvh-btn-close-grey-hover-bg: var(--mtvh-grey-02);
|
|
38
|
+
|
|
39
|
+
--mtvh-btn-close-danger-hover-bg: var(--mtvh-red-03);
|
|
40
|
+
--mtvh-btn-close-success-hover-bg: var(--mtvh-green-03);
|
|
41
|
+
--mtvh-btn-close-success-hover-bg-suble: var(--mtvh-green-02);
|
|
42
|
+
--mtvh-btn-close-warning-hover-bg: var(--mtvh-yellow-03);
|
|
43
|
+
|
|
44
|
+
--mtvh-primary-outline-color: var(--mtvh-blue-03);
|
|
45
|
+
--mtvh-dark-outline-color: var(--mtvh-black);
|
|
23
46
|
}
|
|
47
|
+
|