@zkwq/business 0.0.4 → 0.0.6

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 (227) hide show
  1. package/package.json +2 -2
  2. package/src/components/base/ui/alert/Alert.vue +0 -94
  3. package/src/components/base/ui/autocomplete/autocomplete-suggestions.vue +0 -77
  4. package/src/components/base/ui/autocomplete/autocomplete.vue +0 -305
  5. package/src/components/base/ui/backtop/main.vue +0 -112
  6. package/src/components/base/ui/button/Button.vue +0 -84
  7. package/src/components/base/ui/button/ButtonGroup.vue +0 -10
  8. package/src/components/base/ui/carousel/Carousel.vue +0 -304
  9. package/src/components/base/ui/carousel/CarouselItem.vue +0 -137
  10. package/src/components/base/ui/cascader/cascader.vue +0 -650
  11. package/src/components/base/ui/cascader-panel/cascader-menu.vue +0 -138
  12. package/src/components/base/ui/cascader-panel/cascader-node.vue +0 -246
  13. package/src/components/base/ui/cascader-panel/cascader-panel.vue +0 -382
  14. package/src/components/base/ui/cascader-panel/node.js +0 -166
  15. package/src/components/base/ui/cascader-panel/store.js +0 -62
  16. package/src/components/base/ui/checkbox/checkbox-button.vue +0 -199
  17. package/src/components/base/ui/checkbox/checkbox-group.vue +0 -48
  18. package/src/components/base/ui/checkbox/checkbox.vue +0 -222
  19. package/src/components/base/ui/col/col.js +0 -71
  20. package/src/components/base/ui/collapse/collapse-item.vue +0 -180
  21. package/src/components/base/ui/collapse/collapse.vue +0 -73
  22. package/src/components/base/ui/color-picker/color.js +0 -317
  23. package/src/components/base/ui/color-picker/components/alpha-slider.vue +0 -132
  24. package/src/components/base/ui/color-picker/components/hue-slider.vue +0 -123
  25. package/src/components/base/ui/color-picker/components/picker-dropdown.vue +0 -119
  26. package/src/components/base/ui/color-picker/components/predefine.vue +0 -61
  27. package/src/components/base/ui/color-picker/components/sv-panel.vue +0 -100
  28. package/src/components/base/ui/color-picker/draggable.js +0 -36
  29. package/src/components/base/ui/color-picker/index.js +0 -2
  30. package/src/components/base/ui/color-picker/main.vue +0 -188
  31. package/src/components/base/ui/date-picker/basic/date-table.vue +0 -441
  32. package/src/components/base/ui/date-picker/basic/month-table.vue +0 -254
  33. package/src/components/base/ui/date-picker/basic/time-spinner.vue +0 -304
  34. package/src/components/base/ui/date-picker/basic/year-table.vue +0 -101
  35. package/src/components/base/ui/date-picker/panel/date-range.vue +0 -680
  36. package/src/components/base/ui/date-picker/panel/date.vue +0 -597
  37. package/src/components/base/ui/date-picker/panel/month-range.vue +0 -289
  38. package/src/components/base/ui/date-picker/panel/time-range.vue +0 -248
  39. package/src/components/base/ui/date-picker/panel/time-select.vue +0 -178
  40. package/src/components/base/ui/date-picker/panel/time.vue +0 -186
  41. package/src/components/base/ui/date-picker/picker/date-picker.js +0 -43
  42. package/src/components/base/ui/date-picker/picker/time-picker.js +0 -39
  43. package/src/components/base/ui/date-picker/picker/time-select.js +0 -21
  44. package/src/components/base/ui/date-picker/picker.vue +0 -942
  45. package/src/components/base/ui/dialog/Index.vue +0 -212
  46. package/src/components/base/ui/directive/repeat-click.js +0 -24
  47. package/src/components/base/ui/directive/ripple.js +0 -303
  48. package/src/components/base/ui/divider/Divider.vue +0 -37
  49. package/src/components/base/ui/drawer/Drawer.vue +0 -202
  50. package/src/components/base/ui/dropdown/dropdown-item.vue +0 -39
  51. package/src/components/base/ui/dropdown/dropdown-menu.vue +0 -63
  52. package/src/components/base/ui/dropdown/dropdown.vue +0 -308
  53. package/src/components/base/ui/form/Form.vue +0 -167
  54. package/src/components/base/ui/form/FormItem.vue +0 -334
  55. package/src/components/base/ui/form/LabelWrap.vue +0 -69
  56. package/src/components/base/ui/icon/icon.vue +0 -13
  57. package/src/components/base/ui/image/image-viewer.vue +0 -302
  58. package/src/components/base/ui/image/main.vue +0 -248
  59. package/src/components/base/ui/index.js +0 -189
  60. package/src/components/base/ui/input/Input.vue +0 -438
  61. package/src/components/base/ui/input/calcTextareaHeight.js +0 -104
  62. package/src/components/base/ui/input-number/input-number.vue +0 -285
  63. package/src/components/base/ui/locale/format.js +0 -32
  64. package/src/components/base/ui/locale/index.js +0 -48
  65. package/src/components/base/ui/locale/lang/zh-CN.js +0 -120
  66. package/src/components/base/ui/menu/menu-item-group.vue +0 -45
  67. package/src/components/base/ui/menu/menu-item.vue +0 -112
  68. package/src/components/base/ui/menu/menu-mixin.js +0 -44
  69. package/src/components/base/ui/menu/menu.vue +0 -312
  70. package/src/components/base/ui/menu/submenu.vue +0 -408
  71. package/src/components/base/ui/message/index.js +0 -2
  72. package/src/components/base/ui/message/main.js +0 -87
  73. package/src/components/base/ui/message/main.vue +0 -110
  74. package/src/components/base/ui/message-box/main.js +0 -216
  75. package/src/components/base/ui/message-box/main.vue +0 -323
  76. package/src/components/base/ui/mixin/emitter.js +0 -31
  77. package/src/components/base/ui/mixin/focus.js +0 -9
  78. package/src/components/base/ui/mixin/locale.js +0 -9
  79. package/src/components/base/ui/mixin/migrating.js +0 -33
  80. package/src/components/base/ui/pagination/pager.vue +0 -163
  81. package/src/components/base/ui/pagination/pagination.jsx +0 -391
  82. package/src/components/base/ui/popover/directive.js +0 -20
  83. package/src/components/base/ui/popover/index.js +0 -14
  84. package/src/components/base/ui/popover/main.vue +0 -236
  85. package/src/components/base/ui/progress/Progress.vue +0 -227
  86. package/src/components/base/ui/radio/radio-button.vue +0 -114
  87. package/src/components/base/ui/radio/radio-group.vue +0 -111
  88. package/src/components/base/ui/radio/radio.vue +0 -134
  89. package/src/components/base/ui/row/row.js +0 -47
  90. package/src/components/base/ui/scrollbar/bar.jsx +0 -91
  91. package/src/components/base/ui/scrollbar/index.jsx +0 -203
  92. package/src/components/base/ui/scrollbar/util.js +0 -32
  93. package/src/components/base/ui/select/Option.vue +0 -168
  94. package/src/components/base/ui/select/OptionGroup.vue +0 -60
  95. package/src/components/base/ui/select/Select.vue +0 -920
  96. package/src/components/base/ui/select/SelectDropdown.vue +0 -74
  97. package/src/components/base/ui/select/navigation-mixin.js +0 -54
  98. package/src/components/base/ui/skeleton/index.js +0 -8
  99. package/src/components/base/ui/skeleton/src/img-placeholder.vue +0 -16
  100. package/src/components/base/ui/skeleton/src/index.vue +0 -80
  101. package/src/components/base/ui/skeleton/src/item.vue +0 -22
  102. package/src/components/base/ui/skeleton-item/index.js +0 -8
  103. package/src/components/base/ui/slider/button.vue +0 -238
  104. package/src/components/base/ui/slider/main.vue +0 -427
  105. package/src/components/base/ui/slider/marker.js +0 -18
  106. package/src/components/base/ui/style/alert.scss +0 -147
  107. package/src/components/base/ui/style/animations.scss +0 -65
  108. package/src/components/base/ui/style/autocomplete.scss +0 -81
  109. package/src/components/base/ui/style/backtop.scss +0 -20
  110. package/src/components/base/ui/style/button-group.scss +0 -0
  111. package/src/components/base/ui/style/button.scss +0 -380
  112. package/src/components/base/ui/style/carousel-item.scss +0 -50
  113. package/src/components/base/ui/style/carousel.scss +0 -161
  114. package/src/components/base/ui/style/cascader-panel.scss +0 -120
  115. package/src/components/base/ui/style/cascader.scss +0 -185
  116. package/src/components/base/ui/style/checkbox-button.scss +0 -0
  117. package/src/components/base/ui/style/checkbox-group.scss +0 -0
  118. package/src/components/base/ui/style/checkbox.scss +0 -360
  119. package/src/components/base/ui/style/col.scss +0 -156
  120. package/src/components/base/ui/style/collapse-item.scss +0 -0
  121. package/src/components/base/ui/style/collapse.scss +0 -114
  122. package/src/components/base/ui/style/color-picker.scss +0 -387
  123. package/src/components/base/ui/style/config.scss +0 -4
  124. package/src/components/base/ui/style/date-picker/date-picker.scss +0 -97
  125. package/src/components/base/ui/style/date-picker/date-range-picker.scss +0 -101
  126. package/src/components/base/ui/style/date-picker/date-table.scss +0 -151
  127. package/src/components/base/ui/style/date-picker/month-table.scss +0 -82
  128. package/src/components/base/ui/style/date-picker/picker-panel.scss +0 -117
  129. package/src/components/base/ui/style/date-picker/picker.scss +0 -197
  130. package/src/components/base/ui/style/date-picker/time-picker.scss +0 -85
  131. package/src/components/base/ui/style/date-picker/time-range-picker.scss +0 -31
  132. package/src/components/base/ui/style/date-picker/time-spinner.scss +0 -110
  133. package/src/components/base/ui/style/date-picker/year-table.scss +0 -51
  134. package/src/components/base/ui/style/date-picker.scss +0 -12
  135. package/src/components/base/ui/style/dialog.scss +0 -123
  136. package/src/components/base/ui/style/divider.scss +0 -47
  137. package/src/components/base/ui/style/drawer.scss +0 -218
  138. package/src/components/base/ui/style/dropdown-item.scss +0 -0
  139. package/src/components/base/ui/style/dropdown-menu.scss +0 -0
  140. package/src/components/base/ui/style/dropdown.scss +0 -185
  141. package/src/components/base/ui/style/form-item.scss +0 -0
  142. package/src/components/base/ui/style/form.scss +0 -203
  143. package/src/components/base/ui/style/function.scss +0 -43
  144. package/src/components/base/ui/style/icon.scss +0 -1167
  145. package/src/components/base/ui/style/image.scss +0 -184
  146. package/src/components/base/ui/style/index.scss +0 -57
  147. package/src/components/base/ui/style/input-number.scss +0 -187
  148. package/src/components/base/ui/style/input.scss +0 -477
  149. package/src/components/base/ui/style/menu-item-group.scss +0 -0
  150. package/src/components/base/ui/style/menu-item.scss +0 -0
  151. package/src/components/base/ui/style/menu.scss +0 -294
  152. package/src/components/base/ui/style/message-box.scss +0 -231
  153. package/src/components/base/ui/style/message.scss +0 -120
  154. package/src/components/base/ui/style/mixins.scss +0 -196
  155. package/src/components/base/ui/style/option-group.scss +0 -42
  156. package/src/components/base/ui/style/option.scss +0 -36
  157. package/src/components/base/ui/style/pagination.scss +0 -295
  158. package/src/components/base/ui/style/popover.scss +0 -40
  159. package/src/components/base/ui/style/popper.scss +0 -102
  160. package/src/components/base/ui/style/popup.scss +0 -42
  161. package/src/components/base/ui/style/progress.scss +0 -141
  162. package/src/components/base/ui/style/radio-button.scss +0 -113
  163. package/src/components/base/ui/style/radio-group.scss +0 -9
  164. package/src/components/base/ui/style/radio.scss +0 -203
  165. package/src/components/base/ui/style/ripple.scss +0 -35
  166. package/src/components/base/ui/style/row.scss +0 -39
  167. package/src/components/base/ui/style/scrollbar.scss +0 -75
  168. package/src/components/base/ui/style/select-dropdown.scss +0 -59
  169. package/src/components/base/ui/style/select.scss +0 -154
  170. package/src/components/base/ui/style/skeleton-item.scss +0 -84
  171. package/src/components/base/ui/style/skeleton.scss +0 -40
  172. package/src/components/base/ui/style/slider.scss +0 -250
  173. package/src/components/base/ui/style/switch.scss +0 -116
  174. package/src/components/base/ui/style/tabs.scss +0 -602
  175. package/src/components/base/ui/style/tag.scss +0 -174
  176. package/src/components/base/ui/style/tooltip.scss +0 -146
  177. package/src/components/base/ui/style/transition.scss +0 -138
  178. package/src/components/base/ui/style/upload.scss +0 -603
  179. package/src/components/base/ui/style/utils.scss +0 -39
  180. package/src/components/base/ui/style/var.scss +0 -1011
  181. package/src/components/base/ui/switch/index.vue +0 -174
  182. package/src/components/base/ui/tabs/tab-bar.vue +0 -57
  183. package/src/components/base/ui/tabs/tab-nav.vue +0 -294
  184. package/src/components/base/ui/tabs/tab-pane.vue +0 -56
  185. package/src/components/base/ui/tabs/tabs.vue +0 -191
  186. package/src/components/base/ui/tag/Tag.vue +0 -60
  187. package/src/components/base/ui/tooltip/tooltip.jsx +0 -234
  188. package/src/components/base/ui/upload/Index.vue +0 -340
  189. package/src/components/base/ui/upload/Upload.vue +0 -216
  190. package/src/components/base/ui/upload/UploadDragger.vue +0 -70
  191. package/src/components/base/ui/upload/UploadList.vue +0 -100
  192. package/src/components/base/ui/upload/ajax.js +0 -85
  193. package/src/components/base/ui/util/aria-dialog.js +0 -90
  194. package/src/components/base/ui/util/aria-utils.js +0 -122
  195. package/src/components/base/ui/util/clickoutside.js +0 -76
  196. package/src/components/base/ui/util/date-util.js +0 -292
  197. package/src/components/base/ui/util/date.js +0 -355
  198. package/src/components/base/ui/util/debounce.js +0 -21
  199. package/src/components/base/ui/util/deepmerge.js +0 -100
  200. package/src/components/base/ui/util/dom.js +0 -215
  201. package/src/components/base/ui/util/index.js +0 -262
  202. package/src/components/base/ui/util/menu/aria-menubar.js +0 -14
  203. package/src/components/base/ui/util/menu/aria-menuitem.js +0 -49
  204. package/src/components/base/ui/util/menu/aria-submenu.js +0 -59
  205. package/src/components/base/ui/util/merge.js +0 -14
  206. package/src/components/base/ui/util/popper.js +0 -1235
  207. package/src/components/base/ui/util/popup/index.js +0 -218
  208. package/src/components/base/ui/util/popup/popup-manager.js +0 -194
  209. package/src/components/base/ui/util/resize-events.js +0 -32
  210. package/src/components/base/ui/util/scroll-into-view.js +0 -27
  211. package/src/components/base/ui/util/scrollbar-width.js +0 -29
  212. package/src/components/base/ui/util/shared.js +0 -7
  213. package/src/components/base/ui/util/throttle.js +0 -91
  214. package/src/components/base/ui/util/types.js +0 -24
  215. package/src/components/base/ui/util/vdom.js +0 -5
  216. package/src/components/base/ui/util/vue-popper.js +0 -188
  217. package/src/components/normal/AggsItemH.vue +0 -145
  218. package/src/index.js +0 -10
  219. package/src/static/base-icons.ttf +0 -0
  220. package/src/static/base-icons.woff +0 -0
  221. package/src/static/label_bg.png +0 -0
  222. package/src/static/term-label-bg.png +0 -0
  223. package/src/style/app-article.scss +0 -698
  224. package/src/style/app-comment.scss +0 -259
  225. package/src/style/app-recommend.scss +0 -48
  226. package/src/style/app-richtext.scss +0 -176
  227. package/src/style/index.scss +0 -523
