@lightspeed/design-system-css 34.0.2 → 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 (83) hide show
  1. package/dist/index.css +117 -189
  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.scss +10 -5
  57. package/src/vend.ui/components/vd-section/vd-section.scss +2 -17
  58. package/src/vend.ui/components/vd-segcontrol/vd-segcontrol.scss +1 -1
  59. package/src/vend.ui/components/vd-select/vd-select-group.scss +4 -3
  60. package/src/vend.ui/components/vd-select/vd-select-ns.scss +4 -3
  61. package/src/vend.ui/components/vd-select/vd-select.scss +1 -0
  62. package/src/vend.ui/components/vd-splash/vd-splash.scss +1 -0
  63. package/src/vend.ui/components/vd-switch/vd-switch.scss +3 -3
  64. package/src/vend.ui/components/vd-table/vd-table.scss +19 -5
  65. package/src/vend.ui/components/vd-tabs/vd-tabs.scss +3 -3
  66. package/src/vend.ui/components/vd-text/vd-text.scss +3 -0
  67. package/src/vend.ui/components/vd-toast-notification/vd-toast-notification.scss +0 -6
  68. package/src/vend.ui/styles/global/_non-styles.scss +0 -2
  69. package/src/vend.ui/styles/global/_normalise.scss +1 -1
  70. package/src/vend.ui/styles/global/colour/_colour-functions.scss +4 -2
  71. package/src/vend.ui/styles/global/colour/_colour-helpers.scss +1 -0
  72. package/src/vend.ui/styles/global/colour/themes/_colour-themes.scss +0 -1
  73. package/src/vend.ui/styles/global/colour/themes/_css-var-theme-generator.scss +1 -1
  74. package/src/vend.ui/styles/global/colour/themes/_generate-themes.scss +4 -1
  75. package/src/vend.ui/styles/global/colour/themes/_theme-vd-functions.scss +1 -0
  76. package/src/vend.ui/styles/global/effects/_effects.scss +3 -0
  77. package/src/vend.ui/styles/global/text/_text-helpers.scss +1 -1
  78. package/src/vend.ui/styles/global/text/_text-mixins.scss +1 -3
  79. package/src/vend.ui/styles/global/utils/_functions.scss +2 -0
  80. package/src/vend.ui/styles/global/viewport/_viewport-identifier.scss +0 -3
  81. package/src/vend.ui/styles/global/viewport/_viewport-media-mixins.scss +2 -0
  82. package/dist/vend-styles.css +0 -8348
  83. package/src/vend-stylelint/use-colour-function.js +0 -63
@@ -13,7 +13,6 @@
13
13
  flex-direction: column;
14
14
  justify-content: center;
15
15
  align-items: center;
16
-
17
16
  font-family: $vd-font-lato;
18
17
  text-align: center;
19
18
  padding: $vd-hero-paddding-vertical $vd-hero-padding-horizontal;
@@ -42,12 +41,14 @@
42
41
 
43
42
  .vd-hero-headline {
44
43
  @include vd-text-hero-headline;
44
+
45
45
  max-width: $vd-hero-headline-max-width;
46
46
  margin-bottom: $vd-hero-items-margin-vertical;
47
47
  }
48
48
 
49
49
  .vd-hero-intro {
50
50
  @include vd-text-intro;
51
+
51
52
  margin: 0;
52
53
  }
53
54
 
@@ -61,12 +62,9 @@
61
62
  display: flex;
62
63
  flex-direction: column;
63
64
  justify-content: center;
64
-
65
65
  padding: vd-grid-unit(5);
66
66
  box-sizing: border-box;
67
-
68
67
  background-color: hs-color(bg-neutral-inverted-top);
69
-
70
68
  font-family: $vd-font-lato;
71
69
  color: hs-color(fg-neutral-inverted-default);
72
70
  text-align: center;
@@ -83,6 +81,7 @@
83
81
 
