vft 0.0.146 → 0.0.148

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 (141) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/app-components/form/form-label-wrap.d.ts +2 -2
  4. package/es/components/button/use-button.js +3 -3
  5. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  6. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  7. package/es/components/date-picker/panel-utils.d.ts +8 -8
  8. package/es/components/index.js +113 -113
  9. package/es/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  10. package/es/components/table/index.d.ts +3 -0
  11. package/es/components/table/table.vue.d.ts +2 -0
  12. package/es/components/table/table.vue2.js +143 -145
  13. package/es/components/table/use/use-table.js +4 -1
  14. package/es/components/verify-code/index.d.ts +5 -1
  15. package/es/components/verify-code/verify-code.vue.d.ts +5 -1
  16. package/es/index.js +113 -113
  17. package/es/package.json.d.ts +11 -11
  18. package/es/package.json.js +1 -1
  19. package/lib/app-components/form/form-label-wrap.d.ts +2 -2
  20. package/lib/components/button/use-button.cjs +1 -1
  21. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  22. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  23. package/lib/components/date-picker/panel-utils.d.ts +8 -8
  24. package/lib/components/index.cjs +1 -1
  25. package/lib/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  26. package/lib/components/table/index.d.ts +3 -0
  27. package/lib/components/table/table.vue.d.ts +2 -0
  28. package/lib/components/table/table.vue2.cjs +1 -1
  29. package/lib/components/table/use/use-table.cjs +1 -1
  30. package/lib/components/verify-code/index.d.ts +5 -1
  31. package/lib/components/verify-code/verify-code.vue.d.ts +5 -1
  32. package/lib/index.cjs +1 -1
  33. package/lib/package.json.cjs +1 -1
  34. package/lib/package.json.d.ts +11 -11
  35. package/package.json +15 -15
  36. package/tags.json +1 -1
  37. package/theme-style/index.css +1 -1
  38. package/theme-style/src/autocomplete.scss +20 -20
  39. package/theme-style/src/badge.scss +8 -11
  40. package/theme-style/src/breadcrumb.scss +2 -0
  41. package/theme-style/src/button-group.scss +29 -22
  42. package/theme-style/src/calendar.scss +13 -12
  43. package/theme-style/src/carousel-item.scss +2 -0
  44. package/theme-style/src/carousel.scss +7 -7
  45. package/theme-style/src/cascader-panel.scss +28 -28
  46. package/theme-style/src/cascader.scss +63 -63
  47. package/theme-style/src/check-tag.scss +5 -5
  48. package/theme-style/src/checkbox-button.scss +13 -14
  49. package/theme-style/src/checkbox.scss +38 -37
  50. package/theme-style/src/clamp-toggle.scss +1 -0
  51. package/theme-style/src/col.scss +2 -5
  52. package/theme-style/src/collapse.scss +10 -5
  53. package/theme-style/src/color/index.scss +0 -1
  54. package/theme-style/src/common/popup.scss +2 -0
  55. package/theme-style/src/dark/css-vars.scss +0 -1
  56. package/theme-style/src/dark/var.scss +1 -1
  57. package/theme-style/src/date-picker/date-range-picker.scss +22 -22
  58. package/theme-style/src/date-picker/date-table.scss +5 -0
  59. package/theme-style/src/date-picker/month-table.scss +7 -0
  60. package/theme-style/src/date-picker/picker-panel.scss +15 -14
  61. package/theme-style/src/date-picker/picker.scss +35 -34
  62. package/theme-style/src/date-picker/year-table.scss +1 -0
  63. package/theme-style/src/date-time-select.scss +7 -6
  64. package/theme-style/src/drawer.scss +15 -13
  65. package/theme-style/src/dropdown.scss +45 -49
  66. package/theme-style/src/footer-layout.scss +4 -4
  67. package/theme-style/src/footer.scss +2 -2
  68. package/theme-style/src/header.scss +2 -2
  69. package/theme-style/src/image.scss +5 -0
  70. package/theme-style/src/md/figure.scss +0 -4
  71. package/theme-style/src/md-vue-playground.scss +2 -2
  72. package/theme-style/src/message-box.scss +28 -29
  73. package/theme-style/src/mixins/_button.scss +1 -1
  74. package/theme-style/src/mixins/_col.scss +8 -7
  75. package/theme-style/src/notification.scss +19 -18
  76. package/theme-style/src/option-group.scss +0 -1
  77. package/theme-style/src/option-item.scss +0 -1
  78. package/theme-style/src/option.scss +0 -1
  79. package/theme-style/src/overlay.scss +3 -3
  80. package/theme-style/src/page-wrapper.scss +1 -1
  81. package/theme-style/src/popover.scss +2 -1
  82. package/theme-style/src/popper.scss +44 -42
  83. package/theme-style/src/radio-button.scss +22 -23
  84. package/theme-style/src/radio.scss +43 -42
  85. package/theme-style/src/rate.scss +36 -38
  86. package/theme-style/src/result.scss +8 -7
  87. package/theme-style/src/row.scss +6 -0
  88. package/theme-style/src/scrollbar.scss +1 -1
  89. package/theme-style/src/search.scss +4 -4
  90. package/theme-style/src/select/common.scss +1 -0
  91. package/theme-style/src/select-dropdown-v2.scss +5 -5
  92. package/theme-style/src/select-dropdown.scss +0 -1
  93. package/theme-style/src/skeleton.scss +4 -2
  94. package/theme-style/src/slider.scss +16 -15
  95. package/theme-style/src/spinner.scss +3 -0
  96. package/theme-style/src/step.scss +5 -5
  97. package/theme-style/src/tag.scss +77 -76
  98. package/theme-style/src/timeline-item.scss +15 -12
  99. package/theme-style/src/transfer.scss +6 -2
  100. package/theme-style/src/var.scss +0 -1
  101. package/theme-style/src/virtual-list.scss +7 -2
  102. package/theme-style/vft-autocomplete.css +1 -1
  103. package/theme-style/vft-badge.css +1 -1
  104. package/theme-style/vft-button-group.css +1 -1
  105. package/theme-style/vft-calendar.css +1 -1
  106. package/theme-style/vft-carousel.css +1 -1
  107. package/theme-style/vft-cascader-panel.css +1 -1
  108. package/theme-style/vft-cascader.css +1 -1
  109. package/theme-style/vft-check-tag.css +1 -1
  110. package/theme-style/vft-checkbox-button.css +1 -1
  111. package/theme-style/vft-checkbox.css +1 -1
  112. package/theme-style/vft-col.css +1 -1
  113. package/theme-style/vft-collapse.css +1 -1
  114. package/theme-style/vft-date-picker.css +1 -1
  115. package/theme-style/vft-date-time-select.css +1 -1
  116. package/theme-style/vft-drawer.css +1 -1
  117. package/theme-style/vft-dropdown.css +1 -1
  118. package/theme-style/vft-footer-layout.css +1 -1
  119. package/theme-style/vft-footer.css +1 -1
  120. package/theme-style/vft-header.css +1 -1
  121. package/theme-style/vft-md-vue-playground.css +1 -1
  122. package/theme-style/vft-message-box.css +1 -1
  123. package/theme-style/vft-notification.css +1 -1
  124. package/theme-style/vft-page-wrapper.css +1 -1
  125. package/theme-style/vft-popover.css +1 -1
  126. package/theme-style/vft-popper.css +1 -1
  127. package/theme-style/vft-radio-button.css +1 -1
  128. package/theme-style/vft-radio.css +1 -1
  129. package/theme-style/vft-rate.css +1 -1
  130. package/theme-style/vft-result.css +1 -1
  131. package/theme-style/vft-search.css +1 -1
  132. package/theme-style/vft-select-dropdown-v2.css +1 -1
  133. package/theme-style/vft-select.css +1 -1
  134. package/theme-style/vft-slider.css +1 -1
  135. package/theme-style/vft-step.css +1 -1
  136. package/theme-style/vft-tag.css +1 -1
  137. package/theme-style/vft-time-picker.css +1 -1
  138. package/theme-style/vft-time-select.css +1 -1
  139. package/theme-style/vft-timeline-item.css +1 -1
  140. package/theme-style/vft-transfer.css +1 -1
  141. package/web-types.json +1 -1
