@fjyueke/arco-mcp 1.0.1 → 1.0.2
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.
- package/dist/index.js +113 -1
- package/metaData/components/action-sheet/style.md +57 -0
- package/metaData/components/avatar/style.md +147 -0
- package/metaData/components/badge/style.md +74 -0
- package/metaData/components/button/style.md +151 -0
- package/metaData/components/carousel/style.md +208 -0
- package/metaData/components/cell/style.md +123 -0
- package/metaData/components/checkbox/style.md +62 -0
- package/metaData/components/circle-progress/style.md +52 -0
- package/metaData/components/collapse/style.md +53 -0
- package/metaData/components/context-provider/style.md +1 -0
- package/metaData/components/count-down/style.md +7 -0
- package/metaData/components/date-picker/style.md +27 -0
- package/metaData/components/dialog/style.md +271 -0
- package/metaData/components/divider/style.md +68 -0
- package/metaData/components/dropdown/style.md +108 -0
- package/metaData/components/dropdown-menu/style.md +60 -0
- package/metaData/components/ellipsis/style.md +31 -0
- package/metaData/components/form/style.md +105 -0
- package/metaData/components/grid/style.md +109 -0
- package/metaData/components/image/style.md +144 -0
- package/metaData/components/image-picker/style.md +116 -0
- package/metaData/components/image-preview/style.md +103 -0
- package/metaData/components/index-bar/style.md +122 -0
- package/metaData/components/input/style.md +108 -0
- package/metaData/components/keyboard/style.md +80 -0
- package/metaData/components/load-more/style.md +7 -0
- package/metaData/components/loading/style.md +102 -0
- package/metaData/components/masking/style.md +30 -0
- package/metaData/components/nav-bar/style.md +112 -0
- package/metaData/components/notice-bar/style.md +124 -0
- package/metaData/components/notify/style.md +40 -0
- package/metaData/components/pagination/style.md +105 -0
- package/metaData/components/picker/style.md +46 -0
- package/metaData/components/picker-view/style.md +75 -0
- package/metaData/components/popover/style.md +226 -0
- package/metaData/components/popup/style.md +115 -0
- package/metaData/components/popup-swiper/style.md +10 -0
- package/metaData/components/portal/style.md +1 -0
- package/metaData/components/progress/style.md +114 -0
- package/metaData/components/pull-refresh/style.md +86 -0
- package/metaData/components/radio/style.md +57 -0
- package/metaData/components/rate/style.md +63 -0
- package/metaData/components/search-bar/style.md +115 -0
- package/metaData/components/show-monitor/style.md +1 -0
- package/metaData/components/skeleton/style.md +147 -0
- package/metaData/components/slider/style.md +292 -0
- package/metaData/components/stepper/style.md +85 -0
- package/metaData/components/steps/style.md +304 -0
- package/metaData/components/sticky/style.md +5 -0
- package/metaData/components/swipe-action/style.md +89 -0
- package/metaData/components/swipe-load/style.md +29 -0
- package/metaData/components/switch/style.md +158 -0
- package/metaData/components/tab-bar/style.md +57 -0
- package/metaData/components/tabs/style.md +436 -0
- package/metaData/components/tag/style.md +133 -0
- package/metaData/components/textarea/style.md +37 -0
- package/metaData/components/toast/style.md +93 -0
- package/metaData/components/transition/style.md +28 -0
- package/metaData/components/uploader/style.md +86 -0
- package/metaData/tokens.json +2358 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@import "../../../style/mixin.less";
|
|
2
|
+
|
|
3
|
+
.@{prefix}-picker-view {
|
|
4
|
+
.noselect();
|
|
5
|
+
.use-var(height, picker-view-wrapper-height);
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.@{prefix}-picker {
|
|
10
|
+
|
|
11
|
+
&-multi {
|
|
12
|
+
.use-var(color, font-color);
|
|
13
|
+
.use-var(font-size, picker-view-font-size);
|
|
14
|
+
.use-var(line-height, picker-view-cell-height);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-multi,
|
|
18
|
+
&-selection {
|
|
19
|
+
position: absolute;
|
|
20
|
+
left: 0;
|
|
21
|
+
top: 0;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-column {
|
|
29
|
+
flex: 1;
|
|
30
|
+
height: 100%;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
text-align: center;
|
|
33
|
+
|
|
34
|
+
&-item-wrap {
|
|
35
|
+
box-sizing: content-box;
|
|
36
|
+
will-change: transform;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-item {
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
overflow-y: hidden;
|
|
42
|
+
overflow-x: auto;
|
|
43
|
+
&::-webkit-scrollbar {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&-selection {
|
|
50
|
+
will-change: transform;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
|
|
54
|
+
&-mask-top {
|
|
55
|
+
width: 100%;
|
|
56
|
+
flex: 1;
|
|
57
|
+
.use-var(background, picker-view-mask-top-background);
|
|
58
|
+
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-mask-bottom {
|
|
62
|
+
width: 100%;
|
|
63
|
+
flex: 1;
|
|
64
|
+
.use-var(background, picker-view-mask-bottom-background);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-bar {
|
|
68
|
+
width: 100%;
|
|
69
|
+
.use-var(height, picker-view-cell-height);
|
|
70
|
+
flex: 0 0 auto;
|
|
71
|
+
.onepx-border-var(top, picker-view-selection-border-color);
|
|
72
|
+
.onepx-border-var(bottom, picker-view-selection-border-color);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
@import "../../../style/mixin.less";
|
|
2
|
+
@import "./menu.less";
|
|
3
|
+
|
|
4
|
+
.full() {
|
|
5
|
+
left: 0;
|
|
6
|
+
top: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.@{prefix}-popover {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
|
|
15
|
+
.popover-child-inner {
|
|
16
|
+
font-size: 0;
|
|
17
|
+
line-height: 1;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.@{prefix}-popover-mask {
|
|
22
|
+
.full-screen();
|
|
23
|
+
.use-var(background, popover-mask-background);
|
|
24
|
+
z-index: @full-screen-z-index;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.@{prefix}-popover-inner {
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: max-content;
|
|
31
|
+
z-index: @full-screen-z-index + 10;
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
visibility: hidden;
|
|
34
|
+
will-change: transform;
|
|
35
|
+
.use-var(transition, popover-inner-transition);
|
|
36
|
+
.use-var(color, popover-content-color);
|
|
37
|
+
|
|
38
|
+
&.with-shadow {
|
|
39
|
+
.popover-bg {
|
|
40
|
+
.use-var(box-shadow, popover-inner-background-shadow);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.popover-arrow {
|
|
44
|
+
&.topRight,
|
|
45
|
+
&.topCenter,
|
|
46
|
+
&.topLeft {
|
|
47
|
+
.use-var(box-shadow, popover-inner-top-arrow-shadow);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.bottomRight,
|
|
51
|
+
&.bottomCenter,
|
|
52
|
+
&.bottomLeft {
|
|
53
|
+
.use-var(box-shadow, popover-inner-bottom-arrow-shadow);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.show {
|
|
59
|
+
visibility: visible;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.popover-content {
|
|
63
|
+
position: relative;
|
|
64
|
+
z-index: 1;
|
|
65
|
+
.full();
|
|
66
|
+
.use-var(border-radius, popover-inner-border-radius);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.popover-bg {
|
|
70
|
+
position: absolute;
|
|
71
|
+
.full();
|
|
72
|
+
.use-var(border-radius, popover-inner-border-radius);
|
|
73
|
+
.use-var(background-color, popover-background-color);
|
|
74
|
+
.use-var(opacity, popover-inner-opacity);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.content-text {
|
|
78
|
+
white-space: normal;
|
|
79
|
+
word-break: break-all;
|
|
80
|
+
text-align: left;
|
|
81
|
+
.use-var(font-size, popover-content-font-size);
|
|
82
|
+
.use-var(line-height, popover-content-line-height);
|
|
83
|
+
.use-var(padding, popover-content-padding);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.with-suffix {
|
|
87
|
+
.popover-content {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.icon-divider {
|
|
94
|
+
width: 1PX;
|
|
95
|
+
.use-var(height, popover-icon-divider-height);
|
|
96
|
+
.hairline-var(popover-icon-divider-color, left);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.text-close-icon {
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
.use-var(font-size, popover-icon-size);
|
|
102
|
+
.use-var(padding, popover-icon-padding);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.text-suffix {
|
|
106
|
+
.use-var-with-rtl(padding-right, popover-text-suffix-edge);
|
|
107
|
+
flex: 0 0 auto;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.popover-arrow {
|
|
111
|
+
position: absolute;
|
|
112
|
+
transform: rotate(45deg);
|
|
113
|
+
.use-var(width, popover-arrow-size);
|
|
114
|
+
.use-var(height, popover-arrow-size);
|
|
115
|
+
.use-var(background-color, popover-background-color);
|
|
116
|
+
|
|
117
|
+
&.topRight,
|
|
118
|
+
&.topCenter,
|
|
119
|
+
&.topLeft {
|
|
120
|
+
&,
|
|
121
|
+
.popover-arrow-content {
|
|
122
|
+
.use-var(border-bottom-right-radius, popover-arrow-border-radius);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&.bottomRight,
|
|
127
|
+
&.bottomCenter,
|
|
128
|
+
&.bottomLeft {
|
|
129
|
+
&,
|
|
130
|
+
.popover-arrow-content {
|
|
131
|
+
.use-var(border-top-left-radius, popover-arrow-border-radius);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.topRight,
|
|
136
|
+
&.topCenter,
|
|
137
|
+
&.topLeft {
|
|
138
|
+
transform: translateY(50%) rotate(45deg);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.topRight {
|
|
142
|
+
bottom: 0;
|
|
143
|
+
right: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.topCenter,
|
|
147
|
+
&.topLeft {
|
|
148
|
+
bottom: 0;
|
|
149
|
+
left: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.bottomRight,
|
|
153
|
+
&.bottomCenter,
|
|
154
|
+
&.bottomLeft {
|
|
155
|
+
transform: translateY(-50%) rotate(45deg);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.bottomRight {
|
|
159
|
+
top: 0;
|
|
160
|
+
right: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.bottomCenter,
|
|
164
|
+
&.bottomLeft {
|
|
165
|
+
top: 0;
|
|
166
|
+
left: 0;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// 白色主题
|
|
171
|
+
|
|
172
|
+
&.white-theme {
|
|
173
|
+
.use-var(color, popover-content-white-theme-color);
|
|
174
|
+
|
|
175
|
+
.popover-bg {
|
|
176
|
+
.use-var(background-color, popover-white-theme-background-color);
|
|
177
|
+
.use-var(opacity, popover-inner-white-theme-opacity);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.popover-arrow {
|
|
181
|
+
.use-var(background-color, popover-white-theme-background-color);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.popover-arrow-content {
|
|
185
|
+
position: relative;
|
|
186
|
+
width: 100%;
|
|
187
|
+
height: 100%;
|
|
188
|
+
background-color: inherit;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// 带border的白色主题
|
|
193
|
+
|
|
194
|
+
&.white-theme.bordered {
|
|
195
|
+
.popover-bg {
|
|
196
|
+
.hairline-var(popover-content-white-theme-border-color);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.popover-arrow-content {
|
|
200
|
+
.use-var(border-color, popover-content-white-theme-border-color);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.popover-arrow {
|
|
204
|
+
&.topRight,
|
|
205
|
+
&.topCenter,
|
|
206
|
+
&.topLeft {
|
|
207
|
+
.popover-arrow-content {
|
|
208
|
+
.hairline-bottom-right-var(popover-content-white-theme-border-color);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.bottomRight,
|
|
213
|
+
&.bottomCenter,
|
|
214
|
+
&.bottomLeft {
|
|
215
|
+
.popover-arrow-content {
|
|
216
|
+
.hairline-top-left-var(popover-content-white-theme-border-color);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// 全局模式
|
|
224
|
+
.global-mode.@{prefix}-popover-inner {
|
|
225
|
+
position: fixed;
|
|
226
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@import '../../../style/mixin.less';
|
|
2
|
+
|
|
3
|
+
.set-popup-transform(@transform) {
|
|
4
|
+
|
|
5
|
+
&-enter,
|
|
6
|
+
&-exit-active,
|
|
7
|
+
&-exit-done {
|
|
8
|
+
transform: @transform;
|
|
9
|
+
|
|
10
|
+
&.translateZ {
|
|
11
|
+
transform: @transform translateZ(2PX);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.@{prefix}-popup {
|
|
17
|
+
.@{prefix}-slide-from {
|
|
18
|
+
&-left {
|
|
19
|
+
.set-popup-transform(translate(-100%, 0));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-right {
|
|
23
|
+
.set-popup-transform(translate(100%, 0));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-top {
|
|
27
|
+
.set-popup-transform(translate(0, -100%));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&-bottom {
|
|
31
|
+
.set-popup-transform(translate(0, 100%));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-content,
|
|
36
|
+
&-mask {
|
|
37
|
+
&[class*="-enter-active"] {
|
|
38
|
+
&.translateZ {
|
|
39
|
+
transform: translateZ(2PX);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
transform: translate(0, 0);
|
|
43
|
+
.use-var(transition, popup-enter-transition);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[class*="-exit-active"] {
|
|
48
|
+
.use-var(transition, popup-exit-transition);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-content {
|
|
52
|
+
&[class*="-enter-active"] {
|
|
53
|
+
transition-duration: var(--builtin-transition-popup-slide-enter-duration, 450ms);
|
|
54
|
+
}
|
|
55
|
+
&[class*="-exit-active"] {
|
|
56
|
+
transition-duration: var(--builtin-transition-popup-slide-exit-duration, 240ms);
|
|
57
|
+
}
|
|
58
|
+
&.need-bottom-offset {
|
|
59
|
+
padding-bottom: constant(safe-area-inset-bottom);
|
|
60
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&.left {
|
|
64
|
+
left: 0;
|
|
65
|
+
top: 0;
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.top {
|
|
70
|
+
left: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.right {
|
|
76
|
+
right: 0;
|
|
77
|
+
top: 0;
|
|
78
|
+
height: 100%;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.bottom {
|
|
82
|
+
left: 0;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.translateZ {
|
|
88
|
+
transform: translateZ(2PX);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.use-var(background, popup-content-background);
|
|
92
|
+
position: fixed;
|
|
93
|
+
z-index: @full-screen-z-index+1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&-mask {
|
|
97
|
+
&[class*="-enter-active"] {
|
|
98
|
+
transition-duration: var(--builtin-transition-fade-enter-duration, 450ms);
|
|
99
|
+
}
|
|
100
|
+
&[class*="-exit-active"] {
|
|
101
|
+
transition-duration: var(--builtin-transition-fade-exit-duration, 240ms);
|
|
102
|
+
}
|
|
103
|
+
&.translateZ {
|
|
104
|
+
transform: translateZ(1PX);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
position: fixed;
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
left: 0;
|
|
111
|
+
top: 0;
|
|
112
|
+
z-index: @full-screen-z-index;
|
|
113
|
+
.use-var(background, popup-mask-background);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
// 这里啥也没有,但是为了兼容 babel-plugin-import的统一引用,还是需要创建下文件
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
@import "../../../style/mixin.less";
|
|
2
|
+
|
|
3
|
+
.@{prefix}-progress {
|
|
4
|
+
|
|
5
|
+
&.progress-fixed {
|
|
6
|
+
position: fixed;
|
|
7
|
+
width: 100%;
|
|
8
|
+
.set-prop-with-rtl(left, 0);
|
|
9
|
+
z-index: @full-screen-z-index + 1;;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.progress-wrapper {
|
|
13
|
+
position: relative;
|
|
14
|
+
width: 100%;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
|
|
18
|
+
.progress-track {
|
|
19
|
+
width: 100%;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
.use-var(background-color, progress-track-color);
|
|
23
|
+
.use-var(height, progress-track-height);
|
|
24
|
+
|
|
25
|
+
&.position-innerLeft {
|
|
26
|
+
.use-var(height, progress-inner-track-height);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.nav-mode {
|
|
30
|
+
.use-var(background-color, progress-nav-track-color);
|
|
31
|
+
.use-var(height, progress-nav-track-height);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.progress-bar {
|
|
36
|
+
height: 100%;
|
|
37
|
+
position: relative;
|
|
38
|
+
.use-var(background-color, progress-primary-color);
|
|
39
|
+
|
|
40
|
+
.wrapper {
|
|
41
|
+
position: absolute;
|
|
42
|
+
.set-prop-with-rtl(right, 0);
|
|
43
|
+
top: 50%;
|
|
44
|
+
transform: translateY(-50%);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.filleted {
|
|
49
|
+
border-radius: 100PX;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.text {
|
|
53
|
+
.use-var(font-size, progress-text-font-size);
|
|
54
|
+
.use-var-with-rtl(margin-left, progress-text-gutter);
|
|
55
|
+
.use-var(color, progress-primary-color);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.text-left {
|
|
59
|
+
.set-prop-with-rtl(margin-left, 0);
|
|
60
|
+
.use-var-with-rtl(margin-right, progress-text-gutter);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.text-innerLeft {
|
|
64
|
+
position: absolute;
|
|
65
|
+
z-index: 1;
|
|
66
|
+
.use-var(color, progress-text-inner-color);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.text-center {
|
|
70
|
+
position: absolute;
|
|
71
|
+
left: 50%;
|
|
72
|
+
top: 50%;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
transform: translate(-50%, -50%);
|
|
75
|
+
.use-var(color, progress-text-inner-color);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.text-follow {
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
.use-var(width, progress-text-follow-width);
|
|
83
|
+
.use-var(height, progress-text-follow-height);
|
|
84
|
+
.use-var(border-radius, progress-text-follow-border-radius);
|
|
85
|
+
.use-var(font-size, progress-text-follow-font-size);
|
|
86
|
+
.use-var(color, progress-text-inner-color);
|
|
87
|
+
.use-var(background-color, progress-primary-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.track-color {
|
|
91
|
+
.use-var(background-color, progress-track-color); }
|
|
92
|
+
|
|
93
|
+
.color {
|
|
94
|
+
.use-var(stroke, progress-primary-color);
|
|
95
|
+
.use-var(color, progress-primary-color);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.bar-disabled {
|
|
99
|
+
.use-var(background-color, progress-disabled-color);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.text-disabled {
|
|
103
|
+
.use-var(color, progress-disabled-text-color);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.inner-disabled {
|
|
107
|
+
.use-var(color, progress-text-inner-color);
|
|
108
|
+
|
|
109
|
+
&.inner-block-disabled {
|
|
110
|
+
.use-var(background-color, progress-disabled-color);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@import "../../../style/mixin.less";
|
|
2
|
+
|
|
3
|
+
.@{prefix}-pull-refresh {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
-webkit-overflow-scrolling: touch;
|
|
9
|
+
|
|
10
|
+
&::-webkit-scrollbar {
|
|
11
|
+
display: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.is-disabled,
|
|
15
|
+
&-content,
|
|
16
|
+
&-content-wrapper {
|
|
17
|
+
.use-var(background, pull-refresh-content-background-color);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-content {
|
|
21
|
+
min-height: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-ios &-content-wrapper {
|
|
25
|
+
list-style-type: none;
|
|
26
|
+
padding: 0;
|
|
27
|
+
padding-bottom: 1PX;
|
|
28
|
+
margin: 0;
|
|
29
|
+
min-height: 100%;
|
|
30
|
+
box-sizing: content-box;
|
|
31
|
+
transform: translateZ(0);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&-label {
|
|
35
|
+
position: absolute;
|
|
36
|
+
display: flex;
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: fit-content;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
z-index: -1;
|
|
42
|
+
.use-var(font-size, pull-refresh-label-font-size);
|
|
43
|
+
.use-var(background, pull-refresh-label-background-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-label-wrapper {
|
|
47
|
+
position: absolute;
|
|
48
|
+
left: 0;
|
|
49
|
+
width: 100%;
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-place {
|
|
54
|
+
position: relative;
|
|
55
|
+
height: 100%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-label-text {
|
|
59
|
+
display: flex;
|
|
60
|
+
.rem(font-size, 14);
|
|
61
|
+
.rem(line-height, 44);
|
|
62
|
+
.use-var(color, pull-refresh-label-text-color);
|
|
63
|
+
.set-loading-color-var(pull-refresh-label-loading-color);
|
|
64
|
+
align-items: center;
|
|
65
|
+
.@{prefix}-loading + span {
|
|
66
|
+
.rem-with-rtl(margin-left, 10);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.is-android &-label {
|
|
71
|
+
top: 0;
|
|
72
|
+
transform: translateY(-100%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.is-ios &-label {
|
|
76
|
+
position: absolute;
|
|
77
|
+
bottom: 0;
|
|
78
|
+
overflow-y: auto;
|
|
79
|
+
.rem(font-size, 14);
|
|
80
|
+
|
|
81
|
+
&-wrapper {
|
|
82
|
+
will-change: height;
|
|
83
|
+
z-index: -1;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@import "../../../style/mixin.less";
|
|
2
|
+
|
|
3
|
+
.@{prefix}-radio {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
|
|
7
|
+
.radio-icon {
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
.use-var(font-size, checkbox-icon-font-size);
|
|
11
|
+
.use-var(color, checkbox-icon-color);
|
|
12
|
+
|
|
13
|
+
&.checked {
|
|
14
|
+
.use-var(color, checkbox-icon-checked-color);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.disabled {
|
|
18
|
+
.use-var(color, checkbox-icon-disabled-color);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.checked.disabled {
|
|
22
|
+
.use-var(color, checkbox-icon-checked-disabled-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.@{prefix}-icon-circle-disabled path {
|
|
26
|
+
.use-var(stroke, line-color);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.radio-text {
|
|
31
|
+
.use-var(font-size, checkbox-text-font-size);
|
|
32
|
+
.use-var(color, font-color);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.radio-icon + .radio-text {
|
|
36
|
+
.use-var-with-rtl(margin-left, checkbox-icon-margin-right);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.disabled .radio-text {
|
|
40
|
+
.use-var(opacity, checkbox-text-disabled-opacity);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.block {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.justify {
|
|
48
|
+
width: 100%;
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.@{prefix}-radio-group {
|
|
54
|
+
.@{prefix}-radio:not(:last-child, .block) {
|
|
55
|
+
.use-var-with-rtl(margin-right, checkbox-group-gutter);
|
|
56
|
+
}
|
|
57
|
+
}
|