@whitesev/pops 2.1.4 → 2.1.6
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/dist/index.amd.js +172 -112
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +172 -112
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +172 -112
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +172 -112
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +172 -112
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +172 -112
- package/dist/index.umd.js.map +1 -1
- package/dist/types/src/GlobalConfig.d.ts +7 -2
- package/dist/types/src/Pops.d.ts +52 -34
- package/dist/types/src/{Core.d.ts → PopsCore.d.ts} +4 -3
- package/dist/types/src/PopsIcon.d.ts +30 -2
- package/dist/types/src/PopsLayer.d.ts +3 -1
- package/dist/types/src/components/alert/config.d.ts +1 -1
- package/dist/types/src/components/alert/index.d.ts +1 -1
- package/dist/types/src/components/alert/{indexType.d.ts → types/index.d.ts} +2 -2
- package/dist/types/src/components/confirm/config.d.ts +1 -1
- package/dist/types/src/components/confirm/index.d.ts +1 -1
- package/dist/types/src/components/confirm/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/drawer/config.d.ts +1 -1
- package/dist/types/src/components/drawer/index.d.ts +1 -1
- package/dist/types/src/components/drawer/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/folder/config.d.ts +1 -1
- package/dist/types/src/components/folder/index.d.ts +1 -1
- package/dist/types/src/components/folder/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/iframe/config.d.ts +1 -1
- package/dist/types/src/components/iframe/index.d.ts +1 -1
- package/dist/types/src/components/iframe/{indexType.d.ts → types/index.d.ts} +2 -2
- package/dist/types/src/components/loading/config.d.ts +1 -1
- package/dist/types/src/components/loading/index.d.ts +1 -1
- package/dist/types/src/components/loading/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/panel/config.d.ts +1 -1
- package/dist/types/src/components/panel/{PanelHandleContentDetails.d.ts → handlerComponents.d.ts} +16 -13
- package/dist/types/src/components/panel/index.d.ts +1 -1
- package/dist/types/src/components/panel/{buttonType.d.ts → types/components-button.d.ts} +3 -3
- package/dist/types/src/components/panel/{commonType.d.ts → types/components-common.d.ts} +2 -2
- package/dist/types/src/components/panel/{deepMenuType.d.ts → types/components-deepMenu.d.ts} +3 -3
- package/dist/types/src/components/panel/{formsType.d.ts → types/components-forms.d.ts} +2 -2
- package/dist/types/src/components/panel/{inputType.d.ts → types/components-input.d.ts} +1 -1
- package/dist/types/src/components/panel/{ownType.d.ts → types/components-own.d.ts} +1 -1
- package/dist/types/src/components/panel/{selectType.d.ts → types/components-select.d.ts} +3 -3
- package/dist/types/src/components/panel/{selectMultipleType.d.ts → types/components-selectMultiple.d.ts} +2 -2
- package/dist/types/src/components/panel/{sliderType.d.ts → types/components-slider.d.ts} +1 -1
- package/dist/types/src/components/panel/{switchType.d.ts → types/components-switch.d.ts} +1 -1
- package/dist/types/src/components/panel/{textareaType.d.ts → types/components-textarea.d.ts} +1 -1
- package/dist/types/src/components/panel/{indexType.d.ts → types/index.d.ts} +12 -12
- package/dist/types/src/components/prompt/config.d.ts +1 -1
- package/dist/types/src/components/prompt/index.d.ts +1 -1
- package/dist/types/src/components/prompt/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/rightClickMenu/config.d.ts +1 -1
- package/dist/types/src/components/rightClickMenu/index.d.ts +2 -2
- package/dist/types/src/components/rightClickMenu/{indexType.d.ts → types/index.d.ts} +2 -2
- package/dist/types/src/components/searchSuggestion/config.d.ts +1 -1
- package/dist/types/src/components/searchSuggestion/index.d.ts +2 -2
- package/dist/types/src/components/searchSuggestion/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/components/tooltip/config.d.ts +1 -1
- package/dist/types/src/components/tooltip/index.d.ts +2 -2
- package/dist/types/src/components/tooltip/{indexType.d.ts → types/index.d.ts} +1 -1
- package/dist/types/src/handler/PopsHandler.d.ts +8 -8
- package/dist/types/src/types/button.d.ts +5 -39
- package/dist/types/src/types/event.d.ts +1 -1
- package/dist/types/src/types/main.d.ts +18 -18
- package/dist/types/src/types/mask.d.ts +7 -7
- package/dist/types/src/{Config.d.ts → utils/PopsDOMUtilsEventsConfig.d.ts} +3 -0
- package/dist/types/src/utils/PopsInstanceUtils.d.ts +8 -8
- package/package.json +3 -2
- package/src/GlobalConfig.ts +6 -5
- package/src/Pops.ts +30 -17
- package/src/{Core.ts → PopsCore.ts} +13 -14
- package/src/PopsIcon.ts +34 -32
- package/src/PopsLayer.ts +8 -7
- package/src/components/alert/config.ts +1 -1
- package/src/components/alert/index.css +0 -47
- package/src/components/alert/index.ts +3 -3
- package/src/components/alert/{indexType.ts → types/index.ts} +2 -2
- package/src/components/confirm/config.ts +1 -1
- package/src/components/confirm/index.css +0 -47
- package/src/components/confirm/index.ts +5 -5
- package/src/components/confirm/{indexType.ts → types/index.ts} +1 -1
- package/src/components/drawer/config.ts +1 -1
- package/src/components/drawer/index.css +0 -17
- package/src/components/drawer/index.ts +3 -4
- package/src/components/drawer/{indexType.ts → types/index.ts} +1 -1
- package/src/components/folder/config.ts +24 -10
- package/src/components/folder/index.css +67 -62
- package/src/components/folder/index.ts +5 -5
- package/src/components/folder/{indexType.ts → types/index.ts} +1 -1
- package/src/components/iframe/config.ts +1 -1
- package/src/components/iframe/index.css +3 -33
- package/src/components/iframe/index.ts +9 -9
- package/src/components/iframe/{indexType.ts → types/index.ts} +2 -2
- package/src/components/loading/config.ts +1 -1
- package/src/components/loading/index.css +17 -12
- package/src/components/loading/index.ts +6 -6
- package/src/components/loading/{indexType.ts → types/index.ts} +1 -1
- package/src/components/panel/config.ts +1 -1
- package/src/components/panel/{PanelHandleContentDetails.ts → handlerComponents.ts} +29 -15
- package/src/components/panel/index.css +136 -63
- package/src/components/panel/index.ts +6 -6
- package/src/components/panel/{buttonType.ts → types/components-button.ts} +5 -4
- package/src/components/panel/{commonType.ts → types/components-common.ts} +2 -2
- package/src/components/panel/{deepMenuType.ts → types/components-deepMenu.ts} +3 -3
- package/src/components/panel/{formsType.ts → types/components-forms.ts} +2 -2
- package/src/components/panel/{inputType.ts → types/components-input.ts} +1 -1
- package/src/components/panel/{ownType.ts → types/components-own.ts} +1 -1
- package/src/components/panel/{selectType.ts → types/components-select.ts} +3 -3
- package/src/components/panel/{selectMultipleType.ts → types/components-selectMultiple.ts} +2 -2
- package/src/components/panel/{sliderType.ts → types/components-slider.ts} +1 -1
- package/src/components/panel/{switchType.ts → types/components-switch.ts} +1 -1
- package/src/components/panel/{textareaType.ts → types/components-textarea.ts} +1 -1
- package/src/components/panel/{indexType.ts → types/index.ts} +12 -12
- package/src/components/prompt/config.ts +1 -1
- package/src/components/prompt/index.css +23 -51
- package/src/components/prompt/index.ts +7 -7
- package/src/components/prompt/{indexType.ts → types/index.ts} +1 -1
- package/src/components/rightClickMenu/config.ts +1 -1
- package/src/components/rightClickMenu/index.css +14 -3
- package/src/components/rightClickMenu/index.ts +2 -2
- package/src/components/rightClickMenu/{indexType.ts → types/index.ts} +2 -2
- package/src/components/searchSuggestion/config.ts +1 -1
- package/src/components/searchSuggestion/index.ts +21 -6
- package/src/components/searchSuggestion/{indexType.ts → types/index.ts} +1 -1
- package/src/components/tooltip/config.ts +1 -1
- package/src/components/tooltip/index.css +39 -19
- package/src/components/tooltip/index.ts +1 -1
- package/src/components/tooltip/{indexType.ts → types/index.ts} +1 -1
- package/src/css/button.css +354 -98
- package/src/css/index.css +88 -16
- package/src/handler/PopsElementHandler.ts +5 -5
- package/src/handler/PopsHandler.ts +26 -26
- package/src/types/button.d.ts +5 -39
- package/src/types/event.d.ts +1 -1
- package/src/types/main.d.ts +18 -18
- package/src/types/mask.d.ts +7 -7
- package/src/utils/PopsDOMUtils.ts +2 -2
- package/src/{Config.ts → utils/PopsDOMUtilsEventsConfig.ts} +3 -0
- package/src/utils/PopsInstanceUtils.ts +12 -12
- package/src/utils/PopsUtils.ts +1 -1
package/src/css/button.css
CHANGED
|
@@ -16,6 +16,262 @@
|
|
|
16
16
|
|
|
17
17
|
--container-title-height: 55px;
|
|
18
18
|
--container-bottom-btn-height: 55px;
|
|
19
|
+
|
|
20
|
+
/* default按钮 */
|
|
21
|
+
--button-default-color: #333333;
|
|
22
|
+
--button-default-bd-color: #dcdfe6;
|
|
23
|
+
--button-default-bg-color: #ffffff;
|
|
24
|
+
--button-default-active-color: #409eff;
|
|
25
|
+
--button-default-active-bd-color: #409eff;
|
|
26
|
+
--button-default-active-bg-color: #ecf5ff;
|
|
27
|
+
--button-default-hover-color: #409eff;
|
|
28
|
+
--button-default-hover-bd-color: #c6e2ff;
|
|
29
|
+
--button-default-hover-bg-color: #ecf5ff;
|
|
30
|
+
--button-default-focus-visible-outline-color: #a0cfff;
|
|
31
|
+
--button-default-focus-visible-outline: 2px solid
|
|
32
|
+
var(--button-default-focus-visible-outline-color);
|
|
33
|
+
--button-default-focus-visible-outline-offset: 1px;
|
|
34
|
+
--button-default-disabled-color: #a8abb2;
|
|
35
|
+
--button-default-disabled-bd-color: #ffffff;
|
|
36
|
+
--button-default-disabled-bg-color: #e4e7ed;
|
|
37
|
+
|
|
38
|
+
/* primary按钮 */
|
|
39
|
+
--button-primary-color: #ffffff;
|
|
40
|
+
--button-primary-bd-color: #409eff;
|
|
41
|
+
--button-primary-bg-color: #409eff;
|
|
42
|
+
--button-primary-active-color: #ffffff;
|
|
43
|
+
--button-primary-active-bd-color: #337ecc;
|
|
44
|
+
--button-primary-active-bg-color: #337ecc;
|
|
45
|
+
--button-primary-hover-color: #ffffff;
|
|
46
|
+
--button-primary-hover-bd-color: #79bbff;
|
|
47
|
+
--button-primary-hover-bg-color: #79bbff;
|
|
48
|
+
--button-primary-focus-visible-outline-color: #a0cfff;
|
|
49
|
+
--button-primary-focus-visible-outline: 2px solid
|
|
50
|
+
var(--button-primary-focus-visible-outline-color);
|
|
51
|
+
--button-primary-focus-visible-outline-offset: 1px;
|
|
52
|
+
--button-primary-disabled-color: #ffffff80;
|
|
53
|
+
--button-primary-disabled-bd-color: #a0cfff;
|
|
54
|
+
--button-primary-disabled-bg-color: #a0cfff;
|
|
55
|
+
|
|
56
|
+
/* success按钮 */
|
|
57
|
+
--button-success-color: #ffffff;
|
|
58
|
+
--button-success-bd-color: #4cae4c;
|
|
59
|
+
--button-success-bg-color: #5cb85c;
|
|
60
|
+
--button-success-active-color: #ffffff;
|
|
61
|
+
--button-success-active-bd-color: #529b2e;
|
|
62
|
+
--button-success-active-bg-color: #529b2e;
|
|
63
|
+
--button-success-hover-color: #ffffff;
|
|
64
|
+
--button-success-hover-bd-color: #95d475;
|
|
65
|
+
--button-success-hover-bg-color: #95d475;
|
|
66
|
+
--button-success-focus-visible-outline-color: #b3e19d;
|
|
67
|
+
--button-success-focus-visible-outline: 2px solid
|
|
68
|
+
var(--button-success-focus-visible-outline-color);
|
|
69
|
+
--button-success-focus-visible-outline-offset: 1px;
|
|
70
|
+
--button-success-disabled-color: #ffffff80;
|
|
71
|
+
--button-success-disabled-bd-color: #b3e19d;
|
|
72
|
+
--button-success-disabled-bg-color: #b3e19d;
|
|
73
|
+
|
|
74
|
+
/* info按钮 */
|
|
75
|
+
--button-info-color: #ffffff;
|
|
76
|
+
--button-info-bd-color: #909399;
|
|
77
|
+
--button-info-bg-color: #909399;
|
|
78
|
+
--button-info-active-color: #ffffff;
|
|
79
|
+
--button-info-active-bd-color: #73767a;
|
|
80
|
+
--button-info-active-bg-color: #73767a;
|
|
81
|
+
--button-info-hover-color: #ffffff;
|
|
82
|
+
--button-info-hover-bd-color: #b1b3b8;
|
|
83
|
+
--button-info-hover-bg-color: #b1b3b8;
|
|
84
|
+
--button-info-focus-visible-outline-color: #c8c9cc;
|
|
85
|
+
--button-info-focus-visible-outline: 2px solid
|
|
86
|
+
var(--button-info-focus-visible-outline-color);
|
|
87
|
+
--button-info-focus-visible-outline-offset: 1px;
|
|
88
|
+
--button-info-disabled-color: #ffffff80;
|
|
89
|
+
--button-info-disabled-bd-color: #c8c9cc;
|
|
90
|
+
--button-info-disabled-bg-color: #c8c9cc;
|
|
91
|
+
|
|
92
|
+
/* warning按钮 */
|
|
93
|
+
--button-warning-color: #ffffff;
|
|
94
|
+
--button-warning-bd-color: #e6a23c;
|
|
95
|
+
--button-warning-bg-color: #e6a23c;
|
|
96
|
+
--button-warning-active-color: #ffffff;
|
|
97
|
+
--button-warning-active-bd-color: #b88230;
|
|
98
|
+
--button-warning-active-bg-color: #b88230;
|
|
99
|
+
--button-warning-hover-color: #ffffff80;
|
|
100
|
+
--button-warning-hover-bd-color: #eebe77;
|
|
101
|
+
--button-warning-hover-bg-color: #eebe77;
|
|
102
|
+
--button-warning-focus-visible-outline-color: #f3d19e;
|
|
103
|
+
--button-warning-focus-visible-outline: 2px solid
|
|
104
|
+
var(--button-warning-focus-visible-outline-color);
|
|
105
|
+
--button-warning-focus-visible-outline-offset: 1px;
|
|
106
|
+
--button-warning-disabled-color: #ffffff80;
|
|
107
|
+
--button-warning-disabled-bd-color: #f3d19e;
|
|
108
|
+
--button-warning-disabled-bg-color: #f3d19e;
|
|
109
|
+
|
|
110
|
+
/* danger按钮 */
|
|
111
|
+
--button-danger-color: #ffffff;
|
|
112
|
+
--button-danger-bd-color: #f56c6c;
|
|
113
|
+
--button-danger-bg-color: #f56c6c;
|
|
114
|
+
--button-danger-active-color: #ffffff;
|
|
115
|
+
--button-danger-active-bd-color: #c45656;
|
|
116
|
+
--button-danger-active-bg-color: #c45656;
|
|
117
|
+
--button-danger-hover-color: #ffffff;
|
|
118
|
+
--button-danger-hover-bd-color: #f89898;
|
|
119
|
+
--button-danger-hover-bg-color: #f89898;
|
|
120
|
+
--button-danger-focus-visible-outline-color: #fab6b6;
|
|
121
|
+
--button-danger-focus-visible-outline: 2px solid
|
|
122
|
+
var(--button-danger-focus-visible-outline-color);
|
|
123
|
+
--button-danger-focus-visible-outline-offset: 1px;
|
|
124
|
+
--button-danger-disabled-color: #ffffff80;
|
|
125
|
+
--button-danger-disabled-bd-color: #fab6b6;
|
|
126
|
+
--button-danger-disabled-bg-color: #fab6b6;
|
|
127
|
+
|
|
128
|
+
/* xiaomi-primary按钮 */
|
|
129
|
+
--button-xiaomi-primary-color: #ffffff;
|
|
130
|
+
--button-xiaomi-primary-bd-color: #ff5c00;
|
|
131
|
+
--button-xiaomi-primary-bg-color: #ff5c00;
|
|
132
|
+
--button-xiaomi-primary-active-color: #ffffff;
|
|
133
|
+
--button-xiaomi-primary-active-bd-color: #da4f00;
|
|
134
|
+
--button-xiaomi-primary-active-bg-color: #da4f00;
|
|
135
|
+
--button-xiaomi-primary-hover-color: #ffffff;
|
|
136
|
+
--button-xiaomi-primary-hover-bd-color: #ff7e29;
|
|
137
|
+
--button-xiaomi-primary-hover-bg-color: #ff7e29;
|
|
138
|
+
--button-xiaomi-primary-focus-visible-outline-color: #ffa061;
|
|
139
|
+
--button-xiaomi-primary-focus-visible-outline: 2px solid
|
|
140
|
+
var(--button-xiaomi-primary-focus-visible-outline-color);
|
|
141
|
+
--button-xiaomi-primary-focus-visible-outline-offset: 1px;
|
|
142
|
+
--button-xiaomi-primary-disabled-color: #ffffff80;
|
|
143
|
+
--button-xiaomi-primary-disabled-bd-color: #fad5b6;
|
|
144
|
+
--button-xiaomi-primary-disabled-bg-color: #fad5b6;
|
|
145
|
+
|
|
146
|
+
/* violet按钮 */
|
|
147
|
+
--button-violet-color: #ffffff;
|
|
148
|
+
--button-violet-bd-color: #626aef;
|
|
149
|
+
--button-violet-bg-color: #626aef;
|
|
150
|
+
--button-violet-active-color: #ffffff;
|
|
151
|
+
--button-violet-active-bd-color: #8188f2;
|
|
152
|
+
--button-violet-active-bg-color: #8188f2;
|
|
153
|
+
--button-violet-hover-color: #ffffff;
|
|
154
|
+
--button-violet-hover-bd-color: #4b50ad;
|
|
155
|
+
--button-violet-hover-bg-color: #4b50ad;
|
|
156
|
+
--button-violet-focus-visible-outline-color: #2a598a;
|
|
157
|
+
--button-violet-focus-visible-outline: 2px solid
|
|
158
|
+
var(--button-violet-focus-visible-outline-color);
|
|
159
|
+
--button-violet-focus-visible-outline-offset: 1px;
|
|
160
|
+
--button-violet-disabled-color: #ffffff80;
|
|
161
|
+
--button-violet-disabled-bd-color: #3b3f82;
|
|
162
|
+
--button-violet-disabled-bg-color: #3b3f82;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
@media (prefers-color-scheme: dark) {
|
|
166
|
+
.pops {
|
|
167
|
+
/* default按钮 */
|
|
168
|
+
--button-default-color: #cfd3dc;
|
|
169
|
+
--button-default-bd-color: #4c4d4f;
|
|
170
|
+
--button-default-bg-color: transparent;
|
|
171
|
+
--button-default-active-color: #409eff;
|
|
172
|
+
--button-default-active-bd-color: #409eff;
|
|
173
|
+
--button-default-active-bg-color: #18222c;
|
|
174
|
+
--button-default-hover-color: #409eff;
|
|
175
|
+
--button-default-hover-bd-color: #213d5b;
|
|
176
|
+
--button-default-hover-bg-color: #18222c;
|
|
177
|
+
--button-default-focus-visible-outline-color: #2a598a;
|
|
178
|
+
--button-default-focus-visible-outline: 2px solid
|
|
179
|
+
var(--button-default-focus-visible-outline-color);
|
|
180
|
+
--button-default-focus-visible-outline-offset: 1px;
|
|
181
|
+
--button-default-disabled-color: #ffffff80;
|
|
182
|
+
--button-default-disabled-bd-color: #414243;
|
|
183
|
+
--button-default-disabled-bg-color: transparent;
|
|
184
|
+
|
|
185
|
+
/* primary按钮 */
|
|
186
|
+
--button-primary-color: #ffffff;
|
|
187
|
+
--button-primary-bd-color: #409eff;
|
|
188
|
+
--button-primary-bg-color: #409eff;
|
|
189
|
+
--button-primary-active-color: #ffffff;
|
|
190
|
+
--button-primary-active-bd-color: #66b1ff;
|
|
191
|
+
--button-primary-active-bg-color: #66b1ff;
|
|
192
|
+
--button-primary-hover-color: #ffffff;
|
|
193
|
+
--button-primary-hover-bd-color: #3375b9;
|
|
194
|
+
--button-primary-hover-bg-color: #3375b9;
|
|
195
|
+
--button-primary-focus-visible-outline-color: #2a598a;
|
|
196
|
+
--button-primary-focus-visible-outline: 2px solid
|
|
197
|
+
var(--button-primary-focus-visible-outline-color);
|
|
198
|
+
--button-primary-focus-visible-outline-offset: 1px;
|
|
199
|
+
--button-primary-disabled-color: #ffffff80;
|
|
200
|
+
--button-primary-disabled-bd-color: #2a598a;
|
|
201
|
+
--button-primary-disabled-bg-color: #2a598a;
|
|
202
|
+
|
|
203
|
+
/* success按钮 */
|
|
204
|
+
--button-success-color: #ffffff;
|
|
205
|
+
--button-success-bd-color: #67c23a;
|
|
206
|
+
--button-success-bg-color: #67c23a;
|
|
207
|
+
--button-success-active-color: #ffffff;
|
|
208
|
+
--button-success-active-bd-color: #85ce61;
|
|
209
|
+
--button-success-active-bg-color: #85ce61;
|
|
210
|
+
--button-success-hover-color: #ffffff;
|
|
211
|
+
--button-success-hover-bd-color: #4e8e2f;
|
|
212
|
+
--button-success-hover-bg-color: #4e8e2f;
|
|
213
|
+
--button-success-focus-visible-outline-color: #3e6b27;
|
|
214
|
+
--button-success-focus-visible-outline: 2px solid
|
|
215
|
+
var(--button-success-focus-visible-outline-color);
|
|
216
|
+
--button-success-focus-visible-outline-offset: 1px;
|
|
217
|
+
--button-success-disabled-color: #ffffff80;
|
|
218
|
+
--button-success-disabled-bd-color: #3e6b27;
|
|
219
|
+
--button-success-disabled-bg-color: #3e6b27;
|
|
220
|
+
|
|
221
|
+
/* info按钮 */
|
|
222
|
+
--button-info-color: #ffffff;
|
|
223
|
+
--button-info-bd-color: #909399;
|
|
224
|
+
--button-info-bg-color: #909399;
|
|
225
|
+
--button-info-active-color: #ffffff;
|
|
226
|
+
--button-info-active-bd-color: #a6a9ad;
|
|
227
|
+
--button-info-active-bg-color: #a6a9ad;
|
|
228
|
+
--button-info-hover-color: #ffffff;
|
|
229
|
+
--button-info-hover-bd-color: #6b6d71;
|
|
230
|
+
--button-info-hover-bg-color: #6b6d71;
|
|
231
|
+
--button-info-focus-visible-outline-color: #525457;
|
|
232
|
+
--button-info-focus-visible-outline: 2px solid
|
|
233
|
+
var(--button-info-focus-visible-outline-color);
|
|
234
|
+
--button-info-focus-visible-outline-offset: 1px;
|
|
235
|
+
--button-info-disabled-color: #ffffff80;
|
|
236
|
+
--button-info-disabled-bd-color: #525457;
|
|
237
|
+
--button-info-disabled-bg-color: #525457;
|
|
238
|
+
|
|
239
|
+
/* warning按钮 */
|
|
240
|
+
--button-warning-color: #ffffff;
|
|
241
|
+
--button-warning-bd-color: #e6a23c;
|
|
242
|
+
--button-warning-bg-color: #e6a23c;
|
|
243
|
+
--button-warning-active-color: #ffffff;
|
|
244
|
+
--button-warning-active-bd-color: #ebb563;
|
|
245
|
+
--button-warning-active-bg-color: #ebb563;
|
|
246
|
+
--button-warning-hover-color: #ffffff80;
|
|
247
|
+
--button-warning-hover-bd-color: #a77730;
|
|
248
|
+
--button-warning-hover-bg-color: #a77730;
|
|
249
|
+
--button-warning-focus-visible-outline-color: #7d5b28;
|
|
250
|
+
--button-warning-focus-visible-outline: 2px solid
|
|
251
|
+
var(--button-warning-focus-visible-outline-color);
|
|
252
|
+
--button-warning-focus-visible-outline-offset: 1px;
|
|
253
|
+
--button-warning-disabled-color: #ffffff80;
|
|
254
|
+
--button-warning-disabled-bd-color: #7d5b28;
|
|
255
|
+
--button-warning-disabled-bg-color: #7d5b28;
|
|
256
|
+
|
|
257
|
+
/* danger按钮 */
|
|
258
|
+
--button-danger-color: #ffffff;
|
|
259
|
+
--button-danger-bd-color: #f56c6c;
|
|
260
|
+
--button-danger-bg-color: #f56c6c;
|
|
261
|
+
--button-danger-active-color: #ffffff;
|
|
262
|
+
--button-danger-active-bd-color: #f78989;
|
|
263
|
+
--button-danger-active-bg-color: #f78989;
|
|
264
|
+
--button-danger-hover-color: #ffffff;
|
|
265
|
+
--button-danger-hover-bd-color: #b25252;
|
|
266
|
+
--button-danger-hover-bg-color: #b25252;
|
|
267
|
+
--button-danger-focus-visible-outline-color: #854040;
|
|
268
|
+
--button-danger-focus-visible-outline: 2px solid
|
|
269
|
+
var(--button-danger-focus-visible-outline-color);
|
|
270
|
+
--button-danger-focus-visible-outline-offset: 1px;
|
|
271
|
+
--button-danger-disabled-color: #ffffff80;
|
|
272
|
+
--button-danger-disabled-bd-color: #854040;
|
|
273
|
+
--button-danger-disabled-bg-color: #854040;
|
|
274
|
+
}
|
|
19
275
|
}
|
|
20
276
|
.pops[data-bottom-btn="false"] {
|
|
21
277
|
--container-bottom-btn-height: 0px;
|
|
@@ -115,176 +371,176 @@
|
|
|
115
371
|
}
|
|
116
372
|
|
|
117
373
|
.pops button[type="default"] {
|
|
118
|
-
--button-color:
|
|
119
|
-
--button-bd-color:
|
|
120
|
-
--button-bg-color:
|
|
374
|
+
--button-color: var(--button-default-color);
|
|
375
|
+
--button-bd-color: var(--button-default-bd-color);
|
|
376
|
+
--button-bg-color: var(--button-default-bg-color);
|
|
121
377
|
}
|
|
122
378
|
.pops button[type="default"]:active {
|
|
123
|
-
--button-color:
|
|
124
|
-
--button-bd-color:
|
|
125
|
-
--button-bg-color:
|
|
379
|
+
--button-color: var(--button-default-active-color);
|
|
380
|
+
--button-bd-color: var(--button-default-active-bd-color);
|
|
381
|
+
--button-bg-color: var(--button-default-active-bg-color);
|
|
126
382
|
}
|
|
127
383
|
.pops button[type="default"]:hover {
|
|
128
|
-
--button-color:
|
|
129
|
-
--button-bd-color:
|
|
130
|
-
--button-bg-color:
|
|
384
|
+
--button-color: var(--button-default-hover-color);
|
|
385
|
+
--button-bd-color: var(--button-default-hover-bd-color);
|
|
386
|
+
--button-bg-color: var(--button-default-hover-bg-color);
|
|
131
387
|
}
|
|
132
388
|
.pops button[type="default"]:focus-visible {
|
|
133
|
-
outline:
|
|
134
|
-
outline-offset:
|
|
389
|
+
outline: var(--button-default-focus-visible-outline);
|
|
390
|
+
outline-offset: var(--button-default-focus-visible-outline-offset);
|
|
135
391
|
}
|
|
136
392
|
.pops button[type="default"]:disabled {
|
|
137
|
-
--button-color:
|
|
138
|
-
--button-bd-color:
|
|
139
|
-
--button-bg-color:
|
|
393
|
+
--button-color: var(--button-default-disabled-color);
|
|
394
|
+
--button-bd-color: var(--button-default-disabled-bd-color);
|
|
395
|
+
--button-bg-color: var(--button-default-disabled-bg-color);
|
|
140
396
|
}
|
|
141
397
|
|
|
142
398
|
.pops button[type="primary"] {
|
|
143
|
-
--button-color:
|
|
144
|
-
--button-bd-color:
|
|
145
|
-
--button-bg-color:
|
|
399
|
+
--button-color: var(--button-primary-color);
|
|
400
|
+
--button-bd-color: var(--button-primary-bd-color);
|
|
401
|
+
--button-bg-color: var(--button-primary-bg-color);
|
|
146
402
|
}
|
|
147
403
|
.pops button[type="primary"]:active {
|
|
148
|
-
--button-color:
|
|
149
|
-
--button-bd-color:
|
|
150
|
-
--button-bg-color:
|
|
404
|
+
--button-color: var(--button-primary-active-color);
|
|
405
|
+
--button-bd-color: var(--button-primary-active-bd-color);
|
|
406
|
+
--button-bg-color: var(--button-primary-active-bg-color);
|
|
151
407
|
}
|
|
152
408
|
.pops button[type="primary"]:hover {
|
|
153
|
-
--button-color:
|
|
154
|
-
--button-bd-color:
|
|
155
|
-
--button-bg-color:
|
|
409
|
+
--button-color: var(--button-primary-hover-color);
|
|
410
|
+
--button-bd-color: var(--button-primary-hover-bd-color);
|
|
411
|
+
--button-bg-color: var(--button-primary-hover-bg-color);
|
|
156
412
|
}
|
|
157
413
|
.pops button[type="primary"]:focus-visible {
|
|
158
|
-
outline:
|
|
159
|
-
outline-offset:
|
|
414
|
+
outline: var(--button-primary-focus-visible-outline);
|
|
415
|
+
outline-offset: var(--button-primary-focus-visible-outline-offset);
|
|
160
416
|
}
|
|
161
417
|
.pops button[type="primary"]:disabled {
|
|
162
|
-
--button-color:
|
|
163
|
-
--button-bd-color:
|
|
164
|
-
--button-bg-color:
|
|
418
|
+
--button-color: var(--button-primary-disabled-color);
|
|
419
|
+
--button-bd-color: var(--button-primary-disabled-bd-color);
|
|
420
|
+
--button-bg-color: var(--button-primary-disabled-bg-color);
|
|
165
421
|
}
|
|
166
422
|
|
|
167
423
|
.pops button[type="success"] {
|
|
168
|
-
--button-color:
|
|
169
|
-
--button-bd-color:
|
|
170
|
-
--button-bg-color:
|
|
424
|
+
--button-color: var(--button-success-color);
|
|
425
|
+
--button-bd-color: var(--button-success-bd-color);
|
|
426
|
+
--button-bg-color: var(--button-success-bg-color);
|
|
171
427
|
}
|
|
172
428
|
.pops button[type="success"]:active {
|
|
173
|
-
--button-color:
|
|
174
|
-
--button-bd-color:
|
|
175
|
-
--button-bg-color:
|
|
429
|
+
--button-color: var(--button-success-active-color);
|
|
430
|
+
--button-bd-color: var(--button-success-active-bd-color);
|
|
431
|
+
--button-bg-color: var(--button-success-active-bg-color);
|
|
176
432
|
}
|
|
177
433
|
.pops button[type="success"]:hover {
|
|
178
|
-
--button-color:
|
|
179
|
-
--button-bd-color:
|
|
180
|
-
--button-bg-color:
|
|
434
|
+
--button-color: var(--button-success-hover-color);
|
|
435
|
+
--button-bd-color: var(--button-success-hover-bd-color);
|
|
436
|
+
--button-bg-color: var(--button-success-hover-bg-color);
|
|
181
437
|
}
|
|
182
438
|
.pops button[type="success"]:focus-visible {
|
|
183
|
-
outline:
|
|
184
|
-
outline-offset:
|
|
439
|
+
outline: var(--button-success-focus-visible-outline);
|
|
440
|
+
outline-offset: var(--button-success-focus-visible-outline-offset);
|
|
185
441
|
}
|
|
186
442
|
.pops button[type="success"]:disabled {
|
|
187
|
-
--button-color:
|
|
188
|
-
--button-bd-color:
|
|
189
|
-
--button-bg-color:
|
|
443
|
+
--button-color: var(--button-success-disabled-color);
|
|
444
|
+
--button-bd-color: var(--button-success-disabled-bd-color);
|
|
445
|
+
--button-bg-color: var(--button-success-disabled-bg-color);
|
|
190
446
|
}
|
|
191
447
|
|
|
192
448
|
.pops button[type="info"] {
|
|
193
|
-
--button-color:
|
|
194
|
-
--button-bd-color:
|
|
195
|
-
--button-bg-color:
|
|
449
|
+
--button-color: var(--button-info-color);
|
|
450
|
+
--button-bd-color: var(--button-info-bd-color);
|
|
451
|
+
--button-bg-color: var(--button-info-bg-color);
|
|
196
452
|
}
|
|
197
453
|
.pops button[type="info"]:active {
|
|
198
|
-
--button-color:
|
|
199
|
-
--button-bd-color:
|
|
200
|
-
--button-bg-color:
|
|
454
|
+
--button-color: var(--button-info-active-color);
|
|
455
|
+
--button-bd-color: var(--button-info-active-bd-color);
|
|
456
|
+
--button-bg-color: var(--button-info-active-bg-color);
|
|
201
457
|
}
|
|
202
458
|
.pops button[type="info"]:hover {
|
|
203
|
-
--button-color:
|
|
204
|
-
--button-bd-color:
|
|
205
|
-
--button-bg-color:
|
|
459
|
+
--button-color: var(--button-info-hover-color);
|
|
460
|
+
--button-bd-color: var(--button-info-hover-bd-color);
|
|
461
|
+
--button-bg-color: var(--button-info-hover-bg-color);
|
|
206
462
|
}
|
|
207
463
|
.pops button[type="info"]:focus-visible {
|
|
208
|
-
outline:
|
|
209
|
-
outline-offset:
|
|
464
|
+
outline: var(--button-info-focus-visible-outline);
|
|
465
|
+
outline-offset: var(--button-info-focus-visible-outline-offset);
|
|
210
466
|
}
|
|
211
467
|
.pops button[type="info"]:disabled {
|
|
212
|
-
--button-color:
|
|
213
|
-
--button-bd-color:
|
|
214
|
-
--button-bg-color:
|
|
468
|
+
--button-color: var(--button-success-disabled-color);
|
|
469
|
+
--button-bd-color: var(--button-success-disabled-bd-color);
|
|
470
|
+
--button-bg-color: var(--button-success-disabled-bg-color);
|
|
215
471
|
}
|
|
216
472
|
|
|
217
473
|
.pops button[type="warning"] {
|
|
218
|
-
--button-color:
|
|
219
|
-
--button-bd-color:
|
|
220
|
-
--button-bg-color:
|
|
474
|
+
--button-color: var(--button-warning-color);
|
|
475
|
+
--button-bd-color: var(--button-warning-bd-color);
|
|
476
|
+
--button-bg-color: var(--button-warning-bg-color);
|
|
221
477
|
}
|
|
222
478
|
.pops button[type="warning"]:active {
|
|
223
|
-
--button-color:
|
|
224
|
-
--button-bd-color:
|
|
225
|
-
--button-bg-color:
|
|
479
|
+
--button-color: var(--button-warning-active-color);
|
|
480
|
+
--button-bd-color: var(--button-warning-active-bd-color);
|
|
481
|
+
--button-bg-color: var(--button-warning-active-bg-color);
|
|
226
482
|
}
|
|
227
483
|
.pops button[type="warning"]:hover {
|
|
228
|
-
--button-color:
|
|
229
|
-
--button-bd-color:
|
|
230
|
-
--button-bg-color:
|
|
484
|
+
--button-color: var(--button-warning-hover-color);
|
|
485
|
+
--button-bd-color: var(--button-warning-hover-bd-color);
|
|
486
|
+
--button-bg-color: var(--button-warning-hover-bg-color);
|
|
231
487
|
}
|
|
232
488
|
.pops button[type="warning"]:focus-visible {
|
|
233
|
-
outline:
|
|
234
|
-
outline-offset:
|
|
489
|
+
outline: var(--button-warning-focus-visible-outline);
|
|
490
|
+
outline-offset: var(--button-warning-focus-visible-outline-offset);
|
|
235
491
|
}
|
|
236
492
|
.pops button[type="warning"]:disabled {
|
|
237
|
-
--button-color:
|
|
238
|
-
--button-bd-color:
|
|
239
|
-
--button-bg-color:
|
|
493
|
+
--button-color: var(--button-success-disabled-color);
|
|
494
|
+
--button-bd-color: var(--button-success-disabled-bd-color);
|
|
495
|
+
--button-bg-color: var(--button-success-disabled-bg-color);
|
|
240
496
|
}
|
|
241
497
|
|
|
242
498
|
.pops button[type="danger"] {
|
|
243
|
-
--button-color:
|
|
244
|
-
--button-bd-color:
|
|
245
|
-
--button-bg-color:
|
|
499
|
+
--button-color: var(--button-danger-color);
|
|
500
|
+
--button-bd-color: var(--button-danger-bd-color);
|
|
501
|
+
--button-bg-color: var(--button-danger-bg-color);
|
|
246
502
|
}
|
|
247
503
|
.pops button[type="danger"]:active {
|
|
248
|
-
--button-color:
|
|
249
|
-
--button-bd-color:
|
|
250
|
-
--button-bg-color:
|
|
504
|
+
--button-color: var(--button-danger-active-color);
|
|
505
|
+
--button-bd-color: var(--button-danger-active-bd-color);
|
|
506
|
+
--button-bg-color: var(--button-danger-active-bg-color);
|
|
251
507
|
}
|
|
252
508
|
.pops button[type="danger"]:hover {
|
|
253
|
-
--button-color:
|
|
254
|
-
--button-bd-color:
|
|
255
|
-
--button-bg-color:
|
|
509
|
+
--button-color: var(--button-danger-hover-color);
|
|
510
|
+
--button-bd-color: var(--button-danger-hover-bd-color);
|
|
511
|
+
--button-bg-color: var(--button-danger-hover-bg-color);
|
|
256
512
|
}
|
|
257
513
|
.pops button[type="danger"]:focus-visible {
|
|
258
|
-
outline:
|
|
259
|
-
outline-offset:
|
|
514
|
+
outline: var(--button-danger-focus-visible-outline);
|
|
515
|
+
outline-offset: var(--button-danger-focus-visible-outline-offset);
|
|
260
516
|
}
|
|
261
517
|
.pops button[type="danger"]:disabled {
|
|
262
|
-
--button-color:
|
|
263
|
-
--button-bd-color:
|
|
264
|
-
--button-bg-color:
|
|
518
|
+
--button-color: var(--button-success-disabled-color);
|
|
519
|
+
--button-bd-color: var(--button-success-disabled-bd-color);
|
|
520
|
+
--button-bg-color: var(--button-success-disabled-bg-color);
|
|
265
521
|
}
|
|
266
522
|
|
|
267
523
|
.pops button[type="xiaomi-primary"] {
|
|
268
|
-
--button-color:
|
|
269
|
-
--button-bd-color:
|
|
270
|
-
--button-bg-color:
|
|
524
|
+
--button-color: var(--button-xiaomi-primary-color);
|
|
525
|
+
--button-bd-color: var(--button-xiaomi-primary-bd-color);
|
|
526
|
+
--button-bg-color: var(--button-xiaomi-primary-bg-color);
|
|
271
527
|
}
|
|
272
528
|
.pops button[type="xiaomi-primary"]:active {
|
|
273
|
-
--button-color:
|
|
274
|
-
--button-bd-color:
|
|
275
|
-
--button-bg-color:
|
|
529
|
+
--button-color: var(--button-xiaomi-primary-active-color);
|
|
530
|
+
--button-bd-color: var(--button-xiaomi-primary-active-bd-color);
|
|
531
|
+
--button-bg-color: var(--button-xiaomi-primary-active-bg-color);
|
|
276
532
|
}
|
|
277
533
|
.pops button[type="xiaomi-primary"]:hover {
|
|
278
|
-
--button-color:
|
|
279
|
-
--button-bd-color:
|
|
280
|
-
--button-bg-color:
|
|
534
|
+
--button-color: var(--button-xiaomi-primary-hover-color);
|
|
535
|
+
--button-bd-color: var(--button-xiaomi-primary-hover-bd-color);
|
|
536
|
+
--button-bg-color: var(--button-xiaomi-primary-hover-bg-color);
|
|
281
537
|
}
|
|
282
538
|
.pops button[type="xiaomi-primary"]:focus-visible {
|
|
283
|
-
outline:
|
|
284
|
-
outline-offset:
|
|
539
|
+
outline: var(--button-xiaomi-primary-focus-visible-outline);
|
|
540
|
+
outline-offset: var(--button-xiaomi-primary-focus-visible-outline-offset);
|
|
285
541
|
}
|
|
286
542
|
.pops button[type="xiaomi-primary"]:disabled {
|
|
287
|
-
--button-color:
|
|
288
|
-
--button-bd-color:
|
|
289
|
-
--button-bg-color:
|
|
543
|
+
--button-color: var(--button-success-disabled-color);
|
|
544
|
+
--button-bd-color: var(--button-success-disabled-bd-color);
|
|
545
|
+
--button-bg-color: var(--button-success-disabled-bg-color);
|
|
290
546
|
}
|
package/src/css/index.css
CHANGED
|
@@ -13,17 +13,37 @@
|
|
|
13
13
|
--pops-bd-opacity: 1;
|
|
14
14
|
--pops-font-size: 16px;
|
|
15
15
|
interpolate-size: allow-keywords;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--pops-
|
|
16
|
+
--pops-bg-color: rgb(255, 255, 255, var(--pops-bg-opacity));
|
|
17
|
+
--pops-bd-color: rgb(235, 238, 245, var(--pops-bd-opacity));
|
|
18
|
+
--pops-box-shadow-color: rgba(0, 0, 0, 0.12);
|
|
19
|
+
--pops-title-color: #000000;
|
|
20
|
+
--pops-title-border-color: rgb(229, 229, 229, var(--pops-bd-opacity));
|
|
21
|
+
--pops-content-color: #000000;
|
|
22
|
+
--pops-bottom-btn-controls-border-color: rgb(
|
|
23
|
+
229,
|
|
24
|
+
229,
|
|
25
|
+
229,
|
|
26
|
+
var(--pops-bd-opacity)
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
@media (prefers-color-scheme: dark) {
|
|
30
|
+
.pops {
|
|
31
|
+
--pops-mask-bg-opacity: 0.8;
|
|
32
|
+
--pops-bg-color: rgb(17, 17, 17, var(--pops-bg-opacity));
|
|
33
|
+
--pops-bd-color: rgb(55, 55, 55, var(--pops-bd-opacity));
|
|
34
|
+
--pops-box-shadow-color: rgba(81, 81, 81, 0.12);
|
|
35
|
+
--pops-title-color: #e8e8e8;
|
|
36
|
+
--pops-title-border-color: rgb(229, 229, 229, var(--pops-bd-opacity));
|
|
37
|
+
--pops-content-color: #e5e5e5;
|
|
38
|
+
}
|
|
19
39
|
}
|
|
20
40
|
.pops {
|
|
21
|
-
background-color:
|
|
41
|
+
background-color: var(--pops-bg-color);
|
|
42
|
+
border: 1px solid var(--pops-bd-color);
|
|
22
43
|
border-radius: 4px;
|
|
23
|
-
border: 1px solid rgb(235, 238, 245, var(--pops-bd-opacity));
|
|
24
44
|
font-size: var(--pops-font-size);
|
|
25
45
|
line-height: normal;
|
|
26
|
-
box-shadow: 0 0 12px
|
|
46
|
+
box-shadow: 0 0 12px var(--pops-box-shadow-color);
|
|
27
47
|
box-sizing: border-box;
|
|
28
48
|
overflow: hidden;
|
|
29
49
|
transition: all 0.35s;
|
|
@@ -66,6 +86,10 @@
|
|
|
66
86
|
}
|
|
67
87
|
|
|
68
88
|
/* 遮罩层样式 */
|
|
89
|
+
.pops-mask {
|
|
90
|
+
--pops-mask-bg-opacity: 0.4;
|
|
91
|
+
--pops-mask-bg-color: rgba(0, 0, 0, var(--pops-mask-bg-opacity));
|
|
92
|
+
}
|
|
69
93
|
.pops-mask {
|
|
70
94
|
position: fixed;
|
|
71
95
|
top: 0;
|
|
@@ -76,7 +100,7 @@
|
|
|
76
100
|
height: 100%;
|
|
77
101
|
border: 0;
|
|
78
102
|
border-radius: 0;
|
|
79
|
-
background-color:
|
|
103
|
+
background-color: var(--pops-mask-bg-color);
|
|
80
104
|
box-shadow: none;
|
|
81
105
|
transition: none;
|
|
82
106
|
}
|
|
@@ -138,15 +162,7 @@ button.pops-header-control i:hover {
|
|
|
138
162
|
gap: 6px;
|
|
139
163
|
}
|
|
140
164
|
|
|
141
|
-
/*
|
|
142
|
-
.pops [class^="pops"][class*="-title"] p[pops] {
|
|
143
|
-
-webkit-user-select: none;
|
|
144
|
-
-moz-user-select: none;
|
|
145
|
-
-ms-user-select: none;
|
|
146
|
-
user-select: none;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/* <code> */
|
|
165
|
+
/* 代码块 <code> */
|
|
150
166
|
.pops code {
|
|
151
167
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
152
168
|
font-size: 0.85em;
|
|
@@ -178,3 +194,59 @@ button.pops-header-control i:hover {
|
|
|
178
194
|
letter-spacing: -0.2em;
|
|
179
195
|
content: "\00a0";
|
|
180
196
|
}
|
|
197
|
+
|
|
198
|
+
/* 标题 */
|
|
199
|
+
.pops .pops-title {
|
|
200
|
+
-webkit-user-select: none;
|
|
201
|
+
-moz-user-select: none;
|
|
202
|
+
-ms-user-select: none;
|
|
203
|
+
user-select: none;
|
|
204
|
+
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
border-bottom: 1px solid var(--pops-title-border-color);
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: var(--container-title-height);
|
|
211
|
+
}
|
|
212
|
+
/* 标题-普通文本 */
|
|
213
|
+
.pops .pops-title p[pops] {
|
|
214
|
+
color: var(--pops-title-color);
|
|
215
|
+
width: 100%;
|
|
216
|
+
overflow: hidden;
|
|
217
|
+
text-indent: 15px;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
white-space: nowrap;
|
|
220
|
+
font-weight: 500;
|
|
221
|
+
line-height: normal;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* 内容 */
|
|
225
|
+
.pops .pops-content {
|
|
226
|
+
width: 100%;
|
|
227
|
+
/*height: calc(
|
|
228
|
+
100% - var(--container-title-height) - var(--container-bottom-btn-height)
|
|
229
|
+
);*/
|
|
230
|
+
flex: 1;
|
|
231
|
+
overflow: auto;
|
|
232
|
+
word-break: break-word;
|
|
233
|
+
}
|
|
234
|
+
/* 内容-普通文本 */
|
|
235
|
+
.pops .pops-content p[pops] {
|
|
236
|
+
color: var(--pops-content-color);
|
|
237
|
+
padding: 5px 10px;
|
|
238
|
+
text-indent: 15px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* 底部-按钮组 */
|
|
242
|
+
.pops .pops-botttom-btn-controls {
|
|
243
|
+
display: flex;
|
|
244
|
+
padding: 10px 10px 10px 10px;
|
|
245
|
+
width: 100%;
|
|
246
|
+
height: var(--container-bottom-btn-height);
|
|
247
|
+
max-height: var(--container-bottom-btn-height);
|
|
248
|
+
line-height: normal;
|
|
249
|
+
border-top: 1px solid var(--pops-bottom-btn-controls-border-color);
|
|
250
|
+
text-align: right;
|
|
251
|
+
align-items: center;
|
|
252
|
+
}
|