@lightspeed/design-system-css 34.0.1 → 35.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 (84) hide show
  1. package/dist/index.css +119 -191
  2. package/dist/index.css.map +1 -1
  3. package/package.json +1 -1
  4. package/src/index.scss +1 -1
  5. package/src/vend-styles/components/BarChart/BarChart.scss +1 -0
  6. package/src/vend-styles/components/Carousel/Carousel.scss +6 -1
  7. package/src/vend-styles/components/DataTable/DataTable.scss +7 -0
  8. package/src/vend-styles/components/DatePicker/DatePicker.scss +6 -3
  9. package/src/vend-styles/components/LineChart/LineChart.scss +3 -0
  10. package/src/vend-styles/components/Modal/Modal.scss +1 -6
  11. package/src/vend-styles/components/PromotionModal/PromotionModal.scss +1 -0
  12. package/src/vend-styles/components/TableList/TableList.scss +5 -4
  13. package/src/vend-styles/components/UpsellPrimary/UpsellPrimary.scss +1 -1
  14. package/src/vend-styles/components/UpsellSecondary/UpsellSecondary.scss +1 -1
  15. package/src/vend-styles/components/VendVideo/VendVideo.scss +8 -0
  16. package/src/vend-styles/vend-styles.scss +5 -5
  17. package/src/vend.ui/_deprecated/v38.0.0/styles/vd-flex/vd-flex.scss +2 -1
  18. package/src/vend.ui/behaviours/vd-align/vd-align.scss +2 -0
  19. package/src/vend.ui/components/vd-autocomplete/vd-autocomplete.scss +3 -3
  20. package/src/vend.ui/components/vd-autocomplete-filter/vd-autocomplete-filter.scss +4 -3
  21. package/src/vend.ui/components/vd-avatar/vd-avatar.scss +2 -2
  22. package/src/vend.ui/components/vd-avatar-multi/vd-avatar-multi.scss +13 -37
  23. package/src/vend.ui/components/vd-badges/vd-id-badge/vd-id-badge.scss +3 -1
  24. package/src/vend.ui/components/vd-banner/vd-banner.scss +2 -18
  25. package/src/vend.ui/components/vd-btn/_vd-btn-mixins.scss +3 -1
  26. package/src/vend.ui/components/vd-btn/vd-btn-panel.scss +5 -3
  27. package/src/vend.ui/components/vd-btn/vd-btn.scss +2 -2
  28. package/src/vend.ui/components/vd-card/vd-card.scss +2 -2
  29. package/src/vend.ui/components/vd-carousel/vd-carousel.scss +5 -1
  30. package/src/vend.ui/components/vd-checkbox/vd-checkbox.scss +12 -8
  31. package/src/vend.ui/components/vd-datepicker/vd-datepicker-ns.scss +1 -1
  32. package/src/vend.ui/components/vd-datepicker/vd-datepicker.scss +23 -11
  33. package/src/vend.ui/components/vd-dialog/vd-dialog.scss +1 -37
  34. package/src/vend.ui/components/vd-dott/vd-dott.scss +0 -1
  35. package/src/vend.ui/components/vd-dropdown/vd-dropdown.scss +2 -2
  36. package/src/vend.ui/components/vd-field/vd-field.scss +1 -0
  37. package/src/vend.ui/components/vd-flex/vd-flex.scss +9 -0
  38. package/src/vend.ui/components/vd-grid/vd-grid.scss +1 -1
  39. package/src/vend.ui/components/vd-hero/vd-hero-ns.scss +3 -2
  40. package/src/vend.ui/components/vd-hero/vd-hero.scss +4 -7
  41. package/src/vend.ui/components/vd-input/vd-input-ns.scss +9 -9
  42. package/src/vend.ui/components/vd-input/vd-input.scss +3 -0
  43. package/src/vend.ui/components/vd-link/vd-link.scss +2 -2
  44. package/src/vend.ui/components/vd-loader/vd-loader.scss +4 -3
  45. package/src/vend.ui/components/vd-lozenge/vd-lozenge.scss +1 -1
  46. package/src/vend.ui/components/vd-lozenge-group/vd-lozenge-group.scss +10 -5
  47. package/src/vend.ui/components/vd-modals-container/vd-modals-container.scss +1 -0
  48. package/src/vend.ui/components/vd-multiselect-popover/vd-multiselect-popover.scss +2 -2
  49. package/src/vend.ui/components/vd-next-stepper/vd-next-stepper.scss +1 -1
  50. package/src/vend.ui/components/vd-password/vd-password.scss +4 -0
  51. package/src/vend.ui/components/vd-popover/vd-popover.scss +10 -0
  52. package/src/vend.ui/components/vd-popover-list/vd-popover-list-ns.scss +1 -1
  53. package/src/vend.ui/components/vd-popover-list/vd-popover-list.scss +10 -4
  54. package/src/vend.ui/components/vd-promo/vd-promo-ns.scss +1 -1
  55. package/src/vend.ui/components/vd-promo/vd-promo.scss +2 -3
  56. package/src/vend.ui/components/vd-radio/vd-radio-ns.scss +1 -1
  57. package/src/vend.ui/components/vd-radio/vd-radio.scss +10 -5
  58. package/src/vend.ui/components/vd-section/vd-section.scss +2 -17
  59. package/src/vend.ui/components/vd-segcontrol/vd-segcontrol.scss +1 -1
  60. package/src/vend.ui/components/vd-select/vd-select-group.scss +4 -3
  61. package/src/vend.ui/components/vd-select/vd-select-ns.scss +4 -3
  62. package/src/vend.ui/components/vd-select/vd-select.scss +1 -0
  63. package/src/vend.ui/components/vd-splash/vd-splash.scss +1 -0
  64. package/src/vend.ui/components/vd-switch/vd-switch.scss +3 -3
  65. package/src/vend.ui/components/vd-table/vd-table.scss +19 -5
  66. package/src/vend.ui/components/vd-tabs/vd-tabs.scss +3 -3
  67. package/src/vend.ui/components/vd-text/vd-text.scss +3 -0
  68. package/src/vend.ui/components/vd-toast-notification/vd-toast-notification.scss +0 -6
  69. package/src/vend.ui/styles/global/_non-styles.scss +0 -2
  70. package/src/vend.ui/styles/global/_normalise.scss +1 -1
  71. package/src/vend.ui/styles/global/colour/_colour-functions.scss +4 -2
  72. package/src/vend.ui/styles/global/colour/_colour-helpers.scss +1 -0
  73. package/src/vend.ui/styles/global/colour/themes/_colour-themes.scss +0 -1
  74. package/src/vend.ui/styles/global/colour/themes/_css-var-theme-generator.scss +1 -1
  75. package/src/vend.ui/styles/global/colour/themes/_generate-themes.scss +4 -1
  76. package/src/vend.ui/styles/global/colour/themes/_theme-vd-functions.scss +1 -0
  77. package/src/vend.ui/styles/global/effects/_effects.scss +3 -0
  78. package/src/vend.ui/styles/global/text/_text-helpers.scss +1 -1
  79. package/src/vend.ui/styles/global/text/_text-mixins.scss +1 -3
  80. package/src/vend.ui/styles/global/utils/_functions.scss +2 -0
  81. package/src/vend.ui/styles/global/viewport/_viewport-identifier.scss +0 -3
  82. package/src/vend.ui/styles/global/viewport/_viewport-media-mixins.scss +2 -0
  83. package/dist/vend-styles.css +0 -8348
  84. package/src/vend-stylelint/use-colour-function.js +0 -63
