@charset "UTF-8";
|
/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
.uni-date {
|
width: 100%;
|
flex: 1;
|
}
|
.uni-date-x {
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
justify-content: center;
|
padding: 0 10px;
|
border-radius: 4px;
|
background-color: #fff;
|
color: #666;
|
font-size: 14px;
|
flex: 1;
|
}
|
.uni-date-x--border {
|
box-sizing: border-box;
|
border-radius: 4px;
|
border: 1px solid #e5e5e5;
|
}
|
.uni-date-editor--x {
|
display: flex;
|
align-items: center;
|
position: relative;
|
}
|
.uni-date-editor--x .uni-date__icon-clear {
|
padding: 0 5px;
|
display: flex;
|
align-items: center;
|
}
|
.uni-date__x-input {
|
padding: 0 8px;
|
width: auto;
|
position: relative;
|
overflow: hidden;
|
flex: 1;
|
line-height: 1;
|
font-size: 14px;
|
height: 35px;
|
}
|
.t-c {
|
text-align: center;
|
}
|
.uni-date__input {
|
height: 40px;
|
width: 100%;
|
line-height: 40px;
|
font-size: 14px;
|
}
|
.uni-date-range__input {
|
text-align: center;
|
max-width: 142px;
|
}
|
.uni-date-picker__container {
|
position: relative;
|
/* position: fixed;
|
left: 0;
|
right: 0;
|
top: 0;
|
bottom: 0;
|
box-sizing: border-box;
|
z-index: 996;
|
font-size: 14px; */
|
}
|
.uni-date-mask {
|
position: fixed;
|
bottom: 0px;
|
top: 0px;
|
left: 0px;
|
right: 0px;
|
background-color: rgba(0, 0, 0, 0);
|
transition-duration: 0.3s;
|
z-index: 996;
|
}
|
.uni-date-single--x {
|
/* padding: 0 8px; */
|
background-color: #fff;
|
position: absolute;
|
top: 0;
|
z-index: 999;
|
border: 1px solid #EBEEF5;
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
border-radius: 4px;
|
}
|
.uni-date-range--x {
|
/* padding: 0 8px; */
|
background-color: #fff;
|
position: absolute;
|
top: 0;
|
z-index: 999;
|
border: 1px solid #EBEEF5;
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
border-radius: 4px;
|
}
|
.uni-date-editor--x__disabled {
|
opacity: 0.4;
|
cursor: default;
|
}
|
.uni-date-editor--logo {
|
width: 16px;
|
height: 16px;
|
vertical-align: middle;
|
}
|
/* 添加时间 */
|
.popup-x-header {
|
display: flex;
|
flex-direction: row;
|
/* justify-content: space-between; */
|
}
|
.popup-x-header--datetime {
|
display: flex;
|
flex-direction: row;
|
flex: 1;
|
}
|
.popup-x-body {
|
display: flex;
|
}
|
.popup-x-footer {
|
padding: 0 15px;
|
border-top-color: #F1F1F1;
|
border-top-style: solid;
|
border-top-width: 1px;
|
/* background-color: #fff; */
|
line-height: 40px;
|
text-align: right;
|
color: #666;
|
}
|
.popup-x-footer text:hover {
|
color: #007aff;
|
cursor: pointer;
|
opacity: 0.8;
|
}
|
.popup-x-footer .confirm {
|
margin-left: 20px;
|
color: #007aff;
|
}
|
.uni-date-changed {
|
/* background-color: #fff; */
|
text-align: center;
|
color: #333;
|
border-bottom-color: #F1F1F1;
|
border-bottom-style: solid;
|
border-bottom-width: 1px;
|
/* padding: 0 50px; */
|
}
|
.uni-date-changed--time text {
|
/* padding: 0 20px; */
|
height: 50px;
|
line-height: 50px;
|
}
|
.uni-date-changed .uni-date-changed--time {
|
/* display: flex; */
|
flex: 1;
|
}
|
.uni-date-changed--time-date {
|
color: #333;
|
opacity: 0.6;
|
}
|
.mr-50 {
|
margin-right: 50px;
|
}
|
/* picker 弹出层通用的指示小三角, todo:扩展至上下左右方向定位 */
|
.uni-popper__arrow,
|
.uni-popper__arrow::after {
|
position: absolute;
|
display: block;
|
width: 0;
|
height: 0;
|
border-color: transparent;
|
border-style: solid;
|
border-width: 6px;
|
}
|
.uni-popper__arrow {
|
-webkit-filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
|
filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03));
|
top: -6px;
|
left: 10%;
|
margin-right: 3px;
|
border-top-width: 0;
|
border-bottom-color: #EBEEF5;
|
}
|
.uni-popper__arrow::after {
|
content: " ";
|
top: 1px;
|
margin-left: -6px;
|
border-top-width: 0;
|
border-bottom-color: #fff;
|
}
|