-
Notifications
You must be signed in to change notification settings - Fork 0
/
datepicker.css
executable file
·149 lines (149 loc) · 3.45 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.datepicker-wrapper .form-control {
padding-right: 12px;
}
.datepicker-wrapper .form-control[disabled] + label {
opacity: 0.5;
filter: alpha(opacity=50);
}
.datepicker {
padding: 0;
width: 248px;
}
.datepicker label {
cursor: default;
}
.datepicker.days div.datepicker-days {
display: block;
}
.datepicker.months div.datepicker-months {
display: block;
}
.datepicker.years div.datepicker-years {
display: block;
}
.datepicker table {
padding: 4px;
border-collapse: separate;
border-spacing: 4px 4px;
}
.datepicker table td,
.datepicker table th {
text-align: center;
width: 30px;
line-height: 20px;
border: 0;
padding: 5px;
color: #222222;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.datepicker table th.switch {
font-weight: 700;
}
.datepicker div.datepicker-months table,
.datepicker div.datepicker-years table {
padding: 8px 4px;
border-spacing: 4px 0;
}
.datepicker div.datepicker-months th.switch,
.datepicker div.datepicker-years th.switch {
width: 166px;
}
.datepicker div.datepicker-months tbody > tr > td,
.datepicker div.datepicker-years tbody > tr > td {
padding-top: 8px;
padding-bottom: 12px;
padding-left: 0;
padding-right: 0;
}
.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
background-color: transparent;
}
.datepicker table tr td.day:hover {
background: #eeeeee;
cursor: pointer;
border-radius: 50%;
}
.datepicker table tr td.old,
.datepicker table tr td.new {
color: #bbbbbb;
}
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
background: none;
color: #bbb;
cursor: not-allowed;
}
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
color: #db3d44;
}
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
color: #fff;
font-weight: bold;
background-color: #db3d44;
border-radius: 50%;
}
.datepicker table tr td span {
display: block;
width: 48px;
height: 48px;
line-height: 48px;
float: left;
cursor: pointer;
color: #222222;
font-size: 13px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
margin: 5px;
}
.datepicker table tr td span:hover {
background: #eeeeee;
border-radius: 50%;
}
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover {
background: none;
color: #bbb;
cursor: not-allowed;
}
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
color: #ffffff;
background-color: #db3d44;
font-weight: 700;
border-radius: 50%;
}
.datepicker table tr td span.old {
color: #bbbbbb;
}
.datepicker thead tr:first-child th:hover,
.datepicker tfoot tr:first-child th:hover {
cursor: pointer;
background: #eeeeee;
border-radius: 3px;
}
.datepicker thead tr:first-child th.prev .fa,
.datepicker thead tr:first-child th.next .fa {
font-size: 16px;
color: #222222;
vertical-align: top;
margin-top: 1px;
margin-right: 0;
}
.datepicker .dow {
font-size: 12px;
font-weight: bold;
color: #222222;
padding-top: 9px;
}
.datepicker tfoot {
display: none;
}