@@ -9,6 +9,12 @@ $directions: rtl, ltr, ttb, btt;
9
9
  }
10
10
 
11
11
  @include b(drawer) {
12
+ @each $direction in $directions {
13
+ .#{$direction} {
14
+ transform: translate(0, 0);
15
+ }
16
+ }
17
+
12
18
  position: absolute;
13
19
  box-sizing: border-box;
14
20
  background-color: getCssVar('drawer', 'bg-color');
@@ -16,15 +22,16 @@ $directions: rtl, ltr, ttb, btt;
16
22
  flex-direction: column;
17
23
  box-shadow: getCssVar('box-shadow', 'dark');
18
24
  overflow: hidden;
19
-
20
25
  transition: all getCssVar('transition-duration');
21
26
 
22
- @each $direction in $directions {
23
- .#{$direction} {
24
- transform: translate(0, 0);
25
- }
27
+ @include e(footer) {
28
+ padding: getCssVar('drawer-padding-primary');
29
+ padding-top: 10px;
30
+ text-align: right;
26
31
  }
27
32
 
33
+ @include icon-close;
34
+
28
35
  &__sr-focus:focus {
29
36
  outline: none !important;
30
37
  }
@@ -36,6 +43,7 @@ $directions: rtl, ltr, ttb, btt;
36
43
  margin-bottom: 32px;
