You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
207 lines
5.1 KiB
Plaintext
207 lines
5.1 KiB
Plaintext
.mui-dtpicker {
|
|
position: fixed;
|
|
left: 0px;
|
|
width: 100%;
|
|
z-index: 999999;
|
|
background-color: #eee;
|
|
border-top: solid 1px #ccc;
|
|
box-shadow: 0px -5px 7px 0px rgba(0, 0, 0, 0.1);
|
|
-webkit-transition: .3s;
|
|
bottom: 0px;
|
|
-webkit-transform: translateY(300px);
|
|
}
|
|
.mui-dtpicker.mui-active {
|
|
-webkit-transform: translateY(0px);
|
|
}
|
|
/*用于将 html body 禁止滚动条*/
|
|
|
|
.mui-dtpicker-active-for-page {
|
|
overflow: hidden !important;
|
|
}
|
|
.mui-android-5-1 .mui-dtpicker {
|
|
bottom: -300px;
|
|
-webkit-transition-property: bottom;
|
|
-webkit-transform: none;
|
|
}
|
|
.mui-android-5-1 .mui-dtpicker.mui-active {
|
|
bottom: 0px;
|
|
-webkit-transition-property: bottom;
|
|
-webkit-transform: none;
|
|
}
|
|
.mui-dtpicker-header {
|
|
padding: 6px;
|
|
font-size: 14px;
|
|
color: #888;
|
|
}
|
|
.mui-dtpicker-header button {
|
|
font-size: 12px;
|
|
padding: 5px 10px;
|
|
}
|
|
.mui-dtpicker-header button:last-child {
|
|
float: right;
|
|
}
|
|
.mui-dtpicker-body {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 200px;
|
|
/*border-top: solid 1px #eee;
|
|
background-color: #fff;*/
|
|
}
|
|
.mui-ios .mui-dtpicker-body {
|
|
-webkit-perspective: 1200px;
|
|
perspective: 1200px;
|
|
-webkit-transform-style: preserve-3d;
|
|
transform-style: preserve-3d;
|
|
}
|
|
.mui-dtpicker-title h5 {
|
|
display: inline-block;
|
|
width: 16.6%;
|
|
margin: 0px;
|
|
padding: 8px;
|
|
text-align: center;
|
|
border-top: solid 1px #ddd;
|
|
background-color: #f0f0f0;
|
|
border-bottom: solid 1px #ccc;
|
|
}
|
|
.mui-dtpicker .mui-picker {
|
|
width: 16.6%;
|
|
height: 100%;
|
|
margin: 0px;
|
|
float: left;
|
|
border: none;
|
|
}
|
|
/*年月日时分秒*/
|
|
|
|
[data-type="datetime"] .mui-picker,
|
|
[data-type="time"] .mui-dtpicker-title h5 {
|
|
width: 16.6%;
|
|
}
|
|
[data-type="datetime"] [data-id="picker-h"],
|
|
[data-type="datetime"] [data-id="title-h"] {
|
|
border-left: dotted 1px #ccc;
|
|
}
|
|
/*年月日时分*/
|
|
|
|
[data-type="date-time"] .mui-picker,
|
|
[data-type="date-time"] .mui-dtpicker-title h5 {
|
|
width: 20%;
|
|
}
|
|
[data-type="date-time"] [data-id="picker-s"],
|
|
[data-type="date-time"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
[data-type="date-time"] [data-id="picker-h"],
|
|
[data-type="date-time"] [data-id="title-h"] {
|
|
border-left: dotted 1px #ccc;
|
|
}
|
|
/*年月日*/
|
|
|
|
[data-type="date"] .mui-picker,
|
|
[data-type="date"] .mui-dtpicker-title h5 {
|
|
width: 33.3%;
|
|
}
|
|
[data-type="date"] [data-id="picker-h"],
|
|
[data-type="date"] [data-id="picker-i"],
|
|
[data-type="date"] [data-id="picker-s"],
|
|
[data-type="date"] [data-id="title-h"],
|
|
[data-type="date"] [data-id="title-i"],
|
|
[data-type="date"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
/*年月日时*/
|
|
|
|
[data-type="hour"] .mui-picker,
|
|
[data-type="hour"] .mui-dtpicker-title h5 {
|
|
width: 25%;
|
|
}
|
|
[data-type="hour"] [data-id="picker-i"],
|
|
[data-type="hour"] [data-id="title-i"],
|
|
[data-type="hour"] [data-id="picker-s"],
|
|
[data-type="hour"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
[data-type="hour"] [data-id="picker-h"],
|
|
[data-type="hour"] [data-id="title-h"] {
|
|
border-left: dotted 1px #ccc;
|
|
}
|
|
/*时分秒*/
|
|
|
|
[data-type="time"] .mui-picker,
|
|
[data-type="time"] .mui-dtpicker-title h5 {
|
|
width: 33%;
|
|
}
|
|
[data-type="time"] [data-id="picker-y"],
|
|
[data-type="time"] [data-id="picker-m"],
|
|
[data-type="time"] [data-id="picker-d"],
|
|
[data-type="time"] [data-id="title-y"],
|
|
[data-type="time"] [data-id="title-m"],
|
|
[data-type="time"] [data-id="title-d"] {
|
|
display: none;
|
|
}
|
|
/*时分*/
|
|
|
|
[data-type="time-min"] .mui-picker,
|
|
[data-type="time-min"] .mui-dtpicker-title h5 {
|
|
width: 50%;
|
|
}
|
|
[data-type="time-min"] [data-id="picker-y"],
|
|
[data-type="time-min"] [data-id="picker-m"],
|
|
[data-type="time-min"] [data-id="picker-d"],
|
|
[data-type="time-min"] [data-id="picker-s"],
|
|
[data-type="time-min"] [data-id="title-y"],
|
|
[data-type="time-min"] [data-id="title-m"],
|
|
[data-type="time-min"] [data-id="title-d"],
|
|
[data-type="time-min"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
/*年月*/
|
|
|
|
[data-type="month"] .mui-picker,
|
|
[data-type="month"] .mui-dtpicker-title h5 {
|
|
width: 50%;
|
|
}
|
|
[data-type="month"] [data-id="picker-d"],
|
|
[data-type="month"] [data-id="picker-h"],
|
|
[data-type="month"] [data-id="picker-i"],
|
|
[data-type="month"] [data-id="picker-s"],
|
|
[data-type="month"] [data-id="title-d"],
|
|
[data-type="month"] [data-id="title-h"],
|
|
[data-type="month"] [data-id="title-i"],
|
|
[data-type="month"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
/*月日*/
|
|
|
|
[data-type="month-day"] .mui-picker,
|
|
[data-type="month-day"] .mui-dtpicker-title h5 {
|
|
width: 50%;
|
|
}
|
|
|
|
[data-type="month-day"] [data-id="picker-y"],
|
|
[data-type="month-day"] [data-id="picker-h"],
|
|
[data-type="month-day"] [data-id="picker-i"],
|
|
[data-type="month-day"] [data-id="picker-s"],
|
|
[data-type="month-day"] [data-id="title-y"],
|
|
[data-type="month-day"] [data-id="title-h"],
|
|
[data-type="month-day"] [data-id="title-i"],
|
|
[data-type="month-day"] [data-id="title-s"] {
|
|
display: none;
|
|
}
|
|
/*年*/
|
|
[data-type="year"] .mui-picker,
|
|
[data-type="year"] .mui-dtpicker-title h5 {
|
|
width: 100%;
|
|
}
|
|
|
|
[data-type="year"] [data-id="picker-m"],
|
|
[data-type="year"] [data-id="picker-d"],
|
|
[data-type="year"] [data-id="picker-h"],
|
|
[data-type="year"] [data-id="picker-i"],
|
|
[data-type="year"] [data-id="picker-s"],
|
|
[data-type="year"] [data-id="title-m"],
|
|
[data-type="year"] [data-id="title-d"],
|
|
[data-type="year"] [data-id="title-h"],
|
|
[data-type="year"] [data-id="title-i"],
|
|
[data-type="year"] [data-id="title-s"] {
|
|
display: none;
|
|
} |