-
Notifications
You must be signed in to change notification settings - Fork 15
/
datepicker.css
135 lines (133 loc) · 5.57 KB
/
datepicker.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@-webkit-keyframes vueDatePicker {
0% {
opacity: 0;
-webkit-transform: translate(-50%, -50%) scale(0);
transform: translate(-50%, -50%) scale(0); }
100% {
opacity: 1;
-webkit-transform: translate(0) scale(1);
transform: translate(0) scale(1); } }
@keyframes vueDatePicker {
0% {
opacity: 0;
-webkit-transform: translate(-50%, -50%) scale(0);
transform: translate(-50%, -50%) scale(0); }
100% {
opacity: 1;
-webkit-transform: translate(0) scale(1);
transform: translate(0) scale(1); } }
.vue-datepicker {
position: relative;
margin: 0;
padding: 0;
font-family: verdana;
font-size: 14px;
color: #666; }
.vue-datepicker * {
margin: 0;
padding: 0; }
.vue-datepicker input {
display: block;
width: 245px;
height: 28px;
padding-left: 6px;
border: 1px solid #DDD;
outline: none; }
.vue-datepicker .vue-datepicker-panels {
position: absolute;
z-index: 99999;
left: 0;
background-color: #FFF;
width: 245px;
border: 1px solid #DDD;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.18);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.18);
padding: 10px 6px;
-webkit-animation: vueDatePicker 0.1s ease-out;
animation: vueDatePicker 0.1s ease-out; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-month {
padding-bottom: 4px;
height: 35px;
line-height: 35px;
overflow: hidden;
text-align: center; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-month a {
float: left;
display: block;
width: 35px;
cursor: pointer;
color: #999;
font-size: 12px; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-month a:hover {
background-color: #F5F6F7; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-month span {
float: left;
display: block;
width: 175px; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-month span.vue-datepicker-btn:hover {
background-color: #F5F6F7;
cursor: pointer; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 {
width: 245px;
border-collapse: collapse;
text-align: center; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb thead,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 thead {
background-color: #F5F6F7;
height: 35px;
line-height: 35px;
border-top: 1px solid #DDD;
border-bottom: 1px solid #DDD; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb thead tr,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 thead tr {
border: none; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb thead tr th,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 thead tr th {
width: 35px;
font-size: 12px;
border: none;
font-weight: normal; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr {
border-top: 1px solid #EEE; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td {
height: 31.5px; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed {
cursor: pointer; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed span,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed span {
display: block;
height: 21.7px;
line-height: 21.7px; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed:hover,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed:hover {
background-color: #F5F6F7;
color: #d0000e; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed.z-on span,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed.z-on span {
color: #FFF;
background-color: #d0000e; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed.z-invalid,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed.z-invalid {
cursor: default; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed.z-invalid span,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed.z-invalid span {
color: #ccc; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb tbody tr td.z-existed.z-invalid:hover,
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed.z-invalid:hover {
background-color: transparent; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr {
border-top: 1px solid #EEE; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td {
height: 31.5px;
padding: 4px 10px;
font-size: 13px; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed {
cursor: pointer; }
.vue-datepicker .vue-datepicker-panel .vue-datepicker-tb2 tbody tr td.z-existed span {
display: block;
height: 22.75px;
line-height: 22.75px; }