37
44
  padding: getCssVar('drawer-padding-primary');
38
45
  padding-bottom: 0;
46
+
39
47
  & > :first-child {
40
48
  flex: 1;
41
49
  }
@@ -48,14 +56,9 @@ $directions: rtl, ltr, ttb, btt;
48
56
  font-size: 1rem;
49
57
  }
50
58
 
51
- @include e(footer) {
52
- padding: getCssVar('drawer-padding-primary');
53
- padding-top: 10px;
54
- text-align: right;
55
- }
56
-
57
59
  &__close-btn {
58
60
  display: inline-flex;
61
+
59
62
  &:focus,
60
63
  &:hover {
61
64
  i {
@@ -69,6 +72,7 @@ $directions: rtl, ltr, ttb, btt;
69
72
  flex: 1;
70
73
  padding: getCssVar('drawer-padding-primary');
71
74
  overflow: auto;
75
+
72
76
  & > * {
73
77
  box-sizing: border-box;
74
78
  }
@@ -103,8 +107,6 @@ $directions: rtl, ltr, ttb, btt;
103
107
  &.btt {
104
108
  bottom: 0;
105
109
  }
106
-
107
- @include icon-close;
108
110
  }
109
111
 
110
112
  .#{$namespace}-drawer-fade {
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'mixins/var' as *;
5
4
  @use 'common/var' as *;
@@ -13,7 +12,6 @@ $dropdown-item-line-height: map.merge(
13
12
  ),
14
13
  $dropdown-item-line-height
15
14
  );
16
-
17
15
  $dropdown-item-padding: () !default;
18
16
  $dropdown-item-padding: map.merge(
19
17
  (
@@ -23,7 +21,6 @@ $dropdown-item-padding: map.merge(
23
21
  ),
24
22
  $dropdown-item-padding
25
23
  );
26
-
27
24
  $dropdown-item-divided-margin: () !default;
28
25
  $dropdown-item-divided-margin: map.merge(
29
26
  (
@@ -33,14 +30,18 @@ $dropdown-item-divided-margin: map.merge(
33
30
  ),
34
31
  $dropdown-item-divided-margin
35
32
  );
36
-
37
33
  $dropdown-caret-width: () !default;
38
34
  $dropdown-caret-width: map.merge($common-component-size, $dropdown-caret-width);
39
-
40
35
  $dropdown-divider-width: 1px !default;
41
36
 
42
37
  @include b(dropdown) {
43
- @include set-component-css-var('dropdown', $dropdown);
38
+ @each $size in (large, small) {
39
+ @include m($size) {
40
+ .#{$namespace}-dropdown__caret-button {
41
+ width: map.get($dropdown-caret-width, $size);
42
+ }
43
+ }
44
+ }
44
45
 
45
46
  display: inline-flex;
46
47
  position: relative;
@@ -49,10 +50,7 @@ $dropdown-divider-width: 1px !default;
49
50
  line-height: 1;
50
51
  vertical-align: top;
51
52
 
52
- &.is-disabled {
53
- color: getCssVar('text', 'placeholder-color');
54
- cursor: not-allowed;
55
- }
53
+ @include set-component-css-var('dropdown', $dropdown);
56
54
 
57
55
  @include e(popper) {
58
56
  @include set-component-css-var('dropdown', $dropdown);
@@ -65,14 +63,6 @@ $dropdown-divider-width: 1px !default;
65
63
  getCssVar('dropdown-menu-box-shadow')
66
64
  );
67
65
 
68
- .#{$namespace}-dropdown-menu {
69
- border: none;
70
- }
71
-
72
- #{& + '-selfdefine'} {
73
- outline: none;
74
- }
75
-
76
66
  @include b(scrollbar__bar) {
77
67
  z-index: calc(#{getCssVar('dropdown', 'menu-index')} + 1);
78
68
  }
@@ -83,6 +73,21 @@ $dropdown-divider-width: 1px !default;
83
73
  margin: 0;
84
74
  box-sizing: border-box;
85
75
  }
76
+
77
+ .#{$namespace}-dropdown-menu {
78
+ border: none;
79
+ }
80
+
81
+ #{& + '-selfdefine'} {
82
+ outline: none;
83
+ }
84
+ }
85
+
86
+ @include icon-arrow-down;
87
+
88
+ &.is-disabled {
89
+ color: getCssVar('text', 'placeholder-color');
90
+ cursor: not-allowed;
86
91
  }
