@nutui/nutui-react-taro 3.0.17-beta.0 → 3.0.18-cpp
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 +10 -0
- 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/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/dialog.js +12 -10
- 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/ellipsis.js +1 -1
- 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/noticebar.scss +6 -0
- package/dist/cjs/packages/noticebar/style/style.css +6 -0
- package/dist/cjs/packages/noticebar/style/style.harmony.css +40 -48
- package/dist/cjs/packages/noticebar/style-jmapp/noticebar.scss +6 -0
- package/dist/cjs/packages/noticebar/style-jmapp/style.css +6 -0
- package/dist/cjs/packages/noticebar/style-jrkf/noticebar.scss +6 -0
- package/dist/cjs/packages/noticebar/style-jrkf/style.css +6 -0
- 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/overlay.js +17 -11
- 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/popup.js +29 -17
- package/dist/cjs/packages/popup/style/style.harmony.css +111 -103
- package/dist/cjs/packages/price/price.js +43 -15
- 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/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/price/base.d.ts +8 -2
- package/dist/cjs/types/spec/price/base.js +12 -0
- package/dist/cjs/utils/taro/get-rect.d.ts +1 -0
- package/dist/cjs/utils/taro/get-rect.js +36 -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/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/dialog.js +23 -19
- 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/ellipsis.js +2 -2
- 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/noticebar.scss +6 -0
- package/dist/es/packages/noticebar/style/style.css +6 -0
- package/dist/es/packages/noticebar/style/style.harmony.css +40 -48
- package/dist/es/packages/noticebar/style-jmapp/noticebar.scss +6 -0
- package/dist/es/packages/noticebar/style-jmapp/style.css +6 -0
- package/dist/es/packages/noticebar/style-jrkf/noticebar.scss +6 -0
- package/dist/es/packages/noticebar/style-jrkf/style.css +6 -0
- 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/overlay.js +17 -11
- 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/popup.js +30 -17
- package/dist/es/packages/popup/style/style.harmony.css +111 -103
- package/dist/es/packages/price/price.js +42 -15
- 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/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/price/base.d.ts +17 -5
- package/dist/es/types/spec/price/base.js +6 -1
- package/dist/es/utils/taro/get-rect.d.ts +1 -0
- package/dist/es/utils/taro/get-rect.js +34 -0
- package/dist/nutui.react.umd.js +9958 -9892
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +43 -43
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +40 -40
- package/dist/style.css +1 -1
- package/dist/style.scss +28 -28
- package/package.json +1 -1
|
@@ -1,11 +1,673 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* #ifdef harmony */
|
|
2
3
|
/* #endif */
|
|
3
4
|
/* #ifndef harmony */
|
|
4
5
|
/* #endif */
|
|
6
|
+
.nut-overlay {
|
|
7
|
+
position: fixed;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
background-color: var(--nutui-overlay-bg-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.nut-overflow-hidden {
|
|
18
|
+
overflow: hidden !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@keyframes nut-fade-in {
|
|
22
|
+
0% {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
1% {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
}
|
|
28
|
+
100% {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@keyframes nut-fade-out {
|
|
33
|
+
0% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
1% {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
100% {
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.nut-overlay-slide-enter-active, .nut-overlay-slide-appear-active {
|
|
44
|
+
animation-fill-mode: both;
|
|
45
|
+
animation-name: nut-fade-in;
|
|
46
|
+
animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
|
|
47
|
+
}
|
|
48
|
+
.nut-overlay-slide-exit-active {
|
|
49
|
+
animation-fill-mode: both;
|
|
50
|
+
animation-name: nut-fade-out;
|
|
51
|
+
animation-duration: var(--nutui-overlay-animation-duration, 0.3s);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[dir=rtl] .nut-overlay,
|
|
55
|
+
.nut-rtl .nut-overlay {
|
|
56
|
+
left: auto;
|
|
57
|
+
right: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.nut-popup {
|
|
61
|
+
position: fixed;
|
|
62
|
+
min-height: 26%;
|
|
63
|
+
max-height: 100%;
|
|
64
|
+
background-color: var(--nutui-overlay-content-bg-color, var(--nutui-color-background-overlay, #ffffff));
|
|
65
|
+
-webkit-overflow-scrolling: touch;
|
|
66
|
+
font-size: var(--nutui-font-size-base, 14px);
|
|
67
|
+
}
|
|
68
|
+
.nut-popup-title {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-direction: row;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
border-bottom: var(--nutui-popup-title-border-bottom, 0);
|
|
74
|
+
padding: var(--nutui-popup-title-padding, 16px);
|
|
75
|
+
position: relative;
|
|
76
|
+
}
|
|
77
|
+
.nut-popup-title-wrapper {
|
|
78
|
+
display: flex;
|
|
79
|
+
flex-direction: column;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
}
|
|
83
|
+
.nut-popup-title-title {
|
|
84
|
+
color: var(--nutui-color-title, #1a1a1a);
|
|
85
|
+
font-weight: var(--nutui-font-weight-bold, 600);
|
|
86
|
+
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
|
|
87
|
+
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-l, 16px));
|
|
88
|
+
}
|
|
89
|
+
.nut-popup-title-description {
|
|
90
|
+
color: var(--nutui-color-text, #505259);
|
|
91
|
+
font-size: var(--nutui-popup-description-font-size, var(--nutui-font-size-base, 14px));
|
|
92
|
+
font-weight: var(--nutui-font-weight, 400);
|
|
93
|
+
}
|
|
94
|
+
.nut-popup-title-description-gap {
|
|
95
|
+
margin-top: var(--nutui-popup-description-spacing, var(--nutui-spacing-base, 8px));
|
|
96
|
+
}
|
|
97
|
+
.nut-popup-title-left {
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
100
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
101
|
+
}
|
|
102
|
+
.nut-popup-title-right {
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
105
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
106
|
+
z-index: 1;
|
|
107
|
+
width: var(--nutui-popup-icon-size, 20px);
|
|
108
|
+
height: var(--nutui-popup-icon-size, 20px);
|
|
109
|
+
color: var(--nutui-color-title, #1a1a1a);
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
}
|
|
112
|
+
.nut-popup-title-right:active {
|
|
113
|
+
opacity: 0.7;
|
|
114
|
+
}
|
|
115
|
+
.nut-popup-title-right-top-left {
|
|
116
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
117
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
118
|
+
}
|
|
119
|
+
.nut-popup-title-right-bottom-left {
|
|
120
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
121
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
122
|
+
}
|
|
123
|
+
.nut-popup-title-right-bottom-right {
|
|
124
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
125
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
126
|
+
}
|
|
127
|
+
.nut-popup-center {
|
|
128
|
+
top: 50%;
|
|
129
|
+
left: 50%;
|
|
130
|
+
min-height: 10%;
|
|
131
|
+
max-width: 295px;
|
|
132
|
+
transform: translate(-50%, -50%);
|
|
133
|
+
}
|
|
134
|
+
.nut-popup-center.nut-popup-round {
|
|
135
|
+
border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
|
|
136
|
+
}
|
|
137
|
+
.nut-popup-bottom, .nut-popup-top {
|
|
138
|
+
max-height: 87%;
|
|
139
|
+
}
|
|
140
|
+
.nut-popup-bottom {
|
|
141
|
+
bottom: 0;
|
|
142
|
+
left: 0;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
.nut-popup-bottom.nut-popup-round {
|
|
146
|
+
border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0 0;
|
|
147
|
+
}
|
|
148
|
+
.nut-popup-right {
|
|
149
|
+
top: 0;
|
|
150
|
+
right: 0;
|
|
151
|
+
width: 100px;
|
|
152
|
+
height: 100%;
|
|
153
|
+
}
|
|
154
|
+
.nut-popup-right.nut-popup-round {
|
|
155
|
+
border-radius: var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
|
|
156
|
+
}
|
|
157
|
+
.nut-popup-left {
|
|
158
|
+
top: 0;
|
|
159
|
+
left: 0;
|
|
160
|
+
width: 100px;
|
|
161
|
+
height: 100%;
|
|
162
|
+
}
|
|
163
|
+
.nut-popup-left.nut-popup-round {
|
|
164
|
+
border-radius: 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) 0;
|
|
165
|
+
}
|
|
166
|
+
.nut-popup-top {
|
|
167
|
+
top: 0;
|
|
168
|
+
left: 0;
|
|
169
|
+
width: 100%;
|
|
170
|
+
}
|
|
171
|
+
.nut-popup-top.nut-popup-round {
|
|
172
|
+
border-radius: 0 0 var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px)) var(--nutui-popup-border-radius, var(--nutui-radius-xl, 12px));
|
|
173
|
+
}
|
|
174
|
+
.nut-popup-slide {
|
|
175
|
+
/* 从顶部滑出 */
|
|
176
|
+
/* 从右侧滑出 */
|
|
177
|
+
/* 从底部滑出 */
|
|
178
|
+
/* 从左侧滑出 */
|
|
179
|
+
}
|
|
180
|
+
@keyframes popup-scale-fade-in {
|
|
181
|
+
from {
|
|
182
|
+
opacity: 0;
|
|
183
|
+
transform: scale(0.8);
|
|
184
|
+
}
|
|
185
|
+
to {
|
|
186
|
+
opacity: 1;
|
|
187
|
+
transform: scale(1);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
@keyframes popup-scale-fade-out {
|
|
191
|
+
from {
|
|
192
|
+
opacity: 1;
|
|
193
|
+
transform: scale(1);
|
|
194
|
+
}
|
|
195
|
+
to {
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transform: scale(0.8);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.nut-popup-slide-none-enter-active {
|
|
201
|
+
animation-fill-mode: both;
|
|
202
|
+
animation-name: popup-scale-fade-in;
|
|
203
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
204
|
+
}
|
|
205
|
+
.nut-popup-slide-none-exit-active {
|
|
206
|
+
animation-fill-mode: both;
|
|
207
|
+
animation-name: popup-scale-fade-out;
|
|
208
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
209
|
+
}
|
|
210
|
+
@keyframes popup-fade-in {
|
|
211
|
+
from {
|
|
212
|
+
opacity: 0;
|
|
213
|
+
}
|
|
214
|
+
to {
|
|
215
|
+
opacity: 1;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
@keyframes popup-fade-out {
|
|
219
|
+
from {
|
|
220
|
+
opacity: 1;
|
|
221
|
+
}
|
|
222
|
+
to {
|
|
223
|
+
opacity: 0;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
.nut-popup-slide-center-enter-active {
|
|
227
|
+
animation-fill-mode: both;
|
|
228
|
+
animation-name: popup-fade-in;
|
|
229
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
230
|
+
}
|
|
231
|
+
.nut-popup-slide-center-exit-active {
|
|
232
|
+
animation-fill-mode: both;
|
|
233
|
+
animation-name: popup-fade-out;
|
|
234
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
235
|
+
}
|
|
236
|
+
@keyframes popup-slide-top-enter {
|
|
237
|
+
from {
|
|
238
|
+
transform: translate3d(0, -100%, 0);
|
|
239
|
+
}
|
|
240
|
+
to {
|
|
241
|
+
transform: translate3d(0, 0%, 0);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
@keyframes popup-slide-top-exit {
|
|
245
|
+
to {
|
|
246
|
+
transform: translate3d(0, -100%, 0);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
.nut-popup-slide-top-enter-active, .nut-popup-slide-top-appear-active {
|
|
250
|
+
transform: translate3d(0, 0%, 0);
|
|
251
|
+
animation-fill-mode: both;
|
|
252
|
+
animation-name: popup-slide-top-enter;
|
|
253
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
254
|
+
}
|
|
255
|
+
.nut-popup-slide-top-exit-active {
|
|
256
|
+
animation-fill-mode: both;
|
|
257
|
+
animation-name: popup-slide-top-exit;
|
|
258
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
259
|
+
}
|
|
260
|
+
@keyframes popup-slide-right-enter {
|
|
261
|
+
from {
|
|
262
|
+
transform: translate3d(100%, 0, 0);
|
|
263
|
+
}
|
|
264
|
+
to {
|
|
265
|
+
transform: translate3d(0%, 0, 0);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
@keyframes popup-slide-right-exit {
|
|
269
|
+
to {
|
|
270
|
+
transform: translate3d(100%, 0, 0);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
.nut-popup-slide-right-enter-active, .nut-popup-slide-right-appear-active {
|
|
274
|
+
transform: translate3d(0, 0, 0);
|
|
275
|
+
animation-fill-mode: both;
|
|
276
|
+
animation-name: popup-slide-right-enter;
|
|
277
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
278
|
+
}
|
|
279
|
+
.nut-popup-slide-right-exit {
|
|
280
|
+
animation-fill-mode: both;
|
|
281
|
+
animation-name: popup-slide-right-exit;
|
|
282
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
283
|
+
}
|
|
284
|
+
@keyframes popup-slide-bottom-enter {
|
|
285
|
+
from {
|
|
286
|
+
transform: translate3d(0, 100%, 0);
|
|
287
|
+
}
|
|
288
|
+
to {
|
|
289
|
+
transform: translate3d(0, 0%, 0);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
@keyframes slide-bottom-exit {
|
|
293
|
+
to {
|
|
294
|
+
transform: translate3d(0, 100%, 0);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
.nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
|
|
298
|
+
transform: translate(0, 0);
|
|
299
|
+
animation-fill-mode: both;
|
|
300
|
+
animation-name: popup-slide-bottom-enter;
|
|
301
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
302
|
+
}
|
|
303
|
+
.nut-popup-slide-bottom-exit {
|
|
304
|
+
animation-fill-mode: both;
|
|
305
|
+
animation-name: slide-bottom-exit;
|
|
306
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
307
|
+
}
|
|
308
|
+
@keyframes popup-slide-left-enter {
|
|
309
|
+
from {
|
|
310
|
+
transform: translate3d(-100%, 0, 0);
|
|
311
|
+
}
|
|
312
|
+
to {
|
|
313
|
+
transform: translate3d(0%, 0, 0);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
@keyframes popup-slide-left-exit {
|
|
317
|
+
to {
|
|
318
|
+
transform: translate3d(-100%, 0, 0);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
.nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
|
|
322
|
+
transform: translate(0, 0);
|
|
323
|
+
animation-fill-mode: both;
|
|
324
|
+
animation-name: popup-slide-left-enter;
|
|
325
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
326
|
+
}
|
|
327
|
+
.nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
|
|
328
|
+
animation-fill-mode: both;
|
|
329
|
+
animation-name: popup-slide-left-exit;
|
|
330
|
+
animation-duration: var(--nutui-popup-animation-duration, 0.3s);
|
|
331
|
+
}
|
|
332
|
+
.nut-popup-slide-none-exit-done.nut-popup, .nut-popup-slide-center-exit-done.nut-popup, .nut-popup-slide-left-exit-done.nut-popup, .nut-popup-slide-right-exit-done.nut-popup, .nut-popup-slide-top-exit-done.nut-popup, .nut-popup-slide-bottom-exit-done.nut-popup {
|
|
333
|
+
display: none;
|
|
334
|
+
}
|
|
335
|
+
.nut-popup .nut-overflow-hidden {
|
|
336
|
+
overflow: hidden;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
[dir=rtl] .nut-popup-title-left,
|
|
340
|
+
.nut-rtl .nut-popup-title-left {
|
|
341
|
+
left: auto;
|
|
342
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
343
|
+
}
|
|
344
|
+
[dir=rtl] .nut-popup-title-right,
|
|
345
|
+
.nut-rtl .nut-popup-title-right {
|
|
346
|
+
right: auto;
|
|
347
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
348
|
+
}
|
|
349
|
+
[dir=rtl] .nut-popup-title-right-top-left,
|
|
350
|
+
.nut-rtl .nut-popup-title-right-top-left {
|
|
351
|
+
left: auto;
|
|
352
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
353
|
+
}
|
|
354
|
+
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
355
|
+
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
356
|
+
left: auto;
|
|
357
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
358
|
+
}
|
|
359
|
+
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
360
|
+
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
361
|
+
right: auto;
|
|
362
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
363
|
+
}
|
|
364
|
+
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
365
|
+
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
|
|
366
|
+
transform: rotate(180deg);
|
|
367
|
+
}
|
|
368
|
+
[dir=rtl] .nut-popup-center,
|
|
369
|
+
.nut-rtl .nut-popup-center {
|
|
370
|
+
left: auto;
|
|
371
|
+
right: 50%;
|
|
372
|
+
transform: translate(50%, -50%);
|
|
373
|
+
}
|
|
374
|
+
[dir=rtl] .nut-popup-bottom,
|
|
375
|
+
.nut-rtl .nut-popup-bottom {
|
|
376
|
+
left: auto;
|
|
377
|
+
right: 0;
|
|
378
|
+
}
|
|
379
|
+
[dir=rtl] .nut-popup-top,
|
|
380
|
+
.nut-rtl .nut-popup-top {
|
|
381
|
+
left: auto;
|
|
382
|
+
right: 0;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.nut-popover {
|
|
386
|
+
position: absolute;
|
|
387
|
+
display: inline-block;
|
|
388
|
+
word-break: normal;
|
|
389
|
+
}
|
|
390
|
+
.nut-popover-arrow {
|
|
391
|
+
position: absolute;
|
|
392
|
+
width: 8px;
|
|
393
|
+
height: 4px;
|
|
394
|
+
}
|
|
395
|
+
.nut-popover-arrow .nut-icon-ArrowRadius {
|
|
396
|
+
position: absolute;
|
|
397
|
+
color: var(--nutui-popover-content-background-color, #ffffff);
|
|
398
|
+
}
|
|
399
|
+
.nut-popover-arrow-top {
|
|
400
|
+
bottom: -4px;
|
|
401
|
+
}
|
|
402
|
+
.nut-popover-arrow-bottom {
|
|
403
|
+
top: -4px;
|
|
404
|
+
}
|
|
405
|
+
.nut-popover-arrow-left {
|
|
406
|
+
right: -6px;
|
|
407
|
+
transform-origin: center top;
|
|
408
|
+
}
|
|
409
|
+
.nut-popover-arrow-left.nut-popover-arrow-left {
|
|
410
|
+
top: 50%;
|
|
411
|
+
transform: rotate(90deg) translateY(-50%);
|
|
412
|
+
}
|
|
413
|
+
.nut-popover-arrow-left.nut-popover-arrow-left-top {
|
|
414
|
+
top: 16px;
|
|
415
|
+
right: -8px;
|
|
416
|
+
transform: rotate(90deg) translateY(0%);
|
|
417
|
+
}
|
|
418
|
+
.nut-popover-arrow-left.nut-popover-arrow-left-bottom {
|
|
419
|
+
top: auto;
|
|
420
|
+
bottom: 16px;
|
|
421
|
+
right: -8px;
|
|
422
|
+
transform: rotate(90deg) translateY(0%);
|
|
423
|
+
}
|
|
424
|
+
.nut-popover-arrow-right {
|
|
425
|
+
transform-origin: center top;
|
|
426
|
+
}
|
|
427
|
+
.nut-popover-arrow-right.nut-popover-arrow-right {
|
|
428
|
+
top: 50%;
|
|
429
|
+
left: -6px;
|
|
430
|
+
transform: rotate(-90deg) translateY(-50%);
|
|
431
|
+
}
|
|
432
|
+
.nut-popover-arrow-right.nut-popover-arrow-right-top {
|
|
433
|
+
top: 16px;
|
|
434
|
+
left: -8px;
|
|
435
|
+
transform: rotate(-90deg) translateY(0%);
|
|
436
|
+
}
|
|
437
|
+
.nut-popover-arrow-right.nut-popover-arrow-right-bottom {
|
|
438
|
+
bottom: 16px;
|
|
439
|
+
left: -8px;
|
|
440
|
+
transform: rotate(-90deg) translateY(0%);
|
|
441
|
+
}
|
|
442
|
+
.nut-popover .nut-popover-content {
|
|
443
|
+
position: absolute;
|
|
444
|
+
background: var(--nutui-popover-content-background-color, #ffffff);
|
|
445
|
+
border-radius: var(--nutui-popover-border-radius, var(--nutui-radius-xs, 4px));
|
|
446
|
+
font-size: var(--nutui-popover-font-size, var(--nutui-font-size-s, 12px));
|
|
447
|
+
color: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
|
|
448
|
+
line-height: 28px;
|
|
449
|
+
max-height: initial;
|
|
450
|
+
overflow-y: initial;
|
|
451
|
+
}
|
|
452
|
+
.nut-popover .nut-popover-content-group {
|
|
453
|
+
padding: 0 var(--nutui-popover-padding, 8px);
|
|
454
|
+
}
|
|
455
|
+
.nut-popover .nut-popover-content .nut-popover-item {
|
|
456
|
+
display: flex;
|
|
457
|
+
align-items: center;
|
|
458
|
+
justify-content: center;
|
|
459
|
+
border-bottom: 1px solid var(--nutui-popover-divider-color, var(--nutui-color-border, rgba(0, 0, 0, 0.06)));
|
|
460
|
+
max-width: var(--nutui-popover-item-width, 160px);
|
|
461
|
+
word-wrap: break-word;
|
|
462
|
+
}
|
|
463
|
+
.nut-popover .nut-popover-content .nut-popover-item:last-child {
|
|
464
|
+
margin-bottom: 0px;
|
|
465
|
+
border-bottom: none;
|
|
466
|
+
}
|
|
467
|
+
.nut-popover .nut-popover-content .nut-popover-item-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon {
|
|
468
|
+
display: flex;
|
|
469
|
+
justify-content: center;
|
|
470
|
+
align-items: center;
|
|
471
|
+
width: var(--nutui-font-size-s, 12px);
|
|
472
|
+
height: var(--nutui-font-size-s, 12px);
|
|
473
|
+
font-size: var(--nutui-font-size-s, 12px);
|
|
474
|
+
}
|
|
475
|
+
.nut-popover .nut-popover-content .nut-popover-item-icon .nut-icon, .nut-popover .nut-popover-content .nut-popover-item-action-icon .nut-icon {
|
|
476
|
+
width: var(--nutui-font-size-s, 12px);
|
|
477
|
+
height: var(--nutui-font-size-s, 12px);
|
|
478
|
+
font-size: var(--nutui-font-size-s, 12px);
|
|
479
|
+
}
|
|
480
|
+
.nut-popover .nut-popover-content .nut-popover-item-icon {
|
|
481
|
+
margin-right: var(--nutui-spacing-xxs, 4px);
|
|
482
|
+
}
|
|
483
|
+
.nut-popover .nut-popover-content .nut-popover-item-name {
|
|
484
|
+
width: calc(100% - 34px);
|
|
485
|
+
word-break: keep-all;
|
|
486
|
+
flex: 1;
|
|
487
|
+
}
|
|
488
|
+
.nut-popover .nut-popover-content .nut-popover-item-action-icon {
|
|
489
|
+
color: var(--nutui-color-text, #505259);
|
|
490
|
+
margin-left: var(--nutui-spacing-base, 8px);
|
|
491
|
+
}
|
|
492
|
+
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-item-disabled {
|
|
493
|
+
color: var(--nutui-popover-disable-color, var(--nutui-color-text-disabled, #c2c4cc));
|
|
494
|
+
cursor: not-allowed;
|
|
495
|
+
}
|
|
496
|
+
.nut-popover .nut-popover-content .nut-popover-item.nut-popover-taroitem {
|
|
497
|
+
display: flex;
|
|
498
|
+
}
|
|
499
|
+
.nut-popover .nut-popover-content-top .nut-popover-arrow-top {
|
|
500
|
+
left: 50%;
|
|
501
|
+
transform-origin: center left;
|
|
502
|
+
transform: rotate(180deg) translateX(-50%);
|
|
503
|
+
}
|
|
504
|
+
.nut-popover .nut-popover-content-top-right {
|
|
505
|
+
right: 0;
|
|
506
|
+
}
|
|
507
|
+
.nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
|
|
508
|
+
right: 16px;
|
|
509
|
+
bottom: -3.5px;
|
|
510
|
+
transform: rotate(180deg) translateX(0%);
|
|
511
|
+
}
|
|
512
|
+
.nut-popover .nut-popover-content-top-left {
|
|
513
|
+
left: 0;
|
|
514
|
+
}
|
|
515
|
+
.nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
|
|
516
|
+
left: 16px;
|
|
517
|
+
bottom: -3.5px;
|
|
518
|
+
transform: rotate(180deg) translateX(0%);
|
|
519
|
+
}
|
|
520
|
+
.nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
|
|
521
|
+
left: 50%;
|
|
522
|
+
transform: translateX(-50%);
|
|
523
|
+
}
|
|
524
|
+
.nut-popover .nut-popover-content-bottom-right {
|
|
525
|
+
right: 0;
|
|
526
|
+
}
|
|
527
|
+
.nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
|
|
528
|
+
right: 16px;
|
|
529
|
+
transform: translateX(0%);
|
|
530
|
+
}
|
|
531
|
+
.nut-popover .nut-popover-content-bottom-left {
|
|
532
|
+
left: 0;
|
|
533
|
+
}
|
|
534
|
+
.nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
|
|
535
|
+
left: 16px;
|
|
536
|
+
transform: translateX(0%);
|
|
537
|
+
}
|
|
538
|
+
.nut-popover .nut-popover-content-left-bottom {
|
|
539
|
+
bottom: 0;
|
|
540
|
+
}
|
|
541
|
+
.nut-popover .nut-popover-content-left-top {
|
|
542
|
+
top: 0;
|
|
543
|
+
}
|
|
544
|
+
.nut-popover .nut-popover-content-right-bottom {
|
|
545
|
+
bottom: 0;
|
|
546
|
+
}
|
|
547
|
+
.nut-popover .nut-popover-content-right-top {
|
|
548
|
+
top: 0;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.nut-popover-dark {
|
|
552
|
+
background: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
|
|
553
|
+
color: var(--nutui-popover-content-background-color, #ffffff);
|
|
554
|
+
}
|
|
555
|
+
.nut-popover-dark .nut-popover-arrow .nut-icon-ArrowRadius {
|
|
556
|
+
color: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7)));
|
|
557
|
+
}
|
|
558
|
+
.nut-popover-dark .nut-popover-content {
|
|
559
|
+
background: var(--nutui-popover-text-color, var(--nutui-color-mask, rgba(0, 0, 0, 0.7))) !important;
|
|
560
|
+
color: var(--nutui-popover-content-background-color, #ffffff) !important;
|
|
561
|
+
}
|
|
562
|
+
.nut-popover-dark .nut-popover-content .nut-popover-item-action-icon {
|
|
563
|
+
color: rgba(255, 255, 255, 0.8);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-name,
|
|
567
|
+
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-name {
|
|
568
|
+
margin-left: 0;
|
|
569
|
+
margin-right: 4px;
|
|
570
|
+
}
|
|
571
|
+
[dir=rtl] .nut-popover .nut-popover-content .nut-popover-item-action-icon,
|
|
572
|
+
.nut-rtl .nut-popover .nut-popover-content .nut-popover-item-action-icon {
|
|
573
|
+
right: auto;
|
|
574
|
+
}
|
|
575
|
+
[dir=rtl] .nut-popover .nut-popover-content-top .nut-popover-arrow-top,
|
|
576
|
+
.nut-rtl .nut-popover .nut-popover-content-top .nut-popover-arrow-top {
|
|
577
|
+
left: auto;
|
|
578
|
+
right: 50%;
|
|
579
|
+
transform: translateX(50%);
|
|
580
|
+
}
|
|
581
|
+
[dir=rtl] .nut-popover .nut-popover-content-top-right,
|
|
582
|
+
.nut-rtl .nut-popover .nut-popover-content-top-right {
|
|
583
|
+
right: auto;
|
|
584
|
+
left: 0;
|
|
585
|
+
}
|
|
586
|
+
[dir=rtl] .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right,
|
|
587
|
+
.nut-rtl .nut-popover .nut-popover-content-top-right .nut-popover-arrow-top-right {
|
|
588
|
+
right: auto;
|
|
589
|
+
left: 16px;
|
|
590
|
+
}
|
|
591
|
+
[dir=rtl] .nut-popover .nut-popover-content-top-left,
|
|
592
|
+
.nut-rtl .nut-popover .nut-popover-content-top-left {
|
|
593
|
+
left: auto;
|
|
594
|
+
right: 0;
|
|
595
|
+
}
|
|
596
|
+
[dir=rtl] .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left,
|
|
597
|
+
.nut-rtl .nut-popover .nut-popover-content-top-left .nut-popover-arrow-top-left {
|
|
598
|
+
left: auto;
|
|
599
|
+
right: 16px;
|
|
600
|
+
}
|
|
601
|
+
[dir=rtl] .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom,
|
|
602
|
+
.nut-rtl .nut-popover .nut-popover-content-bottom .nut-popover-arrow-bottom {
|
|
603
|
+
left: auto;
|
|
604
|
+
right: 50%;
|
|
605
|
+
transform: translateX(50%);
|
|
606
|
+
}
|
|
607
|
+
[dir=rtl] .nut-popover .nut-popover-content-bottom-right,
|
|
608
|
+
.nut-rtl .nut-popover .nut-popover-content-bottom-right {
|
|
609
|
+
right: auto;
|
|
610
|
+
left: 0;
|
|
611
|
+
}
|
|
612
|
+
[dir=rtl] .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right,
|
|
613
|
+
.nut-rtl .nut-popover .nut-popover-content-bottom-right .nut-popover-arrow-bottom-right {
|
|
614
|
+
right: auto;
|
|
615
|
+
left: 16px;
|
|
616
|
+
}
|
|
617
|
+
[dir=rtl] .nut-popover .nut-popover-content-bottom-left,
|
|
618
|
+
.nut-rtl .nut-popover .nut-popover-content-bottom-left {
|
|
619
|
+
left: auto;
|
|
620
|
+
right: 0;
|
|
621
|
+
}
|
|
622
|
+
[dir=rtl] .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left,
|
|
623
|
+
.nut-rtl .nut-popover .nut-popover-content-bottom-left .nut-popover-arrow-bottom-left {
|
|
624
|
+
left: auto;
|
|
625
|
+
right: 16px;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.nut-popover-enter-from,
|
|
629
|
+
.nut-popover-leave-active {
|
|
630
|
+
transform: scale(0.8);
|
|
631
|
+
opacity: 0;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.nut-popover-enter-active {
|
|
635
|
+
transition-timing-function: ease-out;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.nut-popover-leave-active {
|
|
639
|
+
transition-timing-function: ease-in;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.nut-popover-content-bg {
|
|
643
|
+
position: fixed;
|
|
644
|
+
height: 100%;
|
|
645
|
+
width: 100%;
|
|
646
|
+
top: 0;
|
|
647
|
+
left: 0;
|
|
648
|
+
background: transparent;
|
|
649
|
+
z-index: 999;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
[dir=rtl] .nut-popover-content-bg,
|
|
653
|
+
.nut-rtl .nut-popover-content-bg {
|
|
654
|
+
left: auto;
|
|
655
|
+
right: 0;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.nut-popover-wrapper {
|
|
659
|
+
display: inline-block;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.nut-popover-content-copy {
|
|
663
|
+
position: absolute;
|
|
664
|
+
top: -99999px;
|
|
665
|
+
}
|
|
666
|
+
|
|
5
667
|
.nut-tour-mask {
|
|
6
668
|
position: fixed;
|
|
7
|
-
box-shadow: 0px 0px 0px 150vh rgba(0, 0, 0, 0.7);
|
|
8
|
-
border-radius: 10px;
|
|
669
|
+
box-shadow: 0px 0px 0px 150vh var(--nutui-color-mask, rgba(0, 0, 0, 0.7));
|
|
670
|
+
border-radius: var(--nutui-tour-mask-border-radius, 10px);
|
|
9
671
|
z-index: 999;
|
|
10
672
|
}
|
|
11
673
|
.nut-tour-mask-none {
|
|
@@ -16,21 +678,25 @@
|
|
|
16
678
|
}
|
|
17
679
|
.nut-tour-content {
|
|
18
680
|
display: block;
|
|
19
|
-
padding: 10px 12px;
|
|
20
|
-
min-width: 200px;
|
|
681
|
+
padding: var(--nutui-tour-content-padding, 10px 12px);
|
|
682
|
+
min-width: var(--nutui-tour-content-min-width, 200px);
|
|
21
683
|
box-sizing: content-box;
|
|
22
684
|
}
|
|
23
685
|
.nut-tour-content-top {
|
|
24
686
|
display: block;
|
|
25
687
|
text-align: end;
|
|
26
688
|
}
|
|
689
|
+
.nut-tour-content-top-close {
|
|
690
|
+
--nut-icon-width: 10px;
|
|
691
|
+
--nut-icon-height: 10px;
|
|
692
|
+
}
|
|
27
693
|
.nut-tour-content-inner {
|
|
28
|
-
margin: 10px 0px;
|
|
29
|
-
font-size: 14px;
|
|
694
|
+
margin: var(--nutui-tour-content-inner-margin, 10px 0px);
|
|
695
|
+
font-size: var(--nutui-tour-content-inner-font-size, 14px);
|
|
30
696
|
white-space: nowrap;
|
|
31
697
|
}
|
|
32
698
|
.nut-tour-content-bottom {
|
|
33
|
-
margin-top: 10px;
|
|
699
|
+
margin-top: var(--nutui-tour-content-bottom-margin-top, 10px);
|
|
34
700
|
display: flex;
|
|
35
701
|
justify-content: space-between;
|
|
36
702
|
}
|
|
@@ -40,18 +706,18 @@
|
|
|
40
706
|
}
|
|
41
707
|
.nut-tour-content-bottom-operate-btn {
|
|
42
708
|
display: inline-block;
|
|
43
|
-
border: 1px solid #c2c4cc;
|
|
44
|
-
margin-left: 4px;
|
|
45
|
-
padding: 2px 4px;
|
|
46
|
-
font-size: 12px;
|
|
47
|
-
border-radius: 4px;
|
|
48
|
-
color: #505259;
|
|
709
|
+
border: 1px solid var(--nutui-color-text-disabled, #c2c4cc);
|
|
710
|
+
margin-left: var(--nutui-tour-content-bottom-btn-margin-left, 4px);
|
|
711
|
+
padding: var(--nutui-tour-content-bottom-btn-padding, 2px 4px);
|
|
712
|
+
font-size: var(--nutui-tour-content-bottom-btn-font-size, 12px);
|
|
713
|
+
border-radius: var(--nutui-tour-content-bottom-btn-border-radius, 4px);
|
|
714
|
+
color: var(--nutui-color-text, #505259);
|
|
49
715
|
cursor: pointer;
|
|
50
716
|
}
|
|
51
717
|
.nut-tour-content-bottom-operate-btn.active {
|
|
52
718
|
color: #fff;
|
|
53
719
|
border: 0;
|
|
54
|
-
background: #ff0f23;
|
|
720
|
+
background: var(--nutui-color-primary, #ff0f23);
|
|
55
721
|
}
|
|
56
722
|
.nut-tour-content-tile .nut-tour-content-inner {
|
|
57
723
|
margin: 0;
|
|
@@ -66,14 +732,10 @@
|
|
|
66
732
|
background: transparent;
|
|
67
733
|
}
|
|
68
734
|
|
|
69
|
-
[dir=rtl] .nut-tour-content-bottom-operate-btn
|
|
70
|
-
margin-left: 0;
|
|
71
|
-
margin-right: 4px;
|
|
72
|
-
}
|
|
73
|
-
|
|
735
|
+
[dir=rtl] .nut-tour-content-bottom-operate-btn,
|
|
74
736
|
.nut-rtl .nut-tour-content-bottom-operate-btn {
|
|
75
737
|
margin-left: 0;
|
|
76
|
-
margin-right: 4px;
|
|
738
|
+
margin-right: var(--nutui-tour-content-bottom-btn-margin-left, 4px);
|
|
77
739
|
}
|
|
78
740
|
[dir=rtl] .nut-tour-masked,
|
|
79
741
|
.nut-rtl .nut-tour-masked {
|