cy-element-ui 1.0.44 → 1.0.45

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 (207) hide show
  1. package/lib/element-ui.common.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/lib/theme-chalk/alert.css +1 -0
  4. package/lib/theme-chalk/aside.css +1 -0
  5. package/lib/theme-chalk/autocomplete.css +1 -0
  6. package/lib/theme-chalk/avatar.css +1 -0
  7. package/lib/theme-chalk/backtop.css +1 -0
  8. package/lib/theme-chalk/badge.css +1 -0
  9. package/lib/theme-chalk/base.css +1 -1
  10. package/lib/theme-chalk/breadcrumb.css +1 -0
  11. package/lib/theme-chalk/button.css +1 -0
  12. package/lib/theme-chalk/calendar.css +1 -0
  13. package/lib/theme-chalk/card.css +1 -0
  14. package/lib/theme-chalk/carousel-item.css +1 -0
  15. package/lib/theme-chalk/carousel.css +1 -0
  16. package/lib/theme-chalk/cascader-panel.css +1 -0
  17. package/lib/theme-chalk/cascader.css +1 -0
  18. package/lib/theme-chalk/checkbox.css +1 -0
  19. package/lib/theme-chalk/col.css +1 -0
  20. package/lib/theme-chalk/collapse.css +1 -0
  21. package/lib/theme-chalk/color-picker.css +1 -0
  22. package/lib/theme-chalk/container.css +1 -0
  23. package/lib/theme-chalk/date-picker.css +1 -0
  24. package/lib/theme-chalk/descriptions-item.css +1 -0
  25. package/lib/theme-chalk/descriptions.css +1 -0
  26. package/lib/theme-chalk/dialog.css +1 -0
  27. package/lib/theme-chalk/display.css +1 -0
  28. package/lib/theme-chalk/divider.css +1 -0
  29. package/lib/theme-chalk/drawer.css +1 -0
  30. package/lib/theme-chalk/dropdown.css +1 -0
  31. package/lib/theme-chalk/empty.css +1 -0
  32. package/lib/theme-chalk/footer.css +1 -0
  33. package/lib/theme-chalk/form.css +1 -0
  34. package/lib/theme-chalk/header.css +1 -0
  35. package/lib/theme-chalk/icon.css +1 -0
  36. package/lib/theme-chalk/image.css +1 -0
  37. package/lib/theme-chalk/index.css +1 -1
  38. package/lib/theme-chalk/input-number.css +1 -0
  39. package/lib/theme-chalk/input.css +1 -0
  40. package/lib/theme-chalk/link.css +1 -0
  41. package/lib/theme-chalk/loading.css +1 -0
  42. package/lib/theme-chalk/main.css +1 -0
  43. package/lib/theme-chalk/menu.css +1 -0
  44. package/lib/theme-chalk/message-box.css +1 -0
  45. package/lib/theme-chalk/message.css +1 -0
  46. package/lib/theme-chalk/notification.css +1 -0
  47. package/lib/theme-chalk/option-group.css +1 -0
  48. package/lib/theme-chalk/option.css +1 -0
  49. package/lib/theme-chalk/page-header.css +1 -0
  50. package/lib/theme-chalk/pagination.css +1 -0
  51. package/lib/theme-chalk/popconfirm.css +1 -0
  52. package/lib/theme-chalk/popover.css +1 -0
  53. package/lib/theme-chalk/popper.css +1 -0
  54. package/lib/theme-chalk/progress.css +1 -0
  55. package/lib/theme-chalk/radio-button.css +1 -0
  56. package/lib/theme-chalk/radio-group.css +1 -0
  57. package/lib/theme-chalk/radio.css +1 -0
  58. package/lib/theme-chalk/rate.css +1 -0
  59. package/lib/theme-chalk/reset.css +1 -0
  60. package/lib/theme-chalk/result.css +1 -0
  61. package/lib/theme-chalk/row.css +1 -0
  62. package/lib/theme-chalk/scrollbar.css +1 -0
  63. package/lib/theme-chalk/select-dropdown.css +1 -0
  64. package/lib/theme-chalk/select.css +1 -0
  65. package/lib/theme-chalk/skeleton-item.css +1 -0
  66. package/lib/theme-chalk/skeleton.css +1 -0
  67. package/lib/theme-chalk/slider.css +1 -0
  68. package/lib/theme-chalk/spinner.css +1 -0
  69. package/lib/theme-chalk/statistic.css +1 -0
  70. package/lib/theme-chalk/step.css +1 -0
  71. package/lib/theme-chalk/steps.css +1 -0
  72. package/lib/theme-chalk/switch.css +1 -0
  73. package/lib/theme-chalk/table-column.css +1 -0
  74. package/lib/theme-chalk/table.css +1 -0
  75. package/lib/theme-chalk/tabs.css +1 -0
  76. package/lib/theme-chalk/tag.css +1 -0
  77. package/lib/theme-chalk/time-picker.css +1 -0
  78. package/lib/theme-chalk/time-select.css +1 -0
  79. package/lib/theme-chalk/timeline-item.css +1 -0
  80. package/lib/theme-chalk/timeline.css +1 -0
  81. package/lib/theme-chalk/tooltip.css +1 -0
  82. package/lib/theme-chalk/transfer.css +1 -0
  83. package/lib/theme-chalk/tree.css +1 -0
  84. package/lib/theme-chalk/upload.css +1 -0
  85. package/package.json +2 -2
  86. package/packages/theme-chalk/src/common/var.scss +16 -16
  87. package/packages/theme-cy/gulpfile.js +14 -1
  88. package/src/index.js +1 -1
  89. package/lib/theme-chalk/README.md +0 -33
  90. package/lib/theme-chalk/gulpfile.js +0 -40
  91. package/lib/theme-chalk/package.json +0 -35
  92. package/lib/theme-chalk/src/alert.scss +0 -147
  93. package/lib/theme-chalk/src/aside.scss +0 -7
  94. package/lib/theme-chalk/src/autocomplete.scss +0 -80
  95. package/lib/theme-chalk/src/avatar.scss +0 -51
  96. package/lib/theme-chalk/src/backtop.scss +0 -22
  97. package/lib/theme-chalk/src/badge.scss +0 -57
  98. package/lib/theme-chalk/src/base.scss +0 -2
  99. package/lib/theme-chalk/src/breadcrumb.scss +0 -55
  100. package/lib/theme-chalk/src/button.scss +0 -262
  101. package/lib/theme-chalk/src/calendar.scss +0 -79
  102. package/lib/theme-chalk/src/card.scss +0 -32
  103. package/lib/theme-chalk/src/carousel-item.scss +0 -50
  104. package/lib/theme-chalk/src/carousel.scss +0 -161
  105. package/lib/theme-chalk/src/cascader-panel.scss +0 -120
  106. package/lib/theme-chalk/src/cascader.scss +0 -182
  107. package/lib/theme-chalk/src/checkbox.scss +0 -359
  108. package/lib/theme-chalk/src/col.scss +0 -156
  109. package/lib/theme-chalk/src/collapse.scss +0 -63
  110. package/lib/theme-chalk/src/color-picker.scss +0 -384
  111. package/lib/theme-chalk/src/common/popup.scss +0 -42
  112. package/lib/theme-chalk/src/common/transition.scss +0 -99
  113. package/lib/theme-chalk/src/common/var.scss +0 -1028
  114. package/lib/theme-chalk/src/container.scss +0 -14
  115. package/lib/theme-chalk/src/date-picker/date-picker.scss +0 -97
  116. package/lib/theme-chalk/src/date-picker/date-range-picker.scss +0 -101
  117. package/lib/theme-chalk/src/date-picker/date-table.scss +0 -151
  118. package/lib/theme-chalk/src/date-picker/month-table.scss +0 -82
  119. package/lib/theme-chalk/src/date-picker/picker-panel.scss +0 -117
  120. package/lib/theme-chalk/src/date-picker/picker.scss +0 -197
  121. package/lib/theme-chalk/src/date-picker/time-picker.scss +0 -85
  122. package/lib/theme-chalk/src/date-picker/time-range-picker.scss +0 -31
  123. package/lib/theme-chalk/src/date-picker/time-spinner.scss +0 -110
  124. package/lib/theme-chalk/src/date-picker/year-table.scss +0 -51
  125. package/lib/theme-chalk/src/date-picker.scss +0 -12
  126. package/lib/theme-chalk/src/descriptions-item.scss +0 -42
  127. package/lib/theme-chalk/src/descriptions.scss +0 -111
  128. package/lib/theme-chalk/src/dialog.scss +0 -123
  129. package/lib/theme-chalk/src/display.scss +0 -12
  130. package/lib/theme-chalk/src/divider.scss +0 -47
  131. package/lib/theme-chalk/src/drawer.scss +0 -219
  132. package/lib/theme-chalk/src/dropdown.scss +0 -182
  133. package/lib/theme-chalk/src/empty.scss +0 -45
  134. package/lib/theme-chalk/src/footer.scss +0 -8
  135. package/lib/theme-chalk/src/form.scss +0 -167
  136. package/lib/theme-chalk/src/header.scss +0 -8
  137. package/lib/theme-chalk/src/icon.scss +0 -1167
  138. package/lib/theme-chalk/src/image.scss +0 -179
  139. package/lib/theme-chalk/src/index.scss +0 -90
  140. package/lib/theme-chalk/src/input-number.scss +0 -180
  141. package/lib/theme-chalk/src/input.scss +0 -360
  142. package/lib/theme-chalk/src/link.scss +0 -81
  143. package/lib/theme-chalk/src/loading.scss +0 -96
  144. package/lib/theme-chalk/src/main.scss +0 -12
  145. package/lib/theme-chalk/src/menu.scss +0 -289
  146. package/lib/theme-chalk/src/message-box.scss +0 -226
  147. package/lib/theme-chalk/src/message.scss +0 -120
  148. package/lib/theme-chalk/src/mixins/_button.scss +0 -81
  149. package/lib/theme-chalk/src/mixins/config.scss +0 -4
  150. package/lib/theme-chalk/src/mixins/function.scss +0 -44
  151. package/lib/theme-chalk/src/mixins/mixins.scss +0 -190
  152. package/lib/theme-chalk/src/mixins/utils.scss +0 -39
  153. package/lib/theme-chalk/src/notification.scss +0 -99
  154. package/lib/theme-chalk/src/option-group.scss +0 -42
  155. package/lib/theme-chalk/src/option.scss +0 -36
  156. package/lib/theme-chalk/src/page-header.scss +0 -41
  157. package/lib/theme-chalk/src/pagination.scss +0 -295
  158. package/lib/theme-chalk/src/popconfirm.scss +0 -16
  159. package/lib/theme-chalk/src/popover.scss +0 -40
  160. package/lib/theme-chalk/src/popper.scss +0 -101
  161. package/lib/theme-chalk/src/progress.scss +0 -141
  162. package/lib/theme-chalk/src/radio-button.scss +0 -113
  163. package/lib/theme-chalk/src/radio-group.scss +0 -9
  164. package/lib/theme-chalk/src/radio.scss +0 -199
  165. package/lib/theme-chalk/src/rate.scss +0 -49
  166. package/lib/theme-chalk/src/reset.scss +0 -79
  167. package/lib/theme-chalk/src/result.scss +0 -61
  168. package/lib/theme-chalk/src/row.scss +0 -43
  169. package/lib/theme-chalk/src/scrollbar.scss +0 -72
  170. package/lib/theme-chalk/src/select-dropdown.scss +0 -62
  171. package/lib/theme-chalk/src/select.scss +0 -152
  172. package/lib/theme-chalk/src/skeleton-item.scss +0 -84
  173. package/lib/theme-chalk/src/skeleton.scss +0 -40
  174. package/lib/theme-chalk/src/slider.scss +0 -250
  175. package/lib/theme-chalk/src/spinner.scss +0 -44
  176. package/lib/theme-chalk/src/statistic.scss +0 -38
  177. package/lib/theme-chalk/src/step.scss +0 -317
  178. package/lib/theme-chalk/src/steps.scss +0 -20
  179. package/lib/theme-chalk/src/switch.scss +0 -116
  180. package/lib/theme-chalk/src/table-column.scss +0 -97
  181. package/lib/theme-chalk/src/table.scss +0 -564
  182. package/lib/theme-chalk/src/tabs.scss +0 -602
  183. package/lib/theme-chalk/src/tag.scss +0 -163
  184. package/lib/theme-chalk/src/time-picker.scss +0 -8
  185. package/lib/theme-chalk/src/time-select.scss +0 -37
  186. package/lib/theme-chalk/src/timeline-item.scss +0 -86
  187. package/lib/theme-chalk/src/timeline.scss +0 -14
  188. package/lib/theme-chalk/src/tooltip.scss +0 -141
  189. package/lib/theme-chalk/src/transfer.scss +0 -227
  190. package/lib/theme-chalk/src/tree.scss +0 -123
  191. package/lib/theme-chalk/src/upload.scss +0 -603
  192. /package/lib/theme-chalk/{src/breadcrumb-item.scss → breadcrumb-item.css} +0 -0
  193. /package/lib/theme-chalk/{src/button-group.scss → button-group.css} +0 -0
  194. /package/lib/theme-chalk/{src/checkbox-button.scss → checkbox-button.css} +0 -0
  195. /package/lib/theme-chalk/{src/checkbox-group.scss → checkbox-group.css} +0 -0
  196. /package/lib/theme-chalk/{src/collapse-item.scss → collapse-item.css} +0 -0
  197. /package/lib/theme-chalk/{src/dropdown-item.scss → dropdown-item.css} +0 -0
  198. /package/lib/theme-chalk/{src/dropdown-menu.scss → dropdown-menu.css} +0 -0
  199. /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.ttf +0 -0
  200. /package/lib/theme-chalk/{src/fonts → fonts}/element-icons.woff +0 -0
  201. /package/lib/theme-chalk/{src/form-item.scss → form-item.css} +0 -0
  202. /package/lib/theme-chalk/{src/infinite-scroll.scss → infinite-scroll.css} +0 -0
  203. /package/lib/theme-chalk/{src/infiniteScroll.scss → infiniteScroll.css} +0 -0
  204. /package/lib/theme-chalk/{src/menu-item-group.scss → menu-item-group.css} +0 -0
  205. /package/lib/theme-chalk/{src/menu-item.scss → menu-item.css} +0 -0
  206. /package/lib/theme-chalk/{src/submenu.scss → submenu.css} +0 -0
  207. /package/lib/theme-chalk/{src/tab-pane.scss → tab-pane.css} +0 -0