87
92
 
88
93
  & .#{$namespace}-dropdown__caret-button {
@@ -124,16 +129,6 @@ $dropdown-divider-width: 1px !default;
124
129
  // 自定义
125
130
  outline: none;
126
131
  }
127
-
128
- @each $size in (large, small) {
129
- @include m($size) {
130
- .#{$namespace}-dropdown__caret-button {
131
- width: map.get($dropdown-caret-width, $size);
132
- }
133
- }
134
- }
135
-
136
- @include icon-arrow-down;
137
132
  }
138
133
 
139
134
  $dropdown-menu-padding-vertical: () !default;
@@ -147,6 +142,22 @@ $dropdown-menu-padding-vertical: map.merge(
147
142
  );
148
143
 
149
144
  @include b(dropdown-menu) {
145
+ @each $size in (large, small) {
146
+ @include m($size) {
147
+ padding: map.get($dropdown-menu-padding-vertical, $size)-$border-width 0;
148
+
149
+ @include e(item) {
150
+ padding: map.get($dropdown-item-padding, $size);
151
+ line-height: map.get($dropdown-item-line-height, $size);
152
+ font-size: map.get($input-font-size, $size);
153
+
154
+ @include m(divided) {
155
+ margin: map.get($dropdown-item-divided-margin, $size);
156
+ }
157
+ }
158
+ }
159
+ }
160
+
150
161
  position: relative;
151
162
  top: 0;
152
163
  left: 0;
@@ -171,14 +182,6 @@ $dropdown-menu-padding-vertical: map.merge(
171
182
  color: getCssVar('text', 'regular-color');
172
183
  cursor: pointer;
173
184
  outline: none;
174
- &:not(.is-disabled):focus {
175
- background-color: getCssVar('dropdown-menuItem-hover-fill');
176
- color: getCssVar('dropdown-menuItem-hover-color');
177
- }
178
-
179
- i {
180
- margin-right: 5px;
181
- }
182
185
 
183
186
  @include m(divided) {
184
187
  margin: map.get($dropdown-item-divided-margin, 'default');
@@ -189,21 +192,14 @@ $dropdown-menu-padding-vertical: map.merge(
189
192
  cursor: not-allowed;
190
193
  color: getCssVar('text-disabled-color');
191
194
  }
192
- }
193
-
194
- @each $size in (large, small) {
195
- @include m($size) {
196
- padding: map.get($dropdown-menu-padding-vertical, $size)-$border-width 0;
197
195
 
198
- @include e(item) {
199
- padding: map.get($dropdown-item-padding, $size);
200
- line-height: map.get($dropdown-item-line-height, $size);
201
- font-size: map.get($input-font-size, $size);
196
+ &:not(.is-disabled):focus {
197
+ background-color: getCssVar('dropdown-menuItem-hover-fill');
198
+ color: getCssVar('dropdown-menuItem-hover-color');
199
+ }
202
200
 
203
- @include m(divided) {
204
- margin: map.get($dropdown-item-divided-margin, $size);
205
- }
206
- }
201
+ i {
202
+ margin-right: 5px;
207
203
  }
208
204
  }
209
205
  }
@@ -16,10 +16,6 @@ $name: footer-layout;
16
16
  justify-content: space-between;
17
17
  align-items: center;
18
18
 
19
- &.#{$namespace}-footer {
20
- height: getCompCssVar('height');
21
- }
22
-
23
19
  @include e(left) {
24
20
  min-width: getCompCssVar('left-min-width');
25
21
  }
@@ -27,4 +23,8 @@ $name: footer-layout;
27
23
  @include e(right) {
28
24
  min-width: getCompCssVar('right-min-width');
29
25
  }
26
+
27
+ &.#{$namespace}-footer {
28
+ height: getCompCssVar('height');
29
+ }
30
30
  }