@@ -1,42 +0,0 @@
1
- @import "./var.scss";
2
- @import "./mixins";
3
-
4
- .v-modal-enter {
5
- animation: v-modal-in .2s ease;
6
- }
7
-
8
- .v-modal-leave {
9
- animation: v-modal-out .2s ease forwards;
10
- }
11
-
12
- @keyframes v-modal-in {
13
- 0% {
14
- opacity: 0;
15
- }
16
- 100% {
17
- }
18
- }
19
-
20
- @keyframes v-modal-out {
21
- 0% {
22
- }
23
- 100% {
24
- opacity: 0;
25
- }
26
- }
27
-
28
- .v-modal {
29
- position: fixed;
30
- left: 0;
31
- top: 0;
32
- width: 100%;
33
- height: 100%;
34
- opacity: $--popup-modal-opacity;
35
- background: $--popup-modal-background-color;
36
- }
37
-
38
- @include b(popup-parent) {
39
- @include m(hidden) {
40
- overflow: hidden;
41
- }
42
- }
@@ -1,141 +0,0 @@
1
- @import "mixins";
2
- @import "utils";
3
- @import "var";
4
-
5
- @include b(progress) {
6
- position: relative;
7
- line-height: 1;
8
-
9
- @include e(text) {
10
- font-size:14px;
11
- color: $--color-text-regular;
12
- display: inline-block;
13
- vertical-align: middle;
14
- margin-left: 10px;
15
- line-height: 1;
16
-
17
- i {
18
- vertical-align: middle;
19
- display: block;
20
- }
21
- }
22
-
23
- @include m((circle,dashboard)) {
24
- display: inline-block;
25
-
26
- .base-progress__text {
27
- position: absolute;
28
- top: 50%;
29
- left: 0;
30
- width: 100%;
31
- text-align: center;
32
- margin: 0;
33
- transform: translate(0, -50%);
34
-
35
- i {
36
- vertical-align: middle;
37
- display: inline-block;
38
- }
39
- }
40
- }
41
-
42
-
43
- @include m(without-text) {
44
- .base-progress__text {
45
- display: none;
46
- }
47
-
48
- .base-progress-bar {
49
- padding-right: 0;
50
- margin-right: 0;
51
- display: block;
52
- }
53
- }
54
-
55
- @include m(text-inside) {
56
- .base-progress-bar {
57
- padding-right: 0;
58
- margin-right: 0;
59
- }
60
- }
61
-
62
- @include when(success) {
63
- .base-progress-bar__inner {
64
- background-color: $--color-success;
65
- }
66
-
67
- .base-progress__text {
68
- color: $--color-success;
69
- }
70
- }
71
-
72
- @include when(warning) {
73
- .base-progress-bar__inner {
74
- background-color: $--color-warning;
75
- }
76
-
77
- .base-progress__text {
78
- color: $--color-warning;
79
- }
80
- }
81
-
82
- @include when(exception) {
83
- .base-progress-bar__inner {
84
- background-color: $--color-danger;
85
- }
86
-
87
- .base-progress__text {
88
- color: $--color-danger;
89
- }
90
- }
91
- }
92
-
93
- @include b(progress-bar) {
94
- padding-right: 50px;
95
- display: inline-block;
96
- vertical-align: middle;
97
- width: 100%;
98
- margin-right: -55px;
99
- box-sizing: border-box;
100
-
101
- @include e(outer) {
102
- height: 6px;
103
- border-radius: 100px;
104
- background-color: $--border-color-lighter;
105
- overflow: hidden;
106
- position: relative;
107
- vertical-align: middle;
108
- }
109
- @include e(inner) {
110
- position: absolute;
111
- left: 0;
112
- top: 0;
113
- height: 100%;
114
- background-color: $--color-primary;
115
- text-align: right;
116
- border-radius: 100px;
117
- line-height: 1;
118
- white-space: nowrap;
119
- transition: width 0.6s ease;
120
-
121
- @include utils-vertical-center;
122
- }
123
-
124
- @include e(innerText) {
125
- display: inline-block;
126
- vertical-align: middle;
127
- color: $--color-white;
128
- font-size: 12px;
129
- margin: 0 5px;
130
- }
131
- }
132
-
133
- @keyframes progress {
134
- 0% {
135
- background-position: 0 0;
136
- }
137
-
138
- 100% {
139
- background-position: 32px 0;
140
- }
141
- }
@@ -1,113 +0,0 @@
1
- @import "mixins";
2
- @import "button";
3
- @import "var";
4
-
5
- @include b(radio-button) {
6
- position: relative;
7
- display: inline-block;
8
- outline: none;
9
-
10
- @include e(inner) {
11
- display: inline-block;
12
- line-height: 1;
13
- white-space: nowrap;
14
- vertical-align: middle;
15
- background: $--button-default-background-color;
16
- border: $--border-base;
17
- font-weight: $--button-font-weight;
18
- border-left: 0;
19
- color: $--button-default-font-color;
20
- -webkit-appearance: none;
21
- text-align: center;
22
- box-sizing: border-box;
23
- outline: none;
24
- margin: 0;
25
- position: relative;
26
- cursor: pointer;
27
- transition: $--all-transition;
28
-
29
- @include button-size($--button-padding-vertical, $--button-padding-horizontal, $--button-font-size, 0);
30
-
31
- &:hover {
32
- color: $--color-primary;
33
- }
34
-
35
- & [class*="base-icon-"] {
36
- line-height: 0.9;
37
-
38
- & + span {
39
- margin-left: 5px;
40
- }
41
- }
42
- }
43
-
44
- &:first-child {
45
- .base-radio-button__inner {
46
- border-left: $--border-base;
47
- border-radius: $--border-radius-base 0 0 $--border-radius-base;
48
- box-shadow: none !important;
49
- }
50
- }
51
-
52
- @include e(orig-radio) {
53
- opacity: 0;
54
- outline: none;
55
- position: absolute;
56
- z-index: -1;
57
-
58
- &:checked {
59
- & + .base-radio-button__inner {
60
- color: $--radio-button-checked-font-color;
61
- background-color: $--radio-button-checked-background-color;
62
- border-color: $--radio-button-checked-border-color;
63
- box-shadow: -1px 0 0 0 $--radio-button-checked-border-color;
64
- }
65
- }
66
-
67
- &:disabled {
68
- & + .base-radio-button__inner {
69
- color: $--button-disabled-font-color;
70
- cursor: not-allowed;
71
- background-image: none;
72
- background-color: $--button-disabled-background-color;
73
- border-color: $--button-disabled-border-color;
74
- box-shadow: none;
75
- }
76
- &:checked + .base-radio-button__inner {
77
- background-color: $--radio-button-disabled-checked-fill;
78
- }
79
- }
80
- }
81
-
82
- &:last-child {
83
- .base-radio-button__inner {
84
- border-radius: 0 $--border-radius-base $--border-radius-base 0;
85
- }
86
- }
87
-
88
- &:first-child:last-child {
89
- .base-radio-button__inner {
90
- border-radius: $--border-radius-base;
91
- }
92
- }
93
-
94
- @include m(medium) {
95
- & .base-radio-button__inner {
96
- @include button-size($--button-medium-padding-vertical, $--button-medium-padding-horizontal, $--button-medium-font-size, 0);
97
- }
98
- }
99
- @include m(small) {
100
- & .base-radio-button__inner {
101
- @include button-size($--button-small-padding-vertical, $--button-small-padding-horizontal, $--button-small-font-size, 0);
102
- }
103
- }
104
- @include m(mini) {
105
- & .base-radio-button__inner {
106
- @include button-size($--button-mini-padding-vertical, $--button-mini-padding-horizontal, $--button-mini-font-size, 0);
107
- }
108
- }
109
-
110
- &:focus:not(.is-focus):not(:active):not(.is-disabled){ /*获得焦点时 样式提醒*/
111
- box-shadow: 0 0 2px 2px $--radio-button-checked-border-color;
112
- }
113
- }
@@ -1,9 +0,0 @@
1
- @import "mixins";
2
- @import "var";
3
-
4
- @include b(radio-group) {
5
- display: inline-block;
6
- line-height: 1;
7
- vertical-align: middle;
8
- font-size: 0;
9
- }
@@ -1,203 +0,0 @@
1
- @import "mixins";
2
- @import "utils";
3
- @import 'button';
4
- @import "var";
5
-
6
- @include b(radio) {
7
- color: $--radio-font-color;
8
- font-weight: $--radio-font-weight;
9
- line-height: 1;
10
- position: relative;
11
- cursor: pointer;
12
- display: inline-block;
13
- white-space: nowrap;
14
- outline: none;
15
- font-size: $--font-size-base;
16
- margin-right: 30px;
17
- @include utils-user-select(none);
18
-
19
- @include when(bordered) {
20
- padding: $--radio-bordered-padding;
21
- border-radius: $--border-radius-base;
22
- border: $--border-base;
23
- box-sizing: border-box;
24
- height: $--radio-bordered-height;
25
-
26
- &.is-checked {
27
- border-color: $--color-primary;
28
- }
29
-
30
- &.is-disabled {
31
- cursor: not-allowed;
32
- border-color: $--border-color-lighter;
33
- }
34
-
35
- & + .base-radio.is-bordered {
36
- margin-left: 10px;
37
- }
38
- }
39
-
40
- @include m(medium) {
41
- &.is-bordered {
42
- padding: $--radio-bordered-medium-padding;
43
- border-radius: $--button-medium-border-radius;
44
- height: $--radio-bordered-medium-height;
45
- .base-radio__label {
46
- font-size: $--button-medium-font-size;
47
- }
48
- .base-radio__inner {
49
- height: $--radio-bordered-medium-input-height;
50
- width: $--radio-bordered-medium-input-width;
51
- }
52
- }
53
- }
54
- @include m(small) {
55
- &.is-bordered {
56
- padding: $--radio-bordered-small-padding;
57
- border-radius: $--button-small-border-radius;
58
- height: $--radio-bordered-small-height;
59
- .base-radio__label {
60
- font-size: $--button-small-font-size;
61
- }
62
- .base-radio__inner {
63
- height: $--radio-bordered-small-input-height;
64
- width: $--radio-bordered-small-input-width;
65
- }
66
- }
67
- }
68
- @include m(mini) {
69
- &.is-bordered {
70
- padding: $--radio-bordered-mini-padding;
71
- border-radius: $--button-mini-border-radius;
72
- height: $--radio-bordered-mini-height;
73
- .base-radio__label {
74
- font-size: $--button-mini-font-size;
75
- }
76
- .base-radio__inner {
77
- height: $--radio-bordered-mini-input-height;
78
- width: $--radio-bordered-mini-input-width;
79
- }
80
- }
81
- }
82
-
83
- &:last-child {
84
- margin-right: 0;
85
- }
86
-
87
- @include e(input) {
88
- white-space: nowrap;
89
- cursor: pointer;
90
- outline: none;
91
- display: inline-block;
92
- line-height: 1;
93
- position: relative;
94
- vertical-align: middle;
95
-
96
- @include when(invisible) {
97
- display: none;
98
- }
99
-
100
- @include when(disabled) {
101
- .base-radio__inner {
102
- background-color: $--radio-disabled-input-fill;
103
- border-color: $--radio-disabled-input-border-color;
104
- cursor: not-allowed;
105
-
106
- &::after {
107
- cursor: not-allowed;
108
- background-color: $--radio-disabled-icon-color;
109
- }
110
-
111
- & + .base-radio__label {
112
- cursor: not-allowed;
113
- }
114
- }
115
- &.is-checked {
116
- .base-radio__inner {
117
- background-color: $--radio-disabled-checked-input-fill;
118
- border-color: $--radio-disabled-checked-input-border-color;
119
-
120
- &::after {
121
- background-color: $--radio-disabled-checked-icon-color;
122
- }
123
- }
124
- }
125
- & + span.base-radio__label {
126
- color: $--color-text-placeholder;
127
- cursor: not-allowed;
128
- }
129
- }
130
-
131
- @include when(checked) {
132
- .base-radio__inner {
133
- border-color: $--radio-checked-input-border-color;
134
- background: $--radio-checked-icon-color;
135
-
136
- &::after {
137
- transform: translate(-50%, -50%) scale(1);
138
- }
139
- }
140
-
141
- & + .base-radio__label {
142
- color: $--radio-checked-font-color;
143
- }
144
- }
145
-
146
- @include when(focus) {
147
- .base-radio__inner {
148
- border-color: $--radio-input-border-color-hover;
149
- }
150
- }
151
- }
152
- @include e(inner) {
153
- border: $--radio-input-border;
154
- border-radius: $--radio-input-border-radius;
155
- width: $--radio-input-width;
156
- height: $--radio-input-height;
157
- background-color: $--radio-input-background-color;
158
- position: relative;
159
- cursor: pointer;
160
- display: inline-block;
161
- box-sizing: border-box;
162
-
163
- &:hover {
164
- border-color: $--radio-input-border-color-hover;
165
- }
166
-
167
- &::after {
168
- width: 7px;
169
- height: 7px;
170
- border-radius: $--radio-input-border-radius;
171
- background-color: $--color-primary;
172
- content: "";
173
- position: absolute;
174
- left: 50%;
175
- top: 50%;
176
- transform: translate(-50%, -50%) scale(0);
177
- transition: transform .15s ease-in;
178
- }
179
- }
180
-
181
- @include e(original) {
182
- opacity: 0;
183
- outline: none;
184
- position: absolute;
185
- z-index: -1;
186
- top: 0;
187
- left: 0;
188
- right: 0;
189
- bottom: 0;
190
- margin: 0;
191
- }
192
-
193
- &:focus:not(.is-focus):not(:active):not(.is-disabled) { /*获得焦点时 样式提醒*/
194
- .base-radio__inner {
195
- box-shadow: 0 0 2px 2px $--radio-input-border-color-hover;
196
- }
197
- }
198
-
199
- @include e(label) {
200
- font-size: $--radio-font-size;
201
- padding-left: 8px;
202
- }
203
- }
@@ -1,35 +0,0 @@
1
- .v-ripple__container {
2
- color: inherit;
3
- border-radius: inherit;
4
- position: absolute;
5
- width: 100%;
6
- height: 100%;
7
- left: 0;
8
- top: 0;
9
- overflow: hidden;
10
- z-index: 0;
11
- pointer-events: none;
12
- contain: strict;
13
- }
14
- .v-ripple__animation {
15
- color: inherit;
16
- position: absolute;
17
- top: 0;
18
- left: 0;
19
- border-radius: 50%;
20
- background: currentColor;
21
- opacity: 0;
22
- pointer-events: none;
23
- overflow: hidden;
24
- will-change: transform, opacity;
25
- }
26
- .v-ripple__animation--enter {
27
- transition: none;
28
- }
29
- .v-ripple__animation--in {
30
- transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1), opacity .1s cubic-bezier(0.4, 0, 0.2, 1);
31
-
32
- }
33
- .v-ripple__animation--out {
34
- transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
35
- }
@@ -1,39 +0,0 @@
1
- @import "var";
2
- @import "mixins";
3
- @import "utils";
4
-
5
- @include b(row) {
6
- position: relative;
7
- box-sizing: border-box;
8
- @include utils-clearfix;
9
-
10
- @include m(flex) {
11
- display: flex;
12
- &:before,
13
- &:after {
14
- display: none;
15
- }
16
-
17
- @include when(justify-center) {
18
- justify-content: center;
19
- }
20
- @include when(justify-end) {
21
- justify-content: flex-end;
22
- }
23
- @include when(justify-space-between) {
24
- justify-content: space-between;
25
- }
26
- @include when(justify-space-around) {
27
- justify-content: space-around;
28
- }
29
-
30
- @include when(align-middle) {
31
- align-items: center;
32
- }
33
- @include when(align-bottom) {
34
- align-items: flex-end;
35
- }
36
- }
37
-
38
- }
39
-
@@ -1,75 +0,0 @@
1
- @import "mixins";
2
- @import "var";
3
-
4
- @include b(scrollbar) {
5
- overflow: hidden;
6
- position: relative;
7
-
8
- &:hover,
9
- &:active,
10
- &:focus {
11
- > .base-scrollbar__bar {
12
- opacity: 1;
13
- transition: opacity 340ms ease-out;
14
- }
15
- }
16
-
17
- @include e(wrap) {
18
- overflow: scroll;
19
- overflow-x: hidden;
20
- height: 100%;
21
-
22
- @include m(hidden-default) {
23
- scrollbar-width: none;
24
- &::-webkit-scrollbar {
25
- width: 0;
26
- height: 0;
27
- }
28
- }
29
- }
30
-
31
- @include e(thumb) {
32
- position: relative;
33
- display: block;
34
- width: 0;
35
- height: 0;
36
- cursor: grab;
37
- border-radius: inherit;
38
- background-color: rgba(0, 0, 0, 0.5);
39
- transition: .3s background-color;
40
- @include when(grab) {
41
- cursor: grabbing;
42
- }
43
- &:hover {
44
- background-color: rgba(0, 0, 0, 0.5);
45
- }
46
- }
47
-
48
- @include e(bar) {
49
- position: absolute;
50
- right: 2px;
51
- bottom: 2px;
52
- z-index: 1;
53
- border-radius: 8px;
54
- opacity: 0;
55
- transition: opacity 120ms ease-out;
56
-
57
- @include when(vertical) {
58
- width: 8px;
59
- top: 2px;
60
-
61
- > div {
62
- width: 100%;
63
- }
64
- }
65
-
66
- @include when(horizontal) {
67
- height: 6px;
68
- left: 2px;
69
-
70
- > div {
71
- height: 100%;
72
- }
73
- }
74
- }
75
- }
@@ -1,59 +0,0 @@
1
- @import "mixins";
2
- @import "var";
3
- @import "./popper";
4
-
5
- @include b(select-dropdown) {
6
- position: absolute;
7
- z-index: #{$--index-top + 1};
8
- border: $--select-dropdown-border;
9
- border-radius: $--border-radius-base;
10
- background-color: $--select-dropdown-background;
11
- box-shadow: $--select-dropdown-shadow;
12
- box-sizing: border-box;
13
- margin: 5px 0;
14
-
15
- @include when(multiple) {
16
- & .base-select-dropdown__item.selected {
17
- color: $--select-option-selected-font-color;
18
- background-color: $--select-dropdown-background;
19
-
20
- &.hover {
21
- background-color: $--select-option-hover-background;
22
- }
23
-
24
- &::after {
25
- position: absolute;
26
- right: 20px;
27
- font-family: 'base-icons';
28
- content: "\e6da";
29
- font-size: 12px;
30
- font-weight: bold;
31
- -webkit-font-smoothing: antialiased;
32
- -moz-osx-font-smoothing: grayscale;
33
- }
34
- }
35
- }
36
-
37
- .base-scrollbar.is-empty .base-select-dropdown__list{
38
- padding: 0;
39
- }
40
- }
41
-
42
- @include b(select-dropdown__empty) {
43
- padding: $--select-dropdown-empty-padding;
44
- margin: 0;
45
- text-align: center;
46
- color: $--select-dropdown-empty-color;
47
- font-size: $--select-font-size;
48
- }
49
-
50
- @include b(select-dropdown__wrap) {
51
- max-height: $--select-dropdown-max-height;
52
- }
53
-
54
- @include b(select-dropdown__list) {
55
- list-style: none;
56
- padding: $--select-dropdown-padding;
57
- margin: 0;
58
- box-sizing: border-box;
59
- }