@@ -1,163 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @mixin genTheme($backgroundColorWeight, $borderColorWeight, $fontColorWeight, $hoverColorWeight) {
5
- background-color: mix($--tag-primary-color, $--color-white, $backgroundColorWeight);
6
- border-color: mix($--tag-primary-color, $--color-white, $borderColorWeight);
7
- color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
8
-
9
- @include when(hit) {
10
- border-color: $--tag-primary-color;
11
- }
12
-
13
- .el-tag__close {
14
- color: mix($--tag-primary-color, $--color-white, $fontColorWeight);
15
- &:hover {
16
- color: $--color-white;
17
- background-color: mix($--tag-primary-color, $--color-white, $hoverColorWeight);
18
- }
19
- }
20
-
21
- &.el-tag--info {
22
- background-color: mix($--tag-info-color, $--color-white, $backgroundColorWeight);
23
- border-color: mix($--tag-info-color, $--color-white, $borderColorWeight);
24
- color: mix($--tag-info-color, $--color-white, $fontColorWeight);
25
-
26
- @include when(hit) {
27
- border-color: $--tag-info-color;
28
- }
29
-
30
- .el-tag__close {
31
- color: mix($--tag-info-color, $--color-white, $fontColorWeight);
32
- &:hover {
33
- color: $--color-white;
34
- background-color: mix($--tag-info-color, $--color-white, $hoverColorWeight);
35
- }
36
- }
37
- }
38
-
39
- &.el-tag--success {
40
- background-color: mix($--tag-success-color, $--color-white, $backgroundColorWeight);
41
- border-color: mix($--tag-success-color, $--color-white, $borderColorWeight);
42
- color: mix($--tag-success-color, $--color-white, $fontColorWeight);
43
-
44
- @include when(hit) {
45
- border-color: $--tag-success-color;
46
- }
47
-
48
- .el-tag__close {
49
- color: mix($--tag-success-color, $--color-white, $fontColorWeight);
50
- &:hover {
51
- color: $--color-white;
52
- background-color: mix($--tag-success-color, $--color-white, $hoverColorWeight);
53
- }
54
- }
55
- }
56
-
57
- &.el-tag--warning {
58
- background-color: mix($--tag-warning-color, $--color-white, $backgroundColorWeight);
59
- border-color: mix($--tag-warning-color, $--color-white, $borderColorWeight);
60
- color: mix($--tag-warning-color, $--color-white, $fontColorWeight);
61
-
62
- @include when(hit) {
63
- border-color: $--tag-warning-color;
64
- }
65
-
66
- .el-tag__close {
67
- color: mix($--tag-warning-color, $--color-white, $fontColorWeight);
68
- &:hover {
69
- color: $--color-white;
70
- background-color: mix($--tag-warning-color, $--color-white, $hoverColorWeight);
71
- }
72
- }
73
- }
74
-
75
- &.el-tag--danger {
76
- background-color: mix($--tag-danger-color, $--color-white, $backgroundColorWeight);
77
- border-color: mix($--tag-danger-color, $--color-white, $borderColorWeight);
78
- color: mix($--tag-danger-color, $--color-white, $fontColorWeight);
79
-
80
- @include when(hit) {
81
- border-color: $--tag-danger-color;
82
- }
83
-
84
- .el-tag__close {
85
- color: mix($--tag-danger-color, $--color-white, $fontColorWeight);
86
- &:hover {
87
- color: $--color-white;
88
- background-color: mix($--tag-danger-color, $--color-white, $hoverColorWeight);
89
- }
90
- }
91
- }
92
- }
93
-
94
- @include b(tag) {
95
- @include genTheme(10%, 20%, 100%, 100%);
96
- display: inline-block;
97
- height: 32px;
98
- padding: $--tag-padding;
99
- line-height: 30px;
100
- font-size: $--tag-font-size;
101
- color: $--tag-primary-color;
102
- border-width: 1px;
103
- border-style: solid;
104
- border-radius: $--tag-border-radius;
105
- box-sizing: border-box;
106
- white-space: nowrap;
107
-
108
- .el-icon-close {
109
- border-radius: 50%;
110
- text-align: center;
111
- position: relative;
112
- cursor: pointer;
113
- font-size: 12px;
114
- height: 16px;
115
- width: 16px;
116
- line-height: 16px;
117
- vertical-align: middle;
118
- top: -1px;
119
- right: -5px;
120
-
121
- &::before {
122
- display: block;
123
- }
124
- }
125
-
126
- @include m(dark) {
127
- @include genTheme(100%, 100%, 0, 80%);
128
- }
129
-
130
- @include m(plain) {
131
- @include genTheme(0, 40%, 100%, 100%);
132
- }
133
-
134
- @include m(medium) {
135
- height: 28px;
136
- line-height: 26px;
137
-
138
- .el-icon-close {
139
- transform: scale(.8);
140
- }
141
- }
142
-
143
- @include m(small) {
144
- height: 24px;
145
- padding: 0 8px;
146
- line-height: 22px;
147
-
148
- .el-icon-close {
149
- transform: scale(.8);
150
- }
151
- }
152
-
153
- @include m(mini) {
154
- height: 20px;
155
- padding: 0 5px;
156
- line-height: 19px;
157
-
158
- .el-icon-close {
159
- margin-left: -3px;
160
- transform: scale(.7);
161
- }
162
- }
163
- }
@@ -1,8 +0,0 @@
1
- @import "./date-picker/picker.scss";
2
- @import "./date-picker/picker-panel.scss";
3
- @import "./date-picker/time-spinner.scss";
4
- @import "./date-picker/time-picker.scss";
5
- @import "./date-picker/time-range-picker.scss";
6
- @import "./input.scss";
7
- @import "./scrollbar.scss";
8
- @import "./popper";
@@ -1,37 +0,0 @@
1
- @import "common/var";
2
- @import "./date-picker/picker.scss";
3
- @import "./date-picker/date-picker.scss";
4
- @import "./scrollbar.scss";
5
- @import "./popper";
6
-
7
- .time-select {
8
- margin: 5px 0;
9
- min-width: 0;
10
- }
11
-
12
- .time-select .el-picker-panel__content {
13
- max-height: 200px;
14
- margin: 0;
15
- }
16
-
17
- .time-select-item {
18
- padding: 8px 10px;
19
- font-size: 14px;
20
- line-height: 20px;
21
- }
22
-
23
- .time-select-item.selected:not(.disabled) {
24
- color: $--color-primary;
25
- font-weight: bold;
26
- }
27
-
28
- .time-select-item.disabled {
29
- color: $--datepicker-border-color;
30
- cursor: not-allowed;
31
- }
32
-
33
- .time-select-item:hover {
34
- background-color: $--background-color-base;
35
- font-weight: bold;
36
- cursor: pointer;
37
- }
@@ -1,86 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(timeline-item) {
5
- position: relative;
6
- padding-bottom: 20px;
7
-
8
- @include e(wrapper) {
9
- position: relative;
10
- padding-left: 28px;
11
- top: -3px;
12
- }
13
-
14
- @include e(tail) {
15
- position: absolute;
16
- left: 4px;
17
- height: 100%;
18
- border-left: 2px solid $--timeline-node-color;
19
- }
20
-
21
- @include e(icon) {
22
- color: $--color-white;
23
- font-size: $--font-size-small;
24
- }
25
-
26
- @include e(node) {
27
- position: absolute;
28
- background-color: $--timeline-node-color;
29
- border-radius: 50%;
30
- display: flex;
31
- justify-content: center;
32
- align-items: center;
33
-
34
- @include m(normal) {
35
- left: -1px;
36
- width: $--timeline-node-size-normal;
37
- height: $--timeline-node-size-normal;
38
- }
39
- @include m(large) {
40
- left: -2px;
41
- width: $--timeline-node-size-large;
42
- height: $--timeline-node-size-large;
43
- }
44
-
45
- @include m(primary) {
46
- background-color: $--color-primary;
47
- }
48
- @include m(success) {
49
- background-color: $--color-success;
50
- }
51
- @include m(warning) {
52
- background-color: $--color-warning;
53
- }
54
- @include m(danger) {
55
- background-color: $--color-danger;
56
- }
57
- @include m(info) {
58
- background-color: $--color-info;
59
- }
60
- }
61
-
62
- @include e(dot) {
63
- position: absolute;
64
- display: flex;
65
- justify-content: center;
66
- align-items: center;
67
- }
68
-
69
- @include e(content) {
70
- color: $--color-text-primary;
71
- }
72
-
73
- @include e(timestamp) {
74
- color: $--color-text-secondary;
75
- line-height: 1;
76
- font-size: $--font-size-small;
77
-
78
- @include when(top) {
79
- margin-bottom: 8px;
80
- padding-top: 4px;
81
- }
82
- @include when(bottom) {
83
- margin-top: 8px;
84
- }
85
- }
86
- }
@@ -1,14 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(timeline) {
5
- margin: 0;
6
- font-size: $--font-size-base;
7
- list-style: none;
8
-
9
- & .el-timeline-item:last-child {
10
- & .el-timeline-item__tail {
11
- display: none;
12
- }
13
- }
14
- }
@@ -1,141 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(tooltip) {
5
- &:focus:not(.focusing), &:focus:hover {
6
- outline-width: 0;
7
- }
8
- @include e(popper) {
9
- position: absolute;
10
- border-radius: 4px;
11
- padding: $--tooltip-padding;
12
- z-index: $--index-popper;
13
- font-size: $--tooltip-font-size;
14
- line-height: 1.2;
15
- min-width: 10px;
16
- word-wrap: break-word;
17
-
18
- .popper__arrow,
19
- .popper__arrow::after {
20
- position: absolute;
21
- display: block;
22
- width: 0;
23
- height: 0;
24
- border-color: transparent;
25
- border-style: solid;
26
- }
27
-
28
- .popper__arrow {
29
- border-width: $--tooltip-arrow-size;
30
- }
31
-
32
- .popper__arrow::after {
33
- content: " ";
34
- border-width: 5px;
35
- }
36
-
37
- &[x-placement^="top"] {
38
- margin-bottom: #{$--tooltip-arrow-size + 6px};
39
- }
40
-
41
- &[x-placement^="top"] .popper__arrow {
42
- bottom: -$--tooltip-arrow-size;
43
- border-top-color: $--tooltip-border-color;
44
- border-bottom-width: 0;
45
-
46
- &::after {
47
- bottom: 1px;
48
- margin-left: -5px;
49
- border-top-color: $--tooltip-fill;
50
- border-bottom-width: 0;
51
- }
52
- }
53
-
54
- &[x-placement^="bottom"] {
55
- margin-top: #{$--tooltip-arrow-size + 6px};
56
- }
57
-
58
- &[x-placement^="bottom"] .popper__arrow {
59
- top: -$--tooltip-arrow-size;
60
- border-top-width: 0;
61
- border-bottom-color: $--tooltip-border-color;
62
-
63
- &::after {
64
- top: 1px;
65
- margin-left: -5px;
66
- border-top-width: 0;
67
- border-bottom-color: $--tooltip-fill;
68
- }
69
- }
70
-
71
- &[x-placement^="right"] {
72
- margin-left: #{$--tooltip-arrow-size + 6px};
73
- }
74
-
75
- &[x-placement^="right"] .popper__arrow {
76
- left: -$--tooltip-arrow-size;
77
- border-right-color: $--tooltip-border-color;
78
- border-left-width: 0;
79
-
80
- &::after {
81
- bottom: -5px;
82
- left: 1px;
83
- border-right-color: $--tooltip-fill;
84
- border-left-width: 0;
85
- }
86
- }
87
-
88
- &[x-placement^="left"] {
89
- margin-right: #{$--tooltip-arrow-size + 6px};
90
- }
91
-
92
- &[x-placement^="left"] .popper__arrow {
93
- right: -$--tooltip-arrow-size;
94
- border-right-width: 0;
95
- border-left-color: $--tooltip-border-color;
96
-
97
- &::after {
98
- right: 1px;
99
- bottom: -5px;
100
- margin-left: -5px;
101
- border-right-width: 0;
102
- border-left-color: $--tooltip-fill;
103
- }
104
- }
105
-
106
- @include when(dark) {
107
- background: $--tooltip-fill;
108
- color: $--tooltip-color;
109
- }
110
-
111
- @include when(light) {
112
- background: $--tooltip-color;
113
- border: 1px solid $--tooltip-fill;
114
-
115
- &[x-placement^="top"] .popper__arrow {
116
- border-top-color: $--tooltip-fill;
117
- &::after {
118
- border-top-color: $--tooltip-color;
119
- }
120
- }
121
- &[x-placement^="bottom"] .popper__arrow {
122
- border-bottom-color: $--tooltip-fill;
123
- &::after {
124
- border-bottom-color: $--tooltip-color;
125
- }
126
- }
127
- &[x-placement^="left"] .popper__arrow {
128
- border-left-color: $--tooltip-fill;
129
- &::after {
130
- border-left-color: $--tooltip-color;
131
- }
132
- }
133
- &[x-placement^="right"] .popper__arrow {
134
- border-right-color: $--tooltip-fill;
135
- &::after {
136
- border-right-color: $--tooltip-color;
137
- }
138
- }
139
- }
140
- }
141
- }
@@ -1,227 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "mixins/utils";
3
- @import "common/var";
4
- @import "input";
5
- @import "button";
6
- @import "checkbox";
7
- @import "checkbox-group";
8
-
9
- @include b(transfer) {
10
- font-size: $--font-size-base;
11
-
12
- @include e(buttons) {
13
- display: inline-block;
14
- vertical-align: middle;
15
- padding: 0 30px;
16
- }
17
-
18
- @include e(button) {
19
- display: block;
20
- margin: 0 auto;
21
- padding: 10px;
22
- border-radius: 50%;
23
- color: $--color-white;
24
- background-color: $--color-primary;
25
- font-size: 0;
26
-
27
- @include when(with-texts) {
28
- border-radius: $--border-radius-base;
29
- }
30
-
31
- @include when(disabled) {
32
- border: $--border-base;
33
- background-color: $--background-color-base;
34
- color: $--color-text-placeholder;
35
-
36
- &:hover {
37
- border: $--border-base;
38
- background-color: $--background-color-base;
39
- color: $--color-text-placeholder;
40
- }
41
- }
42
-
43
- &:first-child {
44
- margin-bottom: 10px;
45
- }
46
-
47
- &:nth-child(2) {
48
- margin: 0;
49
- }
50
-
51
- i, span {
52
- font-size: 14px;
53
- }
54
-
55
- & [class*="el-icon-"] + span {
56
- margin-left: 0;
57
- }
58
- }
59
- }
60
-
61
- @include b(transfer-panel) {
62
- border: 1px solid $--transfer-border-color;
63
- border-radius: $--transfer-border-radius;
64
- overflow: hidden;
65
- background: $--color-white;
66
- display: inline-block;
67
- vertical-align: middle;
68
- width: $--transfer-panel-width;
69
- max-height: 100%;
70
- box-sizing: border-box;
71
- position: relative;
72
-
73
- @include e(body) {
74
- height: $--transfer-panel-body-height;
75
-
76
- @include when(with-footer) {
77
- padding-bottom: $--transfer-panel-footer-height;
78
- }
79
- }
80
-
81
- @include e(list) {
82
- margin: 0;
83
- padding: 6px 0;
84
- list-style: none;
85
- height: $--transfer-panel-body-height;
86
- overflow: auto;
87
- box-sizing: border-box;
88
-
89
- @include when(filterable) {
90
- height: #{$--transfer-panel-body-height - $--transfer-filter-height - 20px};
91
- padding-top: 0;
92
- }
93
- }
94
-
95
- @include e(item) {
96
- height: $--transfer-item-height;
97
- line-height: $--transfer-item-height;
98
- padding-left: 15px;
99
- display: block !important;
100
-
101
- & + .el-transfer-panel__item {
102
- margin-left: 0;
103
- }
104
-
105
- &.el-checkbox {
106
- color: $--color-text-regular;
107
- }
108
-
109
- &:hover {
110
- color: $--color-primary;
111
- }
112
-
113
- &.el-checkbox .el-checkbox__label {
114
- width: 100%;
115
- @include utils-ellipsis;
116
- display: block;
117
- box-sizing: border-box;
118
- padding-left: 24px;
119
- line-height: $--transfer-item-height;
120
- }
121
-
122
- .el-checkbox__input {
123
- position: absolute;
124
- top: 8px;
125
- }
126
- }
127
-
128
- @include e(filter) {
129
- text-align: center;
130
- margin: 15px;
131
- box-sizing: border-box;
132
- display: block;
133
- width: auto;
134
-
135
- .el-input__inner {
136
- height: $--transfer-filter-height;
137
- width: 100%;
138
- font-size: 12px;
139
- display: inline-block;
140
- box-sizing: border-box;
141
- border-radius: #{$--transfer-filter-height / 2};
142
- padding-right: 10px;
143
- padding-left: 30px;
144
- }
145
-
146
- .el-input__icon {
147
- margin-left: 5px;
148
- }
149
-
150
- .el-icon-circle-close {
151
- cursor: pointer;
152
- }
153
- }
154
-
155
- .el-transfer-panel__header {
156
- height: $--transfer-panel-header-height;
157
- line-height: $--transfer-panel-header-height;
158
- background: $--transfer-panel-header-background-color;
159
- margin: 0;
160
- padding-left: 15px;
161
- border-bottom: 1px solid $--transfer-border-color;
162
- box-sizing: border-box;
163
- color: $--color-black;
164
-
165
- .el-checkbox {
166
- display: block;
167
- line-height: 40px;
168
-
169
- .el-checkbox__label {
170
- font-size: 16px;
171
- color: $--color-text-primary;
172
- font-weight: normal;
173
-
174
- span {
175
- position: absolute;
176
- right: 15px;
177
- color: $--color-text-secondary;
178
- font-size: 12px;
179
- font-weight: normal;
180
- }
181
- }
182
- }
183
- }
184
-
185
- .el-transfer-panel__footer {
186
- height: $--transfer-panel-footer-height;
187
- background: $--color-white;
188
- margin: 0;
189
- padding: 0;
190
- border-top: 1px solid $--transfer-border-color;
191
- position: absolute;
192
- bottom: 0;
193
- left: 0;
194
- width: 100%;
195
- z-index: $--index-normal;
196
- @include utils-vertical-center;
197
-
198
- .el-checkbox {
199
- padding-left: 20px;
200
- color: $--color-text-regular;
201
- }
202
- }
203
-
204
- .el-transfer-panel__empty {
205
- margin: 0;
206
- height: $--transfer-item-height;
207
- line-height: $--transfer-item-height;
208
- padding: 6px 15px 0;
209
- color: $--color-text-secondary;
210
- text-align: center;
211
- }
212
-
213
- .el-checkbox__label {
214
- padding-left: 8px;
215
- }
216
-
217
- .el-checkbox__inner {
218
- height: 14px;
219
- width: 14px;
220
- border-radius: 3px;
221
- &::after {
222
- height: 6px;
223
- width: 3px;
224
- left: 4px;
225
- }
226
- }
227
- }