@oruga-ui/theme-oruga 0.7.1 → 0.8.1

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 (48) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +5 -5
  3. package/dist/scss/components/_autocomplete.scss +3 -12
  4. package/dist/scss/components/_breadcrumb.scss +122 -103
  5. package/dist/scss/components/_button.scss +228 -173
  6. package/dist/scss/components/_carousel.scss +164 -142
  7. package/dist/scss/components/_checkbox.scss +118 -118
  8. package/dist/scss/components/_collapse.scss +1 -1
  9. package/dist/scss/components/_datepicker.scss +228 -290
  10. package/dist/scss/components/_datetimepicker.scss +8 -2
  11. package/dist/scss/components/_dialog.scss +243 -0
  12. package/dist/scss/components/_dropdown.scss +190 -164
  13. package/dist/scss/components/_field.scss +68 -39
  14. package/dist/scss/components/_icon.scss +24 -29
  15. package/dist/scss/components/_input.scss +112 -97
  16. package/dist/scss/components/_listbox.scss +176 -0
  17. package/dist/scss/components/_loading.scss +35 -15
  18. package/dist/scss/components/_menu.scss +113 -109
  19. package/dist/scss/components/_modal.scss +112 -50
  20. package/dist/scss/components/_notification.scss +113 -97
  21. package/dist/scss/components/_pagination.scss +173 -106
  22. package/dist/scss/components/_radio.scss +91 -84
  23. package/dist/scss/components/_select.scss +108 -115
  24. package/dist/scss/components/_sidebar.scss +102 -101
  25. package/dist/scss/components/_skeleton.scss +50 -39
  26. package/dist/scss/components/_slider.scss +221 -159
  27. package/dist/scss/components/_steps.scss +223 -261
  28. package/dist/scss/components/_switch.scss +126 -90
  29. package/dist/scss/components/_table.scss +307 -251
  30. package/dist/scss/components/_tabs.scss +360 -247
  31. package/dist/scss/components/_tag.scss +95 -39
  32. package/dist/scss/components/_taginput.scss +48 -36
  33. package/dist/scss/components/_timepicker.scss +61 -62
  34. package/dist/scss/components/_tooltip.scss +129 -254
  35. package/dist/scss/components/_upload.scss +83 -35
  36. package/dist/scss/theme-build.scss +9 -0
  37. package/dist/scss/theme.scss +44 -0
  38. package/dist/scss/utils/_animations.scss +30 -9
  39. package/dist/scss/utils/_base.scss +6 -4
  40. package/dist/scss/utils/_helpers.scss +84 -22
  41. package/dist/scss/utils/_root.scss +82 -29
  42. package/dist/scss/utils/_variables.scss +64 -42
  43. package/dist/theme.css +2 -0
  44. package/dist/theme.js +1 -1
  45. package/package.json +27 -20
  46. package/dist/oruga.css +0 -2
  47. package/dist/scss/oruga-build.scss +0 -9
  48. package/dist/scss/oruga.scss +0 -42
@@ -1,133 +1,140 @@
1
1
  @use "sass:list";
2
+ @use "../utils/helpers" as h;
3
+ @use "../utils/variables" as vars;
2
4
 
3
5
  /* @docs */
4
- $radio-active-background-color: $primary !default;
6
+ $radio-spacer: h.useVar("control-spacer") !default;
7
+ $radio-disabled-opacity: h.useVar("control-disabled-opacity") !default;
8
+ $radio-width: 1em !default;
9
+ $radio-height: 1em !default;
10
+
11
+ $radio-color: h.useVar("font-color") !default;
12
+ $radio-font-size: h.useVar("font-size") !default;
13
+ $radio-font-weight: h.useVar("font-weight") !default;
14
+ $radio-line-height: h.useVar("line-height") !default;
15
+
16
+ $radio-box-shadow: h.useVar("control-box-shadow-inset") !default;
17
+ $radio-border-color: h.useVar("primary") !default;
18
+ $radio-border-style: solid !default;
19
+ $radio-border-radius: h.useVar("border-radius-rounded") !default;
20
+ $radio-border-width: calc(2 * h.useVar("control-border-width")) !default;
21
+ $radio-background-color: h.useVar("white") !default;
22
+ $radio-active-background-color: h.useVar("primary") !default;
23
+
5
24
  $radio-checked-box-shadow-length: 0 0 0.5em !default;
