@nutui/nutui 3.1.18-beta.0 → 3.1.18

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 (143) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/LICENSE +1 -1
  3. package/README.md +6 -0
  4. package/dist/nutui.d.ts +3 -1
  5. package/dist/nutui.es.js +2230 -1192
  6. package/dist/nutui.umd.js +2240 -1201
  7. package/dist/packages/_es/ActionSheet.js +2 -2
  8. package/dist/packages/_es/Address.js +17 -11
  9. package/dist/packages/_es/Audio.js +2 -2
  10. package/dist/packages/_es/Avatar.js +2 -2
  11. package/dist/packages/_es/BackTop.js +5 -2
  12. package/dist/packages/_es/Badge.js +2 -2
  13. package/dist/packages/_es/Barrage.js +2 -2
  14. package/dist/packages/_es/Button.js +2 -2
  15. package/dist/packages/_es/Calendar.js +15 -16
  16. package/dist/packages/_es/Card.js +2 -2
  17. package/dist/packages/_es/Cascader.js +2 -2
  18. package/dist/packages/_es/Cell.js +24 -17
  19. package/dist/packages/_es/CellGroup.js +2 -2
  20. package/dist/packages/_es/Checkbox.js +4 -4
  21. package/dist/packages/_es/CheckboxGroup.js +3 -3
  22. package/dist/packages/_es/CircleProgress.js +2 -2
  23. package/dist/packages/_es/Col.js +2 -2
  24. package/dist/packages/_es/Collapse.js +2 -2
  25. package/dist/packages/_es/CollapseItem.js +28 -18
  26. package/dist/packages/_es/CountDown.js +4 -2
  27. package/dist/packages/_es/CountUp.js +25 -16
  28. package/dist/packages/_es/DatePicker.js +83 -47
  29. package/dist/packages/_es/Dialog.js +5 -3
  30. package/dist/packages/_es/Divider.js +2 -2
  31. package/dist/packages/_es/Drag.js +4 -4
  32. package/dist/packages/_es/Elevator.js +2 -2
  33. package/dist/packages/_es/Empty.js +2 -2
  34. package/dist/packages/_es/FixedNav.js +2 -2
  35. package/dist/packages/_es/Form.js +8 -6
  36. package/dist/packages/_es/FormItem.js +9 -6
  37. package/dist/packages/_es/Grid.js +2 -2
  38. package/dist/packages/_es/GridItem.js +2 -2
  39. package/dist/packages/_es/Icon.js +2 -2
  40. package/dist/packages/_es/ImagePreview.js +2 -2
  41. package/dist/packages/_es/Indicator.js +2 -2
  42. package/dist/packages/_es/InfiniteLoading.js +2 -2
  43. package/dist/packages/_es/Input.js +290 -66
  44. package/dist/packages/_es/InputNumber.js +2 -2
  45. package/dist/packages/_es/Layout.js +2 -2
  46. package/dist/packages/_es/List.js +124 -0
  47. package/dist/packages/_es/Menu.js +2 -2
  48. package/dist/packages/_es/MenuItem.js +2 -2
  49. package/dist/packages/_es/Navbar.js +16 -10
  50. package/dist/packages/_es/NoticeBar.js +6 -5
  51. package/dist/packages/_es/Notify.js +7 -3
  52. package/dist/packages/_es/NumberKeyboard.js +9 -4
  53. package/dist/packages/_es/OverLay.js +2 -2
  54. package/dist/packages/_es/Pagination.js +2 -2
  55. package/dist/packages/_es/Picker.js +163 -157
  56. package/dist/packages/_es/Popover.js +2 -2
  57. package/dist/packages/_es/Popup.js +2 -2
  58. package/dist/packages/_es/Price.js +2 -2
  59. package/dist/packages/_es/Progress.js +14 -22
  60. package/dist/packages/_es/Radio.js +3 -3
  61. package/dist/packages/_es/RadioGroup.js +2 -2
  62. package/dist/packages/_es/Range.js +129 -19
  63. package/dist/packages/_es/Rate.js +2 -2
  64. package/dist/packages/_es/Row.js +2 -2
  65. package/dist/packages/_es/SearchBar.js +2 -2
  66. package/dist/packages/_es/ShortPassword.js +2 -2
  67. package/dist/packages/_es/SideNavBar.js +2 -2
  68. package/dist/packages/_es/SideNavBarItem.js +2 -2
  69. package/dist/packages/_es/Signature.js +25 -6
  70. package/dist/packages/_es/Skeleton.js +2 -2
  71. package/dist/packages/_es/Sku.js +31 -13
  72. package/dist/packages/_es/Step.js +28 -12
  73. package/dist/packages/_es/Steps.js +8 -3
  74. package/dist/packages/_es/Sticky.js +2 -2
  75. package/dist/packages/_es/SubSideNavBar.js +2 -2
  76. package/dist/packages/_es/Swipe.js +2 -2
  77. package/dist/packages/_es/Swiper.js +2 -2
  78. package/dist/packages/_es/SwiperItem.js +2 -2
  79. package/dist/packages/_es/Switch.js +2 -2
  80. package/dist/packages/_es/TabPane.js +2 -2
  81. package/dist/packages/_es/Tabbar.js +2 -2
  82. package/dist/packages/_es/TabbarItem.js +17 -6
  83. package/dist/packages/_es/Table.js +2 -2
  84. package/dist/packages/_es/Tabs.js +8 -5
  85. package/dist/packages/_es/Tag.js +11 -5
  86. package/dist/packages/_es/TextArea.js +38 -6
  87. package/dist/packages/_es/TimeDetail.js +2 -2
  88. package/dist/packages/_es/TimePannel.js +2 -2
  89. package/dist/packages/_es/TimeSelect.js +2 -2
  90. package/dist/packages/_es/Toast.js +2 -2
  91. package/dist/packages/_es/Uploader.js +2 -4
  92. package/dist/packages/_es/Video.js +12 -8
  93. package/dist/packages/_es/common.js +2 -2
  94. package/dist/packages/_es/component.js +2 -2
  95. package/dist/packages/_es/index.js +2 -2
  96. package/dist/packages/_es/index2.js +2 -2
  97. package/dist/packages/_es/index3.js +2 -2
  98. package/dist/packages/_es/index4.js +2 -2
  99. package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
  100. package/dist/packages/_es/pxCheck.js +2 -2
  101. package/dist/packages/_es/raf.js +2 -2
  102. package/dist/packages/_es/util.js +2 -2
  103. package/dist/packages/badge/index.scss +11 -13
  104. package/dist/packages/button/index.scss +1 -0
  105. package/dist/packages/calendar/index.scss +9 -4
  106. package/dist/packages/calendaritem/index.scss +0 -207
  107. package/dist/packages/cell/index.scss +6 -6
  108. package/dist/packages/checkbox/index.scss +4 -3
  109. package/dist/packages/collapseitem/index.scss +21 -11
  110. package/dist/packages/countdown/index.scss +3 -1
  111. package/dist/packages/divider/index.scss +8 -8
  112. package/dist/packages/elevator/index.scss +36 -36
  113. package/dist/packages/formitem/index.scss +15 -8
  114. package/dist/packages/indicator/index.scss +1 -1
  115. package/dist/packages/input/index.scss +70 -24
  116. package/dist/packages/inputnumber/index.scss +4 -2
  117. package/dist/packages/list/index.scss +24 -0
  118. package/dist/packages/menu/index.scss +3 -3
  119. package/dist/packages/navbar/index.scss +28 -8
  120. package/dist/packages/noticebar/index.scss +7 -8
  121. package/dist/packages/notify/index.scss +9 -0
  122. package/dist/packages/numberkeyboard/index.scss +22 -21
  123. package/dist/packages/oldpicker/index.scss +131 -0
  124. package/dist/packages/picker/index.scss +38 -32
  125. package/dist/packages/progress/index.scss +6 -5
  126. package/dist/packages/radio/index.scss +7 -6
  127. package/dist/packages/range/index.scss +109 -2
  128. package/dist/packages/searchbar/index.scss +7 -7
  129. package/dist/packages/sidenavbaritem/index.scss +5 -5
  130. package/dist/packages/step/index.scss +29 -29
  131. package/dist/packages/subsidenavbar/index.scss +10 -8
  132. package/dist/packages/tabbaritem/index.scss +15 -0
  133. package/dist/packages/timedetail/index.scss +13 -13
  134. package/dist/packages/timepannel/index.scss +7 -7
  135. package/dist/packages/timeselect/index.scss +3 -3
  136. package/dist/packages/uploader/index.scss +4 -4
  137. package/dist/style.css +1 -1
  138. package/dist/styles/themes/default.scss +39 -37
  139. package/dist/styles/themes/jdt.scss +91 -0
  140. package/dist/styles/variables-jdt.scss +727 -0
  141. package/dist/styles/variables.scss +250 -44
  142. package/package.json +2 -1
  143. 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-primary-color;
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-primary-color;
119
+ color: $calendar-day67-font-color;
118
120
  }