@@ -3,9 +3,9 @@
3
3
  @use 'common/var' as *;
4
4
 
5
5
  @include b(footer) {
6
- @include set-component-css-var('footer', $footer);
7
-
8
6
  box-sizing: border-box;
9
7
  flex-shrink: 0;
10
8
  height: getCssVar('footer-height');
9
+
10
+ @include set-component-css-var('footer', $footer);
11
11
  }
@@ -3,9 +3,9 @@
3
3
  @use 'common/var' as *;
4
4
 
5
5
  @include b(header) {
6
- @include set-component-css-var('header', $header);
7
-
8
6
  box-sizing: border-box;
9
7
  flex-shrink: 0;
10
8
  height: getCssVar('header-height');
9
+
10
+ @include set-component-css-var('header', $header);
11
11
  }
@@ -14,8 +14,10 @@
14
14
 
15
15
  @include e(inner) {
16
16
  @extend %size !optional;
17
+
17
18
  vertical-align: top;
18
19
  opacity: 1;
20
+
19
21
  @include when(loading) {
20
22
  opacity: 0;
21
23
  }
@@ -23,6 +25,7 @@
23
25
 
24
26
  @include e(wrapper) {
25
27
  @extend %size !optional;
28
+
26
29
  position: absolute;
27
30
  top: 0;
28
31
  left: 0;
@@ -30,11 +33,13 @@
30
33
 
31
34
  @include e(placeholder) {
32
35
  @extend %size !optional;
36
+
33
37
  background: getCssVar('fill-color', 'light');
34
38
  }
35
39
 
36
40
  @include e(error) {
37
41
  @extend %size !optional;
42
+
38
43
  display: flex;
39
44
  justify-content: center;
40
45
  align-items: center;
@@ -1,14 +1,10 @@
1
1
  figure {
2
2
  position: relative;
3
-
4
3
  display: flex;
5
4
  flex-direction: column;
6
-
7
5
  width: auto;
8
6
  margin: 1rem auto;
9
-
10
7
  text-align: center;
11
-
12
8
  transition: transform var(--t-transform, 0.3s ease);
13
9
 
14
10
  img {
@@ -824,7 +824,7 @@ $name: md-vue-playground;
824
824
  background-color: transparent;
825
825
  }
826
826
 
827
- .CodeMirrorwrapper ::-moz-selection {
827
+ .CodeMirrorwrapper ::selection {
828
828
  background-color: transparent;
829
829
  }
830
830
 
@@ -940,7 +940,7 @@ $name: md-vue-playground;
940
940
  }
941
941
 
942
942
  .CodeMirror-line::selection,
943
- .CodeMirror-line > span::-moz-selection,
943
+ .CodeMirror-line > span::selection,
944
944
  .CodeMirror-line > span > span::-moz-selection {
945
945
  background: var(--selected-bg);
946
946
  }
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'mixins/var' as *;
5
4
  @use 'common/var' as *;
@@ -10,26 +9,6 @@
10
9
  }
11
10
 
12
11
  @include b(message-box) {
13
- display: inline-block;
14
- max-width: getCssVar('messagebox-width');
15
- width: 100%;
16
- padding-bottom: 10px;
17
- vertical-align: middle;
18
- background-color: getCssVar('bg-color');
19
- border-radius: getCssVar('messagebox-border-radius');
20
- border: 1px solid getCssVar('border-color-lighter');
21
- font-size: getCssVar('messagebox-font-size');
22
- box-shadow: getCssVar('box-shadow-light');
23
- text-align: left;
24
- overflow: hidden;
25
- backface-visibility: hidden;
26
- // To avoid small screen overflowing, see #11919
27
- box-sizing: border-box;
28
-
29
- &:focus {
30
- outline: none !important;
31
- }
32
-
33
12
  @at-root .#{$namespace}-overlay.is-message-box {
34
13
  .#{$namespace}-overlay-message-box {
35
14
  text-align: center;
@@ -51,6 +30,22 @@
51
30
  }
52
31
  }
53
32
 
33
+ display: inline-block;
34
+ max-width: getCssVar('messagebox-width');
35
+ width: 100%;
36
+ padding-bottom: 10px;
37
+ vertical-align: middle;
38
+ background-color: getCssVar('bg-color');
39
+ border-radius: getCssVar('messagebox-border-radius');
40
+ border: 1px solid getCssVar('border-color-lighter');
41
+ font-size: getCssVar('messagebox-font-size');
42
+ box-shadow: getCssVar('box-shadow-light');
43
+ text-align: left;
44
+ overflow: hidden;
45
+ backface-visibility: hidden;
46
+ // To avoid small screen overflowing, see #11919
47
+ box-sizing: border-box;
48
+
54
49
  @include when(draggable) {
55
50
  @include e(header) {
56
51
  cursor: move;
@@ -122,6 +117,14 @@
122
117
  }
123
118
 
124
119
  @include e(status) {
120
+ @each $type in (success, info, warning, error) {
121
+ &.#{$namespace}-message-box-icon--#{$type} {
122
+ color: getCssVar('messagebox-color');
123
+
124
+ @include css-var-from-global(('messagebox', 'color'), ('color', $type));
125
+ }
126
+ }
127
+
125
128
  position: absolute;
126
129
  top: 50%;
127
130
  transform: translateY(-50%);
@@ -142,13 +145,6 @@
142
145
  padding-right: 12px;
143
146
  word-break: break-word;
144
147
  }
145
-
146
- @each $type in (success, info, warning, error) {
147
- &.#{$namespace}-message-box-icon--#{$type} {
148
- @include css-var-from-global(('messagebox', 'color'), ('color', $type));
149
- color: getCssVar('messagebox-color');
150
- }
151
- }
152
148
  }
