@nutui/nutui 3.1.18-beta.0 → 3.1.19-beta.1
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 +41 -0
- package/LICENSE +1 -1
- package/README.md +6 -0
- package/dist/nutui.d.ts +39 -36
- package/dist/nutui.es.js +13149 -11288
- package/dist/nutui.umd.js +13156 -11381
- package/dist/packages/_es/ActionSheet.js +13 -19
- package/dist/packages/_es/Address.js +70 -55
- package/dist/packages/_es/Audio.js +13 -13
- package/dist/packages/_es/AudioOperate.js +125 -0
- package/dist/packages/_es/Avatar.js +4 -4
- package/dist/packages/_es/BackTop.js +69 -108
- package/dist/packages/_es/Badge.js +4 -4
- package/dist/packages/_es/Barrage.js +63 -56
- package/dist/packages/_es/Button.js +3 -3
- package/dist/packages/_es/Calendar.js +30 -702
- package/dist/packages/_es/CalendarItem.js +10 -0
- package/dist/packages/_es/Card.js +7 -6
- package/dist/packages/_es/Cascader.js +8 -8
- package/dist/packages/_es/Cell.js +27 -27
- package/dist/packages/_es/CellGroup.js +2 -2
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +3 -3
- package/dist/packages/_es/CircleProgress.js +150 -41
- package/dist/packages/_es/Col.js +2 -2
- package/dist/packages/_es/Collapse.js +35 -9
- package/dist/packages/_es/CollapseItem.js +79 -38
- package/dist/packages/_es/CountDown.js +8 -6
- package/dist/packages/_es/CountUp.js +31 -30
- package/dist/packages/_es/DatePicker.js +81 -44
- package/dist/packages/_es/Dialog.js +7 -83
- package/dist/packages/_es/Divider.js +5 -5
- package/dist/packages/_es/Drag.js +93 -55
- package/dist/packages/_es/Elevator.js +75 -50
- package/dist/packages/_es/Empty.js +4 -4
- package/dist/packages/_es/FixedNav.js +6 -6
- package/dist/packages/_es/Form.js +11 -9
- package/dist/packages/_es/FormItem.js +9 -6
- package/dist/packages/_es/Grid.js +2 -2
- package/dist/packages/_es/GridItem.js +9 -27
- package/dist/packages/_es/Icon.js +2 -2
- package/dist/packages/_es/ImagePreview.js +14 -83
- package/dist/packages/_es/Indicator.js +4 -4
- package/dist/packages/_es/InfiniteLoading.js +94 -108
- package/dist/packages/_es/Input.js +297 -73
- package/dist/packages/_es/InputNumber.js +24 -17
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +131 -0
- package/dist/packages/_es/Menu.js +16 -13
- package/dist/packages/_es/MenuItem.js +8 -8
- package/dist/packages/_es/Navbar.js +17 -12
- package/dist/packages/_es/NoticeBar.js +47 -39
- package/dist/packages/_es/Notify.js +28 -163
- package/dist/packages/_es/NumberKeyboard.js +4 -4
- package/dist/packages/_es/OldPicker.js +486 -0
- package/dist/packages/_es/OverLay.js +6 -26
- package/dist/packages/_es/Pagination.js +8 -8
- package/dist/packages/_es/Picker.js +192 -163
- package/dist/packages/_es/Popover.js +155 -30
- package/dist/packages/_es/Popup.js +7 -70
- package/dist/packages/_es/Price.js +18 -6
- package/dist/packages/_es/Progress.js +29 -27
- package/dist/packages/_es/PullRefresh.js +363 -0
- package/dist/packages/_es/Radio.js +4 -4
- package/dist/packages/_es/RadioGroup.js +2 -2
- package/dist/packages/_es/Range.js +169 -46
- package/dist/packages/_es/Rate.js +17 -20
- package/dist/packages/_es/Row.js +2 -2
- package/dist/packages/_es/SearchBar.js +9 -7
- package/dist/packages/_es/ShortPassword.js +90 -68
- package/dist/packages/_es/SideNavBar.js +6 -17
- package/dist/packages/_es/SideNavBarItem.js +2 -2
- package/dist/packages/_es/Signature.js +70 -70
- package/dist/packages/_es/Skeleton.js +9 -12
- package/dist/packages/_es/Sku.js +40 -31
- package/dist/packages/_es/Step.js +28 -12
- package/dist/packages/_es/Steps.js +8 -3
- package/dist/packages/_es/Sticky.js +29 -24
- package/dist/packages/_es/SubSideNavBar.js +2 -2
- package/dist/packages/_es/Swipe.js +40 -27
- package/dist/packages/_es/Swiper.js +32 -14
- package/dist/packages/_es/SwiperItem.js +2 -2
- package/dist/packages/_es/Switch.js +4 -4
- package/dist/packages/_es/TabPane.js +2 -2
- package/dist/packages/_es/Tabbar.js +4 -4
- package/dist/packages/_es/TabbarItem.js +28 -23
- package/dist/packages/_es/Table.js +14 -14
- package/dist/packages/_es/Tabs.js +19 -15
- package/dist/packages/_es/Tag.js +14 -8
- package/dist/packages/_es/TextArea.js +49 -15
- package/dist/packages/_es/TimeDetail.js +5 -4
- package/dist/packages/_es/TimePannel.js +4 -4
- package/dist/packages/_es/TimeSelect.js +9 -8
- package/dist/packages/_es/Toast.js +42 -171
- package/dist/packages/_es/Uploader.js +108 -139
- package/dist/packages/_es/Video.js +14 -10
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +45 -7
- package/dist/packages/_es/index.taro.js +719 -0
- package/dist/packages/_es/index2.js +2 -2
- package/dist/packages/_es/index3.js +57 -29
- package/dist/packages/_es/index4.js +414 -57
- package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
- package/dist/packages/_es/pxCheck.js +2 -2
- package/dist/packages/_es/use-lock-scroll.js +23 -0
- package/dist/packages/_es/util.js +2 -2
- package/dist/packages/badge/index.scss +11 -13
- package/dist/packages/button/index.scss +1 -0
- package/dist/packages/calendar/index.scss +9 -4
- package/dist/packages/calendaritem/index.scss +0 -207
- package/dist/packages/cell/index.scss +6 -6
- package/dist/packages/checkbox/index.scss +4 -3
- package/dist/packages/collapseitem/index.scss +21 -11
- package/dist/packages/countdown/index.scss +3 -1
- package/dist/packages/divider/index.scss +8 -8
- package/dist/packages/elevator/index.scss +36 -36
- package/dist/packages/formitem/index.scss +15 -8
- package/dist/packages/indicator/index.scss +1 -1
- package/dist/packages/input/index.scss +70 -24
- package/dist/packages/inputnumber/index.scss +4 -2
- package/dist/packages/list/index.scss +24 -0
- package/dist/packages/menu/index.scss +3 -3
- package/dist/packages/navbar/index.scss +28 -8
- package/dist/packages/noticebar/index.scss +7 -8
- package/dist/packages/notify/index.scss +9 -0
- package/dist/packages/numberkeyboard/index.scss +22 -21
- package/dist/packages/oldpicker/index.scss +131 -0
- package/dist/packages/picker/index.scss +38 -32
- package/dist/packages/progress/index.scss +6 -5
- package/dist/packages/radio/index.scss +7 -6
- package/dist/packages/range/index.scss +109 -2
- package/dist/packages/searchbar/index.scss +7 -7
- package/dist/packages/sidenavbaritem/index.scss +5 -5
- package/dist/packages/step/index.scss +29 -29
- package/dist/packages/subsidenavbar/index.scss +10 -8
- package/dist/packages/tabbaritem/index.scss +15 -0
- package/dist/packages/timedetail/index.scss +13 -13
- package/dist/packages/timepannel/index.scss +7 -7
- package/dist/packages/timeselect/index.scss +3 -3
- package/dist/packages/uploader/index.scss +6 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +64 -62
- package/dist/styles/themes/jdt.scss +91 -0
- package/dist/styles/variables-jdt.scss +728 -0
- package/dist/styles/variables.scss +250 -44
- package/package.json +2 -1
- package/dist/packages/_es/raf.js +0 -19
- package/dist/styles/themes/jdd.scss +0 -2
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
.calendar-title {
|
|
40
40
|
font-size: $calendar-title-font;
|
|
41
|
+
font-weight: $calendar-title-font-weight;
|
|
41
42
|
line-height: 44px;
|
|
42
43
|
}
|
|
43
44
|
.calendar-top-slot {
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
.calendar-curr-month {
|
|
47
48
|
padding: 7px 0;
|
|
48
49
|
line-height: 22px;
|
|
50
|
+
font-size: $calendar-sub-title-font;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
.calendar-weeks {
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
.calendar-week-item {
|
|
60
62
|
&:first-of-type,
|
|
61
63
|
&:last-of-type {
|
|
62
|
-
color: $calendar-
|
|
64
|
+
color: $calendar-day67-font-color;
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
}
|
|
@@ -114,13 +116,14 @@
|
|
|
114
116
|
.calendar-month-item {
|
|
115
117
|
.calendar-month-day:nth-child(7n + 0),
|
|
116
118
|
.calendar-month-day:nth-child(7n + 1) {
|
|
117
|
-
color: $calendar-
|
|
119
|
+
color: $calendar-day67-font-color;
|
|
118
120
|
}
|
|
119
121
|
}
|
|
120
122
|
.calendar-month-day {
|
|
121
123
|
float: left;
|
|
122
|
-
width:
|
|
123
|
-
height:
|
|
124
|
+
width: $calendar-day-width;
|
|
125
|
+
height: $calendar-day-height;
|
|
126
|
+
font-weight: $calendar-day-font-weight;
|
|
124
127
|
display: flex;
|
|
125
128
|
align-items: center;
|
|
126
129
|
justify-content: center;
|
|
@@ -156,6 +159,7 @@
|
|
|
156
159
|
&-active {
|
|
157
160
|
background-color: $calendar-primary-color;
|
|
158
161
|
color: $white !important;
|
|
162
|
+
border-radius: $calendar-day-active-border-radius;
|
|
159
163
|
|
|
160
164
|
.calendar-curr-tips {
|
|
161
165
|
// color: $white !important;
|
|
@@ -175,6 +179,7 @@
|
|
|
175
179
|
|
|
176
180
|
&-choose {
|
|
177
181
|
background-color: $calendar-choose-color;
|
|
182
|
+
color: $calendar-choose-font-color;
|
|
178
183
|
}
|
|
179
184
|
|
|
180
185
|
.calendar-day {
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
.nut-calendar {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex: 1;
|
|
5
|
-
color: #333333;
|
|
6
|
-
font-size: 16px;
|
|
7
|
-
background-color: #fff;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
height: 100%;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
&.nut-calendar-tile {
|
|
12
|
-
.nut-calendar-header {
|
|
13
|
-
.calendar-title {
|
|
14
|
-
font-size: $calendar-base-font;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
.nut-calendar-taro {
|
|
19
|
-
height: 60vh;
|
|
20
|
-
}
|
|
21
|
-
.popup-box {
|
|
22
|
-
height: 100%;
|
|
23
|
-
}
|
|
24
|
-
.nut-calendar-content {
|
|
25
|
-
overflow-y: auto;
|
|
26
|
-
}
|
|
27
|
-
::-webkit-scrollbar {
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
// 头部导航
|
|
32
|
-
.nut-calendar-header {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
text-align: center;
|
|
36
|
-
padding-top: 1px;
|
|
37
|
-
background-color: $white;
|
|
38
|
-
|
|
39
|
-
.calendar-title {
|
|
40
|
-
font-size: $calendar-title-font;
|
|
41
|
-
line-height: 44px;
|
|
42
|
-
}
|
|
43
|
-
.calendar-top-slot {
|
|
44
|
-
height: 24px;
|
|
45
|
-
}
|
|
46
|
-
.calendar-curr-month {
|
|
47
|
-
padding: 7px 0;
|
|
48
|
-
line-height: 22px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.calendar-weeks {
|
|
52
|
-
display: flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: space-around;
|
|
55
|
-
height: 36px;
|
|
56
|
-
border-radius: 0px 0px 12px 12px;
|
|
57
|
-
box-shadow: 0px 4px 10px 0px rgba($color: #000000, $alpha: 0.06);
|
|
58
|
-
|
|
59
|
-
.calendar-week-item {
|
|
60
|
-
&:first-of-type,
|
|
61
|
-
&:last-of-type {
|
|
62
|
-
color: $calendar-primary-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
// 月份
|
|
69
|
-
.nut-calendar-content {
|
|
70
|
-
flex: 1;
|
|
71
|
-
width: 100%;
|
|
72
|
-
display: block;
|
|
73
|
-
.calendar-months-panel {
|
|
74
|
-
position: relative;
|
|
75
|
-
width: 100%;
|
|
76
|
-
height: auto;
|
|
77
|
-
display: block;
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
.viewArea {
|
|
80
|
-
display: block;
|
|
81
|
-
}
|
|
82
|
-
.calendar-month {
|
|
83
|
-
display: flex;
|
|
84
|
-
flex-direction: column;
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
div:nth-of-type(2) {
|
|
89
|
-
.calendar-month-title {
|
|
90
|
-
padding-top: 0;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.calendar-loading-tip {
|
|
95
|
-
height: 50px;
|
|
96
|
-
line-height: 50px;
|
|
97
|
-
text-align: center;
|
|
98
|
-
position: absolute;
|
|
99
|
-
top: -50px;
|
|
100
|
-
left: 0;
|
|
101
|
-
right: 0;
|
|
102
|
-
font-size: $calendar-text-font;
|
|
103
|
-
color: $text-color;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.calendar-month-title {
|
|
107
|
-
height: 23px;
|
|
108
|
-
line-height: 23px;
|
|
109
|
-
margin: 8px 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.calendar-month-con {
|
|
113
|
-
overflow: hidden;
|
|
114
|
-
.calendar-month-item {
|
|
115
|
-
.calendar-month-day:nth-child(7n + 0),
|
|
116
|
-
.calendar-month-day:nth-child(7n + 1) {
|
|
117
|
-
color: $calendar-primary-color;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
.calendar-month-day {
|
|
121
|
-
float: left;
|
|
122
|
-
width: 14.28%;
|
|
123
|
-
height: 64px;
|
|
124
|
-
display: flex;
|
|
125
|
-
align-items: center;
|
|
126
|
-
justify-content: center;
|
|
127
|
-
flex-direction: column;
|
|
128
|
-
position: relative;
|
|
129
|
-
|
|
130
|
-
.calendar-curr-tips {
|
|
131
|
-
position: absolute;
|
|
132
|
-
width: 100%;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.calendar-curr-tip-curr {
|
|
136
|
-
position: absolute;
|
|
137
|
-
bottom: 6px;
|
|
138
|
-
width: 100%;
|
|
139
|
-
font-size: 12px;
|
|
140
|
-
line-height: 14px;
|
|
141
|
-
}
|
|
142
|
-
.calendar-day-tip {
|
|
143
|
-
position: absolute;
|
|
144
|
-
bottom: 6px;
|
|
145
|
-
width: 100%;
|
|
146
|
-
font-size: 12px;
|
|
147
|
-
line-height: 14px;
|
|
148
|
-
color: $calendar-primary-color;
|
|
149
|
-
}
|
|
150
|
-
.calendar-curr-tips-top {
|
|
151
|
-
top: 6px;
|
|
152
|
-
}
|
|
153
|
-
.calendar-curr-tips-bottom {
|
|
154
|
-
bottom: 6px;
|
|
155
|
-
}
|
|
156
|
-
&-active {
|
|
157
|
-
background-color: $calendar-primary-color;
|
|
158
|
-
color: $white !important;
|
|
159
|
-
|
|
160
|
-
.calendar-curr-tips {
|
|
161
|
-
// color: $white !important;
|
|
162
|
-
visibility: hidden;
|
|
163
|
-
}
|
|
164
|
-
.calendar-curr-tip-curr {
|
|
165
|
-
visibility: hidden;
|
|
166
|
-
}
|
|
167
|
-
.calendar-day-tip {
|
|
168
|
-
color: $white;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&-disabled {
|
|
173
|
-
color: $calendar-disable-color !important;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&-choose {
|
|
177
|
-
background-color: $calendar-choose-color;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.calendar-day {
|
|
181
|
-
padding: 2px 0;
|
|
182
|
-
font-size: $calendar-day-font;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
// 底部导航
|
|
190
|
-
.nut-calendar-footer {
|
|
191
|
-
display: flex;
|
|
192
|
-
height: 62px;
|
|
193
|
-
width: 100%;
|
|
194
|
-
background-color: $white;
|
|
195
|
-
|
|
196
|
-
.calendar-confirm-btn {
|
|
197
|
-
height: 44px;
|
|
198
|
-
width: 100%;
|
|
199
|
-
margin: 10px 18px;
|
|
200
|
-
border-radius: 22px;
|
|
201
|
-
background: $button-primary-background-color;
|
|
202
|
-
color: $white;
|
|
203
|
-
text-align: center;
|
|
204
|
-
line-height: 44px;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
&__icon {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: row;
|
|
56
|
+
margin-right: $cell-default-icon-margin;
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
&__title {
|
|
54
60
|
display: flex;
|
|
55
61
|
flex-direction: column;
|
|
56
62
|
flex: 1;
|
|
57
|
-
&.icon {
|
|
58
|
-
flex-direction: row;
|
|
59
|
-
.icon {
|
|
60
|
-
margin-right: 10px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
63
|
&-desc {
|
|
64
64
|
font-size: $cell-title-desc-font;
|
|
65
65
|
}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
&--reverse {
|
|
5
5
|
flex-direction: row-reverse;
|
|
6
6
|
.nut-checkbox__label {
|
|
7
|
-
margin-right:
|
|
7
|
+
margin-right: $checkbox-label-margin-left;
|
|
8
8
|
margin-left: 0;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
&__label {
|
|
12
|
-
margin-left:
|
|
13
|
-
font-size:
|
|
12
|
+
margin-left: $checkbox-label-margin-left;
|
|
13
|
+
font-size: $checkbox-label-font-size;
|
|
14
14
|
color: $checkbox-label-color;
|
|
15
15
|
&--disabled {
|
|
16
16
|
color: $checkbox-label-disable-color;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
&__icon {
|
|
20
20
|
color: $primary-color;
|
|
21
|
+
font-size: $checkbox-icon-font-size;
|
|
21
22
|
transition-duration: 0.3s;
|
|
22
23
|
transition-property: color, border-color, background-color;
|
|
23
24
|
}
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
display: block;
|
|
26
26
|
width: 100%;
|
|
27
27
|
overflow: hidden;
|
|
28
|
-
padding:
|
|
29
|
-
color:
|
|
30
|
-
font-size:
|
|
31
|
-
line-height:
|
|
28
|
+
padding: $collapse-item-padding;
|
|
29
|
+
color: $collapse-item-color;
|
|
30
|
+
font-size: $collapse-item-font-size;
|
|
31
|
+
line-height: $collapse-item-line-height;
|
|
32
32
|
background-color: #fff;
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
.collapse-icon {
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
top: 50%;
|
|
38
38
|
// margin-top: -6px;
|
|
39
39
|
right: 16px;
|
|
40
|
+
color: $collapse-item-icon-color;
|
|
40
41
|
// width: 24px;
|
|
41
42
|
// height: 12px;
|
|
42
43
|
// line-height: 24px;
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
top: 50%;
|
|
54
55
|
right: 60px;
|
|
55
56
|
margin-top: -12px;
|
|
56
|
-
color:
|
|
57
|
+
color: $collapse-item-sub-title-color;
|
|
57
58
|
}
|
|
58
59
|
.titleIconRight {
|
|
59
60
|
vertical-align: middle;
|
|
@@ -64,6 +65,9 @@
|
|
|
64
65
|
margin: 0px 10px 0 0;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
68
|
+
// .extraRender {
|
|
69
|
+
// display: block;
|
|
70
|
+
// }
|
|
67
71
|
.collapse-wrapper {
|
|
68
72
|
display: block;
|
|
69
73
|
position: relative;
|
|
@@ -72,11 +76,14 @@
|
|
|
72
76
|
transition: height 0.3s ease-in-out;
|
|
73
77
|
.collapse-content {
|
|
74
78
|
display: block;
|
|
75
|
-
padding:
|
|
76
|
-
color:
|
|
77
|
-
font-size:
|
|
78
|
-
line-height:
|
|
79
|
-
background-color:
|
|
79
|
+
padding: $collapse-wrapper-content-padding;
|
|
80
|
+
color: $collapse-wrapper-content-color;
|
|
81
|
+
font-size: $collapse-wrapper-content-font-size;
|
|
82
|
+
line-height: $collapse-wrapper-content-line-height;
|
|
83
|
+
background-color: $collapse-wrapper-content-background-color;
|
|
84
|
+
}
|
|
85
|
+
.empty {
|
|
86
|
+
padding: $collapse-wrapper-empty-content-padding;
|
|
80
87
|
}
|
|
81
88
|
}
|
|
82
89
|
.open-style {
|
|
@@ -88,7 +95,7 @@
|
|
|
88
95
|
// height: 0;
|
|
89
96
|
}
|
|
90
97
|
.nut-collapse-item-disabled {
|
|
91
|
-
color:
|
|
98
|
+
color: $collapse-item-disabled-color;
|
|
92
99
|
cursor: not-allowed;
|
|
93
100
|
pointer-events: none;
|
|
94
101
|
// .collapse-icon-disabled {
|
|
@@ -96,6 +103,9 @@
|
|
|
96
103
|
// background-repeat: no-repeat;
|
|
97
104
|
// background-size: 100% 100%;
|
|
98
105
|
// }
|
|
106
|
+
.collapse-icon {
|
|
107
|
+
color: $collapse-item-disabled-color;
|
|
108
|
+
}
|
|
99
109
|
}
|
|
100
110
|
.titleIconLeft {
|
|
101
111
|
float: left;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
.nut-divider {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
font-size:
|
|
5
|
-
color:
|
|
6
|
-
margin:
|
|
7
|
-
width: 100%;
|
|
4
|
+
font-size: $divider-text-font-size;
|
|
5
|
+
color: $divider-text-color;
|
|
6
|
+
margin: $divider-margin;
|
|
8
7
|
|
|
9
8
|
&::before,
|
|
10
9
|
&::after {
|
|
11
10
|
content: '';
|
|
12
|
-
border:
|
|
13
|
-
border-width:
|
|
11
|
+
border: $divider-line-height solid currentColor;
|
|
12
|
+
border-width: $divider-line-height 0 0;
|
|
13
|
+
height: $divider-line-height;
|
|
14
14
|
flex: 1;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
&.nut-divider-left,
|
|
19
19
|
&.nut-divider-right {
|
|
20
20
|
&::before {
|
|
21
|
-
margin-right:
|
|
21
|
+
margin-right: $divider-before-margin-right;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&::after {
|
|
25
|
-
margin-left:
|
|
25
|
+
margin-left: $divider-after-margin-left;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
overflow: auto;
|
|
8
8
|
&__item {
|
|
9
9
|
display: block;
|
|
10
|
-
font-size:
|
|
11
|
-
color:
|
|
10
|
+
font-size: $elevator-list-item-font-size;
|
|
11
|
+
color: $elevator-list-item-font-color;
|
|
12
12
|
&__code {
|
|
13
13
|
position: relative;
|
|
14
|
-
height:
|
|
15
|
-
line-height:
|
|
16
|
-
font-size:
|
|
17
|
-
color:
|
|
18
|
-
padding:
|
|
19
|
-
font-weight:
|
|
14
|
+
height: $elevator-list-item-code-height;
|
|
15
|
+
line-height: $elevator-list-item-code-line-height;
|
|
16
|
+
font-size: $elevator-list-item-code-font-size;
|
|
17
|
+
color: $elevator-list-item-code-font-color;
|
|
18
|
+
padding: $elevator-list-item-code-padding;
|
|
19
|
+
font-weight: $elevator-list-item-code-font-weight;
|
|
20
20
|
&::after {
|
|
21
21
|
content: ' ';
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
22
|
+
width: $elevator-list-item-code-after-width;
|
|
23
|
+
height: $elevator-list-item-code-after-height;
|
|
24
24
|
position: absolute;
|
|
25
25
|
left: 0;
|
|
26
26
|
bottom: 0;
|
|
27
|
-
background-color:
|
|
27
|
+
background-color: $elevator-list-item-code-after-bg-color;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
&__name {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: center;
|
|
33
|
-
padding:
|
|
34
|
-
height:
|
|
35
|
-
line-height:
|
|
33
|
+
padding: $elevator-list-item-name-padding;
|
|
34
|
+
height: $elevator-list-item-name-height;
|
|
35
|
+
line-height: $elevator-list-item-name-line-height;
|
|
36
36
|
&--highcolor {
|
|
37
37
|
color: $elevator-list-item-highcolor;
|
|
38
38
|
}
|
|
@@ -40,33 +40,33 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
&__code--current {
|
|
43
|
-
position:
|
|
44
|
-
right:
|
|
45
|
-
top:
|
|
46
|
-
transform:
|
|
47
|
-
width:
|
|
48
|
-
height:
|
|
49
|
-
line-height:
|
|
50
|
-
border-radius:
|
|
51
|
-
background: $
|
|
52
|
-
box-shadow:
|
|
53
|
-
text-align:
|
|
43
|
+
position: $elevator-list-item-code-current-position;
|
|
44
|
+
right: $elevator-list-item-code-current-right;
|
|
45
|
+
top: $elevator-list-item-code-current-top;
|
|
46
|
+
transform: $elevator-list-item-code-current-transform;
|
|
47
|
+
width: $elevator-list-item-code-current-width;
|
|
48
|
+
height: $elevator-list-item-code-current-height;
|
|
49
|
+
line-height: $elevator-list-item-code-current-line-height;
|
|
50
|
+
border-radius: $elevator-list-item-code-current-border-radius;
|
|
51
|
+
background: $elevator-list-item-code-current-bg-color;
|
|
52
|
+
box-shadow: $elevator-list-item-code-current-box-shadow;
|
|
53
|
+
text-align: $elevator-list-item-code-current-text-align;
|
|
54
54
|
}
|
|
55
55
|
&__bars {
|
|
56
|
-
position:
|
|
57
|
-
right:
|
|
58
|
-
top:
|
|
59
|
-
transform:
|
|
60
|
-
padding:
|
|
61
|
-
background-color:
|
|
62
|
-
border-radius:
|
|
63
|
-
text-align:
|
|
64
|
-
z-index:
|
|
56
|
+
position: $elevator-list-item-bars-position;
|
|
57
|
+
right: $elevator-list-item-bars-right;
|
|
58
|
+
top: $elevator-list-item-bars-top;
|
|
59
|
+
transform: $elevator-list-item-bars-transform;
|
|
60
|
+
padding: $elevator-list-item-bars-padding;
|
|
61
|
+
background-color: $elevator-list-item-bars-background-color;
|
|
62
|
+
border-radius: $elevator-list-item-bars-border-radius;
|
|
63
|
+
text-align: $elevator-list-item-bars-text-align;
|
|
64
|
+
z-index: $elevator-list-item-bars-z-index;
|
|
65
65
|
&__inner {
|
|
66
66
|
&__item {
|
|
67
67
|
display: block;
|
|
68
|
-
padding:
|
|
69
|
-
font-size:
|
|
68
|
+
padding: $elevator-list-item-bars-inner-item-padding;
|
|
69
|
+
font-size: $elevator-list-item-bars-inner-item-font-size;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -21,28 +21,31 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&__label {
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: $form-item-label-font-size;
|
|
25
25
|
font-weight: normal;
|
|
26
|
-
width:
|
|
27
|
-
margin-right:
|
|
26
|
+
width: $form-item-label-width;
|
|
27
|
+
margin-right: $form-item-label-margin-right;
|
|
28
28
|
flex: none !important;
|
|
29
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
30
30
|
word-wrap: break-word;
|
|
31
|
+
text-align: $form-item-label-text-align;
|
|
31
32
|
&.required {
|
|
32
33
|
&::before {
|
|
33
34
|
content: '*';
|
|
34
35
|
color: $form-item-required-color;
|
|
35
|
-
margin-right:
|
|
36
|
+
margin-right: $form-item-required-margin-right;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
&__body {
|
|
40
41
|
flex: 1;
|
|
41
|
-
display: flex;
|
|
42
|
+
display: flex !important;
|
|
42
43
|
flex-direction: column;
|
|
43
44
|
&__slots {
|
|
45
|
+
text-align: $form-item-body-slots-text-align;
|
|
44
46
|
.nut-input-text {
|
|
45
|
-
font-size:
|
|
47
|
+
font-size: $form-item-body-font-size;
|
|
48
|
+
text-align: $form-item-body-input-text-align;
|
|
46
49
|
width: 100%;
|
|
47
50
|
outline: 0 none;
|
|
48
51
|
border: 0;
|
|
@@ -53,10 +56,14 @@
|
|
|
53
56
|
}
|
|
54
57
|
.nut-textarea {
|
|
55
58
|
padding: 0 !important;
|
|
59
|
+
.nut-textarea__textarea {
|
|
60
|
+
text-align: $form-item-body-input-text-align;
|
|
61
|
+
}
|
|
56
62
|
}
|
|
57
63
|
}
|
|
58
64
|
&__tips {
|
|
59
|
-
|
|
65
|
+
text-align: $form-item-tip-text-align;
|
|
66
|
+
font-size: $form-item-tip-font-size;
|
|
60
67
|
color: $form-item-error-message-color;
|
|
61
68
|
}
|
|
62
69
|
}
|