You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.3 KiB
84 lines
2.3 KiB
3 years ago
|
@charset "UTF-8";
|
||
|
/**
|
||
|
* 这里是uni-app内置的常用样式变量
|
||
|
*
|
||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
|
*
|
||
|
*/
|
||
|
/**
|
||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
|
*
|
||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
|
*/
|
||
|
/* uni.scss */
|
||
|
/* 颜色变量 */
|
||
|
/* 行为相关颜色 */
|
||
|
.uni-popup.data-v-7da806a4 {
|
||
|
position: fixed;
|
||
|
z-index: 99;
|
||
|
}
|
||
|
.uni-popup__mask.data-v-7da806a4 {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
background-color: rgba(0, 0, 0, 0.4);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
.mask-ani.data-v-7da806a4 {
|
||
|
-webkit-transition-property: opacity;
|
||
|
transition-property: opacity;
|
||
|
-webkit-transition-duration: 0.2s;
|
||
|
transition-duration: 0.2s;
|
||
|
}
|
||
|
.uni-top-mask.data-v-7da806a4 {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.uni-bottom-mask.data-v-7da806a4 {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.uni-center-mask.data-v-7da806a4 {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.uni-popup__wrapper.data-v-7da806a4 {
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
}
|
||
|
.top.data-v-7da806a4 {
|
||
|
top: 0;
|
||
|
}
|
||
|
.bottom.data-v-7da806a4 {
|
||
|
bottom: 0;
|
||
|
}
|
||
|
.uni-popup__wrapper-box.data-v-7da806a4 {
|
||
|
display: block;
|
||
|
position: relative;
|
||
|
/* iphonex 等安全区设置,底部安全区适配 */
|
||
|
padding-bottom: constant(safe-area-inset-bottom);
|
||
|
padding-bottom: env(safe-area-inset-bottom);
|
||
|
}
|
||
|
.content-ani.data-v-7da806a4 {
|
||
|
-webkit-transition-property: opacity, -webkit-transform;
|
||
|
transition-property: opacity, -webkit-transform;
|
||
|
transition-property: transform, opacity;
|
||
|
transition-property: transform, opacity, -webkit-transform;
|
||
|
-webkit-transition-duration: 0.2s;
|
||
|
transition-duration: 0.2s;
|
||
|
}
|
||
|
.uni-top-content.data-v-7da806a4 {
|
||
|
-webkit-transform: translateY(0);
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
.uni-bottom-content.data-v-7da806a4 {
|
||
|
-webkit-transform: translateY(0);
|
||
|
transform: translateY(0);
|
||
|
}
|
||
|
.uni-center-content.data-v-7da806a4 {
|
||
|
-webkit-transform: scale(1);
|
||
|
transform: scale(1);
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|