@@ -9,9 +9,9 @@ $vd-autocomplete-filter-icon-margin: 14px;
9
9
  .vd-autocomplete-filter {
10
10
  display: block;
11
11
 
12
- @include vd-input-error-selectors() {
12
+ @include vd-input-error-selectors {
13
13
  vd-autocomplete-multi {
14
- @include vd-input-error-styles();
14
+ @include vd-input-error-styles;
15
15
  }
16
16
  }
17
17
  }
@@ -53,7 +53,8 @@ $vd-autocomplete-filter-icon-margin: 14px;
53
53
  }
54
54
 
55
55
  .vd-autocomplete-select-placeholder {
56
- @include vd-input-states();
56
+ @include vd-input-states;
57
+
57
58
  border-right: $vd-input-border-width * 0.5 solid hs-color(border-neutral-soft);
58
59
  border-radius: $vd-autocomplete-filter-select-border-radius;
59
60
  padding: $vd-autocomplete-filter-select-padding;
@@ -6,7 +6,6 @@
6
6
  border-radius: $vd-card-border-radius;
7
7
  width: $vd-avatar-size;
8
8
  height: $vd-avatar-size;
9
-
10
9
  flex: 1;
11
10
  display: flex;
12
11
  justify-content: center;
@@ -23,7 +22,8 @@
23
22
  }
