-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdate-picker.css
111 lines (97 loc) · 2.46 KB
/
date-picker.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@charset "utf-8";
#date-picker-wrapper {
position: absolute;
opacity: 0;
filter: Alpha(opacity=0);
transform: scale(0);
transform-origin: top left;
transition: all 200ms ease-in-out;
overflow: hidden;
width: 300px;
-webkit-box-shadow: 8px 10px 10px rgba(100, 100, 100, .5);
-moz-box-shadow: 8px 10px 10px rgba(100, 100, 100, .5);
box-shadow: 8px 10px 10px rgba(100, 100, 100, .5);
-moz-user-select: none; /*火狐*/
-webkit-user-select: none; /*webkit浏览器*/
-ms-user-select: none; /*IE10*/
-khtml-user-select: none; /*早期浏览器*/
user-select: none;
}
#date-picker-wrapper.picker-show {
opacity: 1;
filter: Alpha(opacity=100);
transform: scale(1);
}
#date-picker-wrapper .date-picker-ui-header {
box-sizing: border-box;
height:45px;
font-size: 16px;
padding: 10px 0;
width: 100%;
position: relative;
border-bottom: 1px solid #ddd;
}
#date-picker-wrapper .date-picker-ui-header span {
display: inline-block;
width: 100%;
height:22px;
line-height: 22px;
text-align: center;
}
#date-picker-wrapper .date-picker-ui-header .date-picker-ui-btn-hidden {
position: absolute;
right: 40px;
top: 14px;
display: block;
width: 16px;
height: 16px;
vertical-align: middle;
background: #75c5dd;
text-align: center;
font-size: 12px;
line-height: 16px;
border-radius: 50%;
color: white;
cursor: pointer;
}
#date-picker-wrapper .date-picker-ui-header .date-picker-ui-btn {
position: absolute;
text-decoration: none;
color: #75c5dd;
top:10px;
height:22px;
line-height: 22px;
}
#date-picker-wrapper .date-picker-ui-header .date-picker-ui-prev {
left: 10px;
}
#date-picker-wrapper .date-picker-ui-header .date-picker-ui-next {
right: 10px;
}
#date-picker-wrapper .date-picker-ui-body table {
width: 100%;
text-align: center;
border-collapse: collapse;
}
#date-picker-wrapper .date-picker-ui-body th {
line-height: 2;
}
#date-picker-wrapper .date-picker-ui-body td {
box-sizing: border-box;
height: 20px;
line-height: 2;
font-size: 14px;
border: 1px solid #ddd;
background: #efefef;
color: #ffffff;
cursor: not-allowed;
}
#date-picker-wrapper .date-picker-ui-body td.currentMonth {
background: #fff;
color: #333;
cursor: pointer;
}
#date-picker-wrapper .date-picker-ui-body td.currentMonth:hover {
background: #75c5dd;
color: white;
}