@nutui/nutui-react-taro 3.0.16 → 3.0.17
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 +4 -5
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +404 -53
- package/dist/cjs/packages/address/style/style.harmony.css +925 -18
- package/dist/cjs/packages/animatingnumbers/style/style.harmony.css +15 -15
- package/dist/cjs/packages/audio/style/style.harmony.css +637 -3
- package/dist/cjs/packages/avatar/style/style.harmony.css +91 -15
- package/dist/cjs/packages/avatarcropper/style/style.harmony.css +1 -1
- package/dist/cjs/packages/backtop/style/style.harmony.css +128 -2
- package/dist/cjs/packages/badge/style/style.harmony.css +32 -46
- package/dist/cjs/packages/barrage/style/style.harmony.css +10 -13
- package/dist/cjs/packages/button/style/style.harmony.css +146 -224
- package/dist/cjs/packages/calendar/style/style.harmony.css +418 -54
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +30 -61
- package/dist/cjs/packages/calendaritem/calendaritem.js +1 -1
- package/dist/cjs/packages/card/style/style.harmony.css +151 -5
- package/dist/cjs/packages/cascader/style/style.harmony.css +717 -20
- package/dist/cjs/packages/cell/style/style.harmony.css +46 -24
- package/dist/cjs/packages/cellgroup/style/style.harmony.css +11 -11
- package/dist/cjs/packages/checkbox/style/style.harmony.css +101 -47
- package/dist/cjs/packages/checkboxgroup/style/style.harmony.css +9 -9
- package/dist/cjs/packages/circleprogress/style/style.harmony.css +4 -4
- package/dist/cjs/packages/col/style/style.harmony.css +1 -1
- package/dist/cjs/packages/collapse/style/style.harmony.css +116 -1
- package/dist/cjs/packages/collapseitem/style/style.harmony.css +18 -18
- package/dist/cjs/packages/countdown/style/style.harmony.css +23 -74
- package/dist/cjs/packages/datepicker/style/style.harmony.css +486 -1
- package/dist/cjs/packages/datepickerview/style/style.harmony.css +72 -0
- package/dist/cjs/packages/dialog/style/style.harmony.css +477 -57
- package/dist/cjs/packages/divider/style/style.harmony.css +19 -39
- package/dist/cjs/packages/elevator/style/style.harmony.css +40 -49
- package/dist/cjs/packages/ellipsis/style/style.harmony.css +1 -1
- package/dist/cjs/packages/empty/style/style.harmony.css +392 -15
- package/dist/cjs/packages/fixednav/style/style.harmony.css +156 -7
- package/dist/cjs/packages/form/style/style.harmony.css +310 -1
- package/dist/cjs/packages/formitem/style/style.harmony.css +21 -29
- package/dist/cjs/packages/grid/style/style.harmony.css +107 -3
- package/dist/cjs/packages/griditem/style/style.harmony.css +21 -25
- package/dist/cjs/packages/hoverbutton/style/style.harmony.css +59 -9
- package/dist/cjs/packages/hoverbuttonitem/style/style.harmony.css +12 -15
- package/dist/cjs/packages/image/style/style.harmony.css +2 -2
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +647 -0
- package/dist/cjs/packages/indicator/style/style.harmony.css +23 -43
- package/dist/cjs/packages/infiniteloading/style/style.harmony.css +7 -9
- package/dist/cjs/packages/input/style/style.harmony.css +15 -19
- package/dist/cjs/packages/inputnumber/style/style.harmony.css +30 -26
- package/dist/cjs/packages/loading/style/style.harmony.css +7 -7
- package/dist/cjs/packages/menu/style/style.harmony.css +174 -11
- package/dist/cjs/packages/menuitem/style/style.harmony.css +70 -26
- package/dist/cjs/packages/navbar/style/style.harmony.css +9 -9
- package/dist/cjs/packages/noticebar/style/style.harmony.css +34 -48
- package/dist/cjs/packages/notify/style/style.harmony.css +8 -9
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +404 -24
- package/dist/cjs/packages/overlay/style/style.harmony.css +4 -9
- package/dist/cjs/packages/pagination/style/style.harmony.css +27 -74
- package/dist/cjs/packages/picker/style/style.harmony.css +462 -10
- package/dist/cjs/packages/pickerview/style/style.harmony.css +15 -26
- package/dist/cjs/packages/popover/style/style.harmony.css +405 -38
- package/dist/cjs/packages/popup/style/style.harmony.css +111 -103
- package/dist/cjs/packages/price/style/style.harmony.css +25 -51
- package/dist/cjs/packages/progress/style/style.harmony.css +8 -8
- package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +1 -1
- package/dist/cjs/packages/pulltorefresh/style/style.harmony.css +6 -6
- package/dist/cjs/packages/radio/style/style.harmony.css +75 -33
- package/dist/cjs/packages/radiogroup/style/style.harmony.css +13 -17
- package/dist/cjs/packages/range/style/style.harmony.css +23 -36
- package/dist/cjs/packages/rate/style/style.harmony.css +31 -43
- package/dist/cjs/packages/resultpage/style/style.harmony.css +390 -13
- package/dist/cjs/packages/safearea/style/style.harmony.css +2 -2
- package/dist/cjs/packages/searchbar/style/style.harmony.css +55 -146
- package/dist/cjs/packages/segmented/style/style.harmony.css +11 -11
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +397 -19
- package/dist/cjs/packages/sidebar/style/style.harmony.css +28 -12
- package/dist/cjs/packages/sidebaritem/style/style.harmony.css +3 -3
- package/dist/cjs/packages/signature/style/style.harmony.css +4 -4
- package/dist/cjs/packages/skeleton/style/style.harmony.css +6 -6
- package/dist/cjs/packages/space/style/style.harmony.css +6 -10
- package/dist/cjs/packages/step/style/style.harmony.css +35 -57
- package/dist/cjs/packages/steps/style/style.harmony.css +177 -94
- package/dist/cjs/packages/swiper/style/style.harmony.css +128 -0
- package/dist/cjs/packages/switch/style/style.harmony.css +30 -30
- package/dist/cjs/packages/tabbar/style/style.harmony.css +155 -5
- package/dist/cjs/packages/tabbaritem/style/style.harmony.css +107 -19
- package/dist/cjs/packages/table/style/style.harmony.css +29 -68
- package/dist/cjs/packages/tabpane/style/style.harmony.css +3 -3
- package/dist/cjs/packages/tabs/style/style.harmony.css +64 -65
- package/dist/cjs/packages/tag/style/style.harmony.css +20 -20
- package/dist/cjs/packages/textarea/style/style.harmony.css +20 -20
- package/dist/cjs/packages/timedetail/style/style.harmony.css +10 -10
- package/dist/cjs/packages/timeselect/style/style.harmony.css +422 -11
- package/dist/cjs/packages/toast/style/style.harmony.css +73 -15
- package/dist/cjs/packages/tour/style/style.harmony.css +682 -20
- package/dist/cjs/packages/trendarrow/style/style.harmony.css +8 -15
- package/dist/cjs/packages/uploader/style/style.harmony.css +100 -53
- package/dist/cjs/packages/virtuallist/style/style.harmony.css +5 -5
- package/dist/cjs/packages/watermark/style/style.harmony.css +1 -1
- package/dist/cjs/types/spec/pulltorefresh/taro.d.ts +1 -0
- package/dist/es/packages/actionsheet/style/style.harmony.css +404 -53
- package/dist/es/packages/address/style/style.harmony.css +925 -18
- package/dist/es/packages/animatingnumbers/style/style.harmony.css +15 -15
- package/dist/es/packages/audio/style/style.harmony.css +637 -3
- package/dist/es/packages/avatar/style/style.harmony.css +91 -15
- package/dist/es/packages/avatarcropper/style/style.harmony.css +1 -1
- package/dist/es/packages/backtop/style/style.harmony.css +128 -2
- package/dist/es/packages/badge/style/style.harmony.css +32 -46
- package/dist/es/packages/barrage/style/style.harmony.css +10 -13
- package/dist/es/packages/button/style/style.harmony.css +146 -224
- package/dist/es/packages/calendar/style/style.harmony.css +418 -54
- package/dist/es/packages/calendarcard/style/style.harmony.css +30 -61
- package/dist/es/packages/calendaritem/calendaritem.js +1 -1
- package/dist/es/packages/card/style/style.harmony.css +151 -5
- package/dist/es/packages/cascader/style/style.harmony.css +717 -20
- package/dist/es/packages/cell/style/style.harmony.css +46 -24
- package/dist/es/packages/cellgroup/style/style.harmony.css +11 -11
- package/dist/es/packages/checkbox/style/style.harmony.css +101 -47
- package/dist/es/packages/checkboxgroup/style/style.harmony.css +9 -9
- package/dist/es/packages/circleprogress/style/style.harmony.css +4 -4
- package/dist/es/packages/col/style/style.harmony.css +1 -1
- package/dist/es/packages/collapse/style/style.harmony.css +116 -1
- package/dist/es/packages/collapseitem/style/style.harmony.css +18 -18
- package/dist/es/packages/countdown/style/style.harmony.css +23 -74
- package/dist/es/packages/datepicker/style/style.harmony.css +486 -1
- package/dist/es/packages/datepickerview/style/style.harmony.css +72 -0
- package/dist/es/packages/dialog/style/style.harmony.css +477 -57
- package/dist/es/packages/divider/style/style.harmony.css +19 -39
- package/dist/es/packages/elevator/style/style.harmony.css +40 -49
- package/dist/es/packages/ellipsis/style/style.harmony.css +1 -1
- package/dist/es/packages/empty/style/style.harmony.css +392 -15
- package/dist/es/packages/fixednav/style/style.harmony.css +156 -7
- package/dist/es/packages/form/style/style.harmony.css +310 -1
- package/dist/es/packages/formitem/style/style.harmony.css +21 -29
- package/dist/es/packages/grid/style/style.harmony.css +107 -3
- package/dist/es/packages/griditem/style/style.harmony.css +21 -25
- package/dist/es/packages/hoverbutton/style/style.harmony.css +59 -9
- package/dist/es/packages/hoverbuttonitem/style/style.harmony.css +12 -15
- package/dist/es/packages/image/style/style.harmony.css +2 -2
- package/dist/es/packages/imagepreview/style/style.harmony.css +647 -0
- package/dist/es/packages/indicator/style/style.harmony.css +23 -43
- package/dist/es/packages/infiniteloading/style/style.harmony.css +7 -9
- package/dist/es/packages/input/style/style.harmony.css +15 -19
- package/dist/es/packages/inputnumber/style/style.harmony.css +30 -26
- package/dist/es/packages/loading/style/style.harmony.css +7 -7
- package/dist/es/packages/menu/style/style.harmony.css +174 -11
- package/dist/es/packages/menuitem/style/style.harmony.css +70 -26
- package/dist/es/packages/navbar/style/style.harmony.css +9 -9
- package/dist/es/packages/noticebar/style/style.harmony.css +34 -48
- package/dist/es/packages/notify/style/style.harmony.css +8 -9
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +404 -24
- package/dist/es/packages/overlay/style/style.harmony.css +4 -9
- package/dist/es/packages/pagination/style/style.harmony.css +27 -74
- package/dist/es/packages/picker/style/style.harmony.css +462 -10
- package/dist/es/packages/pickerview/style/style.harmony.css +15 -26
- package/dist/es/packages/popover/style/style.harmony.css +405 -38
- package/dist/es/packages/popup/style/style.harmony.css +111 -103
- package/dist/es/packages/price/style/style.harmony.css +25 -51
- package/dist/es/packages/progress/style/style.harmony.css +8 -8
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +1 -1
- package/dist/es/packages/pulltorefresh/style/style.harmony.css +6 -6
- package/dist/es/packages/radio/style/style.harmony.css +75 -33
- package/dist/es/packages/radiogroup/style/style.harmony.css +13 -17
- package/dist/es/packages/range/style/style.harmony.css +23 -36
- package/dist/es/packages/rate/style/style.harmony.css +31 -43
- package/dist/es/packages/resultpage/style/style.harmony.css +390 -13
- package/dist/es/packages/safearea/style/style.harmony.css +2 -2
- package/dist/es/packages/searchbar/style/style.harmony.css +55 -146
- package/dist/es/packages/segmented/style/style.harmony.css +11 -11
- package/dist/es/packages/shortpassword/style/style.harmony.css +397 -19
- package/dist/es/packages/sidebar/style/style.harmony.css +28 -12
- package/dist/es/packages/sidebaritem/style/style.harmony.css +3 -3
- package/dist/es/packages/signature/style/style.harmony.css +4 -4
- package/dist/es/packages/skeleton/style/style.harmony.css +6 -6
- package/dist/es/packages/space/style/style.harmony.css +6 -10
- package/dist/es/packages/step/style/style.harmony.css +35 -57
- package/dist/es/packages/steps/style/style.harmony.css +177 -94
- package/dist/es/packages/swiper/style/style.harmony.css +128 -0
- package/dist/es/packages/switch/style/style.harmony.css +30 -30
- package/dist/es/packages/tabbar/style/style.harmony.css +155 -5
- package/dist/es/packages/tabbaritem/style/style.harmony.css +107 -19
- package/dist/es/packages/table/style/style.harmony.css +29 -68
- package/dist/es/packages/tabpane/style/style.harmony.css +3 -3
- package/dist/es/packages/tabs/style/style.harmony.css +64 -65
- package/dist/es/packages/tag/style/style.harmony.css +20 -20
- package/dist/es/packages/textarea/style/style.harmony.css +20 -20
- package/dist/es/packages/timedetail/style/style.harmony.css +10 -10
- package/dist/es/packages/timeselect/style/style.harmony.css +422 -11
- package/dist/es/packages/toast/style/style.harmony.css +73 -15
- package/dist/es/packages/tour/style/style.harmony.css +682 -20
- package/dist/es/packages/trendarrow/style/style.harmony.css +8 -15
- package/dist/es/packages/uploader/style/style.harmony.css +100 -53
- package/dist/es/packages/virtuallist/style/style.harmony.css +5 -5
- package/dist/es/packages/watermark/style/style.harmony.css +1 -1
- package/dist/es/types/spec/pulltorefresh/taro.d.ts +1 -0
- package/dist/nutui.react.umd.js +2 -2
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +24 -24
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +22 -22
- package/dist/style.css +1 -1
- package/dist/style.scss +25 -25
- package/package.json +1 -1
|
@@ -6,67 +6,47 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
flex-direction: row;
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
color: #505259;
|
|
11
|
-
margin: 16px 0;
|
|
9
|
+
font-size: var(--nutui-divider-text-font-size, var(--nutui-font-size-base, 14px));
|
|
10
|
+
color: var(--nutui-divider-text-color, var(--nutui-color-text, #505259));
|
|
11
|
+
margin: var(--nutui-divider-margin, 16px 0);
|
|
12
12
|
width: 100%;
|
|
13
|
-
border: 0 solid rgba(0, 0, 0, 0.06);
|
|
13
|
+
border: 0 solid var(--nutui-divider-border-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
14
14
|
}
|
|
15
|
-
.nut-divider-before {
|
|
15
|
+
.nut-divider-before, .nut-divider-after {
|
|
16
16
|
display: flex;
|
|
17
17
|
border-style: solid;
|
|
18
|
-
border-color: rgba(0, 0, 0, 0.06);
|
|
19
|
-
border-width: 1px 0 0;
|
|
20
|
-
height: 1px;
|
|
18
|
+
border-color: var(--nutui-divider-border-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
19
|
+
border-width: var(--nutui-divider-line-height, 1px) 0 0;
|
|
20
|
+
height: var(--nutui-divider-line-height, 1px);
|
|
21
21
|
flex: 1;
|
|
22
22
|
}
|
|
23
|
-
.nut-divider-
|
|
24
|
-
|
|
25
|
-
border-style: solid;
|
|
26
|
-
border-color: rgba(0, 0, 0, 0.06);
|
|
27
|
-
border-width: 1px 0 0;
|
|
28
|
-
height: 1px;
|
|
29
|
-
flex: 1;
|
|
30
|
-
}
|
|
31
|
-
.nut-divider-center-before {
|
|
32
|
-
margin-right: 8px;
|
|
33
|
-
}
|
|
34
|
-
.nut-divider-left-before {
|
|
35
|
-
margin-right: 8px;
|
|
36
|
-
}
|
|
37
|
-
.nut-divider-right-before {
|
|
38
|
-
margin-right: 8px;
|
|
39
|
-
}
|
|
40
|
-
.nut-divider-center-after {
|
|
41
|
-
margin-left: 8px;
|
|
23
|
+
.nut-divider-center-before, .nut-divider-left-before, .nut-divider-right-before {
|
|
24
|
+
margin-right: var(--nutui-divider-spacing, 8px);
|
|
42
25
|
}
|
|
43
|
-
.nut-divider-left-after {
|
|
44
|
-
margin-left: 8px;
|
|
45
|
-
}
|
|
46
|
-
.nut-divider-right-after {
|
|
47
|
-
margin-left: 8px;
|
|
26
|
+
.nut-divider-center-after, .nut-divider-left-after, .nut-divider-right-after {
|
|
27
|
+
margin-left: var(--nutui-divider-spacing, 8px);
|
|
48
28
|
}
|
|
49
29
|
.nut-divider-left-before {
|
|
50
|
-
width: 10
|
|
30
|
+
width: var(--nutui-divider-side-width, 10%);
|
|
51
31
|
flex: none;
|
|
52
32
|
}
|
|
53
33
|
.nut-divider-right-after {
|
|
54
|
-
width: 10
|
|
34
|
+
width: var(--nutui-divider-side-width, 10%);
|
|
55
35
|
flex: none;
|
|
56
36
|
}
|
|
57
37
|
.nut-divider-vertical {
|
|
58
38
|
display: inline-flex;
|
|
59
39
|
width: 0px;
|
|
60
|
-
height: 12px;
|
|
61
|
-
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
62
|
-
margin: 0 8px;
|
|
40
|
+
height: var(--nutui-divider-vertical-height, 12px);
|
|
41
|
+
border-left: 1px solid var(--nutui-divider-border-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
42
|
+
margin: var(--nutui-divider-vertical-margin, 0 8px);
|
|
63
43
|
vertical-align: middle;
|
|
64
44
|
}
|
|
65
45
|
.nut-divider-rtl-before {
|
|
66
46
|
margin-right: 0;
|
|
67
|
-
margin-left: 8px;
|
|
47
|
+
margin-left: var(--nutui-divider-spacing, 8px);
|
|
68
48
|
}
|
|
69
49
|
.nut-divider-rtl-after {
|
|
70
50
|
margin-left: 0;
|
|
71
|
-
margin-right: 8px;
|
|
51
|
+
margin-right: var(--nutui-divider-spacing, 8px);
|
|
72
52
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
min-height: 100%;
|
|
21
21
|
width: 100%;
|
|
22
|
-
background-color: #ffffff;
|
|
22
|
+
background-color: var(--nutui-elevator-list-bg-color, #ffffff);
|
|
23
23
|
overflow: auto;
|
|
24
24
|
}
|
|
25
25
|
.nut-elevator-list-item {
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
.nut-elevator-list-item-code {
|
|
33
33
|
display: flex;
|
|
34
34
|
align-items: center;
|
|
35
|
-
height: 34px;
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
color: #888b94;
|
|
38
|
-
font-weight: 600;
|
|
35
|
+
height: var(--nutui-elevator-list-item-code-height, 34px);
|
|
36
|
+
font-size: var(--nutui-elevator-list-item-code-font-size, var(--nutui-font-size-base, 14px));
|
|
37
|
+
color: var(--nutui-elevator-list-item-code-color, var(--nutui-color-text-help, #888b94));
|
|
38
|
+
font-weight: var(--nutui-elevator-list-item-code-font-weight, var(--nutui-font-weight-bold, 600));
|
|
39
39
|
}
|
|
40
40
|
.nut-elevator-list-item-name {
|
|
41
41
|
display: flex;
|
|
42
42
|
align-items: center;
|
|
43
|
-
height: 34px;
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
color: #1a1a1a;
|
|
43
|
+
height: var(--nutui-elevator-list-item-name-height, 34px);
|
|
44
|
+
font-size: var(--nutui-elevator-list-font-size, var(--nutui-font-size-base, 14px));
|
|
45
|
+
color: var(--nutui-elevator-list-color, var(--nutui-color-title, #1a1a1a));
|
|
46
46
|
}
|
|
47
47
|
.nut-elevator-list-item-name-highcolor {
|
|
48
|
-
color: #ff0f23;
|
|
48
|
+
color: var(--nutui-color-primary, #ff0f23);
|
|
49
49
|
font-weight: 600;
|
|
50
50
|
}
|
|
51
51
|
.nut-elevator-list-fixed {
|
|
@@ -56,38 +56,38 @@
|
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
width: 100%;
|
|
59
|
-
padding: 0 36px 0 20px;
|
|
60
|
-
height: 34px;
|
|
59
|
+
padding: var(--nutui-elevator-list-item-padding, 0 36px 0 20px);
|
|
60
|
+
height: var(--nutui-elevator-list-item-code-height, 34px);
|
|
61
61
|
box-sizing: border-box;
|
|
62
|
-
box-shadow: 0 0 10px #eee;
|
|
63
|
-
background-color: #ffffff;
|
|
62
|
+
box-shadow: var(--nutui-elevator-list-fixed-box-shadow, 0 0 10px #eee);
|
|
63
|
+
background-color: var(--nutui-elevator-list-fixed-bg-color, #ffffff);
|
|
64
64
|
}
|
|
65
65
|
.nut-elevator-list-fixed-title {
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
color: #ff0f23;
|
|
68
|
-
font-weight: 600;
|
|
66
|
+
font-size: var(--nutui-elevator-list-item-code-font-size, var(--nutui-font-size-base, 14px));
|
|
67
|
+
color: var(--nutui-elevator-list-fixed-color, var(--nutui-color-primary, #ff0f23));
|
|
68
|
+
font-weight: var(--nutui-elevator-list-item-code-font-weight, var(--nutui-font-weight-bold, 600));
|
|
69
69
|
}
|
|
70
70
|
.nut-elevator-code-current {
|
|
71
71
|
position: absolute;
|
|
72
|
-
right: 60px;
|
|
73
|
-
top: 50
|
|
74
|
-
transform: translateY(-50%);
|
|
72
|
+
right: var(--nutui-elevator-list-item-code-current-right, 60px);
|
|
73
|
+
top: var(--nutui-elevator-list-item-code-current-top, 50%);
|
|
74
|
+
transform: var(--nutui-elevator-bars-transform, translateY(-50%));
|
|
75
75
|
display: flex;
|
|
76
76
|
align-items: center;
|
|
77
77
|
justify-content: center;
|
|
78
|
-
width: 45px;
|
|
79
|
-
height: 45px;
|
|
80
|
-
border-radius: 50
|
|
81
|
-
background: #c2c4cc;
|
|
78
|
+
width: var(--nutui-elevator-list-item-code-current-width, 45px);
|
|
79
|
+
height: var(--nutui-elevator-list-item-code-current-height, 45px);
|
|
80
|
+
border-radius: var(--nutui-elevator-list-item-code-current-border-radius, 50%);
|
|
81
|
+
background: var(--nutui-elevator-list-item-code-current-bg-color, var(--nutui-color-text-disabled, #c2c4cc));
|
|
82
82
|
box-shadow: 0 3px 3px 1px rgb(240, 240, 240);
|
|
83
|
-
color: #ffffff;
|
|
83
|
+
color: var(--nutui-elevator-list-item-code-current-color, #ffffff);
|
|
84
84
|
}
|
|
85
85
|
.nut-elevator-bars {
|
|
86
86
|
position: absolute;
|
|
87
|
-
right: 16px;
|
|
88
|
-
top: 50
|
|
89
|
-
transform: translateY(-50%);
|
|
90
|
-
z-index: 1;
|
|
87
|
+
right: var(--nutui-elevator-bars-right, 16px);
|
|
88
|
+
top: var(--nutui-elevator-bars-top, 50%);
|
|
89
|
+
transform: var(--nutui-elevator-bars-transform, translateY(-50%));
|
|
90
|
+
z-index: var(--nutui-elevator-bars-z-index, 1);
|
|
91
91
|
}
|
|
92
92
|
.nut-elevator-bars-inner {
|
|
93
93
|
display: flex;
|
|
@@ -101,13 +101,13 @@
|
|
|
101
101
|
width: 16px;
|
|
102
102
|
border-radius: 50%;
|
|
103
103
|
margin: 1px 0;
|
|
104
|
-
color: #888b94;
|
|
105
|
-
font-size: 10px;
|
|
104
|
+
color: var(--nutui-elevator-bars-color, var(--nutui-color-text-help, #888b94));
|
|
105
|
+
font-size: var(--nutui-elevator-bars-font-size, var(--nutui-font-size-xxs, 10px));
|
|
106
106
|
cursor: pointer;
|
|
107
107
|
}
|
|
108
108
|
.nut-elevator-bars-inner-item-active {
|
|
109
|
-
font-weight: 600;
|
|
110
|
-
color: #ffffff;
|
|
109
|
+
font-weight: var(--nutui-font-weight-bold, 600);
|
|
110
|
+
color: var(--nutui-elevator-bars-active-color, #ffffff);
|
|
111
111
|
/* #ifndef weapp jd*/
|
|
112
112
|
background: linear-gradient(to right, #ff475d, #ff0f23);
|
|
113
113
|
/* #endif */
|
|
@@ -116,20 +116,17 @@
|
|
|
116
116
|
/* #endif */
|
|
117
117
|
}
|
|
118
118
|
.nut-elevator-horizontal .nut-elevator-list-item-code {
|
|
119
|
-
width: 34px;
|
|
119
|
+
width: var(--nutui-elevator-list-item-code-width, 34px);
|
|
120
120
|
justify-content: center;
|
|
121
121
|
}
|
|
122
122
|
.nut-elevator-vertical .nut-elevator-list-item {
|
|
123
123
|
flex-direction: column;
|
|
124
124
|
}
|
|
125
125
|
.nut-elevator-vertical .nut-elevator-list-item-code {
|
|
126
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
126
|
+
border-bottom: var(--nutui-elevator-list-item-code-border-bottom, 1px solid var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
127
127
|
}
|
|
128
|
-
.nut-elevator-vertical .nut-elevator-list-item-name {
|
|
129
|
-
padding: 0 36px 0 20px;
|
|
130
|
-
}
|
|
131
|
-
.nut-elevator-vertical .nut-elevator-list-item-code {
|
|
132
|
-
padding: 0 36px 0 20px;
|
|
128
|
+
.nut-elevator-vertical .nut-elevator-list-item-name, .nut-elevator-vertical .nut-elevator-list-item-code {
|
|
129
|
+
padding: var(--nutui-elevator-list-item-padding, 0 36px 0 20px);
|
|
133
130
|
}
|
|
134
131
|
|
|
135
132
|
[dir=rtl] .nut-elevator-list-fixed,
|
|
@@ -137,19 +134,13 @@
|
|
|
137
134
|
left: auto;
|
|
138
135
|
right: 0;
|
|
139
136
|
}
|
|
140
|
-
[dir=rtl] .nut-elevator-code-current
|
|
141
|
-
right: auto;
|
|
142
|
-
left: 60px;
|
|
143
|
-
}
|
|
137
|
+
[dir=rtl] .nut-elevator-code-current,
|
|
144
138
|
.nut-rtl .nut-elevator-code-current {
|
|
145
139
|
right: auto;
|
|
146
|
-
left: 60px;
|
|
147
|
-
}
|
|
148
|
-
[dir=rtl] .nut-elevator-bars {
|
|
149
|
-
right: auto;
|
|
150
|
-
left: 16px;
|
|
140
|
+
left: var(--nutui-elevator-list-item-code-current-right, 60px);
|
|
151
141
|
}
|
|
142
|
+
[dir=rtl] .nut-elevator-bars,
|
|
152
143
|
.nut-rtl .nut-elevator-bars {
|
|
153
144
|
right: auto;
|
|
154
|
-
left: 16px;
|
|
145
|
+
left: var(--nutui-elevator-bars-right, 16px);
|
|
155
146
|
}
|
|
@@ -2,6 +2,383 @@
|
|
|
2
2
|
/* #endif */
|
|
3
3
|
/* #ifndef harmony */
|
|
4
4
|
/* #endif */
|
|
5
|
+
.nut-button {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
/* #ifdef harmony dynamic*/
|
|
10
|
+
width: 80px;
|
|
11
|
+
/* #endif */
|
|
12
|
+
/* #ifndef harmony dynamic*/
|
|
13
|
+
width: auto;
|
|
14
|
+
/* #endif */
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
flex-shrink: 0;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
height: var(--nutui-button-default-height, 32px);
|
|
23
|
+
font-size: var(--nutui-button-default-font-size, var(--nutui-font-size-base, 14px));
|
|
24
|
+
font-weight: var(--nutui-font-weight, 400);
|
|
25
|
+
text-align: center;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
transition: opacity 0.2s;
|
|
28
|
+
user-select: none;
|
|
29
|
+
touch-action: manipulation;
|
|
30
|
+
-webkit-appearance: none;
|
|
31
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
32
|
+
color: var(--nutui-button-default-color, var(--nutui-color-title, #1a1a1a));
|
|
33
|
+
background: var(--nutui-button-default-background-color, transparent);
|
|
34
|
+
border-width: var(--nutui-button-border-width, 0.5px);
|
|
35
|
+
}
|
|
36
|
+
.nut-button-text {
|
|
37
|
+
margin-left: var(--nutui-button-text-icon-margin, 4px);
|
|
38
|
+
}
|
|
39
|
+
.nut-button-text-right {
|
|
40
|
+
margin-right: var(--nutui-button-text-icon-margin, 4px);
|
|
41
|
+
}
|
|
42
|
+
.nut-button-children {
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: row;
|
|
45
|
+
background: transparent;
|
|
46
|
+
}
|
|
47
|
+
.nut-button::before {
|
|
48
|
+
position: absolute;
|
|
49
|
+
top: 50%;
|
|
50
|
+
left: 50%;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
background-color: var(--nutui-color-mask, rgba(0, 0, 0, 0.7));
|
|
54
|
+
border: inherit;
|
|
55
|
+
border-color: var(--nutui-color-mask, rgba(0, 0, 0, 0.7));
|
|
56
|
+
border-radius: inherit;
|
|
57
|
+
transform: translate(-50%, -50%);
|
|
58
|
+
opacity: 0;
|
|
59
|
+
content: " ";
|
|
60
|
+
}
|
|
61
|
+
.nut-button::after {
|
|
62
|
+
border: none;
|
|
63
|
+
}
|
|
64
|
+
.nut-button:active::before {
|
|
65
|
+
opacity: 0.1;
|
|
66
|
+
}
|
|
67
|
+
.nut-button-wrap {
|
|
68
|
+
height: 100%;
|
|
69
|
+
width: 100%;
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-direction: row;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
/* #ifndef harmony dynamic*/
|
|
75
|
+
background: initial;
|
|
76
|
+
/* #endif */
|
|
77
|
+
}
|
|
78
|
+
.nut-button-wrap .nut-icon {
|
|
79
|
+
font-size: var(--nutui-button-default-font-size, var(--nutui-font-size-base, 14px));
|
|
80
|
+
width: var(--nutui-button-default-font-size, var(--nutui-font-size-base, 14px));
|
|
81
|
+
height: var(--nutui-button-default-font-size, var(--nutui-font-size-base, 14px));
|
|
82
|
+
}
|
|
83
|
+
.nut-button-loading::before, .nut-button-disabled::before {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
.nut-button-disabled {
|
|
87
|
+
cursor: not-allowed;
|
|
88
|
+
color: #ffffff;
|
|
89
|
+
}
|
|
90
|
+
.nut-button.nut-button-icononly {
|
|
91
|
+
width: var(--nutui-button-default-height, 32px);
|
|
92
|
+
padding: 0;
|
|
93
|
+
}
|
|
94
|
+
.nut-button-round {
|
|
95
|
+
border-radius: var(--nutui-button-border-radius, var(--nutui-radius-s, 6px));
|
|
96
|
+
}
|
|
97
|
+
.nut-button-default {
|
|
98
|
+
padding: var(--nutui-button-default-padding, 0px 12px);
|
|
99
|
+
border-style: solid;
|
|
100
|
+
border-color: var(--nutui-button-default-border-color, var(--nutui-color-text-disabled, #c2c4cc));
|
|
101
|
+
}
|
|
102
|
+
.nut-button-default-disabled, .nut-button-default-solid-disabled {
|
|
103
|
+
color: var(--nutui-button-primary-color, #ffffff);
|
|
104
|
+
background: var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #c2c4cc));
|
|
105
|
+
border-color: var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #c2c4cc));
|
|
106
|
+
}
|
|
107
|
+
.nut-button-default-none-disabled {
|
|
108
|
+
color: var(--nutui-button-default-disabled-color, var(--nutui-color-text-help, #888b94));
|
|
109
|
+
}
|
|
110
|
+
.nut-button-default-outline-disabled, .nut-button-default-dashed-disabled {
|
|
111
|
+
background: transparent;
|
|
112
|
+
color: var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #c2c4cc));
|
|
113
|
+
border-color: var(--nutui-button-default-disabled, var(--nutui-color-text-disabled, #c2c4cc));
|
|
114
|
+
}
|
|
115
|
+
.nut-button-normal {
|
|
116
|
+
padding: var(--nutui-button-normal-padding, 0px 12px);
|
|
117
|
+
}
|
|
118
|
+
.nut-button-xlarge {
|
|
119
|
+
height: var(--nutui-button-xlarge-height, 48px);
|
|
120
|
+
padding: var(--nutui-button-xlarge-padding, 0px 24px);
|
|
121
|
+
font-size: var(--nutui-button-xlarge-font-size, var(--nutui-font-size-xl, 18px));
|
|
122
|
+
border-radius: var(--nutui-button-xlarge-border-radius, var(--nutui-radius-base, 8px));
|
|
123
|
+
}
|
|
124
|
+
.nut-button-xlarge .nut-button-text {
|
|
125
|
+
margin-left: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
126
|
+
}
|
|
127
|
+
.nut-button-xlarge .nut-button-text-right {
|
|
128
|
+
margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
129
|
+
}
|
|
130
|
+
.nut-button-xlarge .nut-icon {
|
|
131
|
+
font-size: var(--nutui-button-xlarge-font-size, var(--nutui-font-size-xl, 18px));
|
|
132
|
+
width: var(--nutui-button-xlarge-font-size, var(--nutui-font-size-xl, 18px));
|
|
133
|
+
height: var(--nutui-button-xlarge-font-size, var(--nutui-font-size-xl, 18px));
|
|
134
|
+
}
|
|
135
|
+
.nut-button-xlarge-children {
|
|
136
|
+
font-size: var(--nutui-button-xlarge-font-size, var(--nutui-font-size-xl, 18px));
|
|
137
|
+
}
|
|
138
|
+
.nut-button-large {
|
|
139
|
+
height: var(--nutui-button-large-height, 40px);
|
|
140
|
+
padding: var(--nutui-button-large-padding, 0px 16px);
|
|
141
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
|
|
142
|
+
border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
|
|
143
|
+
}
|
|
144
|
+
.nut-button-large .nut-button-text {
|
|
145
|
+
margin-left: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
146
|
+
}
|
|
147
|
+
.nut-button-large .nut-button-text-right {
|
|
148
|
+
margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
149
|
+
}
|
|
150
|
+
.nut-button-large .nut-icon {
|
|
151
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
|
|
152
|
+
width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
|
|
153
|
+
height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
|
|
154
|
+
}
|
|
155
|
+
.nut-button-large-children {
|
|
156
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 16px));
|
|
157
|
+
}
|
|
158
|
+
.nut-button-small {
|
|
159
|
+
height: var(--nutui-button-small-height, 28px);
|
|
160
|
+
padding: var(--nutui-button-small-padding, 0px 8px);
|
|
161
|
+
font-size: var(--nutui-button-small-font-size, var(--nutui-font-size-s, 12px));
|
|
162
|
+
border-radius: var(--nutui-button-small-border-radius, var(--nutui-radius-s, 6px));
|
|
163
|
+
}
|
|
164
|
+
.nut-button-small .nut-icon {
|
|
165
|
+
font-size: var(--nutui-button-small-font-size, var(--nutui-font-size-s, 12px));
|
|
166
|
+
width: var(--nutui-button-small-font-size, var(--nutui-font-size-s, 12px));
|
|
167
|
+
height: var(--nutui-button-small-font-size, var(--nutui-font-size-s, 12px));
|
|
168
|
+
}
|
|
169
|
+
.nut-button-small-children {
|
|
170
|
+
font-size: var(--nutui-button-small-font-size, var(--nutui-font-size-s, 12px));
|
|
171
|
+
}
|
|
172
|
+
.nut-button-mini {
|
|
173
|
+
height: var(--nutui-button-mini-height, 24px);
|
|
174
|
+
padding: var(--nutui-button-mini-padding, 0px 8px);
|
|
175
|
+
font-size: var(--nutui-button-mini-font-size, var(--nutui-font-size-xs, 11px));
|
|
176
|
+
border-radius: var(--nutui-button-mini-border-radius, var(--nutui-radius-xs, 4px));
|
|
177
|
+
}
|
|
178
|
+
.nut-button-mini .nut-icon {
|
|
179
|
+
font-size: var(--nutui-button-mini-font-size, var(--nutui-font-size-xs, 11px));
|
|
180
|
+
width: var(--nutui-button-mini-font-size, var(--nutui-font-size-xs, 11px));
|
|
181
|
+
height: var(--nutui-button-mini-font-size, var(--nutui-font-size-xs, 11px));
|
|
182
|
+
}
|
|
183
|
+
.nut-button-mini-children {
|
|
184
|
+
font-size: var(--nutui-button-mini-font-size, var(--nutui-font-size-xs, 11px));
|
|
185
|
+
}
|
|
186
|
+
.nut-button-primary {
|
|
187
|
+
color: var(--nutui-button-primary-color, #ffffff);
|
|
188
|
+
background-origin: border-box;
|
|
189
|
+
border-color: transparent;
|
|
190
|
+
}
|
|
191
|
+
.nut-button-primary-children {
|
|
192
|
+
color: var(--nutui-button-primary-color, #ffffff);
|
|
193
|
+
}
|
|
194
|
+
.nut-button-primary-solid {
|
|
195
|
+
background: linear-gradient(90deg, var(--nutui-color-primary-stop-1, #ff475d) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%);
|
|
196
|
+
color: var(--nutui-button-primary-color, #ffffff);
|
|
197
|
+
border-color: transparent;
|
|
198
|
+
font-weight: var(--nutui-font-weight-bold, 600);
|
|
199
|
+
}
|
|
200
|
+
.nut-button-primary-solid.nut-button-small, .nut-button-primary-solid.nut-button-mini {
|
|
201
|
+
font-weight: var(--nutui-font-weight, 400);
|
|
202
|
+
}
|
|
203
|
+
.nut-button-primary-disabled, .nut-button-primary-disabled.nut-button-icononly, .nut-button-primary-solid-disabled {
|
|
204
|
+
color: var(--nutui-button-primary-color, #ffffff);
|
|
205
|
+
background: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
206
|
+
border-color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
207
|
+
}
|
|
208
|
+
.nut-button-primary-none {
|
|
209
|
+
color: var(--nutui-button-primary-border-color, var(--nutui-color-primary, #ff0f23));
|
|
210
|
+
}
|
|
211
|
+
.nut-button-primary-none-disabled {
|
|
212
|
+
color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
213
|
+
}
|
|
214
|
+
.nut-button-primary-outline {
|
|
215
|
+
color: var(--nutui-button-primary-border-color, var(--nutui-color-primary, #ff0f23));
|
|
216
|
+
border-color: var(--nutui-button-primary-border-color, var(--nutui-color-primary, #ff0f23));
|
|
217
|
+
}
|
|
218
|
+
.nut-button-primary-outline-disabled {
|
|
219
|
+
color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
220
|
+
border-color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
221
|
+
}
|
|
222
|
+
.nut-button-primary-dashed {
|
|
223
|
+
color: var(--nutui-button-primary-border-color, var(--nutui-color-primary, #ff0f23));
|
|
224
|
+
border-color: var(--nutui-button-primary-border-color, var(--nutui-color-primary, #ff0f23));
|
|
225
|
+
}
|
|
226
|
+
.nut-button-primary-dashed-disabled {
|
|
227
|
+
color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
228
|
+
border-color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
229
|
+
}
|
|
230
|
+
.nut-button-primary.nut-button-solid.nut-button-normal {
|
|
231
|
+
font-weight: var(--nutui-font-weight-bold, 600);
|
|
232
|
+
}
|
|
233
|
+
.nut-button-success {
|
|
234
|
+
color: var(--nutui-button-success-color, #ffffff);
|
|
235
|
+
background: var(--nutui-button-success-background-color, var(--nutui-color-success, #00d900));
|
|
236
|
+
background-origin: border-box;
|
|
237
|
+
border-color: transparent;
|
|
238
|
+
}
|
|
239
|
+
.nut-button-success-children {
|
|
240
|
+
color: var(--nutui-button-success-color, #ffffff);
|
|
241
|
+
}
|
|
242
|
+
.nut-button-success-disabled, .nut-button-success-solid-disabled {
|
|
243
|
+
background: var(--nutui-button-success-disabled, var(--nutui-color-success-disabled, #b2f0ae));
|
|
244
|
+
border-color: var(--nutui-button-success-disabled, var(--nutui-color-success-disabled, #b2f0ae));
|
|
245
|
+
}
|
|
246
|
+
.nut-button-success-outline, .nut-button-success-dashed {
|
|
247
|
+
color: var(--nutui-button-success-border-color, var(--nutui-color-success, #00d900));
|
|
248
|
+
border-color: var(--nutui-button-success-border-color, var(--nutui-color-success, #00d900));
|
|
249
|
+
}
|
|
250
|
+
.nut-button-success-outline-disabled, .nut-button-success-dashed-disabled {
|
|
251
|
+
color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
252
|
+
border-color: var(--nutui-button-primary-disabled, var(--nutui-color-primary-disabled-special, #ffadbe));
|
|
253
|
+
}
|
|
254
|
+
.nut-button-success-none {
|
|
255
|
+
color: var(--nutui-button-success-border-color, var(--nutui-color-success, #00d900));
|
|
256
|
+
}
|
|
257
|
+
.nut-button-success-none-disabled {
|
|
258
|
+
color: var(--nutui-button-success-disabled, var(--nutui-color-success-disabled, #b2f0ae));
|
|
259
|
+
}
|
|
260
|
+
.nut-button-info {
|
|
261
|
+
color: var(--nutui-button-info-color, #ffffff);
|
|
262
|
+
background: var(--nutui-button-info-background-color, var(--nutui-color-info-background, #0073ff));
|
|
263
|
+
background-origin: border-box;
|
|
264
|
+
border-color: transparent;
|
|
265
|
+
}
|
|
266
|
+
.nut-button-info-children {
|
|
267
|
+
color: var(--nutui-button-info-color, #ffffff);
|
|
268
|
+
}
|
|
269
|
+
.nut-button-info-disabled, .nut-button-info-solid-disabled {
|
|
270
|
+
background: var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));
|
|
271
|
+
border-color: var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));
|
|
272
|
+
}
|
|
273
|
+
.nut-button-info-outline, .nut-button-info-dashed {
|
|
274
|
+
color: var(--nutui-button-info-border-color, var(--nutui-color-info, #0073ff));
|
|
275
|
+
border-color: var(--nutui-button-info-border-color, var(--nutui-color-info, #0073ff));
|
|
276
|
+
}
|
|
277
|
+
.nut-button-info-outline-disabled, .nut-button-info-dashed-disabled {
|
|
278
|
+
color: var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));
|
|
279
|
+
border-color: var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));
|
|
280
|
+
}
|
|
281
|
+
.nut-button-info-none {
|
|
282
|
+
color: var(--nutui-button-info-border-color, var(--nutui-color-info, #0073ff));
|
|
283
|
+
}
|
|
284
|
+
.nut-button-info-none-disabled {
|
|
285
|
+
color: var(--nutui-button-info-disabled, var(--nutui-color-info-disabled, #89a6f8));
|
|
286
|
+
}
|
|
287
|
+
.nut-button-danger {
|
|
288
|
+
color: var(--nutui-button-danger-color, #ffffff);
|
|
289
|
+
background: var(--nutui-button-danger-background-color, var(--nutui-color-danger, #ff0f23));
|
|
290
|
+
background-origin: border-box;
|
|
291
|
+
border-color: transparent;
|
|
292
|
+
}
|
|
293
|
+
.nut-button-danger-children {
|
|
294
|
+
color: var(--nutui-button-danger-color, #ffffff);
|
|
295
|
+
}
|
|
296
|
+
.nut-button-danger-disabled, .nut-button-danger-solid-disabled {
|
|
297
|
+
background: var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled-special, #ffadbe)));
|
|
298
|
+
border-color: var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled-special, #ffadbe)));
|
|
299
|
+
}
|
|
300
|
+
.nut-button-danger-outline, .nut-button-danger-dashed {
|
|
301
|
+
color: var(--nutui-button-danger-border-color, var(--nutui-color-danger, #ff0f23));
|
|
302
|
+
border-color: var(--nutui-button-danger-border-color, var(--nutui-color-danger, #ff0f23));
|
|
303
|
+
}
|
|
304
|
+
.nut-button-danger-outline-disabled, .nut-button-danger-dashed-disabled {
|
|
305
|
+
color: var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled-special, #ffadbe)));
|
|
306
|
+
border-color: var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled-special, #ffadbe)));
|
|
307
|
+
}
|
|
308
|
+
.nut-button-danger-none {
|
|
309
|
+
color: var(--nutui-button-danger-border-color, var(--nutui-color-danger, #ff0f23));
|
|
310
|
+
}
|
|
311
|
+
.nut-button-danger-none-disabled {
|
|
312
|
+
color: var(--nutui-button-danger-disabled, var(--nutui-color-danger-disabled, var(--nutui-color-primary-disabled-special, #ffadbe)));
|
|
313
|
+
}
|
|
314
|
+
.nut-button-warning {
|
|
315
|
+
color: var(--nutui-button-warning-color, #ffffff);
|
|
316
|
+
background: var(--nutui-button-warning-background-color, var(--nutui-color-warning, #ffbf00));
|
|
317
|
+
background-origin: border-box;
|
|
318
|
+
border-color: transparent;
|
|
319
|
+
}
|
|
320
|
+
.nut-button-warning-children {
|
|
321
|
+
color: var(--nutui-button-warning-color, #ffffff);
|
|
322
|
+
}
|
|
323
|
+
.nut-button-warning-disabled, .nut-button-warning-solid-disabled {
|
|
324
|
+
color: var(--nutui-button-warning-color, #ffffff);
|
|
325
|
+
background: var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));
|
|
326
|
+
border-color: var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));
|
|
327
|
+
}
|
|
328
|
+
.nut-button-warning-outline, .nut-button-warning-dashed {
|
|
329
|
+
color: var(--nutui-button-warning-border-color, var(--nutui-color-warning, #ffbf00));
|
|
330
|
+
border-color: var(--nutui-button-warning-border-color, var(--nutui-color-warning, #ffbf00));
|
|
331
|
+
}
|
|
332
|
+
.nut-button-warning-outline-disabled, .nut-button-warning-dashed-disabled {
|
|
333
|
+
color: var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));
|
|
334
|
+
border-color: var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));
|
|
335
|
+
}
|
|
336
|
+
.nut-button-warning-none {
|
|
337
|
+
color: var(--nutui-button-warning-border-color, var(--nutui-color-warning, #ffbf00));
|
|
338
|
+
}
|
|
339
|
+
.nut-button-warning-none-disabled {
|
|
340
|
+
color: var(--nutui-button-warning-disabled, var(--nutui-color-warning-disabled, #fdd3b9));
|
|
341
|
+
}
|
|
342
|
+
.nut-button-block {
|
|
343
|
+
display: block;
|
|
344
|
+
width: 100%;
|
|
345
|
+
}
|
|
346
|
+
.nut-button-outline {
|
|
347
|
+
background: transparent;
|
|
348
|
+
border-style: solid;
|
|
349
|
+
}
|
|
350
|
+
.nut-button-dashed {
|
|
351
|
+
background: transparent;
|
|
352
|
+
border-style: dashed;
|
|
353
|
+
}
|
|
354
|
+
.nut-button-none {
|
|
355
|
+
background: transparent;
|
|
356
|
+
border-color: transparent;
|
|
357
|
+
}
|
|
358
|
+
.nut-button-loading {
|
|
359
|
+
cursor: default;
|
|
360
|
+
opacity: 0.9;
|
|
361
|
+
}
|
|
362
|
+
.nut-button-square {
|
|
363
|
+
border-radius: var(--nutui-button-square-border-radius, 0);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
[dir=rtl] .nut-button-text,
|
|
367
|
+
.nut-rtl .nut-button-text {
|
|
368
|
+
margin-left: 0;
|
|
369
|
+
margin-right: var(--nutui-button-text-icon-margin, 4px);
|
|
370
|
+
}
|
|
371
|
+
[dir=rtl] .nut-button-text.right,
|
|
372
|
+
.nut-rtl .nut-button-text.right {
|
|
373
|
+
margin-left: var(--nutui-button-text-icon-margin, 4px);
|
|
374
|
+
}
|
|
375
|
+
[dir=rtl] .nut-button::before,
|
|
376
|
+
.nut-rtl .nut-button::before {
|
|
377
|
+
left: auto;
|
|
378
|
+
right: 50%;
|
|
379
|
+
transform: translate(50%, -50%);
|
|
380
|
+
}
|
|
381
|
+
|
|
5
382
|
.nut-empty {
|
|
6
383
|
box-sizing: border-box;
|
|
7
384
|
width: 100%;
|
|
@@ -9,12 +386,12 @@
|
|
|
9
386
|
align-items: center;
|
|
10
387
|
flex-direction: column;
|
|
11
388
|
justify-content: center;
|
|
12
|
-
padding: 32px 40px;
|
|
13
|
-
background-color: #ffffff;
|
|
389
|
+
padding: var(--nutui-empty-padding, 32px 40px);
|
|
390
|
+
background-color: var(--nutui-empty-background-color, var(--nutui-color-background-overlay, #ffffff));
|
|
14
391
|
}
|
|
15
392
|
.nut-empty-base {
|
|
16
|
-
width: 160px;
|
|
17
|
-
height: 160px;
|
|
393
|
+
width: var(--nutui-empty-image-size, 160px);
|
|
394
|
+
height: var(--nutui-empty-image-size, 160px);
|
|
18
395
|
}
|
|
19
396
|
.nut-empty-base img,
|
|
20
397
|
.nut-empty-base image {
|
|
@@ -22,8 +399,8 @@
|
|
|
22
399
|
height: 100%;
|
|
23
400
|
}
|
|
24
401
|
.nut-empty-small {
|
|
25
|
-
width: 120px;
|
|
26
|
-
height: 120px;
|
|
402
|
+
width: var(--nutui-empty-image-small-size, 120px);
|
|
403
|
+
height: var(--nutui-empty-image-small-size, 120px);
|
|
27
404
|
}
|
|
28
405
|
.nut-empty-small img,
|
|
29
406
|
.nut-empty-small image {
|
|
@@ -31,17 +408,17 @@
|
|
|
31
408
|
height: 100%;
|
|
32
409
|
}
|
|
33
410
|
.nut-empty-title {
|
|
34
|
-
margin-top: 0px;
|
|
35
|
-
font-weight: 600;
|
|
36
|
-
margin-bottom: 12px;
|
|
37
|
-
color: #1a1a1a;
|
|
38
|
-
font-size: 16px;
|
|
39
|
-
line-height: 16px;
|
|
411
|
+
margin-top: var(--nutui-empty-title-margin-top, 0px);
|
|
412
|
+
font-weight: var(--nutui-font-weight-bold, 600);
|
|
413
|
+
margin-bottom: var(--nutui-empty-title-margin-bottom, 12px);
|
|
414
|
+
color: var(--nutui-color-title, #1a1a1a);
|
|
415
|
+
font-size: var(--nutui-font-size-l, 16px);
|
|
416
|
+
line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l, 16px));
|
|
40
417
|
}
|
|
41
418
|
.nut-empty-description {
|
|
42
|
-
color: #505259;
|
|
43
|
-
font-size: 12px;
|
|
44
|
-
line-height: 1;
|
|
419
|
+
color: var(--nutui-color-text, #505259);
|
|
420
|
+
font-size: var(--nutui-font-size-s, 12px);
|
|
421
|
+
line-height: var(--nutui-empty-description-line-height, 1);
|
|
45
422
|
}
|
|
46
423
|
.nut-empty-actions-base {
|
|
47
424
|
display: flex;
|