@nutui/nutui-react-taro 1.4.7 → 1.4.8
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 +44 -0
- package/dist/esm/Badge.js +2 -2
- package/dist/esm/Barrage.js +2 -2
- package/dist/esm/Calendar.js +3 -4
- package/dist/esm/CalendarItem.js +2 -3
- package/dist/esm/Cascader.js +4 -4
- package/dist/esm/Checkbox.js +2 -2
- package/dist/esm/CheckboxGroup.js +2 -2
- package/dist/esm/Col.js +3 -2
- package/dist/esm/Dialog.js +3 -2
- package/dist/esm/Ellipsis.js +2 -2
- package/dist/esm/InputNumber.js +2 -2
- package/dist/esm/Popover.js +2 -2
- package/dist/esm/Row.js +3 -2
- package/dist/esm/ShortPassword.js +2 -2
- package/dist/esm/Swipe.js +3 -2
- package/dist/esm/TabPane.js +2 -2
- package/dist/esm/Tabbar.js +2 -2
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/{badge.taro-11e2ec95.js → badge.taro-116b2521.js} +1 -0
- package/dist/esm/barrage.taro-5dbab093.js +94 -0
- package/dist/esm/calendar.taro-c95e6998.js +61 -0
- package/dist/esm/calendaritem.taro-86412398.js +761 -0
- package/dist/esm/{cascader.taro-e6610dd1.js → cascader.taro-e0fb7e63.js} +16 -22
- package/dist/esm/{checkbox.taro-04da7151.js → checkbox.taro-b76b1c82.js} +9 -6
- package/dist/esm/{col.taro-b61c7cba.js → col.taro-9e4c5cc0.js} +2 -1
- package/dist/esm/{dialog.taro-54df2e3f.js → dialog.taro-7608bd26.js} +7 -12
- package/dist/esm/{ellipsis.taro-aa39faf7.js → ellipsis.taro-5aa23940.js} +4 -3
- package/dist/esm/{inputnumber.taro-e909d932.js → inputnumber.taro-94c75663.js} +11 -21
- package/dist/esm/nutui-react.es.js +19 -19
- package/dist/esm/{popover.taro-fc7b9a73.js → popover.taro-f144cd02.js} +9 -7
- package/dist/esm/{row.taro-37a895de.js → row.taro-4e697aa2.js} +2 -1
- package/dist/esm/{shortpassword.taro-02ea4499.js → shortpassword.taro-53b7ee7b.js} +3 -2
- package/dist/esm/{swipe.taro-1eb95b21.js → swipe.taro-6532405d.js} +16 -24
- package/dist/esm/{tabbar.taro-08e48c43.js → tabbar.taro-17d898d9.js} +12 -7
- package/dist/esm/{tabpane.taro-91cd6cf4.js → tabpane.taro-9512e308.js} +3 -3
- package/dist/esm/{tabs.taro-5030ce68.js → tabs.taro-4629d66c.js} +5 -2
- package/dist/esm/{textarea.taro-42600f8c.js → textarea.taro-47addd05.js} +5 -1
- package/dist/esm/types/src/packages/calendar/calendar.taro.d.ts +22 -2
- package/dist/esm/types/src/packages/calendaritem/calendaritem.taro.d.ts +21 -3
- package/dist/esm/types/src/packages/cascader/cascader.d.ts +1 -0
- package/dist/esm/types/src/packages/cascader/cascader.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/cascader/cascaderItem.d.ts +1 -0
- package/dist/esm/types/src/packages/cascader/cascaderItem.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/checkbox/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/checkboxgroup/checkboxgroup.d.ts +5 -0
- package/dist/esm/types/src/packages/checkboxgroup/checkboxgroup.taro.d.ts +5 -0
- package/dist/esm/types/src/packages/dialog/DialogWrap.d.ts +1 -1
- package/dist/esm/types/src/packages/dialog/DialogWrapper.taro.d.ts +11 -0
- package/dist/esm/types/src/packages/dialog/dialog.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/dialog/index.taro.d.ts +2 -2
- package/dist/esm/types/src/packages/form/form.d.ts +3 -0
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +2 -1
- package/dist/esm/types/src/packages/formitem/types.d.ts +1 -1
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/shortpassword/shortpassword.d.ts +1 -0
- package/dist/esm/types/src/packages/shortpassword/shortpassword.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/switch/switch.d.ts +2 -1
- package/dist/esm/types/src/packages/tabbar/tabbar.d.ts +1 -1
- package/dist/esm/types/src/packages/tabbar/tabbar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/tabbar/use-props-value.d.ts +7 -0
- package/dist/esm/types/src/packages/tabpane/tabpane.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -0
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/uploader/uploader.taro.d.ts +1 -0
- package/dist/esm/{uploader.taro-b7b770e6.js → uploader.taro-c830b573.js} +3 -2
- 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 +690 -412
- package/dist/nutui.react.umd.js +689 -411
- package/dist/packages/badge/badge.scss +11 -5
- package/dist/packages/barrage/barrage.scss +3 -3
- package/dist/packages/button/button.scss +1 -0
- package/dist/packages/cascader/cascader.scss +19 -5
- package/dist/packages/checkboxgroup/checkboxgroup.scss +33 -0
- package/dist/packages/collapseitem/collapseitem.scss +41 -17
- package/dist/packages/form/form.scss +3 -0
- package/dist/packages/inputnumber/inputnumber.scss +18 -1
- package/dist/packages/popover/popover.scss +71 -46
- package/dist/packages/radiogroup/radiogroup.scss +9 -8
- package/dist/packages/step/step.scss +135 -98
- package/dist/packages/switch/switch.scss +1 -1
- package/dist/packages/tabs/tabs.scss +24 -2
- package/dist/packages/textarea/textarea.scss +7 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/variables.scss +155 -33
- package/dist/types/index.d.ts +57 -33
- package/package.json +1 -1
- package/dist/esm/barrage.taro-e4fe81ae.js +0 -73
- package/dist/esm/calendar.taro-02479e8b.js +0 -38
- package/dist/esm/calendaritem.taro-3cfd4186.js +0 -571
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
.nut-theme-dark {
|
|
2
3
|
.nut-step {
|
|
3
4
|
&.nut-step-wait {
|
|
@@ -5,27 +6,34 @@
|
|
|
5
6
|
.nut-step-title {
|
|
6
7
|
color: $dark2;
|
|
7
8
|
}
|
|
9
|
+
|
|
8
10
|
.nut-step-content {
|
|
9
11
|
color: $dark2;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
14
|
+
|
|
12
15
|
.nut-step-head {
|
|
13
16
|
color: $dark2;
|
|
14
17
|
}
|
|
18
|
+
|
|
15
19
|
.nut-step-icon.is-text {
|
|
16
20
|
background-color: $dark5;
|
|
17
21
|
}
|
|
22
|
+
|
|
18
23
|
.nut-step-icon.is-icon {
|
|
19
24
|
background-color: $dark5;
|
|
25
|
+
|
|
20
26
|
.nut-icon {
|
|
21
27
|
color: $dark2;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
30
|
+
|
|
24
31
|
.nut-step-content {
|
|
25
32
|
color: $dark2;
|
|
26
33
|
}
|
|
27
34
|
}
|
|
28
35
|
}
|
|
36
|
+
|
|
29
37
|
.nut-step-process,
|
|
30
38
|
.nut-step-finish {
|
|
31
39
|
.nut-step-main {
|
|
@@ -35,138 +43,216 @@
|
|
|
35
43
|
}
|
|
36
44
|
}
|
|
37
45
|
}
|
|
46
|
+
|
|
38
47
|
.nut-step {
|
|
39
48
|
flex-grow: 0;
|
|
40
49
|
flex-shrink: 0;
|
|
41
50
|
flex: 1;
|
|
42
51
|
text-align: center;
|
|
43
52
|
font-size: 0;
|
|
53
|
+
|
|
44
54
|
&-head {
|
|
45
55
|
position: relative;
|
|
46
56
|
display: flex;
|
|
47
57
|
justify-content: center;
|
|
48
|
-
margin-bottom:
|
|
58
|
+
margin-bottom: $steps-base-icon-margin-bottom;
|
|
49
59
|
}
|
|
60
|
+
|
|
61
|
+
// 计算方法:left = calc(50% + (100% - $steps-base-line-width) / 2)
|
|
62
|
+
// 如 width=70%时,left=65%; width=100%,left=50%;
|
|
50
63
|
&-line {
|
|
51
64
|
position: absolute;
|
|
52
|
-
top:
|
|
53
|
-
left: 50
|
|
54
|
-
right: -
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
background: $steps-base-line-
|
|
65
|
+
top: calc($steps-base-icon-height / 2);
|
|
66
|
+
left: calc(50% + (100% - $steps-base-line-width) / 2);
|
|
67
|
+
// right: calc(0 - $steps-base-line-width / 2);
|
|
68
|
+
height: $steps-base-line-height;
|
|
69
|
+
width: $steps-base-line-width;
|
|
70
|
+
background: $steps-base-line-background;
|
|
58
71
|
}
|
|
72
|
+
|
|
59
73
|
&-icon {
|
|
60
74
|
position: relative;
|
|
61
75
|
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
62
78
|
width: $steps-base-icon-width;
|
|
63
79
|
height: $steps-base-icon-height;
|
|
64
80
|
line-height: $steps-base-icon-line-height;
|
|
65
81
|
font-size: $steps-base-icon-font-size;
|
|
66
|
-
|
|
67
|
-
|
|
82
|
+
background-color: $steps-wait-icon-bg-color;
|
|
83
|
+
border-color: $steps-wait-icon-bg-color;
|
|
84
|
+
color: $steps-wait-icon-color;
|
|
68
85
|
z-index: 1;
|
|
86
|
+
|
|
69
87
|
.nut-icon {
|
|
70
88
|
width: 100%;
|
|
71
89
|
height: 100%;
|
|
72
90
|
}
|
|
91
|
+
|
|
73
92
|
&.is-text {
|
|
74
93
|
border-radius: 50%;
|
|
75
94
|
border-width: 1px;
|
|
76
95
|
border-style: solid;
|
|
77
96
|
}
|
|
97
|
+
|
|
78
98
|
&.is-icon {
|
|
79
99
|
border-radius: 50%;
|
|
80
100
|
border-width: 1px;
|
|
81
101
|
border-style: solid;
|
|
82
|
-
background-color: transparent;
|
|
83
102
|
}
|
|
84
103
|
}
|
|
104
|
+
|
|
85
105
|
&-main {
|
|
86
106
|
display: inline-block;
|
|
87
107
|
padding-left: 10%;
|
|
88
108
|
padding-right: 10%;
|
|
89
109
|
text-align: center;
|
|
110
|
+
|
|
90
111
|
.nut-step-content {
|
|
91
112
|
color: $title-color;
|
|
92
113
|
}
|
|
93
114
|
}
|
|
115
|
+
|
|
94
116
|
&-title {
|
|
95
117
|
display: block;
|
|
96
118
|
margin-bottom: $steps-base-title-margin-bottom;
|
|
97
119
|
font-size: $steps-base-title-font-size;
|
|
98
120
|
color: $steps-base-title-color;
|
|
99
121
|
}
|
|
122
|
+
|
|
100
123
|
&-content {
|
|
101
124
|
display: block;
|
|
102
125
|
font-size: $steps-base-content-font-size;
|
|
103
126
|
color: $steps-base-content-color;
|
|
104
127
|
}
|
|
128
|
+
|
|
105
129
|
&:last-child {
|
|
106
130
|
.nut-step-line {
|
|
107
131
|
display: none;
|
|
108
132
|
}
|
|
109
133
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
134
|
+
|
|
135
|
+
&.nut-step-process {
|
|
136
|
+
.nut-step-icon {
|
|
137
|
+
background-color: $steps-process-icon-bg-color;
|
|
138
|
+
border-color: $steps-process-icon-bg-color;
|
|
139
|
+
color: $steps-process-icon-color;
|
|
114
140
|
}
|
|
115
|
-
|
|
116
|
-
|
|
141
|
+
|
|
142
|
+
.nut-step-title {
|
|
143
|
+
color: $steps-process-title-color;
|
|
144
|
+
font-size: $steps-process-title-font-size;
|
|
145
|
+
font-weight: $steps-process-title-font-weight;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.nut-step-content {
|
|
149
|
+
// color: $steps-process-title-color;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.nut-step-wait {
|
|
154
|
+
.nut-step-title {
|
|
155
|
+
color: $steps-wait-title-color;
|
|
117
156
|
}
|
|
118
|
-
|
|
119
|
-
|
|
157
|
+
|
|
158
|
+
.nut-step-content {
|
|
159
|
+
color: $steps-wait-content-color;
|
|
120
160
|
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.nut-step-finish {
|
|
164
|
+
.nut-step-icon {
|
|
165
|
+
background-color: $steps-finish-icon-bg-color;
|
|
166
|
+
border-color: $steps-finish-icon-color;
|
|
167
|
+
color: $steps-finish-icon-color;
|
|
168
|
+
}
|
|
169
|
+
|
|
121
170
|
.nut-step-line {
|
|
122
171
|
background: $steps-finish-line-background;
|
|
123
172
|
}
|
|
173
|
+
|
|
124
174
|
.nut-step-title {
|
|
125
175
|
color: $steps-finish-title-color;
|
|
126
176
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
color: $steps-process-head-color;
|
|
131
|
-
border-color: $steps-process-head-border-color;
|
|
132
|
-
}
|
|
133
|
-
.nut-step-icon.is-text {
|
|
134
|
-
background-color: $steps-process-icon-text-color;
|
|
135
|
-
}
|
|
136
|
-
.nut-step-icon.is-icon {
|
|
137
|
-
background-color: $steps-process-icon-text-color;
|
|
177
|
+
|
|
178
|
+
.nut-step-content {
|
|
179
|
+
// color: $steps-finish-content-color;
|
|
138
180
|
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.nut-steps-dot {
|
|
185
|
+
.nut-step-head {
|
|
186
|
+
margin-top: 7px;
|
|
187
|
+
margin-bottom: 0;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.nut-step-line {
|
|
191
|
+
top: 7px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.nut-step-icon {
|
|
195
|
+
width: $steps-dot-icon-width;
|
|
196
|
+
height: $steps-dot-icon-height;
|
|
197
|
+
border: $steps-dot-icon-border;
|
|
198
|
+
border-radius: 50%;
|
|
199
|
+
box-sizing: content-box;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.nut-step-wait {
|
|
139
203
|
.nut-step-title {
|
|
140
|
-
color: $steps-
|
|
204
|
+
color: $steps-wait-title-color;
|
|
141
205
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
color: $steps-wait-head-color;
|
|
146
|
-
border-color: $steps-wait-head-border-color;
|
|
206
|
+
|
|
207
|
+
.nut-step-content {
|
|
208
|
+
color: $steps-wait-content-color;
|
|
147
209
|
}
|
|
148
|
-
|
|
149
|
-
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.nut-step-finish {
|
|
213
|
+
.nut-step-icon {
|
|
214
|
+
background-color: $steps-finish-icon-bg-color;
|
|
215
|
+
border-color: $steps-finish-icon-color;
|
|
150
216
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.nut-step-process {
|
|
220
|
+
.nut-step-icon {
|
|
221
|
+
position: relative;
|
|
222
|
+
background-color: $steps-process-icon-bg-color;
|
|
223
|
+
|
|
224
|
+
&:before {
|
|
225
|
+
content: '';
|
|
226
|
+
display: inline-block;
|
|
227
|
+
position: absolute;
|
|
228
|
+
left: 50%;
|
|
229
|
+
top: 50%;
|
|
230
|
+
margin-left: -7px;
|
|
231
|
+
margin-top: -7px;
|
|
232
|
+
width: 14px;
|
|
233
|
+
height: 14px;
|
|
234
|
+
background-color: $primary-color-end;
|
|
235
|
+
border-radius: 50%;
|
|
236
|
+
opacity: 0.23;
|
|
155
237
|
}
|
|
156
238
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.nut-steps-horizontal {
|
|
243
|
+
&.nut-steps-dot {
|
|
244
|
+
.nut-step-line {
|
|
245
|
+
top: calc(($steps-dot-icon-width + $steps-dot-icon-border * 2) / 2);
|
|
162
246
|
}
|
|
163
247
|
}
|
|
164
248
|
}
|
|
249
|
+
|
|
165
250
|
.nut-steps-vertical {
|
|
166
251
|
.nut-step {
|
|
167
252
|
display: flex;
|
|
168
253
|
height: 33.34%;
|
|
169
254
|
}
|
|
255
|
+
|
|
170
256
|
.nut-step-line {
|
|
171
257
|
position: absolute;
|
|
172
258
|
display: inline-block;
|
|
@@ -174,63 +260,14 @@
|
|
|
174
260
|
height: 100%;
|
|
175
261
|
background: #909ca4;
|
|
176
262
|
}
|
|
263
|
+
|
|
177
264
|
.nut-step-main {
|
|
178
265
|
display: inline-block;
|
|
179
266
|
padding-left: 6%;
|
|
180
267
|
text-align: left;
|
|
268
|
+
|
|
181
269
|
.nut-step-content {
|
|
182
|
-
color: $
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
&.nut-steps-dot {
|
|
186
|
-
.nut-step-head {
|
|
187
|
-
margin-top: 7px;
|
|
188
|
-
margin-bottom: 0;
|
|
189
|
-
}
|
|
190
|
-
.nut-step-line {
|
|
191
|
-
top: 7px;
|
|
192
|
-
left: 50%;
|
|
193
|
-
right: -50%;
|
|
194
|
-
}
|
|
195
|
-
.nut-step-icon {
|
|
196
|
-
width: 8px;
|
|
197
|
-
height: 8px;
|
|
198
|
-
background: $primary-color;
|
|
199
|
-
border-radius: 50%;
|
|
200
|
-
box-sizing: content-box;
|
|
201
|
-
}
|
|
202
|
-
.nut-step-wait {
|
|
203
|
-
.nut-step-icon {
|
|
204
|
-
background-color: $steps-wait-icon-bg-color;
|
|
205
|
-
}
|
|
206
|
-
.nut-step-content {
|
|
207
|
-
color: $steps-wait-content-color;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
.nut-step-finish {
|
|
211
|
-
.nut-step-icon {
|
|
212
|
-
background-color: $primary-color;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
.nut-step-process {
|
|
216
|
-
.nut-step-icon {
|
|
217
|
-
position: relative;
|
|
218
|
-
background-color: $primary-color;
|
|
219
|
-
&:before {
|
|
220
|
-
content: '';
|
|
221
|
-
display: inline-block;
|
|
222
|
-
position: absolute;
|
|
223
|
-
left: 50%;
|
|
224
|
-
top: 50%;
|
|
225
|
-
margin-left: -7px;
|
|
226
|
-
margin-top: -7px;
|
|
227
|
-
width: 14px;
|
|
228
|
-
height: 14px;
|
|
229
|
-
background-color: $primary-color-end;
|
|
230
|
-
border-radius: 50%;
|
|
231
|
-
opacity: 0.23;
|
|
232
|
-
}
|
|
233
|
-
}
|
|
270
|
+
color: $steps-base-content-color;
|
|
234
271
|
}
|
|
235
272
|
}
|
|
236
273
|
}
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
@import '../../styles/mixins/index';
|
|
2
|
+
|
|
2
3
|
.nut-theme-dark {
|
|
3
4
|
.nut-tabs {
|
|
4
5
|
.nut-tabpane {
|
|
5
6
|
color: $white;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
&__titles {
|
|
8
10
|
background: $dark5;
|
|
11
|
+
|
|
9
12
|
&-item {
|
|
10
13
|
color: $dark1;
|
|
14
|
+
|
|
11
15
|
&.active {
|
|
12
16
|
color: $dark1;
|
|
17
|
+
|
|
13
18
|
.nut-tabs__titles-item__text {
|
|
14
19
|
color: $dark1;
|
|
15
20
|
}
|
|
16
21
|
}
|
|
22
|
+
|
|
17
23
|
&__text {
|
|
18
24
|
color: $dark1;
|
|
19
25
|
}
|
|
20
26
|
}
|
|
21
27
|
}
|
|
28
|
+
|
|
22
29
|
&.vertical {
|
|
23
30
|
.nut-tabs__titles {
|
|
24
31
|
&-item {
|
|
@@ -95,9 +102,11 @@
|
|
|
95
102
|
|
|
96
103
|
.nut-tabs__content {
|
|
97
104
|
flex-direction: column;
|
|
105
|
+
|
|
98
106
|
&__wrap {
|
|
99
107
|
flex: 1;
|
|
100
108
|
}
|
|
109
|
+
|
|
101
110
|
height: 100%;
|
|
102
111
|
|
|
103
112
|
.nut-tabpane {
|
|
@@ -163,16 +172,21 @@
|
|
|
163
172
|
&-item {
|
|
164
173
|
position: relative;
|
|
165
174
|
font-size: $tabs-titles-item-font-size;
|
|
166
|
-
flex: 1 0 auto;
|
|
167
175
|
min-width: $tabs-horizontal-titles-item-min-width;
|
|
168
176
|
width: 0;
|
|
169
177
|
display: flex;
|
|
170
178
|
align-items: center;
|
|
171
179
|
justify-content: center;
|
|
180
|
+
flex: 1 0 auto;
|
|
172
181
|
color: $tabs-titles-item-color;
|
|
173
182
|
|
|
183
|
+
&-left-align {
|
|
184
|
+
flex: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
174
187
|
&__text {
|
|
175
188
|
color: $gray1;
|
|
189
|
+
|
|
176
190
|
&.ellipsis {
|
|
177
191
|
@include oneline-ellipsis();
|
|
178
192
|
}
|
|
@@ -187,10 +201,11 @@
|
|
|
187
201
|
width: 0;
|
|
188
202
|
height: 0;
|
|
189
203
|
content: ' ';
|
|
190
|
-
bottom:
|
|
204
|
+
bottom: $tabs-horizontal-tab-line-bottom;
|
|
191
205
|
left: 50%;
|
|
192
206
|
transform: translate(-50%, 0);
|
|
193
207
|
overflow: hidden;
|
|
208
|
+
border-radius: $tabs-horizontal-tab-line-border-radius;
|
|
194
209
|
}
|
|
195
210
|
|
|
196
211
|
&__smile {
|
|
@@ -205,13 +220,19 @@
|
|
|
205
220
|
|
|
206
221
|
&.disabled {
|
|
207
222
|
color: $disable-color;
|
|
223
|
+
|
|
224
|
+
.nut-tabs__titles-item__text {
|
|
225
|
+
color: $disable-color;
|
|
226
|
+
}
|
|
208
227
|
}
|
|
209
228
|
|
|
210
229
|
&.active {
|
|
211
230
|
font-weight: 600;
|
|
231
|
+
|
|
212
232
|
.nut-tabs__titles-item__text {
|
|
213
233
|
color: $gray1;
|
|
214
234
|
}
|
|
235
|
+
|
|
215
236
|
.nut-tabs__titles-item__line {
|
|
216
237
|
content: ' ';
|
|
217
238
|
width: $tabs-horizontal-titles-item-active-line-width;
|
|
@@ -226,6 +247,7 @@
|
|
|
226
247
|
&__wrap {
|
|
227
248
|
overflow: hidden;
|
|
228
249
|
}
|
|
250
|
+
|
|
229
251
|
display: flex;
|
|
230
252
|
box-sizing: border-box;
|
|
231
253
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.nut-theme-dark {
|
|
2
2
|
.nut-textarea {
|
|
3
3
|
background: $dark5;
|
|
4
|
+
|
|
4
5
|
&__textarea {
|
|
5
6
|
color: $dark1;
|
|
6
7
|
}
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
display: flex;
|
|
15
16
|
background: $white;
|
|
16
17
|
font-size: $textarea-font;
|
|
17
|
-
padding:
|
|
18
|
+
padding: $textarea-padding;
|
|
18
19
|
|
|
19
20
|
&__disabled {
|
|
20
21
|
.nut-textarea__textarea,
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
color: $textarea-disabled-color !important;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
27
|
+
|
|
26
28
|
&__limit {
|
|
27
29
|
position: absolute;
|
|
28
30
|
right: 15px;
|
|
@@ -30,6 +32,7 @@
|
|
|
30
32
|
font-size: $textarea-font;
|
|
31
33
|
color: $textarea-limit-color;
|
|
32
34
|
}
|
|
35
|
+
|
|
33
36
|
&__textarea {
|
|
34
37
|
// min-height: $textarea-height;
|
|
35
38
|
outline: none;
|
|
@@ -40,12 +43,15 @@
|
|
|
40
43
|
margin: 0;
|
|
41
44
|
padding: 0;
|
|
42
45
|
font-size: $textarea-font;
|
|
46
|
+
line-height: $textarea-text-line-height;
|
|
43
47
|
color: $textarea-text-color;
|
|
48
|
+
caret-color: $textarea-text-curror-color;
|
|
44
49
|
text-align: left;
|
|
45
50
|
background-color: transparent;
|
|
46
51
|
border: 0;
|
|
47
52
|
resize: none;
|
|
48
53
|
}
|
|
54
|
+
|
|
49
55
|
.cpoyText {
|
|
50
56
|
position: absolute;
|
|
51
57
|
top: -999999px;
|