24
23
 
25
24
  &.vd-avatar--deleted-image {
26
- @include disabled();
25
+ @include disabled;
26
+
27
27
  background-color: hs-color(bg-no-default);
28
28
  }
29
29
 
@@ -1,4 +1,8 @@
1
1
  .vd-avatar-multi {
2
+ display: grid;
3
+ grid-template-columns: repeat(2, $vd-avatar-multi-tile-size);
4
+ grid-column-gap: $vd-avatar-multi-size-gap;
5
+ row-gap: $vd-avatar-multi-size-gap;
2
6
  width: $vd-avatar-multi-size;
3
7
  height: $vd-avatar-multi-size;
4
8
  }
@@ -12,6 +16,15 @@
12
16
  background-color: hs-color(bg-neutral-edge);
13
17
  position: relative;
14
18
 
19
+ &:only-child {
20
+ grid-area: 2 span / 2 span;
21
+ }
22
+
23
+ // Three tiles
24
+ &:first-child:nth-last-child(3) {
25
+ grid-area: 2 span;
26
+ }
27
+
15
28
  // Ensure placeholder backgrounds are the same size regardless of tile size
16
29
  &[vd-lazy-load*='placeholder.svg'] {
17
30
  background-size: $vd-avatar-multi-tile-placeholder-size;
@@ -31,40 +44,3 @@
31
44
  transform: translateY(-50%);
32
45
  }
33
46
 
34
- // Grid
35
- @supports (display: grid) {
36
- .vd-avatar-multi {
37
- display: grid;
38
- grid-template-columns: repeat(2, $vd-avatar-multi-tile-size);
39
- grid-column-gap: $vd-avatar-multi-size-gap;
40
- row-gap: $vd-avatar-multi-size-gap;
41
- }
42
-
43
- // Only one tile
44
- .vd-avatar-multi-tile {
45
- &:only-child {
46
- grid-area: 2 span / 2 span;
47
- }
48
-
49
- // Three tiles
50
- &:first-child:nth-last-child(3) {
51
- grid-area: 2 span;
52
- }
53
- }
54
- }
55
-
56
- // Flexbox fallback
57
- @supports not (display: grid) {
58
- .vd-avatar-multi {
59
- display: flex;
60
- flex-wrap: wrap;
61
- width: $vd-avatar-multi-size;
62
- height: $vd-avatar-multi-size;
63
- }
64
-
65
- .vd-avatar-multi-tile {
66
- flex: 1 1 50%;
67
- border: ($vd-avatar-multi-size-gap * 0.5) solid hs-color(bg-neutral-top);
68
- border-radius: 5px;
69
- }
70
- }
@@ -26,7 +26,8 @@
26
26
  // INTERACTIVE STYLES
27
27
 