119
121
  }
120
122
  .calendar-month-day {
121
123
  float: left;
122
- width: 14.28%;
123
- height: 64px;
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: 15px;
7
+ margin-right: $checkbox-label-margin-left;
8
8
  margin-left: 0;
9
9
  }
10
10
  }
11
11
  &__label {
12
- margin-left: 15px;
13
- font-size: 14px;
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: 13px 26px;
29
- color: #666666;
30
- font-size: 14px;
31
- line-height: 24px;
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: #999999;
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: 12px 26px;
76
- color: #666666;
77
- font-size: 14px;
78
- line-height: 1.5;
79
- background-color: #fff;
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: #c8c9cc;
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,3 +1,5 @@
1
1
  .nut-countdown {
2
- display: flex;
2
+ display: $countdown-display;
3
+ color: $countdown-color;
4
+ font-size: $countdown-font-size;
3
5
  }
@@ -1,16 +1,16 @@
1
1
  .nut-divider {
2
2
  display: flex;
3
3
  align-items: center;
4
- font-size: 14px;
5
- color: #909ca4;
6
- margin: 8px 0;
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: 1px solid currentColor;
13
- border-width: 1px 0 0;
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: 8px;
21
+ margin-right: $divider-before-margin-right;
22
22
  }
23
23
 
24
24
  &::after {
25
- margin-left: 8px;
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: 12px;
11
- color: #333;
10
+ font-size: $elevator-list-item-font-size;
11
+ color: $elevator-list-item-font-color;
12
12
  &__code {
13
13
  position: relative;
14
- height: 35px;
15
- line-height: 35px;
16
- font-size: 14px;
17
- color: #1a1a1a;
18
- padding: 0 20px;
19
- font-weight: 500;
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: 100%;
23
- height: 1px;
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: #f5f5f5;
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: 0 20px;
34
- height: 30px;
35
- line-height: 30px;
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: absolute;
44
- right: 60px;
45
- top: 50%;
46
- transform: translateY(-50%);
47
- width: 45px;
48
- height: 45px;
49
- line-height: 45px;
50
- border-radius: 50%;
51
- background: $white;
52
- box-shadow: 0 3px 3px 1px rgba(240, 240, 240, 1);
53
- text-align: center;
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: absolute;
57
- right: 8px;
58
- top: 50%;
59
- transform: translateY(-50%);
60
- padding: 15px 0;
61
- background-color: #eeeff2;
62
- border-radius: 6px;
63
- text-align: center;
64
- z-index: 10;
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: 3px;
69
- font-size: 10px;
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: 14px;
24
+ font-size: $form-item-label-font-size;
25
25
  font-weight: normal;
26
- width: 90px;
27
- margin-right: 10px;
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: 4px;
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: 14px;
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
- font-size: 10px;
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
  }
@@ -36,7 +36,7 @@
36
36
  width: $indicator-size;
37
37
  height: $indicator-size;
38
38
  text-align: center;
39
- font-size: 10px;
39
+ font-size: $indicator-number-font-size;
40
40
  line-height: $indicator-size;
41
41
  color: $indicator-white;
42
42
  vertical-align: middle;