@oruga-ui/theme-oruga 0.0.1 → 0.2.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 (75) hide show
  1. package/dist/oruga-full.css +530 -389
  2. package/dist/oruga-full.min.css +1 -1
  3. package/dist/oruga.css +364 -226
  4. package/dist/oruga.min.css +1 -1
  5. package/dist/scss/components/_autocomplete.scss +0 -62
  6. package/dist/scss/components/_carousel.scss +10 -6
  7. package/dist/scss/components/_checkbox.scss +4 -4
  8. package/dist/scss/components/_datepicker.scss +11 -11
  9. package/dist/scss/components/_dropdown.scss +144 -31
  10. package/dist/scss/components/_field.scss +8 -8
  11. package/dist/scss/components/_icon.scss +3 -1
  12. package/dist/scss/components/_input.scss +38 -40
  13. package/dist/scss/components/_menu.scss +68 -68
  14. package/dist/scss/components/_pagination.scss +22 -22
  15. package/dist/scss/components/_radio.scss +8 -10
  16. package/dist/scss/components/_sidebar.scss +150 -49
  17. package/dist/scss/components/_switch.scss +4 -2
  18. package/dist/scss/components/_table.scss +14 -10
  19. package/dist/scss/components/_taginput.scss +163 -0
  20. package/dist/scss/components/_tooltip.scss +422 -218
  21. package/dist/scss/oruga-common.scss +1 -1
  22. package/dist/scss/oruga.scss +15 -20
  23. package/dist/scss/utils/_helpers.scss +3 -7
  24. package/dist/scss/utils/_variables.scss +0 -1
  25. package/package.json +28 -28
  26. package/src/App.vue +1 -0
  27. package/src/assets/scss/components/_autocomplete.scss +0 -62
  28. package/src/assets/scss/components/_carousel.scss +10 -6
  29. package/src/assets/scss/components/_checkbox.scss +4 -4
  30. package/src/assets/scss/components/_datepicker.scss +11 -11
  31. package/src/assets/scss/components/_dropdown.scss +144 -31
  32. package/src/assets/scss/components/_field.scss +8 -8
  33. package/src/assets/scss/components/_icon.scss +3 -1
  34. package/src/assets/scss/components/_input.scss +38 -40
  35. package/src/assets/scss/components/_menu.scss +68 -68
  36. package/src/assets/scss/components/_pagination.scss +22 -22
  37. package/src/assets/scss/components/_radio.scss +8 -10
  38. package/src/assets/scss/components/_sidebar.scss +150 -49
  39. package/src/assets/scss/components/_switch.scss +4 -2
  40. package/src/assets/scss/components/_table.scss +14 -10
  41. package/src/assets/scss/components/_taginput.scss +163 -0
  42. package/src/assets/scss/components/_tooltip.scss +422 -218
  43. package/src/assets/scss/oruga-common.scss +1 -1
  44. package/src/assets/scss/oruga.scss +15 -20
  45. package/src/assets/scss/utils/_helpers.scss +3 -7
  46. package/src/assets/scss/utils/_variables.scss +0 -1
  47. package/src/components/Autocomplete.vue +7 -7
  48. package/src/components/Button.vue +28 -28
  49. package/src/components/Carousel.vue +19 -20
  50. package/src/components/Checkbox.vue +43 -42
  51. package/src/components/Collapse.vue +3 -1
  52. package/src/components/Datepicker.vue +7 -10
  53. package/src/components/Datetimepicker.vue +4 -4
  54. package/src/components/Dropdown.vue +146 -101
  55. package/src/components/Field.vue +35 -43
  56. package/src/components/Icon.vue +1 -1
  57. package/src/components/Input.vue +9 -1
  58. package/src/components/Loading.vue +13 -14
  59. package/src/components/Menu.vue +42 -0
  60. package/src/components/Modal.vue +59 -0
  61. package/src/components/Notification.vue +6 -6
  62. package/src/components/Pagination.vue +5 -6
  63. package/src/components/Radio.vue +55 -39
  64. package/src/components/Sidebar.vue +34 -17
  65. package/src/components/Skeleton.vue +43 -25
  66. package/src/components/Slider.vue +2 -2
  67. package/src/components/Steps.vue +13 -14
  68. package/src/components/Switch.vue +22 -19
  69. package/src/components/Table.vue +30 -37
  70. package/src/components/Tabs.vue +3 -2
  71. package/src/components/Taginput.vue +14 -14
  72. package/src/components/Timepicker.vue +4 -6
  73. package/src/components/Tooltip.vue +54 -16
  74. package/dist/scss/components/_inputitems.scss +0 -175
  75. package/src/assets/scss/components/_inputitems.scss +0 -175
