-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
11,104 additions
and
6,469 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
.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-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-dtpicker-title h5 { | ||
display: inline-block; | ||
width: 20%; | ||
margin: 0px; | ||
padding: 8px; | ||
text-align: center; | ||
border-top: solid 1px #ddd; | ||
background-color: #fafafa; | ||
} | ||
.mui-dtpicker .mui-listpicker { | ||
width: 20%; | ||
height: 100%; | ||
margin: 0px; | ||
float: left; | ||
border: none; | ||
} | ||
.mui-dtpicker .mui-listpicker ul li { | ||
padding: 10px; | ||
} | ||
/*年月日时分*/ | ||
|
||
[data-type="datetime"] .mui-listpicker, | ||
[data-type="time"] .mui-dtpicker-title h5 { | ||
width: 20%; | ||
} | ||
[data-type="datetime"] [data-id="picker-h"], | ||
[data-type="datetime"] [data-id="title-h"] { | ||
border-left: dotted 1px #ddd; | ||
} | ||
/*年月日*/ | ||
|
||
[data-type="date"] .mui-listpicker, | ||
[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="title-h"], | ||
[data-type="date"] [data-id="title-i"] { | ||
display: none; | ||
} | ||
/*年月日时*/ | ||
|
||
[data-type="hour"] .mui-listpicker, | ||
[data-type="hour"] .mui-dtpicker-title h5 { | ||
width: 25%; | ||
} | ||
[data-type="hour"] [data-id="picker-i"], | ||
[data-type="hour"] [data-id="title-i"] { | ||
display: none; | ||
} | ||
[data-type="hour"] [data-id="picker-h"], | ||
[data-type="hour"] [data-id="title-h"] { | ||
border-left: dotted 1px #ddd; | ||
} | ||
/*时分*/ | ||
|
||
[data-type="time"] .mui-listpicker, | ||
[data-type="time"] .mui-dtpicker-title h5 { | ||
width: 50%; | ||
} | ||
[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="month"] .mui-listpicker, | ||
[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="title-d"], | ||
[data-type="month"] [data-id="title-h"], | ||
[data-type="month"] [data-id="title-i"] { | ||
display: none; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.mui-poppicker { | ||
position: fixed; | ||
left: 0px; | ||
width: 100%; | ||
z-index: 999; | ||
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-poppicker.mui-active { | ||
-webkit-transform: translateY(0px); | ||
} | ||
.mui-android-5-1 .mui-poppicker { | ||
bottom: -300px; | ||
-webkit-transition-property: bottom; | ||
-webkit-transform: none; | ||
} | ||
.mui-android-5-1 .mui-poppicker.mui-active { | ||
bottom: 0px; | ||
-webkit-transition-property: bottom; | ||
-webkit-transform: none; | ||
} | ||
.mui-poppicker-header { | ||
padding: 6px; | ||
font-size: 14px; | ||
color: #888; | ||
} | ||
.mui-poppicker-header .mui-btn { | ||
font-size: 12px; | ||
padding: 5px 10px; | ||
} | ||
.mui-poppicker-btn-cancel { | ||
float: left; | ||
} | ||
.mui-poppicker-btn-ok { | ||
float: right; | ||
} | ||
.mui-poppicker-clear { | ||
clear: both; | ||
height: 0px; | ||
line-height: 0px; | ||
font-size: 0px; | ||
overflow: hidden; | ||
} | ||
.mui-poppicker-body { | ||
position: relative; | ||
width: 100%; | ||
height: 200px; | ||
border-top: solid 1px #ddd; | ||
} | ||
.mui-poppicker-body .mui-listpicker { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0px; | ||
border: none; | ||
float: left; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.