28
28
  &.vd-id-badge--interactive-selection {
29
- @include vd-card();
29
+ @include vd-card;
30
+
30
31
  cursor: pointer;
31
32
 
32
33
  .vd-id-badge__image {
@@ -134,6 +135,7 @@
134
135
  flex: 1;
135
136
  word-break: break-word;
136
137
  color: hs-color(fg-neutral-default);
138
+
137
139
  @include vd-text(body);
138
140
  }
139
141
 
@@ -14,24 +14,6 @@
14
14
  align-self: stretch;
15
15
  position: relative;
16
16
  backdrop-filter: brightness(0.9);
17
-
18
- @supports not (backdrop-filter: brightness(0.9)) {
19
- &::before {
20
- content: '';
21
- background: $vd-colour-black;
22
- filter: opacity(0.1);
23
- position: absolute;
24
- top: 0;
25
- right: 0;
26
- bottom: 0;
27
- left: 0;
28
- z-index: 0;
29
- }
30
-
31
- .vd-feedback-content {
32
- z-index: 1;
33
- }
34
- }
35
17
  }
36
18
 
37
19
  .vd-banner-wrapper,
@@ -63,9 +45,11 @@
63
45
  .vd-banner--activation {
64
46
  @include vd-banner(hs-color(bg-supplementary-default));
65
47
  }
48
+
66
49
  .vd-banner--negative {
67
50
  @include vd-banner(hs-color(bg-no-default));
68
51
  }
52
+
69
53
  .vd-banner--success {
70
54
  @include vd-banner(hs-color(bg-success-default));
71
55
  }
@@ -9,7 +9,7 @@
9
9
  &.disabled {
10
10
  cursor: not-allowed;
11
11
 
12
- @include disabled();
12
+ @include disabled;
13
13
  }
14
14
  }
15
15
 