6
25
  $radio-checked-box-shadow-opacity: 0.8 !default;
7
- $radio-box-shadow: $control-box-shadow !default;
8
- $radio-disabled-opacity: var(--#{$prefix}base-disabled-opacity) !default;
9
- $radio-label-padding: 0 0 0 0.5em !default;
10
- $radio-margin-sibiling: 0.5em !default;
11
- $radio-size: 1rem !default;
12
- $radio-line-height: 1.25 !default;
13
26
  /* @docs */
14
27
 
15
28
  // filled svg calculation
16
- @function svg_radio_fill() {
29
+ @function svg_radio_filled() {
17
30
  $start: '<svg width="100%" height="100%" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#e11919" stroke="#000" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
18
- $content: '<g id="SVGRepo_bgCarrier" stroke-width="0"></g>' +
19
- '<g id="SVGRepo_iconCarrier">' +
20
- '<path d="M483 260c0-123-100-223-223-223S37 137 37 260s100 223 223 223S483 383 483 260Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:64px"></path>' +
21
- '<circle cx="256" cy="256" r="144"></circle>' + "</g>";
22
-
31
+ $content: '<g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_iconCarrier"><path d="M483 260c0-123-100-223-223-223S37 137 37 260s100 223 223 223S483 383 483 260Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:64px"></path><circle cx="256" cy="256" r="144"></circle></g>';
23
32
  $end: "</svg>";
24
33
 
25
- @return svg-encode("#{$start}#{$content}#{$end}");
34
+ @return h.svg-encode("#{$start}#{$content}#{$end}");
26
35
  }
27
36
 
28
37
  // empty svg calculation
29
38
  @function svg_radio_empty() {
30
39
  $start: '<svg width="100%" height="100%" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#000" stroke="#000" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
31
- $content: '<g id="SVGRepo_bgCarrier" stroke-width="0"></g>' +
32
- '<g id="SVGRepo_iconCarrier">' +
33
- '<path d="M483 260c0-123-100-223-223-223S37 137 37 260s100 223 223 223S483 383 483 260Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:64px"></path>' +
34
- "</g>";
40
+ $content: '<g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_iconCarrier"><path d="M483 260c0-123-100-223-223-223S37 137 37 260s100 223 223 223S483 383 483 260Z" style="fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:64px"></path></g>';
35
41
  $end: "</svg>";
36
42
 
37
- @return svg-encode("#{$start}#{$content}#{$end}");
43
+ @return h.svg-encode("#{$start}#{$content}#{$end}");
38
44
  }
39
45
 
40
46
  .o-radio {
41
- @include unselectable;
47
+ @include h.defineVar("radio-spacer", $radio-spacer);
48
+ @include h.defineVar("radio-disabled-opacity", $radio-disabled-opacity);
49
+ @include h.defineVar("radio-width", $radio-width);
50
+ @include h.defineVar("radio-height", $radio-height);
51
+ @include h.defineVar("radio-color", $radio-color);
52
+ @include h.defineVar("radio-font-size", $radio-font-size);
53
+ @include h.defineVar("radio-font-weight", $radio-font-weight);
54
+ @include h.defineVar("radio-line-height", $radio-line-height);
55
+
56
+ @include h.defineVar("radio-box-shadow", $radio-box-shadow);
57
+ @include h.defineVar("radio-background-color", $radio-background-color);
58
+ @include h.defineVar(
59
+ "radio-active-background-color",
60
+ $radio-active-background-color
61
+ );
62
+ @include h.defineVar("radio-border-radius", $radio-border-radius);
63
+ @include h.defineVar("radio-border-width", $radio-border-width);
64
+ @include h.defineVar("radio-border-style", $radio-border-style);
65
+ @include h.defineVar("radio-border-color", $radio-border-color);
66
+
67
+ // define focus shadow effect
68
+ @include h.focusable(".o-radio__input");
69
+
70
+ // add clickable cursor
71
+ @include h.clickable;
42
72
 
43
73
  display: inline-flex;
44
74
  align-items: center;
45
- cursor: pointer;
46
- line-height: var(--#{$prefix}radio-line-height, $radio-line-height);
47
- margin-right: var(
48
- --#{$prefix}radio-margin-sibiling,
49
- $radio-margin-sibiling
50
- );
75
+ position: relative;
76
+
77
+ color: h.useVar("radio-color");
78
+ font-size: h.useVar("radio-font-size");
79
+ font-weight: h.useVar("radio-font-weight");
80
+ line-height: h.useVar("radio-line-height");
51
81
 
52
82
  &__input {
53
- font-size: var(--#{$prefix}radio-font-size, inherit);
54
- width: var(--#{$prefix}radio-size, $radio-size);
55
- height: var(--#{$prefix}radio-size, $radio-size);
56
- margin: 0;
57
- vertical-align: top;
58
- -webkit-appearance: none;
59
- -moz-appearance: none;
60
- appearance: none;
83
+ // add clickable cursor
84
+ @include h.clickable;
85
+
86
+ // remove default appearance
87
+ @include h.removeAppearance;
61
88
  -webkit-print-color-adjust: exact;
62
89
  print-color-adjust: exact;
63
- cursor: pointer;
64
- box-shadow: var(--#{$prefix}radio-box-shadow, $radio-box-shadow);
65
- border-radius: 50%;
66
- background-color: var(
67
- --#{$prefix}radio-active-background-color,
68
- $radio-active-background-color
69
- );
70
- mask-image: url(svg_radio_empty());
71
- background-image: none;
72
- background-position: center;
73
- background-size: contain;
74
- background-repeat: no-repeat;
75
-
76
- transition: background var(--#{$prefix}transition-duration)
77
- var(--#{$prefix}transition-timing);
90
+
91
+ font-size: inherit;
92
+ vertical-align: top;
93
+ width: h.useVar("radio-width");
94
+ height: h.useVar("radio-height");
95
+
96
+ transition: background h.useVar("transition-duration")
97
+ h.useVar("transition-timing");
98
+
99
+ box-shadow: h.useVar("radio-box-shadow");
100
+
101
+ border-radius: h.useVar("radio-border-radius");
102
+ /* The background will be the inner filled circle */
103
+ background-color: h.useVar("radio-background-color");
104
+ /* The border will be the inner white border circle */
105
+ border: 2px solid h.useVar("radio-background-color");
106
+ /* The outline will be the outer circle */
107
+ outline: h.useVar("radio-border-width") h.useVar("radio-border-style")
108
+ h.useVar("radio-border-color");
78
109
 
79
110
  &:checked {
80
- mask-image: url(svg_radio_fill());
111
+ background-color: h.useVar("radio-active-background-color");
81
112
  }
82
113
  }
83
114
 
84
115
  &__label {
85
- padding: var(--#{$prefix}radio-label-padding, $radio-label-padding);
116
+ padding: 0 h.useVar("radio-spacer");
86
117
  }
87
118
 
88
119
  &--disabled {
89
- opacity: var(
90
- --#{$prefix}radio-disabled-opacity,
91
- $radio-disabled-opacity
92
- );
120
+ @include h.disabled(h.useVar("radio-disabled-opacity"));
93
121
  }
94
122
 
95
123
  // size variants
96
- @each $name, $value in $sizes {
124
+ @each $name, $value in vars.$sizes {
97
125
  &--#{$name} {
98
- font-size: var(--#{$prefix}radio-font-size-#{$name}, $value);
99
-
100
- .o-radio__input {
101
- width: var(--#{$prefix}radio-font-size-#{$name}, $value);
102
- height: var(--#{$prefix}radio-font-size-#{$name}, $value);
103
- }
126
+ @include h.defineVar("radio-font-size", h.useVar("size-#{$name}"));
104
127
  }
105
128
  }
106
129
 
107
130
  // color variants
108
- @each $name, $pair in $colors {
109
- $color: list.nth($pair, 1);
110
- $color-invert: list.nth($pair, 2);
111
-
131
+ @each $name, $pair in vars.$colors {
112
132
  &--#{$name} {
113
- --#{$prefix}focus: #{createFocus($color)};
114
-
115
- .o-radio__input {
116
- background-color: var(
117
- --#{$prefix}radio-active-background-color-#{$name},
118
- $color
119
- );
120
- }
121
- }
122
- }
123
-
124
- // focus effect
125
- &:focus,
126
- &:focus-visible,
127
- &:focus-within {
128
- .o-radio__input {
129
- box-shadow: 0 0 0 0.25rem var(--#{$prefix}focus);
130
- outline: none;
133
+ @include h.defineVar("radio-border-color", h.useVar($name));
134
+ @include h.defineVar(
135
+ "radio-active-background-color",
136
+ h.useVar($name)
137
+ );
131
138
  }
132
139
  }
133
140
  }
@@ -1,144 +1,148 @@
1
1
  @use "sass:list";
2
+ @use "../utils/helpers" as h;
3
+ @use "../utils/variables" as vars;
2
4
 
3
5
  /* @docs */
4
- $select-background-color: #fff !default;
5
- $select-border-color: var(--#{$prefix}grey-lighter) !default;
6
+ $select-height: h.useVar("control-height") !default;
7
+ $select-padding: h.useVar("control-padding-vertical")
8
+ h.useVar("control-padding-horizontal") !default;
9
+ $select-disabled-opacity: h.useVar("control-disabled-opacity") !default;
10
+
11
+ $select-color: h.useVar("font-color") !default;
12
+ $select-font-size: h.useVar("font-size") !default;
13
+ $select-font-weight: h.useVar("font-weight") !default;
14
+ $select-line-height: h.useVar("line-height") !default;
15
+
16
+ $select-box-shadow: h.useVar("control-box-shadow-inset") !default;
17
+ $select-background-color: h.useVar("control-brackground-color") !default;
18
+ $select-border-color: h.useVar("control-border-color") !default;
6
19
  $select-border-style: solid !default;
7
- $select-border-width: 1px !default;
8
- $select-border-radius: var(--#{$prefix}base-border-radius) !default;
9
- $select-rounded-border-radius: var(
10
- --#{$prefix}base-border-radius-rounded
11
- ) !default;
12
- $select-box-shadow: $control-box-shadow !default;
13
- $select-color: #363636 !default;
14
- $select-icon-zindex: 4 !default;
15
- $select-height: $control-height !default;
16
- $select-line-height: var(--#{$prefix}base-line-height) !default;
17
- $select-margin: 0 !default;
18
- $select-padding: $control-padding-vertical $control-padding-horizontal !default;
19
- $select-arrow-color: $select-color !default;
20
- $select-arrow-size: 1rem !default;
21
- $select-placeholder-opacity: var(--#{$prefix}base-disabled-opacity) !default;
20
+ $select-border-width: h.useVar("control-border-width") !default;
21
+ $select-border-radius: h.useVar("border-radius") !default;
22
+ $select-border-radius-rounded: h.useVar("border-radius-rounded") !default;
23
+
24
+ $select-multiple-padding: h.useVar("control-spacer") !default;
25
+ $select-arrow-color: vars.$font-color !default;
26
+ $select-arrow-size: 1em !default;
22
27
  /* @docs */
23
28
 
24
29
  @function svg_arrow($color) {
25
- $start: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
26
- $content: '<g transform="matrix(5.70052,0,0,5.70052,-1329.79,-547.054)"><path d="M233.451,101.749L235.617,99.422L242.013,105.565L248.463,99.422L250.642,101.749L242.013,110.052L233.451,101.749Z" style="fill:#{$color};stroke:white;stroke-width:0.18px;"/></g>';
30
+ $start: '<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">';
31
+ $content: '<g transform="matrix(5.70052,0,0,5.70052,-1329.79,-547.054)"><path d="M233.451,101.749L235.617,99.422L242.013,105.565L248.463,99.422L250.642,101.749L242.013,110.052L233.451,101.749Z" style="fill:#{$color}"/></g>';
27
32
  $end: "</svg>";
28
33
 
29
- @return svg-encode("#{$start}#{$content}#{$end}");
34
+ @return h.svg-encode("#{$start}#{$content}#{$end}");
30
35
  }
31
36
 
32
37
  .o-select {
33
- display: inline-flex;
38
+ @include h.defineVar("select-height", $select-height);
39
+ @include h.defineVar("select-padding", $select-padding);
40
+ @include h.defineVar("select-disabled-opacity", $select-disabled-opacity);
41
+
42
+ @include h.defineVar("select-color", $select-color);
43
+ @include h.defineVar("select-font-size", $select-font-size);
44
+ @include h.defineVar("select-font-weight", $select-font-weight);
45
+ @include h.defineVar("select-line-height", $select-line-height);
46
+
47
+ @include h.defineVar("select-box-shadow", $select-box-shadow);
48
+ @include h.defineVar("select-background-color", $select-background-color);
49
+ @include h.defineVar("select-border-color", $select-border-color);
50
+ @include h.defineVar("select-border-style", $select-border-style);
51
+ @include h.defineVar("select-border-width", $select-border-width);
52
+ @include h.defineVar("select-border-radius", $select-border-radius);
53
+ @include h.defineVar(
54
+ "select-border-radius-rounded",
55
+ $select-border-radius-rounded
56
+ );
57
+ @include h.defineVar("select-arrow-size", $select-arrow-size);
58
+ @include h.defineVar(
59
+ "select-arrow-background-image",
60
+ url(svg_arrow($select-arrow-color))
61
+ );
62
+ @include h.defineVar("select-multiple-padding", $select-multiple-padding);
63
+
64
+ // define focus shadow effect
65
+ @include h.focusable(".o-select__input");
66
+
67
+ display: inline-block;
34
68
  position: relative;
35
69
 
70
+ // size variants
71
+ @each $name, $value in vars.$sizes {
72
+ &--#{$name} {
73
+ @include h.defineVar("select-font-size", h.useVar("size-#{$name}"));
74
+ }
75
+ }
76
+
77
+ // color variants
78
+ @each $name, $pair in vars.$colors {
79
+ $color: list.nth($pair, 1);
80
+ &--#{$name} {
81
+ @include h.defineVar("select-border-color", h.useVar($name));
82
+ @include h.defineVar(
83
+ "select-arrow-background-image",
84
+ url(svg_arrow($color))
85
+ );
86
+ }
87
+ }
88
+
36
89
  &__input {
37
- -moz-appearance: none;
38
- -webkit-appearance: none;
90
+ // remove default appearance
91
+ @include h.removeAppearance;
92
+
39
93
  display: inline-block;
40
94
  position: relative;
41
- vertical-align: top;
42
- cursor: pointer;
43
- justify-content: flex-start;
44
- align-items: center;
45
-
46
- box-shadow: var(--#{$prefix}select-box-shadow, $select-box-shadow);
47
- background-color: var(
48
- --#{$prefix}select-background-color,
49
- $select-background-color
50
- );
51
- border-color: var(
52
- --#{$prefix}select-border-color,
53
- $select-border-color
54
- );
55
- border-width: var(
56
- --#{$prefix}select-border-width,
57
- $select-border-width
58
- );
59
- border-style: var(
60
- --#{$prefix}select-border-style,
61
- $select-border-style
62
- );
63
- border-radius: var(
64
- --#{$prefix}select-border-radius,
65
- $select-border-radius
66
- );
67
- color: var(--#{$prefix}select-color, $select-color);
68
- font-size: var(--#{$prefix}base-font-size, $base-font-size);
69
- height: var(--#{$prefix}select-height, $select-height);
70
- line-height: var(--#{$prefix}select-line-height, $select-line-height);
71
- padding: var(--#{$prefix}select-padding, $select-padding);
72
- margin: var(--#{$prefix}select-margin, $select-margin);
95
+
96
+ height: h.useVar("select-height");
97
+ padding: h.useVar("select-padding");
98
+
99
+ color: h.useVar("select-color");
100
+ font-size: h.useVar("select-font-size");
101
+ font-weight: h.useVar("select-font-weight");
102
+ line-height: h.useVar("select-line-height");
103
+
104
+ box-shadow: h.useVar("select-box-shadow");
105
+ background-color: h.useVar("select-background-color");
106
+ border-color: h.useVar("select-border-color");
107
+ border-style: h.useVar("select-border-style");
108
+ border-width: h.useVar("select-border-width");
109
+ border-radius: h.useVar("select-border-radius");
73
110
 
74
111
  &--arrowed {
75
- background-image: url(svg_arrow($select-arrow-color));
112
+ background-image: h.useVar("select-arrow-background-image");
76
113
  background-repeat: no-repeat;
77
- background-size: var(
78
- --#{$prefix}select-arrow-size,
79
- $select-arrow-size
80
- );
114
+ background-size: h.useVar("select-arrow-size");
81
115
  background-position: calc(
82
- 100% - var(
83
- --#{$prefix}select-arrow-size,
84
- $select-arrow-size
85
- ) *
86
- 0.5
116
+ 100% - h.useVar("select-arrow-size") * 0.5
87
117
  )
88
118
  center;
89
- padding-right: calc(
90
- var(--#{$prefix}select-arrow-size, $select-arrow-size) * 2
91
- );
92
- }
93
-
94
- &--placeholder {
95
- opacity: var(
96
- --#{$prefix}select-placeholder-opacity,
97
- $select-placeholder-opacity
98
- );
119
+ padding-right: calc(h.useVar("select-arrow-size") * 2);
99
120
  }
100
121
 
101
122
  &--iconspace-left {
102
- padding-left: var(--#{$prefix}select-height, $select-height);
123
+ padding-left: h.useVar("select-height");
103
124
  }
104
125
 
105
126
  &--iconspace-right {
106
- padding-right: var(--#{$prefix}select-height, $select-height);
107
- }
108
-
109
- &[disabled] {
110
- cursor: inherit;
127
+ padding-right: h.useVar("select-height");
111
128
  }
112
129
  }
113
130
 
114
- // size sizes
115
- @each $name, $value in $sizes {
116
- &--#{$name} .o-select__input {
117
- font-size: var(--#{$prefix}select-font-size-#{$name}, $value);
118
- }
119
- }
120
-
121
- // color variants
122
- @each $name, $pair in $colors {
123
- $color: list.nth($pair, 1);
124
-
125
- &--#{$name} .o-select__input {
126
- --#{$prefix}focus: #{createFocus($color)};
127
-
128
- border-color: var(--#{$prefix}variant-#{$name}, $color);
129
- }
131
+ &--rounded {
132
+ @include h.defineVar(
133
+ "select-border-radius",
134
+ h.useVar("select-border-radius-rounded")
135
+ );
130
136
  }
131
137
 
132
- &--rounded .o-select__input {
133
- border-radius: var(
134
- --#{$prefix}select-rounded-border-radius,
135
- $select-rounded-border-radius
136
- );
138
+ &--disabled {
139
+ @include h.disabled(h.useVar("select-disabled-opacity"));
137
140
  }
138
141
 
139
142
  &--expanded {
140
143
  width: 100%;
141
144
  flex-grow: 1;
145
+ flex-shrink: 1;
142
146
 
143
147
  .o-select__input {
144
148
  width: 100%;
@@ -147,7 +151,7 @@ $select-placeholder-opacity: var(--#{$prefix}base-disabled-opacity) !default;
147
151
 
148
152
  &--multiple .o-select__input {
149
153
  height: auto;
150
- padding: 0;
154
+ padding: h.useVar("select-multiple-padding");
151
155
  }
152
156
 
153
157
  &__icon-left,
@@ -155,8 +159,7 @@ $select-placeholder-opacity: var(--#{$prefix}base-disabled-opacity) !default;
155
159
  position: absolute;
156
160
  top: 0;
157
161
  height: 100%;
158
- width: var(--#{$prefix}select-height, $select-height);
159
- z-index: var(--#{$prefix}select-icon-zindex, $select-icon-zindex);
162
+ width: h.useVar("select-height");
160
163
  }
161
164
 
162
165
  &__icon-right {
@@ -166,14 +169,4 @@ $select-placeholder-opacity: var(--#{$prefix}base-disabled-opacity) !default;
166
169
  &__icon-left {
167
170
  left: 0;
168
171
  }
169
-
170
- // focus effect
171
- &:focus,
172
- &:focus-visible,
173
- &:focus-within {
174
- .o-select__input {
175
- box-shadow: 0 0 0 0.25rem var(--#{$prefix}focus);
176
- outline: none;
177
- }
178
- }
179
172
  }