@nutui/nutui-react 1.4.6 → 1.4.7-beta.0
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/CHANGELOG.md +26 -0
- package/dist/esm/Button.js +6 -3
- package/dist/esm/CheckboxGroup.js +1 -1
- package/dist/esm/Elevator.js +1 -0
- package/dist/esm/Ellipsis.js +1 -4
- package/dist/esm/Form.js +11 -11
- package/dist/esm/FormItem.js +2 -2
- package/dist/esm/Notify.js +0 -1
- package/dist/esm/NumberKeyboard.js +3 -0
- package/dist/esm/Popup.js +4 -2
- package/dist/esm/Progress.js +6 -72
- package/dist/esm/Radio.js +2 -2
- package/dist/esm/RadioGroup.js +1 -1
- package/dist/esm/SearchBar.js +3 -1
- package/dist/esm/Swipe.js +7 -2
- package/dist/esm/Swiper.js +7 -2
- package/dist/esm/Tabbar.js +1 -1
- package/dist/esm/TabbarItem.js +7 -5
- package/dist/esm/Tag.js +5 -3
- package/dist/esm/{formitem-9d18eb24.js → formitem-bab4c481.js} +18 -4
- package/dist/esm/{radio-cf953c7a.js → radio-e3ac1cef.js} +4 -4
- package/dist/esm/types/src/packages/button/button.d.ts +1 -0
- package/dist/esm/types/src/packages/elevator/elevator.d.ts +3 -1
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +1 -0
- package/dist/esm/types/src/packages/notify/notify.d.ts +0 -1
- package/dist/esm/types/src/packages/numberkeyboard/numberkeyboard.d.ts +1 -0
- package/dist/esm/types/src/packages/popup/popup.d.ts +1 -0
- package/dist/esm/types/src/packages/progress/progress.d.ts +0 -1
- package/dist/esm/types/src/packages/searchbar/searchbar.d.ts +1 -0
- package/dist/esm/types/src/packages/swipe/swipe.d.ts +4 -1
- package/dist/esm/types/src/packages/tabbar/demo.d.ts +1 -0
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.d.ts +1 -0
- package/dist/esm/types/src/packages/tag/tag.d.ts +1 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +296 -336
- package/dist/nutui.react.umd.js +296 -336
- package/dist/packages/address/address.scss +23 -2
- package/dist/packages/button/button.scss +23 -1
- package/dist/packages/calendar/calendar.scss +3 -3
- package/dist/packages/elevator/elevator.scss +1 -1
- package/dist/packages/numberkeyboard/numberkeyboard.scss +10 -2
- package/dist/packages/popup/popup.scss +4 -4
- package/dist/packages/progress/progress.scss +26 -3
- package/dist/packages/radio/radio.scss +1 -1
- package/dist/packages/radiogroup/radiogroup.scss +15 -2
- package/dist/packages/searchbar/searchbar.scss +35 -7
- package/dist/packages/shortpassword/shortpassword.scss +12 -1
- package/dist/packages/swiper/swiper.scss +1 -1
- package/dist/packages/switch/switch.scss +15 -2
- package/dist/packages/tabbar/tabbar.scss +17 -3
- package/dist/packages/tabbaritem/tabbaritem.scss +26 -17
- package/dist/packages/tag/tag.scss +3 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/theme-dark.scss +1 -0
- package/dist/styles/theme-default.scss +1 -0
- package/dist/styles/variables.scss +100 -19
- package/dist/types/index.d.ts +15 -4
- package/package.json +8 -7
- package/dist/esm/types/src/packages/icon/icon.taro.d.ts +0 -18
- package/dist/styles/temp.scss +0 -2340
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.nut-theme-dark {
|
|
2
3
|
.nut-address {
|
|
3
4
|
.nut-elevator {
|
|
@@ -7,6 +8,7 @@
|
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
&__header {
|
|
11
13
|
color: $dark1;
|
|
12
14
|
|
|
@@ -17,11 +19,13 @@
|
|
|
17
19
|
|
|
18
20
|
&__custom {
|
|
19
21
|
}
|
|
22
|
+
|
|
20
23
|
.nut-address__region-tab {
|
|
21
24
|
.nut-address__tab-item {
|
|
22
25
|
color: $dark1;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
28
|
+
|
|
25
29
|
.nut-address__region-con {
|
|
26
30
|
.nut-address__region-group {
|
|
27
31
|
.nut-address__region-item {
|
|
@@ -31,9 +35,11 @@
|
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
}
|
|
38
|
+
|
|
34
39
|
.nut-address__exist-item-info {
|
|
35
40
|
color: $dark1;
|
|
36
41
|
}
|
|
42
|
+
|
|
37
43
|
&__exist {
|
|
38
44
|
&-group {
|
|
39
45
|
.nut-address__exist-ul {
|
|
@@ -47,6 +53,7 @@
|
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
}
|
|
56
|
+
|
|
50
57
|
.exist-address {
|
|
51
58
|
.exist-address-group {
|
|
52
59
|
.exist-ul {
|
|
@@ -60,6 +67,7 @@
|
|
|
60
67
|
border-top: 1px solid $dark4;
|
|
61
68
|
}
|
|
62
69
|
}
|
|
70
|
+
|
|
63
71
|
&-custom-buttom {
|
|
64
72
|
border-top: 1px solid $dark4;
|
|
65
73
|
}
|
|
@@ -68,6 +76,7 @@
|
|
|
68
76
|
|
|
69
77
|
.nut-address {
|
|
70
78
|
display: block;
|
|
79
|
+
|
|
71
80
|
&__header {
|
|
72
81
|
display: flex;
|
|
73
82
|
justify-content: space-between;
|
|
@@ -79,6 +88,7 @@
|
|
|
79
88
|
font-weight: bold;
|
|
80
89
|
color: $title-color;
|
|
81
90
|
line-height: 20px;
|
|
91
|
+
|
|
82
92
|
&__title {
|
|
83
93
|
display: block;
|
|
84
94
|
color: $title-color;
|
|
@@ -89,6 +99,7 @@
|
|
|
89
99
|
// 请选择
|
|
90
100
|
.nut-address__custom {
|
|
91
101
|
display: block;
|
|
102
|
+
|
|
92
103
|
.nut-address__region-tab {
|
|
93
104
|
position: relative;
|
|
94
105
|
margin-top: 32px;
|
|
@@ -101,6 +112,7 @@
|
|
|
101
112
|
min-width: 2px;
|
|
102
113
|
margin-right: 30px;
|
|
103
114
|
display: block;
|
|
115
|
+
|
|
104
116
|
&.active {
|
|
105
117
|
clear: $title-color;
|
|
106
118
|
font-weight: bold;
|
|
@@ -131,18 +143,21 @@
|
|
|
131
143
|
.nut-address__region-con {
|
|
132
144
|
display: block;
|
|
133
145
|
margin: 20px 20px 0;
|
|
146
|
+
|
|
134
147
|
.nut-address__region-group {
|
|
135
148
|
padding-top: 15px;
|
|
136
149
|
height: 270px;
|
|
137
150
|
overflow-y: auto;
|
|
138
151
|
box-sizing: border-box;
|
|
139
152
|
padding: 0;
|
|
153
|
+
|
|
140
154
|
.nut-address__region-item {
|
|
141
155
|
display: flex;
|
|
142
156
|
align-items: center;
|
|
143
157
|
margin-bottom: 20px;
|
|
144
158
|
font-size: $font-size-1;
|
|
145
159
|
color: $title-color;
|
|
160
|
+
|
|
146
161
|
&.active {
|
|
147
162
|
font-weight: bold;
|
|
148
163
|
color: $title-color;
|
|
@@ -158,6 +173,7 @@
|
|
|
158
173
|
}
|
|
159
174
|
}
|
|
160
175
|
}
|
|
176
|
+
|
|
161
177
|
.nut-address__elevator-group {
|
|
162
178
|
display: flex;
|
|
163
179
|
margin-top: 20px;
|
|
@@ -172,16 +188,18 @@
|
|
|
172
188
|
.nut-address__exist-group {
|
|
173
189
|
padding: 15px 20px 0;
|
|
174
190
|
height: 279px;
|
|
175
|
-
overflow-y:
|
|
191
|
+
overflow-y: auto;
|
|
176
192
|
|
|
177
193
|
.nut-address__exist-ul {
|
|
178
194
|
box-sizing: border-box;
|
|
179
195
|
padding: 0;
|
|
196
|
+
|
|
180
197
|
.nut-address__exist-item {
|
|
181
198
|
margin-bottom: 20px;
|
|
182
199
|
font-size: $font-size-1;
|
|
183
200
|
line-height: 14px;
|
|
184
201
|
color: $title-color;
|
|
202
|
+
|
|
185
203
|
&.active {
|
|
186
204
|
font-weight: bold;
|
|
187
205
|
}
|
|
@@ -190,9 +208,11 @@
|
|
|
190
208
|
display: flex;
|
|
191
209
|
align-items: center;
|
|
192
210
|
}
|
|
211
|
+
|
|
193
212
|
.nut-address__exist-item-icon {
|
|
194
213
|
margin-right: 9px;
|
|
195
214
|
}
|
|
215
|
+
|
|
196
216
|
span {
|
|
197
217
|
display: inline-block;
|
|
198
218
|
flex: 1;
|
|
@@ -206,6 +226,7 @@
|
|
|
206
226
|
height: 54px;
|
|
207
227
|
padding: 6px 0px 0;
|
|
208
228
|
border-top: 1px solid #f2f2f2;
|
|
229
|
+
|
|
209
230
|
&-btn {
|
|
210
231
|
width: 90%;
|
|
211
232
|
height: 42px;
|
|
@@ -215,7 +236,7 @@
|
|
|
215
236
|
background: $button-primary-background-color;
|
|
216
237
|
border-radius: 21px;
|
|
217
238
|
font-size: 15px;
|
|
218
|
-
color: $
|
|
239
|
+
color: $primary-text-color;
|
|
219
240
|
}
|
|
220
241
|
}
|
|
221
242
|
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
&--warning {
|
|
26
26
|
color: $dark6;
|
|
27
27
|
}
|
|
28
|
+
|
|
28
29
|
&--plain {
|
|
29
30
|
background: $dark6;
|
|
30
31
|
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
}
|
|
59
|
+
|
|
58
60
|
.nut-button {
|
|
59
61
|
position: relative;
|
|
60
62
|
display: inline-block;
|
|
@@ -73,7 +75,7 @@
|
|
|
73
75
|
touch-action: manipulation;
|
|
74
76
|
|
|
75
77
|
.text {
|
|
76
|
-
margin-left:
|
|
78
|
+
margin-left: $button-text-icon-width;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
&::before {
|
|
@@ -90,6 +92,7 @@
|
|
|
90
92
|
opacity: 0;
|
|
91
93
|
content: ' ';
|
|
92
94
|
}
|
|
95
|
+
|
|
93
96
|
&::after {
|
|
94
97
|
border: none;
|
|
95
98
|
}
|
|
@@ -182,6 +185,10 @@
|
|
|
182
185
|
width: 100%;
|
|
183
186
|
height: $button-large-height;
|
|
184
187
|
line-height: $button-large-line-height;
|
|
188
|
+
|
|
189
|
+
.text {
|
|
190
|
+
margin-left: $button-text-icon-large-width;
|
|
191
|
+
}
|
|
185
192
|
}
|
|
186
193
|
|
|
187
194
|
&--normal {
|
|
@@ -194,6 +201,21 @@
|
|
|
194
201
|
line-height: $button-small-line-height;
|
|
195
202
|
padding: $button-small-padding;
|
|
196
203
|
font-size: $button-small-font-size;
|
|
204
|
+
|
|
205
|
+
.text {
|
|
206
|
+
margin-left: $button-text-icon-small-width;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&--mini {
|
|
211
|
+
height: $button-mini-height;
|
|
212
|
+
line-height: $button-mini-line-height;
|
|
213
|
+
padding: $button-mini-padding;
|
|
214
|
+
font-size: $button-mini-font-size;
|
|
215
|
+
|
|
216
|
+
.text {
|
|
217
|
+
margin-left: $button-text-icon-mini-width;
|
|
218
|
+
}
|
|
197
219
|
}
|
|
198
220
|
|
|
199
221
|
&--block {
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
&-active {
|
|
208
208
|
background-color: $calendar-primary-color;
|
|
209
|
-
color: $
|
|
209
|
+
color: $primary-text-color !important;
|
|
210
210
|
border-radius: $calendar-day-active-border-radius;
|
|
211
211
|
|
|
212
212
|
.calendar-curr-tips {
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.calendar-day-tip {
|
|
221
|
-
color: $
|
|
221
|
+
color: $primary-text-color;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
margin: 10px 18px;
|
|
254
254
|
border-radius: 22px;
|
|
255
255
|
background: $button-primary-background-color;
|
|
256
|
-
color: $
|
|
256
|
+
color: $primary-text-color;
|
|
257
257
|
text-align: center;
|
|
258
258
|
line-height: 44px;
|
|
259
259
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
.nut-theme-dark {
|
|
2
2
|
.nut-numberkeyboard {
|
|
3
3
|
background-color: $dark5;
|
|
4
|
+
|
|
4
5
|
&__body {
|
|
5
6
|
background-color: $dark5;
|
|
6
7
|
color: $dark1;
|
|
8
|
+
|
|
7
9
|
.nut-numberkeyboard__body__keys,
|
|
8
10
|
.nut-numberkeyboard__sidebar {
|
|
9
11
|
.key-board-wrapper {
|
|
10
12
|
background-color: $dark5;
|
|
13
|
+
|
|
11
14
|
.key {
|
|
12
15
|
background-color: $dark4;
|
|
13
16
|
color: $dark1;
|
|
@@ -15,6 +18,7 @@
|
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
}
|
|
21
|
+
|
|
18
22
|
.nut-numberkeyboard__header {
|
|
19
23
|
.nut-numberkeyboard__header__tit {
|
|
20
24
|
color: $dark1;
|
|
@@ -35,6 +39,7 @@
|
|
|
35
39
|
background-color: $numberkeyboard-background-color;
|
|
36
40
|
user-select: none;
|
|
37
41
|
background-color: $gray4;
|
|
42
|
+
|
|
38
43
|
.nut-numberkeyboard__header {
|
|
39
44
|
position: relative;
|
|
40
45
|
display: flex;
|
|
@@ -81,6 +86,7 @@
|
|
|
81
86
|
box-sizing: border-box;
|
|
82
87
|
padding: 0 6px 6px 0;
|
|
83
88
|
background-color: $gray5;
|
|
89
|
+
|
|
84
90
|
.key {
|
|
85
91
|
display: flex;
|
|
86
92
|
align-items: center;
|
|
@@ -89,7 +95,7 @@
|
|
|
89
95
|
font-size: $numberkeyboard-key-font-size;
|
|
90
96
|
line-height: $numberkeyboard-key-line-height;
|
|
91
97
|
background-color: $numberkeyboard-key-background-color;
|
|
92
|
-
color: $numberkeyboard-key-font-
|
|
98
|
+
color: $numberkeyboard-key-font-color;
|
|
93
99
|
border-radius: $numberkeyboard-key-border-radius;
|
|
94
100
|
cursor: pointer;
|
|
95
101
|
}
|
|
@@ -125,11 +131,13 @@
|
|
|
125
131
|
|
|
126
132
|
.finish {
|
|
127
133
|
font-size: $numberkeyboard-key-finish-font-size;
|
|
128
|
-
color: $numberkeyboard-key-finish-font-
|
|
134
|
+
color: $numberkeyboard-key-finish-font-color;
|
|
129
135
|
background-color: $numberkeyboard-key-finish-background-color;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
138
|
.activeFinsh {
|
|
139
|
+
font-size: $numberkeyboard-key-finish-font-size;
|
|
140
|
+
color: $numberkeyboard-key-finish-font-color;
|
|
133
141
|
background-color: $numberkeyboard-key-activeFinsh-background-color;
|
|
134
142
|
}
|
|
135
143
|
}
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
&__close-icon {
|
|
27
27
|
position: absolute !important;
|
|
28
28
|
z-index: 1;
|
|
29
|
-
color:
|
|
30
|
-
font-size: 18px;
|
|
29
|
+
color: $popup-close-icon-color;
|
|
31
30
|
cursor: pointer;
|
|
32
31
|
width: 30px;
|
|
33
32
|
height: 30px;
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
align-items: center;
|
|
36
36
|
|
|
37
37
|
&:active {
|
|
38
38
|
opacity: 0.7;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.nut-theme-dark {
|
|
2
3
|
.nut-progress {
|
|
3
4
|
&-text {
|
|
@@ -7,16 +8,25 @@
|
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.nut-progress {
|
|
11
13
|
display: flex;
|
|
12
14
|
align-items: center;
|
|
13
15
|
position: relative;
|
|
14
16
|
width: 100%;
|
|
17
|
+
|
|
18
|
+
.nut-progress-text {
|
|
19
|
+
color: $progress-text-color;
|
|
20
|
+
}
|
|
21
|
+
|
|
15
22
|
&-outer {
|
|
16
23
|
flex: auto;
|
|
24
|
+
border-radius: $progress-border-radius;
|
|
25
|
+
|
|
17
26
|
.nut-progress-text {
|
|
18
|
-
color:
|
|
27
|
+
color: $progress-text-inner-color;
|
|
19
28
|
}
|
|
29
|
+
|
|
20
30
|
.nut-progress-active:before {
|
|
21
31
|
content: '';
|
|
22
32
|
position: absolute;
|
|
@@ -28,34 +38,43 @@
|
|
|
28
38
|
animation: progressActive 2s ease-in-out infinite;
|
|
29
39
|
}
|
|
30
40
|
}
|
|
41
|
+
|
|
31
42
|
&-small {
|
|
32
43
|
height: $progress-small-height;
|
|
44
|
+
|
|
33
45
|
.nut-progress-text {
|
|
34
46
|
font-size: $progress-small-font-size;
|
|
35
47
|
padding: $progress-small-padding;
|
|
36
48
|
}
|
|
37
49
|
}
|
|
50
|
+
|
|
38
51
|
&-base {
|
|
39
52
|
height: $progress-base-height;
|
|
53
|
+
|
|
40
54
|
.nut-progress-text {
|
|
41
55
|
font-size: $progress-base-font-size;
|
|
42
56
|
padding: $progress-base-padding;
|
|
43
57
|
}
|
|
44
58
|
}
|
|
59
|
+
|
|
45
60
|
&-large {
|
|
46
61
|
height: $progress-large-height;
|
|
62
|
+
|
|
47
63
|
.nut-progress-text {
|
|
48
64
|
font-size: $progress-large-font-size;
|
|
49
65
|
padding: $progress-large-padding;
|
|
50
66
|
}
|
|
51
67
|
}
|
|
68
|
+
|
|
52
69
|
&-inner {
|
|
53
70
|
height: 100%;
|
|
54
71
|
display: flex;
|
|
55
72
|
flex-direction: column;
|
|
56
73
|
justify-content: center;
|
|
57
74
|
transition: all 0.4s;
|
|
75
|
+
border-radius: $progress-border-radius;
|
|
58
76
|
}
|
|
77
|
+
|
|
59
78
|
&-text {
|
|
60
79
|
display: flex;
|
|
61
80
|
padding: $progress-text-padding;
|
|
@@ -63,10 +82,11 @@
|
|
|
63
82
|
line-height: 1;
|
|
64
83
|
min-width: 35px;
|
|
65
84
|
}
|
|
85
|
+
|
|
66
86
|
&-insidetext {
|
|
67
87
|
position: absolute;
|
|
68
|
-
top: -
|
|
69
|
-
bottom: -
|
|
88
|
+
top: $progress-insidetext-position-top;
|
|
89
|
+
bottom: $progress-insidetext-position-bottom;
|
|
70
90
|
display: flex;
|
|
71
91
|
align-items: center;
|
|
72
92
|
min-width: 0px;
|
|
@@ -74,15 +94,18 @@
|
|
|
74
94
|
transform: translate(-50%);
|
|
75
95
|
border-radius: $progress-insidetext-border-radius;
|
|
76
96
|
}
|
|
97
|
+
|
|
77
98
|
@keyframes progressActive {
|
|
78
99
|
0% {
|
|
79
100
|
background: rgba(255, 255, 255, 0.1);
|
|
80
101
|
width: 0;
|
|
81
102
|
}
|
|
103
|
+
|
|
82
104
|
20% {
|
|
83
105
|
background: rgba(255, 255, 255, 0.5);
|
|
84
106
|
width: 0;
|
|
85
107
|
}
|
|
108
|
+
|
|
86
109
|
to {
|
|
87
110
|
background: rgba(255, 255, 255, 0);
|
|
88
111
|
width: 100%;
|
|
@@ -31,18 +31,30 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
.nut-radiogroup {
|
|
34
|
-
display:
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
|
|
35
37
|
.nut-radio {
|
|
36
38
|
margin-bottom: 5px;
|
|
39
|
+
|
|
37
40
|
&__label {
|
|
38
41
|
margin-right: 5px;
|
|
39
42
|
}
|
|
43
|
+
|
|
40
44
|
&__button {
|
|
41
45
|
background-color: $gray4;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
48
|
+
|
|
44
49
|
&--vertical {
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
|
|
45
52
|
.nut-radio {
|
|
53
|
+
&.nut-radio--reverse {
|
|
54
|
+
width: 100%;
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
}
|
|
57
|
+
|
|
46
58
|
&__label {
|
|
47
59
|
margin-right: 5px;
|
|
48
60
|
}
|
|
@@ -57,7 +69,8 @@
|
|
|
57
69
|
&--horizontal {
|
|
58
70
|
.nut-radio {
|
|
59
71
|
display: inline-flex;
|
|
60
|
-
margin-right:
|
|
72
|
+
margin-right: 20px;
|
|
73
|
+
|
|
61
74
|
&--round {
|
|
62
75
|
.nut-radio__label {
|
|
63
76
|
margin: 0 6px;
|
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
.nut-theme-dark {
|
|
2
2
|
.nut-searchbar {
|
|
3
3
|
background: $dark5;
|
|
4
|
+
|
|
4
5
|
&__label {
|
|
5
6
|
color: $dark1;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
&__action-text {
|
|
8
10
|
color: $dark1;
|
|
9
11
|
}
|
|
12
|
+
|
|
10
13
|
.nut-searchbar__input-clear {
|
|
11
14
|
& .nut-searchbar__nut-icon-mask-close {
|
|
12
15
|
color: $dark1;
|
|
16
|
+
|
|
13
17
|
&:hover {
|
|
14
18
|
cursor: pointer;
|
|
15
19
|
color: $dark1;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
}
|
|
23
|
+
|
|
19
24
|
&__right-search-icon,
|
|
20
25
|
&__left-search-icon {
|
|
21
26
|
color: $dark1;
|
|
22
27
|
}
|
|
28
|
+
|
|
23
29
|
&__leftout-icon,
|
|
24
30
|
&__rightout-icon {
|
|
25
31
|
i {
|
|
@@ -28,11 +34,13 @@
|
|
|
28
34
|
}
|
|
29
35
|
}
|
|
30
36
|
}
|
|
37
|
+
|
|
31
38
|
.val-text {
|
|
32
39
|
font-size: 12px;
|
|
33
40
|
color: $title-color2;
|
|
34
41
|
padding: 0 20px;
|
|
35
42
|
}
|
|
43
|
+
|
|
36
44
|
.nut-searchbar {
|
|
37
45
|
display: flex;
|
|
38
46
|
align-items: center;
|
|
@@ -41,6 +49,7 @@
|
|
|
41
49
|
background: $searchbar-background;
|
|
42
50
|
color: $gray1;
|
|
43
51
|
box-sizing: border-box;
|
|
52
|
+
|
|
44
53
|
&__content {
|
|
45
54
|
position: relative;
|
|
46
55
|
flex: 1;
|
|
@@ -49,18 +58,23 @@
|
|
|
49
58
|
justify-content: center;
|
|
50
59
|
height: $searchbar-input-height;
|
|
51
60
|
background: $searchbar-input-background;
|
|
61
|
+
border-radius: $searchbar-content-border-radius;
|
|
52
62
|
}
|
|
63
|
+
|
|
53
64
|
&__icon {
|
|
54
65
|
padding: 0 5px 0 10px;
|
|
55
66
|
}
|
|
67
|
+
|
|
56
68
|
&__rightin-icon {
|
|
57
69
|
padding: 0 5px;
|
|
58
70
|
}
|
|
71
|
+
|
|
59
72
|
.nut-searchbar__input-box {
|
|
60
73
|
display: flex;
|
|
61
74
|
align-items: center;
|
|
62
75
|
flex: 1;
|
|
63
76
|
}
|
|
77
|
+
|
|
64
78
|
&__input {
|
|
65
79
|
border: 0;
|
|
66
80
|
outline: 0;
|
|
@@ -73,44 +87,58 @@
|
|
|
73
87
|
border-radius: 0;
|
|
74
88
|
font-size: $font-size-small;
|
|
75
89
|
color: $searchbar-input-text-color;
|
|
90
|
+
caret-color: $searchbar-input-curror-color;
|
|
76
91
|
background: transparent;
|
|
77
92
|
}
|
|
93
|
+
|
|
78
94
|
&__round {
|
|
79
95
|
border-radius: $searchbar-input-border-radius;
|
|
80
96
|
}
|
|
97
|
+
|
|
81
98
|
&__disabled {
|
|
82
99
|
cursor: not-allowed;
|
|
83
100
|
}
|
|
101
|
+
|
|
84
102
|
&__clear {
|
|
85
|
-
padding:
|
|
103
|
+
padding: $searchbar-clear-icon-padding;
|
|
104
|
+
|
|
86
105
|
i {
|
|
87
106
|
color: $gray1 !important;
|
|
88
107
|
}
|
|
89
108
|
}
|
|
109
|
+
|
|
90
110
|
.pos-right {
|
|
91
111
|
right: 40px;
|
|
92
112
|
}
|
|
113
|
+
|
|
93
114
|
&__left {
|
|
94
115
|
text-align: left;
|
|
95
116
|
}
|
|
117
|
+
|
|
96
118
|
&__right {
|
|
97
119
|
text-align: right;
|
|
98
120
|
}
|
|
121
|
+
|
|
99
122
|
&__center {
|
|
100
123
|
text-align: center;
|
|
101
124
|
}
|
|
102
|
-
|
|
103
|
-
&
|
|
104
|
-
padding:
|
|
105
|
-
font-size:
|
|
106
|
-
color: $searchbar-
|
|
125
|
+
|
|
126
|
+
&__label {
|
|
127
|
+
padding: $searchbar-label-padding;
|
|
128
|
+
font-size: $searchbar-label-fontsize;
|
|
129
|
+
color: $searchbar-label-color;
|
|
107
130
|
}
|
|
131
|
+
|
|
108
132
|
&__action-text {
|
|
109
|
-
padding:
|
|
133
|
+
padding: $searchbar-action-text-padding;
|
|
134
|
+
font-size: $searchbar-action-text-fontsize;
|
|
135
|
+
color: $searchbar-action-text-color;
|
|
110
136
|
}
|
|
137
|
+
|
|
111
138
|
&__leftout-icon {
|
|
112
139
|
margin-right: 10px;
|
|
113
140
|
}
|
|
141
|
+
|
|
114
142
|
&__rightout-icon {
|
|
115
143
|
margin-left: 10px;
|
|
116
144
|
}
|
|
@@ -1,28 +1,36 @@
|
|
|
1
|
+
|
|
1
2
|
.nut-theme-dark {
|
|
2
3
|
.nut-shortpassword {
|
|
3
4
|
&__title {
|
|
4
5
|
color: $dark1;
|
|
5
6
|
}
|
|
7
|
+
|
|
6
8
|
&__subtitle {
|
|
7
9
|
color: $dark2;
|
|
8
10
|
}
|
|
11
|
+
|
|
9
12
|
&__message__forget {
|
|
10
13
|
color: $dark3;
|
|
11
14
|
}
|
|
15
|
+
|
|
12
16
|
&__input-real {
|
|
13
17
|
background-color: $dark6;
|
|
14
18
|
border-radius: 4px;
|
|
15
19
|
}
|
|
20
|
+
|
|
16
21
|
&__input-site {
|
|
17
22
|
background-color: $dark6;
|
|
18
23
|
}
|
|
24
|
+
|
|
19
25
|
&__input-fake {
|
|
20
26
|
border: none;
|
|
21
27
|
background-color: $dark4;
|
|
28
|
+
|
|
22
29
|
&__li__icon {
|
|
23
30
|
background-color: $dark1;
|
|
24
31
|
}
|
|
25
32
|
}
|
|
33
|
+
|
|
26
34
|
&__message__forget {
|
|
27
35
|
color: $dark2;
|
|
28
36
|
}
|
|
@@ -43,6 +51,7 @@
|
|
|
43
51
|
font-size: $font-size-1;
|
|
44
52
|
color: $text-color;
|
|
45
53
|
}
|
|
54
|
+
|
|
46
55
|
.nut-shortpsdWx-subtitle {
|
|
47
56
|
display: block;
|
|
48
57
|
margin-top: 12px;
|
|
@@ -55,11 +64,13 @@
|
|
|
55
64
|
padding: 24px 0 10px 0;
|
|
56
65
|
text-align: center;
|
|
57
66
|
position: relative;
|
|
67
|
+
|
|
58
68
|
.nut-input-site {
|
|
59
69
|
width: 247px;
|
|
60
70
|
height: 41px;
|
|
61
71
|
border-radius: 4px;
|
|
62
72
|
}
|
|
73
|
+
|
|
63
74
|
.nut-input-real {
|
|
64
75
|
position: absolute;
|
|
65
76
|
right: 247px;
|
|
@@ -185,7 +196,7 @@
|
|
|
185
196
|
padding: 8px 38px;
|
|
186
197
|
line-height: 1;
|
|
187
198
|
font-size: $font-size-2;
|
|
188
|
-
color: $
|
|
199
|
+
color: $primary-text-color;
|
|
189
200
|
}
|
|
190
201
|
}
|
|
191
202
|
}
|