153
149
 
154
150
  @include e(message) {
@@ -215,10 +211,13 @@
215
211
 
216
212
  padding-left: $padding-horizontal;
217
213
  padding-right: $padding-horizontal;
218
-
219
214
  text-align: center;
220
215
  }
221
216
  }
217
+
218
+ &:focus {
219
+ outline: none !important;
220
+ }
222
221
  }
223
222
 
224
223
  .fade-in-linear-enter-active {
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use '../mixins/var' as *;
4
3
  @use '../mixins/function' as *;
5
4
  @use '../common/var' as *;
@@ -161,6 +160,7 @@
161
160
  padding: $padding-vertical $padding-horizontal;
162
161
  font-size: $font-size;
163
162
  border-radius: $border-radius;
163
+
164
164
  &.is-round {
165
165
  padding: $padding-vertical $padding-horizontal;
166
166
  }
@@ -1,21 +1,15 @@
1
1
  @use 'sass:math';
2
-
3
2
  @use '../common/var' as *;
4
3
  @use './mixins' as *;
5
4
 
6
5
  @mixin col-size($size) {
7
6
  @include res($size) {
8
- .#{$namespace}-col-#{$size}-0 {
9
- display: none;
10
- @include when(guttered) {
11
- display: none;
12
- }
13
- }
14
7
  @for $i from 0 through 24 {
15
8
  .#{$namespace}-col-#{$size}-#{$i} {
16
9
  @if $i != 0 {
17
10
  display: block;
18
11
  }
12
+
19
13
  max-width: (math.div(1, 24) * $i * 100) * 1%;
20
14
  flex: 0 0 (math.div(1, 24) * $i * 100) * 1%;
21
15
  }
@@ -34,5 +28,12 @@
34
28
  left: (math.div(1, 24) * $i * 100) * 1%;
35
29
  }
36
30
  }