84
82
  .vd-hero-aux-headline {
85
83
  @include vd-text-hero-aux-headline;
84
+
86
85
  margin-left: auto;
87
86
  margin-right: auto;
88
87
  max-width: $vd-hero-aux-headline-max-width;
@@ -90,12 +89,10 @@
90
89
 
91
90
  .vd-hero-aux-hr {
92
91
  margin: $vd-hero-aux-content-margin auto;
93
-
94
- border-top: 1px solid currentColor;
92
+ border-top: 1px solid currentcolor;
95
93
  border-right: none;
96
94
  border-bottom: none;
97
95
  border-left: none;
98
-
99
96
  width: $vd-hero-aux-hr-width;
100
97
  }
101
98
 
@@ -37,7 +37,7 @@ $vd-textarea-line-height: vd-px-unit(
37
37
  }
38
38
 
39
39
  &:disabled {
40
- @include disabled();
40
+ @include disabled;
41
41
  }
42
42
 
43
43
  @include vd-viewport-media-max(xsmall) {
@@ -59,12 +59,11 @@ $vd-textarea-line-height: vd-px-unit(
59
59
  background-color: hs-color(bg-neutral-top);
60
60
  border: $vd-input-border-width solid hs-color(border-neutral-soft);
61
61
  border-radius: $vd-border-radius;
62
-
63
62
  transition-duration: $vd-time-s;
64
63
  transition-property: border-color, box-shadow;
65
64
 
66
- @include vd-input-focus();
67
- @include vd-input-error();
65
+ @include vd-input-focus;
66
+ @include vd-input-error;
68
67
  }
69
68
 
70
69
  @mixin vd-input-focus() {
@@ -76,8 +75,8 @@ $vd-textarea-line-height: vd-px-unit(
76
75
  }
77
76
 
78
77
  @mixin vd-input-error() {
79
- @include vd-input-error-selectors() {
80
- @include vd-input-error-styles();
78
+ @include vd-input-error-selectors {
79
+ @include vd-input-error-styles;
81
80
  }
82
81
  }
83
82
 
@@ -102,7 +101,8 @@ $vd-textarea-line-height: vd-px-unit(
102
101
 
103
102
  @mixin vd-input {
104
103
  cursor: text;
105
- @include vd-input-text();
106
- @include vd-input-box-model();
107
- @include vd-input-states();
104
+
105
+ @include vd-input-text;
106
+ @include vd-input-box-model;
107
+ @include vd-input-states;
108
108
  }
@@ -16,6 +16,7 @@
16
16
  .vd-input--icon-left {
17
17
  padding-left: $vd-input-icon-padding;
18
18
  }
19
+
19
20
  .vd-input--icon-right {
20
21
  padding-right: $vd-input-icon-padding;
21
22
  }
@@ -30,6 +31,7 @@
30
31
  .vd-input-icon--left {
31
32
  left: $vd-input-icon-position-h;
32
33
  }
34
+
33
35
  .vd-input-icon--right {
34
36
  right: $vd-input-icon-position-h;
35
37
  }
@@ -41,6 +43,7 @@
41
43
  .vd-input--text-align-left {
42
44
  text-align: left;
43
45
  }
46
+
44
47
  .vd-input-symbol {
45
48
  line-height: 1;
46
49
  }
@@ -1,11 +1,11 @@
1
1
  @import './vd-link-mixins';
2
2
 
3
3
  .vd-link {
4
- @include vd-link();
4
+ @include vd-link;
5
5
  }
6
6
 
7
7
  .vd-link--secondary {
8
- color: currentColor !important; // required important to override a tag styles set in vd-table
8
+ color: currentcolor !important; // required important to override a tag styles set in vd-table
9
9
  text-decoration: underline !important; // required to override base a:link
10
10
 
11
11
  @include vd-hover-when-supported {
@@ -12,6 +12,7 @@ $vd-i-bg-margin: vd-grid-unit(2);
12
12
  border-radius: 50%;
13
13
  border: $vd-loader-border solid hs-color(fg-go-default);
14
14
  border-left-color: transparent;
15
+
15
16
  @include vd-slow-rotate;
16
17
 
17
18
  &.vd-loader--small {
@@ -20,9 +21,9 @@ $vd-i-bg-margin: vd-grid-unit(2);
20
21
  }
21
22
 
22
23
  .vd-btn & {
23
- border-top-color: currentColor;
24
- border-right-color: currentColor;
25
- border-bottom-color: currentColor;
24
+ border-top-color: currentcolor;
25
+ border-right-color: currentcolor;
26
+ border-bottom-color: currentcolor;
26
27
  }
27
28
  }
28
29
 
@@ -25,12 +25,12 @@
25
25
 
26
26
  .vd-lozenge--interactive {
27
27
  color: hs-color(fg-neutral-ondark-default);
28
-
29
28
  background-color: hs-color(bg-supplementary-default);
30
29
  }
31
30
 
32
31
  .vd-lozenge--disabled {
33
32
  @include disabled;
33
+
34
34
  pointer-events: none;
35
35
  }
36
36
 
@@ -1,23 +1,27 @@
1
1
  @keyframes vd-lozenge-group-already-added {
2
- from {
2
+ 0% {
3
3
  transform: scale3d(1, 1, 1);
4
4
  }
5
+
5
6
  10%,
6
7
  20% {
7
8
  transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8
9
  }
10
+
9
11
  30%,
10
12
  50%,
11
13
  70%,
12
14
  90% {
13
15
  transform: scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, 3deg);
14
16
  }
17
+
15
18
  40%,
16
19
  60%,
17
20
  80% {
18
21
  transform: scale3d(1.05, 1.05, 1.05) rotate3d(0, 0, 1, -3deg);
19
22
  }
20
- to {
23
+
24
+ 100% {
21
25
  transform: scale3d(1, 1, 1);
22
26
  }
23
27
  }
@@ -29,7 +33,7 @@
29
33
  align-items: center;
30
34
  cursor: text;
31
35
 
32
- @include vd-input-states();
36
+ @include vd-input-states;
33
37
 
34
38
  &:focus-within {
35
39
  border-color: hs-color(border-go-default);
@@ -49,8 +53,9 @@
49
53
  }
50
54
 
51
55
  .vd-lozenge-group-input {
52
- @include vd-input-text();
53
- @include vd-input-box-model();
56
+ @include vd-input-text;
57
+ @include vd-input-box-model;
58
+
54
59
  background-color: transparent;
55
60
  border: none;
56
61
  flex-grow: 1;
@@ -1,5 +1,6 @@
1
1
  .vd-modals-container {
2
2
  @include vd-reset;
3
+
3
4
  position: absolute;
4
5
  z-index: $vd-modals-z-index;
5
6
  }
@@ -12,9 +12,9 @@ $vd-multiselect-popover-input-icon-padding: vd-grid-unit(6);
12
12
  color: hs-color(fg-neutral-default);
13
13
  }
14
14
 
15
- @include vd-input-error-selectors() {
15
+ @include vd-input-error-selectors {
16
16
  .vd-multiselect-popover-input {
17
- @include vd-input-error-styles();
17
+ @include vd-input-error-styles;
18
18
  }
19
19
  }
20
20
  }
@@ -53,7 +53,7 @@
53
53
  }
54
54
 
55
55
  .vd-next-stepper-header {
56
- padding: 0 0 vd-grid-unit(2) 0;
56
+ padding: 0 0 vd-grid-unit(2);
57
57
  }
58
58
 
59
59
  .vd-next-stepper-why {
@@ -11,18 +11,22 @@
11
11
  background-color: vd-colour(mars);
12
12
  width: calc(1 / 3 * 100%);
13
13
  }
14
+
14
15
  .vd-password-strength-meter[data-value='1'] {
15
16
  background-color: vd-colour(mars);
16
17
  width: calc(1 / 3 * 100%);
17
18
  }
19
+
18
20
  .vd-password-strength-meter[data-value='2'] {
19
21
  background-color: vd-colour(mars);
20
22
  width: calc(1 / 3 * 100%);
21
23
  }
24
+
22
25
  .vd-password-strength-meter[data-value='3'] {
23
26
  background-color: vd-colour(solar);
24
27
  width: calc(2 / 3 * 100%);
25
28
  }
29
+
26
30
  .vd-password-strength-meter[data-value='4'] {
27
31
  background-color: hs-color(bg-success-default);
28
32
  width: calc(3 / 3 * 100%);
@@ -25,6 +25,7 @@
25
25
 
26
26
  &.vd-popover-tether-element-attached-top.vd-popover-tether-target-attached-bottom {
27
27
  padding-top: $vd-popover-trigger-spacing;
28
+
28
29
  @include position-popover-beak(top, $offset: $vd-popover-spacing);
29
30
 
30
31
  &.vd-popover-tether-element-attached-center .vd-popover-beak {
@@ -44,6 +45,7 @@
44
45
 
45
46
  &.vd-popover-tether-element-attached-bottom.vd-popover-tether-target-attached-top {
46
47
  padding-bottom: $vd-popover-trigger-spacing;
48
+
47
49
  @include position-popover-beak(bottom, $offset: $vd-popover-spacing);
48
50
 
49
51
  &.vd-popover-tether-element-attached-center .vd-popover-beak {
@@ -59,11 +61,13 @@
59
61
  &.vd-popover-tether-element-attached-middle.vd-popover-tether-target-attached-middle {
60
62
  &.vd-popover-tether-element-attached-right.vd-popover-tether-target-attached-left {
61
63
  padding-right: $vd-popover-trigger-spacing;
64
+
62
65
  @include position-popover-beak(right, $offset: 50%);
63
66
  }
64
67
 
65
68
  &.vd-popover-tether-element-attached-left.vd-popover-tether-target-attached-right {
66
69
  padding-left: $vd-popover-trigger-spacing;
70
+
67
71
  @include position-popover-beak(left, $offset: 50%);
68
72
  }
69
73
  }
@@ -72,12 +76,14 @@
72
76
  &.vd-popover-tether-element-attached-right.vd-popover-tether-target-attached-left {
73
77
  padding-right: $vd-popover-trigger-spacing;
74
78
  margin-top: -$vd-popover-spacing;
79
+
75
80
  @include position-popover-beak(right, $offset: $vd-popover-spacing);
76
81
  }
77
82
 
78
83
  &.vd-popover-tether-element-attached-left.vd-popover-tether-target-attached-right {
79
84
  padding-left: $vd-popover-trigger-spacing;
80
85
  margin-top: -$vd-popover-spacing;
86
+
81
87
  @include position-popover-beak(left, $offset: $vd-popover-spacing);
82
88
  }
83
89
  }
@@ -86,6 +92,7 @@
86
92
  &.vd-popover-tether-element-attached-right.vd-popover-tether-target-attached-left {
87
93
  padding-right: $vd-popover-trigger-spacing;
88
94
  margin-top: $vd-popover-spacing;
95
+
89
96
  .vd-popover-beak {
90
97
  right: 0;
91
98
  bottom: $vd-popover-spacing;
@@ -97,6 +104,7 @@
97
104
  &.vd-popover-tether-element-attached-left.vd-popover-tether-target-attached-right {
98
105
  padding-left: $vd-popover-trigger-spacing;
99
106
  margin-top: $vd-popover-spacing;
107
+
100
108
  .vd-popover-beak {
101
109
  left: 0;
102
110
  bottom: $vd-popover-spacing;
@@ -164,11 +172,13 @@
164
172
  ~ & {
165
173
  background-color: $vd-action-bar-background-colour;
166
174
  }
175
+
167
176
  .vd-popover-tether-element-attached-bottom.vd-popover-tether-target-attached-left
168
177
  .vd-popover-actions:not(:empty)
169
178
  ~ & {
170
179
  background-color: $vd-action-bar-background-colour;
171
180
  }
181
+
172
182
  .vd-popover-tether-element-attached-bottom.vd-popover-tether-target-attached-right
173
183
  .vd-popover-actions:not(:empty)
174
184
  ~ & {
@@ -4,7 +4,7 @@ $vd-popover-list-item-spacing: vd-grid-unit(4);
4
4
  @mixin vd-popover-list-item(
5
5
  $_vd-popover-item-padding: $vd-popover-list-item-spacing $vd-popover-spacing
6
6
  ) {
7
- color: currentColor;
7
+ color: currentcolor;
8
8
  text-decoration: none;
9
9
  transition-duration: $vd-time-s;
10
10
  transition-property: color, background;
@@ -40,8 +40,9 @@
40
40
  }
41
41
 
42
42
  .vd-popover-list-group-header {
43
- @include vd-popover-list-item();
43
+ @include vd-popover-list-item;
44
44
  @include vd-text(signpost);
45
+
45
46
  position: relative;
46
47
 
47
48
  &::after {
@@ -58,6 +59,7 @@
58
59
  .vd-popover-list-group-divider {
59
60
  @include vd-popover-list-item(vd-grid-unit(2) $vd-popover-spacing);
60
61
  @include vd-text(signpost);
62
+
61
63
  position: relative;
62
64
 
63
65
  &::after {
@@ -71,7 +73,8 @@
71
73
  }
72
74
 
73
75
  .vd-popover-list-item {
74
- @include vd-popover-list-item();
76
+ @include vd-popover-list-item;
77
+
75
78
  outline: none;
76
79
  cursor: pointer;
77
80
 
@@ -85,6 +88,7 @@
85
88
  .vd-popover-list-item--disabled {
86
89
  cursor: not-allowed;
87
90
  }
91
+
88
92
  .vd-popover-list-empty {
89
93
  @include vd-popover-list-item($vd-popover-spacing);
90
94
  }
@@ -96,11 +100,11 @@
96
100
  display: none;
97
101
  }
98
102
 
99
- @include vd-popover-list-item();
103
+ @include vd-popover-list-item;
100
104
  }
101
105
 
102
106
  .vd-popover-list-footer {
103
- @include vd-popover-list-item();
107
+ @include vd-popover-list-item;
104
108
  }
105
109
 
106
110
  .vd-popover-list-footer--full {
@@ -114,6 +118,7 @@
114
118
 
115
119
  .vd-popover-list-footer-action {
116
120
  @include vd-text(label);
121
+
117
122
  background-color: hs-color(bg-neutral-top);
118
123
  border: 0;
119
124
  color: hs-color(fg-go-default);
@@ -139,6 +144,7 @@
139
144
 
140
145
  .vd-popover-list-separator {
141
146
  @extend .vd-hr;
147
+
142
148
  margin: $vd-popover-list-spacing ($vd-popover-list-spacing + $vd-popover-list-item-spacing);
143
149
  width: inherit;
144
150
  }
@@ -3,7 +3,7 @@ $vd-promo-image-container-min-height: 100px !default;
3
3
 
4
4
  // Promo Headline
5
5
  @mixin vd-promo-headline() {
6
- @include vd-heading-reset();
6
+ @include vd-heading-reset;
7
7
  @include vd-line-height(30, 24);
8
8
  @include font-smoothing;
9
9
 
@@ -4,7 +4,6 @@
4
4
  flex-direction: column;
5
5
  align-items: center;
6
6
  justify-content: center;
7
-
8
7
  box-sizing: border-box;
9
8
  padding: $vd-promos-spacing;
10
9
  text-align: center;
@@ -13,6 +12,7 @@
13
12
 
14
13
  .vd-promo-headline {
15
14
  @include vd-promo-headline;
15
+
16
16
  margin: $vd-promos-spacing 0;
17
17
  }
18
18
 
@@ -30,6 +30,7 @@
30
30
 
31
31
  .vd-promo-intro {
32
32
  @include vd-line-height(25, 15);
33
+
33
34
  font-size: vd-text-size(body);
34
35
  margin: 0;
35
36
  }
@@ -45,13 +46,11 @@
45
46
  flex-basis: 100%;
46
47
  justify-content: flex-start;
47
48
  flex-direction: row;
48
-
49
49
  text-align: left;
50
50
 
51
51
  @include vd-viewport-media-max(small) {
52
52
  flex-direction: column;
53
53
  justify-content: center;
54
-
55
54
  text-align: center;
56
55
  }
57
56
 
@@ -2,9 +2,11 @@
2
2
  0% {
3
3
  transform: scale(0);
4
4
  }
5
+
5
6
  33% {
6
7
  transform: scale(1.8);
7
8
  }
9
+
8
10
  66% {
9
11
  transform: scale(1);
10
12
  }
@@ -18,6 +20,7 @@
18
20
  &:first-child {
19
21
  padding-left: 0;
20
22
  }
23
+
21
24
  &:last-child {
22
25
  padding-right: 0;
23
26
  }
@@ -46,6 +49,7 @@
46
49
 
47
50
  .vd-radio-description {
48
51
  @include vd-text(supplementary);
52
+
49
53
  padding-top: vd-grid-unit(2);
50
54
  padding-left: $vd-radio-length + vd-grid-unit(3);
51
55
  }
@@ -69,7 +73,7 @@
69
73
  border: 2px solid hs-color(border-neutral-strong);
70
74
  box-sizing: border-box;
71
75
 
72
- &:after {
76
+ &::after {
73
77
  content: '';
74
78
  display: block;
75
79
  position: absolute;
@@ -84,7 +88,7 @@
84
88
  }
85
89
  }
86
90
 
87
- .vd-radio-input:hover + .vd-radio-tick:after {
91
+ .vd-radio-input:hover + .vd-radio-tick::after {
88
92
  opacity: 1;
89
93
  }
90
94
 
@@ -94,7 +98,7 @@
94
98
  background-color: hs-color(bg-go-default);
95
99
  border-color: hs-color(bg-go-default);
96
100
 
97
- &:after {
101
+ &::after {
98
102
  opacity: 1;
99
103
  animation: vd-radio-checked $vd-time-l;
100
104
  background-color: hs-color(fg-neutral-ondark-default);
@@ -109,10 +113,11 @@
109
113
  cursor: not-allowed;
110
114
  filter: grayscale(100%);
111
115
 
112
- &:hover + .vd-radio-tick:after {
116
+ &:hover + .vd-radio-tick::after {
113
117
  opacity: 0;
114
118
  }
115
- &:hover:checked + .vd-radio-tick:after {
119
+
120
+ &:hover:checked + .vd-radio-tick::after {
116
121
  opacity: 1;
117
122
  background-color: hs-color(bg-neutral-top);
118
123
  }
@@ -41,21 +41,6 @@ vd-section,
41
41
  .vd-section {
42
42
  padding: var(--vd-section-padding-v) 0;
43
43
  }
44
-
45
- // Fallback to base padding if browser doesn't support CSS variables
46
- @supports (not (--a: 0)) {
47
- padding: $vd-section-padding-v $vd-section-padding-h;
48
-
49
- .vd-section-container {
50
- margin: -#{$vd-section-padding-v} -#{$vd-section-padding-h};
51
- padding: $vd-section-padding-v $vd-section-padding-h;
52
- }
53
-
54
- vd-section,
55
- .vd-section {
56
- padding: $vd-section-padding-v 0;
57
- }
58
- }
59
44
  }
60
45
 
61
46
  .vd-section--secondary {
@@ -82,7 +67,7 @@ vd-section,
82
67
  }
83
68
 
84
69
  .vd-section--fixed {
85
- @include vd-shadow();
70
+ @include vd-shadow;
86
71
 
87
72
  &::after {
88
73
  @include vd-fade-in($vd-time-s);
@@ -124,7 +109,7 @@ vd-section,
124
109
 
125
110
  @include vd-viewport-media-max($vd-breakpoint-small) {
126
111
  flex-basis: 100%;
127
- padding: 0 0 $vd-section--action-bar-spacing 0;
112
+ padding: 0 0 $vd-section--action-bar-spacing;
128
113
  }
129
114
  }
130
115
 
@@ -61,7 +61,7 @@
61
61
  }
62
62
 
63
63
  &:disabled + .vd-segcontrol-button {
64
- @include disabled();
64
+ @include disabled;
65
65
 
66
66
  cursor: default;
67
67
  pointer-events: none;
@@ -25,7 +25,8 @@
25
25
 
26
26
  .vd-input:not(:first-child),
27
27
  .vd-select:not(:first-child) {
28
- @include remove-border-radius-left();
28
+ @include remove-border-radius-left;
29
+
29
30
  margin-left: -$vd-input-border-width;
30
31
  }
31
32
 
@@ -33,14 +34,14 @@
33
34
  margin-left: -$vd-input-border-width;
34
35
 
35
36
  .vd-select {
36
- @include remove-border-radius-left();
37
+ @include remove-border-radius-left;
37
38
  }
38
39
  }
39
40
 
40
41
  .vd-input:not(:last-child),
41
42
  .vd-select:not(:last-child),
42
43
  .vd-select-container:not(:last-child) .vd-select {
43
- @include remove-border-radius-right();
44
+ @include remove-border-radius-right;
44
45
  }
45
46
 
46
47
  .vd-input,
@@ -2,9 +2,10 @@ $vd-select-input-group-focused-zindex: $vd-z-index-content-base + 3;
2
2
  $vd-select-input-group-with-error-zindex: $vd-select-input-group-focused-zindex - 1;
3
3
 
4
4
  @mixin vd-select() {
5
- @include vd-input-text();
6
- @include vd-input-box-model();
7
- @include vd-input-states();
5
+ @include vd-input-text;
6
+ @include vd-input-box-model;
7
+ @include vd-input-states;
8
+
8
9
  appearance: none;
9
10
  padding-right: 3 * $vd-input-padding;
10
11
  }
@@ -10,6 +10,7 @@
10
10
  &.vd-error {
11
11
  .vd-select {
12
12
  border-color: hs-color(border-no-default);
13
+
13
14
  &:focus {
14
15
  box-shadow: 0 0 $vd-shadow-blur hs-color(border-no-default);
15
16
  }
@@ -21,6 +21,7 @@
21
21
  align-items: center;
22
22
  background: hs-color(bg-neutral-top);
23
23
  overflow: auto;
24
+
24
25
  @include vd-fade-in;
25
26
 
26
27
  .vd-dialog-close {
@@ -5,8 +5,7 @@
5
5
 
6
6
  .vd-switch-input {
7
7
  @extend %vd-invisible-checkbox-input;
8
-
9
- @include vd-btn-disabled();
8
+ @include vd-btn-disabled;
10
9
 
11
10
  &:disabled {
12
11
  opacity: 0;
@@ -123,5 +122,6 @@
123
122
  // Disabled
124
123
  .vd-switch-input:disabled + .vd-switch-track {
125
124
  cursor: not-allowed;
126
- @include disabled();
125
+
126
+ @include disabled;
127
127
  }