@@ -48,6 +48,7 @@
48
48
  @include vd-hover-when-supported {
49
49
  &:hover {
50
50
  color: hs-color(fg-neutral-ondark-default);
51
+
51
52
  @if ($_vd-use-default-hover) {
52
53
  background-color: hs-get-action-color($_vd-colour-name, bg);
53
54
  } @else {
@@ -60,6 +61,7 @@
60
61
  &.vd-btn--active {
61
62
  color: hs-color(fg-neutral-ondark-default);
62
63
  background-color: hs-get-action-color(#{$_vd-colour-name}-darker, bg);
64
+
63
65
  @include vd-btn-shadow($_vd-colour-name);
64
66
  }
65
67
 
@@ -22,19 +22,20 @@
22
22
  padding: vd-grid-unit(3) vd-grid-unit(5);
23
23
  position: relative;
24
24
  text-align: center;
25
-
26
25
  transition-property: background, color, border, box-shadow;
27
- transition: all $vd-time-s;
26
+ transition-duration: $vd-time-s;
28
27
 
29
- @include vd-btn-disabled();
28
+ @include vd-btn-disabled;
30
29
 
31
30
  &:focus {
32
31
  border-color: hs-color(border-go-default);
32
+
33
33
  @include vd-btn-shadow(go);
34
34
  }
35
35
 
36
36
  &:hover {
37
37
  border-color: hs-color(bg-go-soft);
38
+
38
39
  @include vd-btn-shadow(go);
39
40
  }
40
41
 
@@ -51,6 +52,7 @@
51
52
  &:focus,
52
53
  &:hover {
53
54
  border-color: hs-color(bg-go-soft);
55
+
54
56
  @include vd-btn-shadow(do);
55
57
  }
56
58
 
@@ -12,7 +12,6 @@
12
12
  padding: $vd-btn-padding;
13
13
  position: relative;
14
14
  text-align: center;
15
-
16
15
  transition-property: background, color, border, box-shadow;
17
16
  transition-duration: $vd-time-s;
18
17
 
@@ -20,7 +19,7 @@
20
19
  outline: none;
21
20
  }
22
21
 
23
- @include vd-btn-disabled();
22
+ @include vd-btn-disabled;
24
23
  }
25
24
 
26
25
  // Disable click events for anchors using button classes
@@ -69,6 +68,7 @@ a.vd-btn {
69
68
 
70
69
  .vd-btn--jumbo {
71
70
  @include vd-text(sub-heading);
71
+
72
72
  padding: vd-grid-unit(4) vd-grid-unit(8);
73
73
  }
74
74
 
@@ -1,7 +1,7 @@
1
1
  .vd-card {
2
- @include vd-card();
2
+ @include vd-card;
3
3
 
4
4
  &.vd-card--active {
5
- @include vd-shadow();
5
+ @include vd-shadow;
6
6
  }
7
7
  }
@@ -16,22 +16,27 @@ vd-carousel {
16
16
  from {
17
17
  transform: translateX(100%);
18
18
  }
19
+
19
20
  to {
20
21
  transform: translateX(0);
21
22
  }
22
23
  }
24
+
23
25
  @keyframes vd-slide-out-left {
24
26
  from {
25
27
  transform: translateX(-100%);
26
28
  }
29
+
27
30
  to {
28
31
  transform: translateX(-200%);
29
32
  }
30
33
  }
34
+
31
35
  @keyframes vd-slide-right {
32
36
  from {
33
37
  transform: translateX(-100%);
34
38
  }
39
+
35
40
  to {
36
41
  transform: translateX(0);
37
42
  }
@@ -43,7 +48,6 @@ vd-carousel-frame {
43
48
  order: 2;
44
49
  visibility: hidden;
45
50
  max-width: 100%;
46
-
47
51
  animation-duration: 0.5s;
48
52
  animation-timing-function: ease-in-out;
49
53
  }
@@ -2,9 +2,11 @@
2
2
  0% {
3
3
  clip-path: rect(0 0 0 0);
4
4
  }
5
+
5
6
  25% {
6
7
  clip-path: rect(0 100% 0 0);
7
8
  }
9
+
8
10
  50% {
9
11
  clip-path: rect(0 100% 100% 0);
10
12
  }
@@ -20,6 +22,7 @@
20
22
  &:first-child {
21
23
  margin-left: 0;
22
24
  }
25
+
23
26
  &:last-child {
24
27
  margin-right: 0;
25
28
  }
@@ -68,6 +71,7 @@
68
71
 
69
72
  .vd-checkbox-description {
70
73
  @include vd-text(supplementary);
74
+
71
75
  margin-top: vd-grid-unit(1);
72
76
  margin-left: $vd-checkbox-length + $vd-checkbox-spacing;
73
77
  }
@@ -82,11 +86,11 @@
82
86
  height: $vd-checkbox-length;
83
87
  width: $vd-checkbox-length;
84
88
  background-color: hs-color(bg-neutral-top);
85
- border: 1px solid hs-color(border-neutral-strong);
89
+ border: 2px solid hs-color(border-neutral-strong);
86
90
  border-radius: $vd-border-radius;
87
91
  box-sizing: border-box;
88
92
 
89
- &:after {
93
+ &::after {
90
94
  content: '';
91
95
  box-sizing: content-box;
92
96
  display: block;
@@ -98,14 +102,14 @@
98
102
  transform-origin: left top;
99
103
  height: $vd-checkbox-tick-height;
100
104
  width: $vd-checkbox-tick-width;
101
- top: 11px;
102
- left: 2px;
105
+ top: 10px;
106
+ left: 1px;
103
107
  opacity: 0;
104
108
  transition: opacity $vd-time-s;
105
109
  }
106
110
  }
107
111
 
108
- .vd-checkbox-input:hover + .vd-checkbox-tick:after {
112
+ .vd-checkbox-input:hover + .vd-checkbox-tick::after {
109
113
  opacity: 1;
110
114
  }
111
115
 
@@ -119,7 +123,7 @@
119
123
  background-color: hs-color(bg-go-default);
120
124
  border-color: hs-color(bg-go-default);
121
125
 
122
- &:after {
126
+ &::after {
123
127
  opacity: 1;
124
128
  animation: vd-checkbox-checked $vd-time-l;
125
129
  border-color: hs-color(fg-neutral-ondark-default);
@@ -134,7 +138,7 @@
134
138
  cursor: not-allowed;
135
139
  filter: grayscale(100%);
136
140
 
137
- &:hover:not(:checked) + .vd-checkbox-tick:after {
141
+ &:hover:not(:checked) + .vd-checkbox-tick::after {
138
142
  opacity: 0;
139
143
  }
140
144
 
@@ -153,7 +157,7 @@
153
157
  border: 2px solid hs-color(bg-go-default);
154
158
  }
155
159
 
156
- .vd-checkbox--mixed .vd-checkbox-input:not(:checked) + .vd-checkbox-tick:after {
160
+ .vd-checkbox--mixed .vd-checkbox-input:not(:checked) + .vd-checkbox-tick::after {
157
161
  background-color: hs-color(bg-go-default);
158
162
  border: none;
159
163
  top: 9px;
@@ -50,7 +50,7 @@ $vd-datepicker-time-input-border-radius: 0 $vd-border-radius $vd-border-radius 0
50
50
  box-sizing: initial;
51
51
  }
52
52
 
53
- @mixin next-prev-arrow-common--disabled {
53
+ @mixin disabled-next-prev-arrow-common {
54
54
  border-right: $vd-datepicker-next-prev-arrow-border-disabled;
55
55
  border-top: $vd-datepicker-next-prev-arrow-border-disabled;
56
56
  }
@@ -16,6 +16,7 @@
16
16
 
17
17
  .vd-datepicker-range-no-end-disabled {
18
18
  @include disabled;
19
+
19
20
  pointer-events: none;
20
21
  }
21
22
 
@@ -46,6 +47,7 @@
46
47
  .vd-datepicker-time-input-containter {
47
48
  width: 100px;
48
49
  margin-left: -2px;
50
+
49
51
  .react-datepicker__tab-loop {
50
52
  // Hide ReactDatePicker default time picker, only use the input box to change start/end time.
51
53
  display: none;
@@ -94,6 +96,7 @@
94
96
  .vd-datepicker,
95
97
  .vd-datepicker-range {
96
98
  @include vd-reset;
99
+
97
100
  font-size: $vd-datepicker-font-size;
98
101
 
99
102
  table,
@@ -119,7 +122,7 @@
119
122
  .pika-table {
120
123
  margin-top: $vd-datepicker-table-spacing * 2;
121
124
 
122
- tbody:before {
125
+ tbody::before {
123
126
  content: ' ';
124
127
  display: block;
125
128
  margin-top: $vd-datepicker-table-spacing;
@@ -156,14 +159,16 @@
156
159
  visibility: hidden;
157
160
 
158
161
  &:nth-child(even) {
159
- &:before {
162
+ &::before {
160
163
  @include vd-datepicker-select-arrow-common;
164
+
161
165
  border-bottom: $vd-datepicker-select-arrow-border;
162
166
  right: $vd-datepicker-select-icon-position-right-even;
163
167
  }
164
168
 
165
- &:after {
169
+ &::after {
166
170
  @include vd-datepicker-select-arrow-common;
171
+
167
172
  border-top: $vd-datepicker-select-arrow-border;
168
173
  top: $vd-datepicker-select-icon-position-top;
169
174
  right: $vd-datepicker-select-icon-position-right-even;
@@ -171,14 +176,16 @@
171
176
  }
172
177
 
173
178
  &:nth-child(odd) {
174
- &:before {
179
+ &::before {
175
180
  @include vd-datepicker-select-arrow-common;
181
+
176
182
  border-bottom: $vd-datepicker-select-arrow-border;
177
183
  right: $vd-datepicker-select-icon-position-right-odd;
178
184
  }
179
185
 
180
- &:after {
186
+ &::after {
181
187
  @include vd-datepicker-select-arrow-common;
188
+
182
189
  border-top: $vd-datepicker-select-arrow-border;
183
190
  top: $vd-datepicker-select-icon-position-top;
184
191
  right: $vd-datepicker-select-icon-position-right-odd;
@@ -188,18 +195,21 @@
188
195
 
189
196
  .pika-select {
190
197
  @include vd-select;
198
+
191
199
  padding-right: 12px;
192
200
  visibility: visible;
193
201
  }
194
202
 
195
203
  .pika-select-month {
196
204
  @include vd-datepicker-select-common;
205
+
197
206
  width: 110px;
198
207
  left: $vd-datepicker-select-horizontal-positioning;
199
208
  }
200
209
 
201
210
  .pika-select-year {
202
211
  @include vd-datepicker-select-common;
212
+
203
213
  width: 72px;
204
214
  right: $vd-datepicker-select-horizontal-positioning;
205
215
  }
@@ -216,14 +226,15 @@
216
226
  visibility: hidden;
217
227
  cursor: pointer;
218
228
 
219
- &:before {
229
+ &::before {
220
230
  @include next-prev-arrow-common;
231
+
221
232
  transform: rotate(225deg);
222
233
  }
223
234
 
224
235
  &.is-disabled {
225
- &:before {
226
- @include next-prev-arrow-common--disabled;
236
+ &::before {
237
+ @include disabled-next-prev-arrow-common;
227
238
  }
228
239
  }
229
240
  }
@@ -234,14 +245,15 @@
234
245
  visibility: hidden;
235
246
  cursor: pointer;
236
247
 
237
- &:before {
248
+ &::before {
238
249
  @include next-prev-arrow-common;
250
+
239
251
  transform: rotate(45deg);
240
252
  }
241
253
 
242
254
  &.is-disabled {
243
- &:before {
244
- @include next-prev-arrow-common--disabled;
255
+ &::before {
256
+ @include disabled-next-prev-arrow-common;
245
257
  }
246
258
  }
247
259
  }
@@ -23,7 +23,6 @@
23
23
  // This element creates an invisible mask to position the dialog modal. Disable click events so they can fall through
24
24
  // to the overlay.
25
25
  pointer-events: none;
26
-
27
26
  display: flex;
28
27
  align-items: center;
29
28
 
@@ -67,15 +66,12 @@
67
66
  box-sizing: border-box;
68
67
  margin: 0 auto;
69
68
  padding: var(--vd-dialog-spacing);
70
-
71
69
  background: hs-color(bg-neutral-top);
72
70
  border-radius: $vd-border-radius;
73
71
  display: flex;
74
72
  flex-direction: column;
75
-
76
73
  min-height: $vd-dialog-container-min-height;
77
74
  max-height: calc(95vh - #{$vd-dialog-container-top-offset});
78
-
79
75
  width: calc(90% - #{$vd-dialog-close-width});
80
76
  // Enables default click events for the container child elements
81
77
  pointer-events: auto;
@@ -93,9 +89,7 @@
93
89
  @include vd-viewport-media-max(xsmall) {
94
90
  max-height: none;
95
91
  height: calc(100% - #{$vd-dialog-container-top-offset});
96
-
97
92
  border-radius: 0;
98
-
99
93
  margin-left: 0;
100
94
  margin-right: 0;
101
95
  }
@@ -114,7 +108,6 @@
114
108
  display: flex;
115
109
  flex-direction: column;
116
110
  flex-shrink: 0;
117
-
118
111
  margin-bottom: var(--vd-dialog-spacing);
119
112
  }
120
113
 
@@ -188,33 +181,4 @@
188
181
  @include vd-viewport-media-max(xsmall) {
189
182
  text-align: center;
190
183
  }
191
- }
192
-
193
- // Fallback to base padding if browser doesn't support CSS variables
194
- @supports (not (--a: 0)) {
195
- .vd-dialog .vd-dialog-banner {
196
- margin: -(#{$vd-section-padding-h-med});
197
- margin-bottom: $vd-section-padding-h-med;
198
-
199
- .vd-banner-wrapper {
200
- padding: $vd-section-padding-v-med $vd-section-padding-h-med;
201
- }
202
- }
203
-
204
- .vd-dialog-container {
205
- padding: $vd-section-padding-h-med;
206
- }
207
-
208
- .vd-dialog-header {
209
- margin-bottom: $vd-section-padding-h-med;
210
- }
211
-
212
- .vd-dialog-content {
213
- margin: 0 - (#{$vd-section-padding-h-med});
214
- padding: 0 $vd-section-padding-h-med;
215
-
216
- + .vd-dialog-actions {
217
- margin-top: $vd-section-padding-h-med;
218
- }
219
- }
220
- }
184
+ }
@@ -10,7 +10,6 @@ vd-dott,
10
10
  display: inline-block;
11
11
  width: $vd-dott-diameter;
12
12
  height: $vd-dott-diameter;
13
-
14
13
  will-change: transform;
15
14
  animation: vd-rotate 3s infinite linear;
16
15
  outline: 1px solid transparent; // Fix for Chrome
@@ -7,9 +7,9 @@
7
7
  }
8
8
 
9
9
  .vd-dropdown-input-container {
10
- @include vd-input-error-selectors() {
10
+ @include vd-input-error-selectors {
11
11
  .vd-dropdown-input {
12
- @include vd-input-error-styles();
12
+ @include vd-input-error-styles;
13
13
  }
14
14
  }
15
15
  }
@@ -26,6 +26,7 @@
26
26
 
27
27
  .vd-label {
28
28
  @include vd-text(label);
29
+
29
30
  display: inline-block;
30
31
  margin-bottom: vd-spacer(1);
31
32
  }
@@ -6,6 +6,7 @@
6
6
  .vd-flex--row {
7
7
  flex-direction: row;
8
8
  }
9
+
9
10
  .vd-flex--column {
10
11
  flex-direction: column;
11
12
  }
@@ -17,15 +18,19 @@
17
18
  .vd-flex--justify-start {
18
19
  justify-content: flex-start;
19
20
  }
21
+
20
22
  .vd-flex--justify-end {
21
23
  justify-content: flex-end;
22
24
  }
25
+
23
26
  .vd-flex--justify-between {
24
27
  justify-content: space-between;
25
28
  }
29
+
26
30
  .vd-flex--justify-around {
27
31
  justify-content: space-around;
28
32
  }
33
+
29
34
  .vd-flex--justify-center {
30
35
  justify-content: center;
31
36
  }
@@ -33,15 +38,19 @@
33
38
  .vd-flex--align-start {
34
39
  align-items: flex-start;
35
40
  }
41
+
36
42
  .vd-flex--align-end {
37
43
  align-items: flex-end;
38
44
  }
45
+
39
46
  .vd-flex--align-baseline {
40
47
  align-items: baseline;
41
48
  }
49
+
42
50
  .vd-flex--align-center {
43
51
  align-items: center;
44
52
  }
53
+
45
54
  .vd-flex--align-stretch {
46
55
  align-items: stretch;
47
56
  }
@@ -1,4 +1,4 @@
1
- @include vd-build-grid();
1
+ @include vd-build-grid;
2
2
 
3
3
  // Large gutter; @todo deprecate since it has inconsistent vertical spacing
4
4
  .vd-g-row--gutter-l {
@@ -10,17 +10,18 @@ $vd-hero-aux-content-margin: vd-grid-unit(3) !default;
10
10
  $vd-hero-aux-headline-max-width: 90% !default;
11
11
  $vd-hero-aux-content-max-width: 90% !default;
12
12
  $vd-hero-aux-hr-width: 80px !default;
13
- $vd-hero-aux-width: 33.33333% !default;
13
+ $vd-hero-aux-width: 33.3333% !default;
14
14
 
15
15
  // Hero Auxiliary Headline
16
16
  @mixin vd-text-hero-aux-headline() {
17
17
  @include vd-text(intro);
18
+
18
19
  font-weight: $vd-font-weight--bold;
19
20
  }
20
21
 
21
22
  // Hero Headline
22
23
  @mixin vd-text-hero-headline() {
23
- @include vd-heading-reset();
24
+ @include vd-heading-reset;
24
25
  @include vd-line-height(42, 35);
25
26
  @include font-smoothing;
26
27