31
+ .#{$namespace}-col-#{$size}-0 {
32
+ display: none;
33
+
34
+ @include when(guttered) {
35
+ display: none;
36
+ }
37
+ }
37
38
  }
38
39
  }
@@ -7,6 +7,17 @@
7
7
  }
8
8
 
9
9
  @include b(notification) {
10
+ @each $type in (success, info, warning, error) {
11
+ & .#{$namespace}-notification--#{$type} {
12
+ color: getCssVar('notification-icon-color');
13
+
14
+ @include css-var-from-global(
15
+ ('notification', 'icon-color'),
16
+ ('color', $type)
17
+ );
18
+ }
19
+ }
20
+
10
21
  display: flex;
11
22
  width: getCssVar('notification-width');
12
23
  padding: getCssVar('notification-padding');
@@ -25,14 +36,6 @@
25
36
  overflow: hidden;
26
37
  z-index: 9999;
27
38
 
28
- &.right {
29
- right: 16px;
30
- }
31
-
32
- &.left {
33
- left: 16px;
34
- }
35
-
36
39
  @include e(group) {
37
40
  margin-left: getCssVar('notification-group-margin-left');
38
41
  margin-right: getCssVar('notification-group-margin-right');
@@ -58,6 +61,14 @@
58
61
  }
59
62
  }
60
63
 
64
+ &.right {
65
+ right: 16px;
66
+ }
67
+
68
+ &.left {
69
+ left: 16px;
70
+ }
71
+
61
72
  & .#{$namespace}-notification__icon {
62
73
  height: getCssVar('notification-icon-size');
63
74
  width: getCssVar('notification-icon-size');
@@ -76,16 +87,6 @@
76
87
  color: getCssVar('notification-close-hover-color');
77
88
  }
78
89
  }
79
-
80
- @each $type in (success, info, warning, error) {
81
- & .#{$namespace}-notification--#{$type} {
82
- @include css-var-from-global(
83
- ('notification', 'icon-color'),
84
- ('color', $type)
85
- );
86
- color: getCssVar('notification-icon-color');
87
- }
88
- }
89
90
  }
90
91
 
91
92
  .#{$namespace}-notification-fade-enter-from {
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'common/var' as *;
5
4
 
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'mixins/var' as *;
5
4
  @use 'common/var' as *;
@@ -1,5 +1,4 @@
1
1
  @use 'sass:map';
2
-
3
2
  @use 'mixins/mixins' as *;
4
3
  @use 'common/var' as *;
5
4
 
@@ -3,9 +3,6 @@
3
3
  @use 'common/var' as *;
4
4
 
5
5
  @include b(overlay) {
6
- #{& + '-root'} {
7
- height: 0;
8
- }
9
6
  position: fixed;
10
7
  top: 0;
11
8
  right: 0;
@@ -15,4 +12,7 @@
15
12
  height: 100%;
16
13
  background-color: getCssVar('overlay-color', 'lighter');
17
14
  overflow: auto;
15
+ #{& + '-root'} {
16
+ height: 0;
17
+ }
18
18
  }
@@ -23,6 +23,6 @@ $name: page-wrapper;
23
23
  }
24
24
 
25
25
  @include e(content) {
26
- padding: 20px 20px 0 20px;
26
+ padding: 20px 20px 0;
27
27
  }
28
28
  }
@@ -39,6 +39,8 @@
39
39
  }
40
40
 
41
41
  @include when(dark) {
42
+ color: getCssVar('bg-color');
43
+
42
44
  @include set-css-var-value(
43
45
  ('popover', 'bg-color'),
44
46
  var(#{getCssVarName('text', 'primary-color')})
@@ -51,7 +53,6 @@
51
53
  ('popover', 'title-text-color'),
52
54
  var(#{getCssVarName('bg-color')})
53
55
  );
54
- color: getCssVar('bg-color');
55
56
  }
56
57
 
57
58
  &:focus:active,