@nutui/nutui 3.1.17 → 3.1.19-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 +41 -0
- package/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/nutui.d.ts +3 -1
- package/dist/nutui.es.js +2335 -1280
- package/dist/nutui.umd.js +2350 -1293
- package/dist/packages/_es/ActionSheet.js +8 -3
- package/dist/packages/_es/Address.js +17 -11
- package/dist/packages/_es/Audio.js +2 -2
- package/dist/packages/_es/AudioOperate.js +125 -0
- package/dist/packages/_es/Avatar.js +2 -2
- package/dist/packages/_es/BackTop.js +7 -4
- package/dist/packages/_es/Badge.js +2 -2
- package/dist/packages/_es/Barrage.js +2 -2
- package/dist/packages/_es/Button.js +2 -2
- package/dist/packages/_es/Calendar.js +10 -687
- package/dist/packages/_es/CalendarItem.js +10 -0
- package/dist/packages/_es/Card.js +2 -2
- package/dist/packages/_es/Cascader.js +2 -2
- package/dist/packages/_es/Cell.js +25 -18
- package/dist/packages/_es/CellGroup.js +2 -2
- package/dist/packages/_es/Checkbox.js +4 -4
- package/dist/packages/_es/CheckboxGroup.js +4 -4
- package/dist/packages/_es/CircleProgress.js +2 -2
- package/dist/packages/_es/Col.js +2 -2
- package/dist/packages/_es/Collapse.js +2 -2
- package/dist/packages/_es/CollapseItem.js +31 -19
- package/dist/packages/_es/CountDown.js +4 -2
- package/dist/packages/_es/CountUp.js +25 -16
- package/dist/packages/_es/DatePicker.js +83 -47
- package/dist/packages/_es/Dialog.js +7 -5
- package/dist/packages/_es/Divider.js +2 -2
- package/dist/packages/_es/Drag.js +4 -4
- package/dist/packages/_es/Elevator.js +3 -3
- package/dist/packages/_es/Empty.js +2 -2
- package/dist/packages/_es/FixedNav.js +2 -2
- package/dist/packages/_es/Form.js +8 -6
- package/dist/packages/_es/FormItem.js +9 -6
- package/dist/packages/_es/Grid.js +2 -2
- package/dist/packages/_es/GridItem.js +3 -3
- package/dist/packages/_es/Icon.js +2 -2
- package/dist/packages/_es/ImagePreview.js +11 -6
- package/dist/packages/_es/Indicator.js +2 -2
- package/dist/packages/_es/InfiniteLoading.js +2 -2
- package/dist/packages/_es/Input.js +290 -66
- package/dist/packages/_es/InputNumber.js +2 -2
- package/dist/packages/_es/Layout.js +2 -2
- package/dist/packages/_es/List.js +124 -0
- package/dist/packages/_es/Menu.js +3 -3
- package/dist/packages/_es/MenuItem.js +4 -4
- package/dist/packages/_es/Navbar.js +31 -66
- package/dist/packages/_es/NoticeBar.js +41 -22
- package/dist/packages/_es/Notify.js +9 -5
- package/dist/packages/_es/NumberKeyboard.js +9 -4
- package/dist/packages/_es/OldPicker.js +484 -0
- package/dist/packages/_es/OverLay.js +2 -2
- package/dist/packages/_es/Pagination.js +2 -2
- package/dist/packages/_es/Picker.js +164 -157
- package/dist/packages/_es/Popover.js +7 -4
- package/dist/packages/_es/Popup.js +4 -4
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +14 -22
- package/dist/packages/_es/PullRefresh.js +363 -0
- package/dist/packages/_es/Radio.js +3 -3
- package/dist/packages/_es/RadioGroup.js +2 -2
- package/dist/packages/_es/Range.js +131 -21
- package/dist/packages/_es/Rate.js +2 -2
- package/dist/packages/_es/Row.js +2 -2
- package/dist/packages/_es/SearchBar.js +2 -2
- package/dist/packages/_es/ShortPassword.js +9 -4
- package/dist/packages/_es/SideNavBar.js +2 -2
- package/dist/packages/_es/SideNavBarItem.js +2 -2
- package/dist/packages/_es/Signature.js +25 -6
- package/dist/packages/_es/Skeleton.js +2 -2
- package/dist/packages/_es/Sku.js +31 -13
- package/dist/packages/_es/Step.js +28 -12
- package/dist/packages/_es/Steps.js +8 -3
- package/dist/packages/_es/Sticky.js +3 -3
- package/dist/packages/_es/SubSideNavBar.js +2 -2
- package/dist/packages/_es/Swipe.js +3 -3
- package/dist/packages/_es/Swiper.js +3 -3
- package/dist/packages/_es/SwiperItem.js +3 -3
- package/dist/packages/_es/Switch.js +2 -2
- package/dist/packages/_es/TabPane.js +2 -2
- package/dist/packages/_es/Tabbar.js +2 -2
- package/dist/packages/_es/TabbarItem.js +23 -8
- package/dist/packages/_es/Table.js +2 -2
- package/dist/packages/_es/Tabs.js +8 -5
- package/dist/packages/_es/Tag.js +11 -5
- package/dist/packages/_es/TextArea.js +38 -6
- package/dist/packages/_es/TimeDetail.js +2 -2
- package/dist/packages/_es/TimePannel.js +2 -2
- package/dist/packages/_es/TimeSelect.js +8 -3
- package/dist/packages/_es/Toast.js +16 -9
- package/dist/packages/_es/Uploader.js +2 -4
- package/dist/packages/_es/Video.js +12 -8
- package/dist/packages/_es/common.js +2 -2
- package/dist/packages/_es/component.js +2 -2
- package/dist/packages/_es/index.js +6 -8
- package/dist/packages/_es/index2.js +9 -32
- package/dist/packages/_es/index3.js +29 -57
- package/dist/packages/_es/index4.js +64 -0
- package/dist/packages/_es/index5.js +687 -0
- package/dist/packages/_es/plugin-vue_export-helper.js +2 -2
- package/dist/packages/_es/pxCheck.js +2 -2
- package/dist/packages/_es/raf.js +2 -2
- package/dist/packages/_es/util.js +2 -2
- package/dist/packages/actionsheet/index.scss +7 -6
- package/dist/packages/badge/index.scss +11 -13
- package/dist/packages/button/index.scss +6 -5
- package/dist/packages/calendar/index.scss +9 -4
- package/dist/packages/calendaritem/index.scss +0 -207
- package/dist/packages/cell/index.scss +9 -9
- package/dist/packages/cellgroup/index.scss +1 -1
- 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 +30 -8
- package/dist/packages/noticebar/index.scss +10 -5
- package/dist/packages/notify/index.scss +10 -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 +24 -19
- package/dist/packages/radio/index.scss +7 -6
- package/dist/packages/range/index.scss +113 -6
- 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/swiper/index.scss +4 -4
- package/dist/packages/switch/index.scss +8 -8
- package/dist/packages/tabbar/index.scss +3 -2
- package/dist/packages/tabbaritem/index.scss +19 -3
- package/dist/packages/tabs/index.scss +1 -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/toast/index.scss +8 -7
- package/dist/packages/uploader/index.scss +4 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +43 -41
- package/dist/styles/themes/jdt.scss +91 -0
- package/dist/styles/variables-jdt.scss +728 -0
- package/dist/styles/variables.scss +322 -38
- package/package.json +3 -2
- package/dist/styles/themes/jdd.scss +0 -2
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
.nut-oldpicker {
|
|
2
|
+
&__content {
|
|
3
|
+
display: block;
|
|
4
|
+
position: relative;
|
|
5
|
+
text-align: center;
|
|
6
|
+
overflow-y: hidden;
|
|
7
|
+
&:hover {
|
|
8
|
+
cursor: grab;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__bar {
|
|
13
|
+
display: flex;
|
|
14
|
+
height: 56px;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
}
|
|
18
|
+
&__column {
|
|
19
|
+
display: flex;
|
|
20
|
+
position: relative;
|
|
21
|
+
height: 252px;
|
|
22
|
+
}
|
|
23
|
+
&__columnitem {
|
|
24
|
+
width: 0;
|
|
25
|
+
flex-grow: 1;
|
|
26
|
+
height: 100%;
|
|
27
|
+
}
|
|
28
|
+
&__left {
|
|
29
|
+
color: $picker-cancel-color;
|
|
30
|
+
font-size: $picker-bar-cancel-font-size;
|
|
31
|
+
}
|
|
32
|
+
&__right {
|
|
33
|
+
color: $picker-ok-color;
|
|
34
|
+
font-size: $picker-bar-ok-font-size;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__title {
|
|
38
|
+
color: $picker-bar-title-color;
|
|
39
|
+
font-size: $picker-bar-title-font-size;
|
|
40
|
+
font-weight: $picker-bar-title-font-weight;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__button {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
padding: $picker-bar-button-padding;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
height: 100%;
|
|
49
|
+
}
|
|
50
|
+
&__wrapper {
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
53
|
+
&__item {
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
align-items: center;
|
|
57
|
+
height: 35px;
|
|
58
|
+
}
|
|
59
|
+
&__hairline {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 108px;
|
|
62
|
+
height: 34px;
|
|
63
|
+
width: 100%;
|
|
64
|
+
border: $picker-item-active-line-border;
|
|
65
|
+
border-left: 0;
|
|
66
|
+
border-right: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__list {
|
|
70
|
+
position: relative;
|
|
71
|
+
display: block;
|
|
72
|
+
width: 100%;
|
|
73
|
+
height: 252px;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
text-align: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-roller {
|
|
79
|
+
display: block;
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 108px;
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: $picker-item-height;
|
|
84
|
+
z-index: 1;
|
|
85
|
+
transform-style: preserve-3d;
|
|
86
|
+
|
|
87
|
+
&-item {
|
|
88
|
+
display: block;
|
|
89
|
+
backface-visibility: hidden;
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: 0;
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: $picker-item-height;
|
|
94
|
+
line-height: $picker-item-height;
|
|
95
|
+
color: $picker-item-text-color;
|
|
96
|
+
font-size: $picker-item-text-font-size;
|
|
97
|
+
|
|
98
|
+
&-hidden {
|
|
99
|
+
visibility: hidden;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&-content {
|
|
106
|
+
display: block;
|
|
107
|
+
position: absolute;
|
|
108
|
+
top: 108px;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: $picker-item-height;
|
|
111
|
+
color: $picker-item-active-text-color;
|
|
112
|
+
z-index: 2;
|
|
113
|
+
overflow: hidden;
|
|
114
|
+
border-left: 0;
|
|
115
|
+
border-right: 0;
|
|
116
|
+
}
|
|
117
|
+
&-list-panel {
|
|
118
|
+
display: block;
|
|
119
|
+
transform-style: preserve-3d;
|
|
120
|
+
}
|
|
121
|
+
&-item {
|
|
122
|
+
display: block;
|
|
123
|
+
white-space: nowrap;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
text-overflow: ellipsis;
|
|
126
|
+
height: $picker-item-height;
|
|
127
|
+
line-height: $picker-item-height;
|
|
128
|
+
text-align: center;
|
|
129
|
+
font-size: 16px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
.nut-picker {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
view {
|
|
5
|
-
display: block;
|
|
6
|
-
}
|
|
7
|
-
&__content {
|
|
8
|
-
display: block;
|
|
9
|
-
position: relative;
|
|
10
|
-
text-align: center;
|
|
11
|
-
overflow-y: hidden;
|
|
12
|
-
&:hover {
|
|
13
|
-
cursor: grab;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
2
|
+
// 标题
|
|
17
3
|
&__bar {
|
|
18
4
|
display: flex;
|
|
19
5
|
height: 56px;
|
|
20
6
|
align-items: center;
|
|
21
7
|
justify-content: space-between;
|
|
22
|
-
padding: 0 15px;
|
|
23
|
-
font-size: 16px;
|
|
24
8
|
}
|
|
9
|
+
&__button {
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
padding: $picker-bar-button-padding;
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
min-width: 50px;
|
|
16
|
+
}
|
|
17
|
+
&__left {
|
|
18
|
+
color: $picker-cancel-color;
|
|
19
|
+
font-size: $picker-bar-cancel-font-size;
|
|
20
|
+
}
|
|
21
|
+
&__right {
|
|
22
|
+
color: $picker-ok-color;
|
|
23
|
+
font-size: $picker-bar-ok-font-size;
|
|
24
|
+
}
|
|
25
|
+
|
|
25
26
|
&__column {
|
|
26
27
|
display: flex;
|
|
27
28
|
position: relative;
|
|
@@ -32,13 +33,16 @@
|
|
|
32
33
|
flex-grow: 1;
|
|
33
34
|
height: 100%;
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
|
|
37
|
+
&__title {
|
|
38
|
+
flex: 1;
|
|
39
|
+
@include oneline-ellipsis();
|
|
40
|
+
text-align: center;
|
|
41
|
+
color: $picker-bar-title-color;
|
|
42
|
+
font-size: $picker-bar-title-font-size;
|
|
43
|
+
font-weight: $picker-bar-title-font-weight;
|
|
41
44
|
}
|
|
45
|
+
|
|
42
46
|
&__wrapper {
|
|
43
47
|
display: block;
|
|
44
48
|
}
|
|
@@ -53,7 +57,7 @@
|
|
|
53
57
|
top: 108px;
|
|
54
58
|
height: 34px;
|
|
55
59
|
width: 100%;
|
|
56
|
-
border:
|
|
60
|
+
border: $picker-item-active-line-border;
|
|
57
61
|
border-left: 0;
|
|
58
62
|
border-right: 0;
|
|
59
63
|
}
|
|
@@ -72,7 +76,7 @@
|
|
|
72
76
|
position: absolute;
|
|
73
77
|
top: 108px;
|
|
74
78
|
width: 100%;
|
|
75
|
-
height:
|
|
79
|
+
height: $picker-item-height;
|
|
76
80
|
z-index: 1;
|
|
77
81
|
transform-style: preserve-3d;
|
|
78
82
|
|
|
@@ -82,10 +86,10 @@
|
|
|
82
86
|
position: absolute;
|
|
83
87
|
top: 0;
|
|
84
88
|
width: 100%;
|
|
85
|
-
height:
|
|
86
|
-
line-height:
|
|
87
|
-
color:
|
|
88
|
-
font-size:
|
|
89
|
+
height: $picker-item-height;
|
|
90
|
+
line-height: $picker-item-height;
|
|
91
|
+
color: $picker-item-text-color;
|
|
92
|
+
font-size: $picker-item-text-font-size;
|
|
89
93
|
|
|
90
94
|
&-hidden {
|
|
91
95
|
visibility: hidden;
|
|
@@ -99,7 +103,8 @@
|
|
|
99
103
|
position: absolute;
|
|
100
104
|
top: 108px;
|
|
101
105
|
width: 100%;
|
|
102
|
-
height:
|
|
106
|
+
height: $picker-item-height;
|
|
107
|
+
color: $picker-item-active-text-color;
|
|
103
108
|
z-index: 2;
|
|
104
109
|
overflow: hidden;
|
|
105
110
|
border-left: 0;
|
|
@@ -114,9 +119,10 @@
|
|
|
114
119
|
white-space: nowrap;
|
|
115
120
|
overflow: hidden;
|
|
116
121
|
text-overflow: ellipsis;
|
|
117
|
-
height:
|
|
118
|
-
line-height:
|
|
122
|
+
height: $picker-item-height;
|
|
123
|
+
line-height: $picker-item-height;
|
|
119
124
|
text-align: center;
|
|
120
125
|
font-size: 16px;
|
|
126
|
+
color: $picker-columns-item-color;
|
|
121
127
|
}
|
|
122
128
|
}
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
.nut-progress-outer {
|
|
6
6
|
flex: 1;
|
|
7
|
-
background-color:
|
|
8
|
-
border-radius:
|
|
7
|
+
background-color: $progress-outer-background-color;
|
|
8
|
+
border-radius: $progress-outer-border-radius;
|
|
9
9
|
height: 10px;
|
|
10
10
|
.nut-progress-inner {
|
|
11
11
|
width: 30%;
|
|
12
12
|
height: 100%;
|
|
13
|
-
border-radius:
|
|
13
|
+
border-radius: $progress-outer-border-radius;
|
|
14
14
|
background: $progress-inner-background-color;
|
|
15
15
|
-webkit-transition: all 0.4s;
|
|
16
16
|
transition: all 0.4s;
|
|
17
|
-
position: relative;
|
|
17
|
+
// position: relative;
|
|
18
18
|
.nut-progress-text {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
left: 0;
|
|
31
31
|
right: 0;
|
|
32
32
|
bottom: 0;
|
|
33
|
-
border-radius:
|
|
33
|
+
border-radius: $progress-outer-border-radius;
|
|
34
34
|
animation: progressActive 2s ease-in-out infinite;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -49,26 +49,31 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
&.nut-progress-small {
|
|
52
|
-
height:
|
|
52
|
+
height: $progress-small-height;
|
|
53
53
|
.nut-progress-text {
|
|
54
|
-
font-size:
|
|
55
|
-
line-height:
|
|
56
|
-
padding:
|
|
57
|
-
top: -
|
|
54
|
+
font-size: $progress-small-text-font-size;
|
|
55
|
+
line-height: $progress-small-text-line-height;
|
|
56
|
+
padding: $progress-small-text-padding;
|
|
57
|
+
// top: $progress-small-text-top;
|
|
58
|
+
top: 50%;
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
&.nut-progress-base {
|
|
61
|
-
height:
|
|
62
|
+
height: $progress-base-height;
|
|
62
63
|
.nut-progress-text {
|
|
63
|
-
font-size:
|
|
64
|
-
line-height:
|
|
64
|
+
font-size: $progress-base-text-font-size;
|
|
65
|
+
line-height: $progress-base-text-line-height;
|
|
66
|
+
padding: $progress-base-text-padding;
|
|
67
|
+
top: 50%;
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
&.nut-progress-large {
|
|
68
|
-
height:
|
|
71
|
+
height: $progress-large-height;
|
|
69
72
|
.nut-progress-text {
|
|
70
|
-
font-size:
|
|
71
|
-
line-height:
|
|
73
|
+
font-size: $progress-large-text-font-size;
|
|
74
|
+
line-height: $progress-large-text-line-height;
|
|
75
|
+
padding: $progress-large-text-padding;
|
|
76
|
+
top: 50%;
|
|
72
77
|
}
|
|
73
78
|
}
|
|
74
79
|
}
|
|
@@ -82,12 +87,12 @@
|
|
|
82
87
|
min-width: 35px;
|
|
83
88
|
}
|
|
84
89
|
.nut-progress-insidetext {
|
|
85
|
-
padding:
|
|
90
|
+
padding: $progress-insidetext-padding;
|
|
86
91
|
background: $progress-insidetext-background;
|
|
87
|
-
border-radius:
|
|
92
|
+
border-radius: $progress-insidetext-border-radius;
|
|
88
93
|
position: absolute;
|
|
89
94
|
transition: all 0.4s;
|
|
90
|
-
top:
|
|
95
|
+
top: 50%;
|
|
91
96
|
min-width: 0px;
|
|
92
97
|
}
|
|
93
98
|
.nut-icon-success,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
&--reverse {
|
|
12
12
|
.nut-radio__label {
|
|
13
|
-
margin-right:
|
|
13
|
+
margin-right: $radio-label-margin-left;
|
|
14
14
|
margin-left: 0;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
&__button {
|
|
19
19
|
display: inline-flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
padding:
|
|
22
|
-
font-size:
|
|
21
|
+
padding: $radio-button-padding;
|
|
22
|
+
font-size: $radio-button-font-size;
|
|
23
23
|
background: #f6f7f9;
|
|
24
|
-
border-radius:
|
|
24
|
+
border-radius: $radio-button-border-radius;
|
|
25
25
|
color: $radio-label-font-color;
|
|
26
26
|
box-sizing: border-box;
|
|
27
27
|
&--active {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&__label {
|
|
39
|
-
margin-left:
|
|
40
|
-
font-size:
|
|
39
|
+
margin-left: $radio-label-margin-left;
|
|
40
|
+
font-size: $radio-label-font-size;
|
|
41
41
|
color: $radio-label-font-color;
|
|
42
42
|
&--disabled {
|
|
43
43
|
color: $radio-label-disable-color;
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
color: $radio-label-font-active-color;
|
|
49
49
|
transition-duration: 0.3s;
|
|
50
50
|
transition-property: color, border-color, background-color;
|
|
51
|
+
font-size: $radio-icon-font-size;
|
|
51
52
|
}
|
|
52
53
|
&__icon--unchecked {
|
|
53
54
|
color: $radio-icon-disable-color;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
|
5
|
-
height:
|
|
5
|
+
height: 4px;
|
|
6
6
|
align-items: center;
|
|
7
7
|
.min,
|
|
8
8
|
.max {
|
|
@@ -10,12 +10,83 @@
|
|
|
10
10
|
color: $range-tip-font-color;
|
|
11
11
|
user-select: none;
|
|
12
12
|
}
|
|
13
|
+
&-vertical {
|
|
14
|
+
height: 100%;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
padding: 0px 15px;
|
|
17
|
+
.nut-range {
|
|
18
|
+
width: 4px;
|
|
19
|
+
height: 100%;
|
|
20
|
+
&-button {
|
|
21
|
+
&-wrapper,
|
|
22
|
+
&-wrapper-right {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: initial;
|
|
25
|
+
bottom: 0px;
|
|
26
|
+
left: 50%;
|
|
27
|
+
right: initial;
|
|
28
|
+
transform: translate3d(-50%, 50%, 0);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-wrapper-left {
|
|
32
|
+
top: 0px;
|
|
33
|
+
left: 50%;
|
|
34
|
+
right: initial;
|
|
35
|
+
transform: translate3d(-50%, -50%, 0);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.number {
|
|
39
|
+
transform: translate3d(100%, 0, 0);
|
|
40
|
+
}
|
|
41
|
+
&-vertical {
|
|
42
|
+
margin: 10px 0px;
|
|
43
|
+
}
|
|
44
|
+
&-mark {
|
|
45
|
+
position: absolute;
|
|
46
|
+
width: 100%;
|
|
47
|
+
right: 50%;
|
|
48
|
+
overflow: visible;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
height: 100%;
|
|
51
|
+
top: initial;
|
|
52
|
+
width: 36px;
|
|
53
|
+
padding: 0px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-mark-text {
|
|
57
|
+
width: 20px;
|
|
58
|
+
position: absolute;
|
|
59
|
+
display: inline-block;
|
|
60
|
+
line-height: 16px;
|
|
61
|
+
color: #999;
|
|
62
|
+
text-align: center;
|
|
63
|
+
word-break: keep-all;
|
|
64
|
+
user-select: none;
|
|
65
|
+
transform: translateY(-50%);
|
|
66
|
+
&-active {
|
|
67
|
+
.nut-range-tick {
|
|
68
|
+
background: $range-bar-bg-color;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&-tick {
|
|
73
|
+
position: absolute;
|
|
74
|
+
top: 0px;
|
|
75
|
+
left: 30px;
|
|
76
|
+
width: 11px;
|
|
77
|
+
height: 11px;
|
|
78
|
+
margin-left: -0px;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
background-color: $range-bg-color-tick;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
13
84
|
}
|
|
14
85
|
.nut-range {
|
|
15
86
|
display: block;
|
|
16
87
|
position: relative;
|
|
17
88
|
width: 100%;
|
|
18
|
-
height:
|
|
89
|
+
height: 4px;
|
|
19
90
|
background-color: $range-bg-color;
|
|
20
91
|
border-radius: 2px;
|
|
21
92
|
cursor: pointer;
|
|
@@ -40,12 +111,12 @@
|
|
|
40
111
|
|
|
41
112
|
&-button {
|
|
42
113
|
display: block;
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
45
|
-
background-color: $
|
|
114
|
+
width: $range-bar-btn-width;
|
|
115
|
+
height: $range-bar-btn-height;
|
|
116
|
+
background-color: $range-bar-btn-bg-color;
|
|
46
117
|
border-radius: 50%;
|
|
47
118
|
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
|
|
48
|
-
border:
|
|
119
|
+
border: $range-bar-btn-border;
|
|
49
120
|
outline: none;
|
|
50
121
|
|
|
51
122
|
&-wrapper,
|
|
@@ -89,7 +160,43 @@
|
|
|
89
160
|
cursor: not-allowed;
|
|
90
161
|
}
|
|
91
162
|
}
|
|
163
|
+
|
|
92
164
|
&-show-number {
|
|
93
165
|
margin: 0 15px;
|
|
94
166
|
}
|
|
167
|
+
|
|
168
|
+
&-mark {
|
|
169
|
+
position: absolute;
|
|
170
|
+
width: 100%;
|
|
171
|
+
overflow: visible;
|
|
172
|
+
top: 50%;
|
|
173
|
+
font-size: 12px;
|
|
174
|
+
padding-top: 14px;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&-mark-text {
|
|
178
|
+
position: absolute;
|
|
179
|
+
display: inline-block;
|
|
180
|
+
line-height: 16px;
|
|
181
|
+
color: #999;
|
|
182
|
+
text-align: center;
|
|
183
|
+
word-break: keep-all;
|
|
184
|
+
user-select: none;
|
|
185
|
+
transform: translateX(-50%);
|
|
186
|
+
&-active {
|
|
187
|
+
.nut-range-tick {
|
|
188
|
+
background: $range-bar-bg-color;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
&-tick {
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: -20px;
|
|
195
|
+
width: 11px;
|
|
196
|
+
height: 11px;
|
|
197
|
+
// margin-left: -11px;
|
|
198
|
+
left: 0px;
|
|
199
|
+
border-radius: 50%;
|
|
200
|
+
background-color: $range-bg-color-tick;
|
|
201
|
+
}
|
|
95
202
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.nut-searchbar {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
-
width:
|
|
5
|
-
padding:
|
|
4
|
+
width: $searchbar-width;
|
|
5
|
+
padding: $searchbar-padding;
|
|
6
6
|
background: $searchbar-background;
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
&__search-input {
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
11
|
+
width: $searchbar-input-width;
|
|
12
|
+
height: $searchbar-input-height;
|
|
13
13
|
flex: 1;
|
|
14
|
-
padding:
|
|
15
|
-
border-radius:
|
|
16
|
-
box-shadow:
|
|
14
|
+
padding: $searchbar-input-padding;
|
|
15
|
+
border-radius: $searchbar-input-border-radius;
|
|
16
|
+
box-shadow: $searchbar-input-box-shadow;
|
|
17
17
|
background: $searchbar-input-background;
|
|
18
18
|
|
|
19
19
|
.nut-searchbar__input-inner {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.nut-sidenavbaritem {
|
|
2
|
-
height:
|
|
3
|
-
line-height:
|
|
2
|
+
height: $sidenavbar-item-height;
|
|
3
|
+
line-height: $sidenavbar-item-line-height;
|
|
4
4
|
display: block;
|
|
5
|
-
font-size:
|
|
5
|
+
font-size: $sidenavbar-item-font-size;
|
|
6
6
|
&__title {
|
|
7
|
-
color: $title-color;
|
|
8
|
-
background-color: $
|
|
7
|
+
color: $sidenavbar-item-title-color;
|
|
8
|
+
background-color: $sidenavbar-item-title-bg-color;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
right: -50%;
|
|
18
18
|
display: inline-block;
|
|
19
19
|
height: 1px;
|
|
20
|
-
background:
|
|
20
|
+
background: $steps-base-line-color;
|
|
21
21
|
}
|
|
22
22
|
&-icon {
|
|
23
23
|
position: relative;
|
|
24
24
|
display: flex;
|
|
25
|
-
width:
|
|
26
|
-
height:
|
|
27
|
-
line-height:
|
|
28
|
-
font-size:
|
|
25
|
+
width: $steps-base-icon-width;
|
|
26
|
+
height: $steps-base-icon-height;
|
|
27
|
+
line-height: $steps-base-icon-line-height;
|
|
28
|
+
font-size: $steps-base-icon-font-size;
|
|
29
29
|
align-items: center;
|
|
30
30
|
justify-content: center;
|
|
31
31
|
z-index: 1;
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
}
|
|
54
54
|
&-title {
|
|
55
55
|
display: block;
|
|
56
|
-
margin-bottom:
|
|
57
|
-
font-size:
|
|
58
|
-
color:
|
|
56
|
+
margin-bottom: $steps-base-title-margin-bottom;
|
|
57
|
+
font-size: $steps-base-title-font-size;
|
|
58
|
+
color: $steps-base-title-color;
|
|
59
59
|
}
|
|
60
60
|
&-content {
|
|
61
61
|
display: block;
|
|
62
|
-
font-size:
|
|
63
|
-
color:
|
|
62
|
+
font-size: $steps-base-content-font-size;
|
|
63
|
+
color: $steps-base-content-color;
|
|
64
64
|
}
|
|
65
65
|
&:last-child {
|
|
66
66
|
.nut-step-line {
|
|
@@ -69,53 +69,53 @@
|
|
|
69
69
|
}
|
|
70
70
|
&.nut-step-finish {
|
|
71
71
|
.nut-step-head {
|
|
72
|
-
color: $
|
|
73
|
-
border-color: $
|
|
72
|
+
color: $steps-finish-head-color;
|
|
73
|
+
border-color: $steps-finish-head-border-color;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-icon.is-text {
|
|
76
|
-
background-color: $
|
|
76
|
+
background-color: $steps-finish-icon-text-color;
|
|
77
77
|
}
|
|
78
78
|
.nut-step-icon.is-icon {
|
|
79
|
-
background-color: $
|
|
79
|
+
background-color: $steps-finish-icon-text-color;
|
|
80
80
|
}
|
|
81
81
|
.nut-step-line {
|
|
82
|
-
background: $
|
|
82
|
+
background: $steps-finish-line-background;
|
|
83
83
|
}
|
|
84
84
|
.nut-step-title {
|
|
85
|
-
color: $
|
|
85
|
+
color: $steps-finish-title-color;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
&.nut-step-process {
|
|
89
89
|
.nut-step-head {
|
|
90
|
-
color: $
|
|
91
|
-
border-color: $
|
|
90
|
+
color: $steps-process-head-color;
|
|
91
|
+
border-color: $steps-process-head-border-color;
|
|
92
92
|
}
|
|
93
93
|
.nut-step-icon.is-text {
|
|
94
|
-
background-color: $
|
|
94
|
+
background-color: $steps-process-icon-text-color;
|
|
95
95
|
}
|
|
96
96
|
.nut-step-icon.is-icon {
|
|
97
|
-
background-color: $
|
|
97
|
+
background-color: $steps-process-icon-text-color;
|
|
98
98
|
}
|
|
99
99
|
.nut-step-title {
|
|
100
|
-
color: $
|
|
100
|
+
color: $steps-process-title-color;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
&.nut-step-wait {
|
|
104
104
|
.nut-step-head {
|
|
105
|
-
color:
|
|
106
|
-
border-color:
|
|
105
|
+
color: $steps-wait-head-color;
|
|
106
|
+
border-color: $steps-wait-head-border-color;
|
|
107
107
|
}
|
|
108
108
|
.nut-step-icon.is-text {
|
|
109
|
-
background-color: $
|
|
109
|
+
background-color: $steps-wait-icon-bg-color;
|
|
110
110
|
}
|
|
111
111
|
.nut-step-icon.is-icon {
|
|
112
|
-
background-color: $
|
|
112
|
+
background-color: $steps-wait-icon-bg-color;
|
|
113
113
|
.nut-icon {
|
|
114
|
-
color: $
|
|
114
|
+
color: $steps-wait-icon-color;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
.nut-step-content {
|
|
118
|
-
color:
|
|
118
|
+
color: $steps-wait-content-color;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -155,10 +155,10 @@
|
|
|
155
155
|
}
|
|
156
156
|
.nut-step-wait {
|
|
157
157
|
.nut-step-icon {
|
|
158
|
-
background-color:
|
|
158
|
+
background-color: $steps-wait-icon-bg-color;
|
|
159
159
|
}
|
|
160
160
|
.nut-step-content {
|
|
161
|
-
color:
|
|
161
|
+
color: $steps-wait-content-color;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
.nut-step-finish {
|