@@ -19,33 +19,16 @@ $input-padding: $control-padding-vertical $control-padding-horizontal !default;
19
19
  $input-textarea-max-height: 600px !default;
20
20
  $input-textarea-min-height: 120px !default;
21
21
  $input-textarea-padding: 0.625em !default;
22
- // @deprecated
23
- $input-width: 100% !default;
24
- // @deprecated
25
- $input-max-width: 100% !default;
26
22
  /* @docs */
27
23
 
28
- .o-ctrl-input {
29
- display: block;
30
- position: relative;
31
-
32
- &--expanded {
33
- width: 100%;
34
- flex-grow: 1;
35
- flex-shrink: 1;
36
- }
37
- }
38
-
39
24
  .o-input {
40
25
  -moz-appearance: none;
41
26
  -webkit-appearance: none;
42
27
  display: inline-flex;
43
28
  position: relative;
44
29
  vertical-align: top;
45
- width: $input-width;
46
30
 
47
31
  @include avariable("box-shadow", "input-box-shadow", $input-box-shadow);
48
- @include avariable("max-width", "input-max-width", $input-max-width);
49
32
  @include avariable(
50
33
  "background-color",
51
34
  "input-background-color",
@@ -66,31 +49,18 @@ $input-max-width: 100% !default;
66
49
  @include avariable("padding", "input-padding", $input-padding);
67
50
  @include avariable("margin", "input-margin", $input-margin);
68
51
 
69
- &-iconspace-left {
70
- @include avariable("padding-left", "input-height", $input-height);
71
- }
52
+ &__wrapper {
53
+ display: inline-block;
54
+ position: relative;
72
55
 
73
- &-iconspace-right {
74
- @include avariable("padding-right", "input-height", $input-height);
75
- }
76
-
77
- &--rounded {
78
- @include avariable(
79
- "border-radius",
80
- "input-rounded-border-radius",
81
- $input-rounded-border-radius
82
- );
83
- }
56
+ &--expanded {
57
+ width: 100%;
58
+ flex-grow: 1;
59
+ flex-shrink: 1;
84
60
 
85
- @each $name, $value in $sizes {
86
- &--#{$name} {
87
- @include avariable("font-size", ("input-font-size-" + #{$name}), $value);
88
- }
89
- }
90
- @each $name, $pair in $colors {
91
- $color: list.nth($pair, 1);
92
- &--#{$name} {
93
- @include avariable("border-color", ("variant-" + #{$name}), $color);
61
+ .o-input {
62
+ width: 100%;
63
+ }
94
64
  }
95
65
  }
96
66
 
@@ -150,4 +120,32 @@ $input-max-width: 100% !default;
150
120
  &__icon-left {
151
121
  left: 0;
152
122
  }
123
+
124
+ &--iconspace-left {
125
+ @include avariable("padding-left", "input-height", $input-height);
126
+ }
127
+
128
+ &--iconspace-right {
129
+ @include avariable("padding-right", "input-height", $input-height);
130
+ }
131
+
132
+ &--rounded {
133
+ @include avariable(
134
+ "border-radius",
135
+ "input-rounded-border-radius",
136
+ $input-rounded-border-radius
137
+ );
138
+ }
139
+
140
+ @each $name, $value in $sizes {
141
+ &--#{$name} {
142
+ @include avariable("font-size", ("input-font-size-" + #{$name}), $value);
143
+ }
144
+ }
145
+ @each $name, $pair in $colors {
146
+ $color: list.nth($pair, 1);
147
+ &--#{$name} {
148
+ @include avariable("border-color", ("variant-" + #{$name}), $color);
149
+ }
150
+ }
153
151
  }
@@ -23,21 +23,21 @@ $menu-label-spacing: 1em !default;
23
23
  @include avariable("font-size", ("menu-font-size-" + #{$name}), $value);
24
24
  }
25
25
  }
26
- }
27
-
28
- .o-menu-list {
29
- @include avariable(
30
- "line-height",
31
- ("menu-list-line-height"),
32
- $menu-list-line-height
33
- );
34
26
 
35
- .o-menu-list,
36
- .o-menu-item__wrapper {
27
+ &__list,
28
+ &__item__wrapper {
37
29
  list-style: none;
38
30
  }
39
31
 
40
- .o-menu-item__submenu {
32
+ &__list {
33
+ @include avariable(
34
+ "line-height",
35
+ ("menu-list-line-height"),
36
+ $menu-list-line-height
37
+ );
38
+ }
39
+
40
+ &__item__submenu {
41
41
  @include avariable(
42
42
  "border-left",
43
43
  ("menu-list-border-left"),
@@ -54,71 +54,71 @@ $menu-label-spacing: 1em !default;
54
54
  $menu-nested-list-margin
55
55
  );
56
56
  }
57
- }
58
-
59
- .o-menu-label {
60
- @include avariable("color", ("menu-label-color"), $menu-label-color);
61
- @include avariable(
62
- "font-size",
63
- ("menu-label-font-size"),
64
- $menu-label-font-size
65
- );
66
- text-transform: uppercase;
67
57
 
68
- &:not(:first-child) {
58
+ &__label {
59
+ @include avariable("color", ("menu-label-color"), $menu-label-color);
69
60
  @include avariable(
70
- "margin-top",
71
- ("menu-label-spacing"),
72
- $menu-label-spacing
61
+ "font-size",
62
+ ("menu-label-font-size"),
63
+ $menu-label-font-size
73
64
  );
74
- }
65
+ text-transform: uppercase;
75
66
 
76
- &:not(:last-child) {
77
- @include avariable(
78
- "margin-bottom",
79
- ("menu-label-spacing"),
80
- $menu-label-spacing
81
- );
67
+ &:not(:first-child) {
68
+ @include avariable(
69
+ "margin-top",
70
+ ("menu-label-spacing"),
71
+ $menu-label-spacing
72
+ );
73
+ }
74
+
75
+ &:not(:last-child) {
76
+ @include avariable(
77
+ "margin-bottom",
78
+ ("menu-label-spacing"),
79
+ $menu-label-spacing
80
+ );
81
+ }
82
82
  }
83
- }
84
83
 
85
- .o-menu-item {
86
- @include avariable("color", ("menu-item-color"), $menu-item-color);
87
- @include avariable("padding", ("menu-item-padding"), $menu-item-padding);
88
- display: block;
89
- list-style: none;
84
+ &__item {
85
+ @include avariable("color", ("menu-item-color"), $menu-item-color);
86
+ @include avariable("padding", ("menu-item-padding"), $menu-item-padding);
87
+ display: block;
88
+ list-style: none;
90
89
 
91
- &:hover:not(&--active):not(&--disabled) {
92
- @include avariable(
93
- "color",
94
- ("menu-item-hover-color"),
95
- $menu-item-hover-color
96
- );
97
- @include avariable(
98
- "background-color",
99
- ("menu-item-hover-background-color"),
100
- $menu-item-hover-background-color
101
- );
102
- }
90
+ &:hover:not(&--active):not(&--disabled) {
91
+ @include avariable(
92
+ "color",
93
+ ("menu-item-hover-color"),
94
+ $menu-item-hover-color
95
+ );
96
+ @include avariable(
97
+ "background-color",
98
+ ("menu-item-hover-background-color"),
99
+ $menu-item-hover-background-color
100
+ );
101
+ }
103
102
 
104
- &--active {
105
- @include avariable(
106
- "color",
107
- ("menu-item-active-color"),
108
- $menu-item-active-color
109
- );
110
- @include avariable(
111
- "background-color",
112
- ("menu-item-active-background-color"),
113
- $menu-item-active-background-color
114
- );
115
- }
103
+ &--active {
104
+ @include avariable(
105
+ "color",
106
+ ("menu-item-active-color"),
107
+ $menu-item-active-color
108
+ );
109
+ @include avariable(
110
+ "background-color",
111
+ ("menu-item-active-background-color"),
112
+ $menu-item-active-background-color
113
+ );
114
+ }
116
115
 
117
- &--disabled {
118
- @include avariable(
119
- "color",
120
- ("menu-item-disabled-color"),
121
- $menu-item-disabled-color
122
- );
116
+ &--disabled {
117
+ @include avariable(
118
+ "color",
119
+ ("menu-item-disabled-color"),
120
+ $menu-item-disabled-color
121
+ );
122
+ }
123
123
  }
124
124
  }
@@ -163,6 +163,28 @@ $pagination-rounded-border-radius: $base-rounded-border-radius !default;
163
163
  );
164
164
  }
165
165
 
166
+ &__next {
167
+ order: 3;
168
+ }
169
+
170
+ &__previous {
171
+ order: 2;
172
+ }
173
+
174
+ &__list {
175
+ align-items: center;
176
+ display: flex;
177
+ text-align: center;
178
+ list-style: none;
179
+ flex-wrap: wrap;
180
+ margin: 0;
181
+ padding: 0;
182
+ flex-grow: 1;
183
+ flex-shrink: 1;
184
+ justify-content: flex-start;
185
+ order: 1;
186
+ }
187
+
166
188
  &--simple {
167
189
  justify-content: normal;
168
190
  }
@@ -201,28 +223,6 @@ $pagination-rounded-border-radius: $base-rounded-border-radius !default;
201
223
  }
202
224
  }
203
225
 
204
- &__next {
205
- order: 3;
206
- }
207
-
208
- &__previous {
209
- order: 2;
210
- }
211
-
212
- &__list {
213
- align-items: center;
214
- display: flex;
215
- text-align: center;
216
- list-style: none;
217
- flex-wrap: wrap;
218
- margin: 0;
219
- padding: 0;
220
- flex-grow: 1;
221
- flex-shrink: 1;
222
- justify-content: flex-start;
223
- order: 1;
224
- }
225
-
226
226
  &--mobile {
227
227
  justify-content: flex-start;
228
228
  flex-wrap: wrap;
@@ -11,8 +11,6 @@ $radio-size: 1rem !default;
11
11
  $radio-line-height: 1.25 !default;
12
12
  /* @docs */
13
13
 
14
- $HALF_MARGIN_EXPRESSION: "calc($margin * 0.5)";
15
-
16
14
  @function svg_radio_fill($color, $background-color: "transparent") {
17
15
  $start: '<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">';
18
16
  $content: '<g transform="matrix(4.38544,0,0,4.38544,-94.4336,-58.9876)"><path d="M32.935,13.679C39.102,13.679 44.108,18.685 44.108,24.852C44.108,31.019 39.102,36.025 32.935,36.025C26.768,36.025 21.761,31.019 21.761,24.852C21.761,18.685 26.768,13.679 32.935,13.679ZM32.798,17.05C37.105,17.05 40.601,20.546 40.601,24.852C40.601,29.158 37.105,32.655 32.798,32.655C28.492,32.655 24.996,29.158 24.996,24.852C24.996,20.546 28.492,17.05 32.798,17.05Z" style="fill:#{$color};"/><circle cx="32.84" cy="24.8" r="7.9" style="fill:#{$background-color};"/></g>';
@@ -41,7 +39,7 @@ $HALF_MARGIN_EXPRESSION: "calc($margin * 0.5)";
41
39
  $radio-margin-sibiling
42
40
  );
43
41
 
44
- &__check {
42
+ &__input {
45
43
  @include avariable("width", "radio-size", $radio-size);
46
44
  @include avariable("height", "radio-size", $radio-size);
47
45
  margin: 0;
@@ -104,17 +102,17 @@ $HALF_MARGIN_EXPRESSION: "calc($margin * 0.5)";
104
102
  $color: list.nth($pair, 1);
105
103
  $color-invert: list.nth($pair, 2);
106
104
  &--#{$name} {
107
- .o-radio__check {
105
+ .o-radio__input {
108
106
  background-image: url(svg_radio_empty(
109
107
  variable(("variant-" + #{$name}), $color)
110
108
  ));
111
- }
112
109
 
113
- .o-radio__check--checked {
114
- background-image: url(svg_radio_fill(
115
- variable(("variant-" + #{$name}), $color),
116
- variable(("variant-invert-" + #{$name}), $color-invert)
117
- ));
110
+ &--checked {
111
+ background-image: url(svg_radio_fill(
112
+ variable(("variant-" + #{$name}), $color),
113
+ variable(("variant-invert-" + #{$name}), $color-invert)
114
+ ));
115
+ }
118
116
  }
119
117
  }
120
118
  }
@@ -4,25 +4,38 @@
4
4
  $sidebar-overlay: hsla(0, 0%, 4%, 0.86) !default;
5
5
  $sidebar-box-shadow: 5px 0px 13px 3px rgba($black, 0.1) !default;
6
6
  $sidebar-content-background-color: $grey-lighter !default;
7
- $sidebar-mobile-width: 80px !default;
7
+ $sidebar-border-radius: $base-border-radius !default;
8
+ $sidebar-border-width: 1px !default;
9
+ $sidebar-border-color: rgba(0, 0, 0, 0.175) !default;
10
+ $sidebar-reduced-width: 80px !default;
8
11
  $sidebar-width: 260px !default;
9
- $sidebar-zindex: 38 !default;
12
+ $sidebar-zindex: 100 !default;
10
13
  /* @docs */
11
14
 
12
15
  .o-side {
16
+ position: fixed;
17
+ top: 0;
18
+ left: 0;
19
+ height: 100%;
20
+ width: 100%;
21
+ display: none;
22
+
23
+ @include avariable("z-index", "sidebar-zindex", $sidebar-zindex);
24
+
13
25
  &__content {
26
+ position: absolute;
27
+
14
28
  @include avariable(
15
29
  "background-color",
16
30
  "sidebar-content-background-color",
17
31
  $sidebar-content-background-color
18
32
  );
19
- @include avariable("box-shadow", "sidebar-box-shadow", $sidebar-box-shadow);
20
- @include avariable("width", "sidebar-width", $sidebar-width);
21
- @include evariable(
22
- "z-index",
23
- "calc($z-index + 1)",
24
- eparam("$z-index", variable("sidebar-zindex", $sidebar-zindex))
33
+ @include avariable(
34
+ "border-radius",
35
+ "sidebar-border-radius",
36
+ $sidebar-border-radius
25
37
  );
38
+ @include avariable("box-shadow", "sidebar-box-shadow", $sidebar-box-shadow);
26
39
 
27
40
  @each $name, $pair in $colors {
28
41
  $color: list.nth($pair, 1);
@@ -31,56 +44,134 @@ $sidebar-zindex: 38 !default;
31
44
  }
32
45
  }
33
46
 
34
- &--fixed {
35
- position: fixed;
36
- left: 0;
37
- top: 0;
47
+ // position
48
+ &--right,
49
+ &--left {
50
+ @include avariable(
51
+ "transition-duration",
52
+ "transition-duration",
53
+ $speed-slow
54
+ );
55
+ @include avariable(
56
+ "transition-timing-function",
57
+ "transition-timing",
58
+ $easing
59
+ );
60
+ @include avariable("width", "sidebar-width", $sidebar-width);
61
+ transition: width;
38
62
  }
39
63
 
40
- &--absolute {
41
- position: absolute;
42
- left: 0;
43
- top: 0;
64
+ &--top,
65
+ &--bottom {
66
+ @include avariable(
67
+ "transition-duration",
68
+ "transition-duration",
69
+ $speed-slow
70
+ );
71
+ @include avariable(
72
+ "transition-timing-function",
73
+ "transition-timing",
74
+ $easing
75
+ );
76
+ @include avariable("height", "sidebar-width", $sidebar-width);
77
+ transition: height;
44
78
  }
45
79
 
46
80
  &--right {
47
81
  left: auto;
48
82
  right: 0;
83
+
84
+ @include evariable(
85
+ "border-left",
86
+ "$width solid $color",
87
+ eparam(
88
+ "$width",
89
+ variable("sidebar-border-width", $sidebar-border-width)
90
+ ),
91
+ eparam(
92
+ "$color",
93
+ variable("sidebar-border-color", $sidebar-border-color)
94
+ )
95
+ );
49
96
  }
50
97
 
51
- &--mini {
52
- @include avariable(
53
- "width",
54
- "sidebar-mobile-width",
55
- $sidebar-mobile-width
98
+ &--left {
99
+ left: 0;
100
+ right: auto;
101
+
102
+ @include evariable(
103
+ "border-right",
104
+ "$width solid $color",
105
+ eparam(
106
+ "$width",
107
+ variable("sidebar-border-width", $sidebar-border-width)
108
+ ),
109
+ eparam(
110
+ "$color",
111
+ variable("sidebar-border-color", $sidebar-border-color)
112
+ )
56
113
  );
57
114
  }
58
115
 
59
- &--mini-expand {
60
- &:hover {
61
- transition: width;
62
-
63
- @include avariable(
64
- "transition-duration",
65
- "transition-duration",
66
- $speed-slow
67
- );
68
- @include avariable(
69
- "transition-timing-function",
70
- "transition-timing",
71
- $easing
72
- );
73
- @include avariable("width", "sidebar-width", $sidebar-width);
74
- }
116
+ &--top {
117
+ top: 0;
118
+ bottom: auto;
119
+
120
+ @include evariable(
121
+ "border-bottom",
122
+ "$width solid $color",
123
+ eparam(
124
+ "$width",
125
+ variable("sidebar-border-width", $sidebar-border-width)
126
+ ),
127
+ eparam(
128
+ "$color",
129
+ variable("sidebar-border-color", $sidebar-border-color)
130
+ )
131
+ );
75
132
  }
76
133
 
77
- &--static {
78
- position: static;
134
+ &--bottom {
135
+ top: auto;
136
+ bottom: 0;
137
+
138
+ @include evariable(
139
+ "border-top",
140
+ "$width solid $color",
141
+ eparam(
142
+ "$width",
143
+ variable("sidebar-border-width", $sidebar-border-width)
144
+ ),
145
+ eparam(
146
+ "$color",
147
+ variable("sidebar-border-color", $sidebar-border-color)
148
+ )
149
+ );
79
150
  }
80
151
 
81
- &--absolute,
82
- &--static {
83
- transition: width $speed-slow $easing;
152
+ &--reduced {
153
+ @include avariable(
154
+ "width",
155
+ "sidebar-reduced-width",
156
+ $sidebar-reduced-width
157
+ );
158
+
159
+ &-expand {
160
+ &:hover {
161
+ @include avariable(
162
+ "transition-duration",
163
+ "transition-duration",
164
+ $speed-slow
165
+ );
166
+ @include avariable(
167
+ "transition-timing-function",
168
+ "transition-timing",
169
+ $easing
170
+ );
171
+ @include avariable("width", "sidebar-width", $sidebar-width);
172
+ transition: width;
173
+ }
174
+ }
84
175
  }
85
176
 
86
177
  &--fullwidth {
@@ -91,22 +182,32 @@ $sidebar-zindex: 38 !default;
91
182
  &--fullheight {
92
183
  height: 100%;
93
184
  max-height: 100%;
94
- overflow: hidden;
95
- overflow-y: auto;
96
- display: flex;
97
- flex-direction: column;
98
- align-content: stretch;
99
185
  }
100
186
  }
101
187
 
102
188
  &__overlay {
189
+ position: absolute;
103
190
  bottom: 0;
104
191
  left: 0;
105
192
  right: 0;
106
193
  top: 0;
107
- position: fixed;
108
194
 
109
195
  @include avariable("background", "sidebar-overlay", $sidebar-overlay);
110
- @include avariable("z-index", "sidebar-zindex", $sidebar-zindex);
196
+ }
197
+
198
+ &--active {
199
+ display: block;
200
+ }
201
+
202
+ &--inline {
203
+ position: relative;
204
+
205
+ .o-side__overlay {
206
+ position: absolute;
207
+ }
208
+
209
+ .o-side__content {
210
+ position: relative;
211
+ }
111
212
  }
112
213
  }
@@ -5,8 +5,10 @@ $switch-active-background-color: $primary !default;
5
5
  $switch-action-background: #f5f5f5 !default;
6
6
  $switch-background: $grey-light !default;
7
7
  $switch-border-radius: $base-border-radius !default;
8
- $switch-box-shadow: 0 3px 1px 0 rgba(0, 0, 0, 0.05),
9
- 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.05) !default;
8
+ $switch-box-shadow:
9
+ 0 3px 1px 0 rgba(0, 0, 0, 0.05),
10
+ 0 2px 2px 0 rgba(0, 0, 0, 0.1),
11
+ 0 3px 3px 0 rgba(0, 0, 0, 0.05) !default;
10
12
  $switch-disabled-opacity: $base-disabled-opacity !default;
11
13
  $switch-margin-label: 0.5em !default;
12
14
  $switch-padding: 0.2em !default;