|
a/static/jdpicker.css |
|
b/static/jdpicker.css |
1 |
.jdpicker_w {
|
1 |
.jdpicker_w {
|
2 |
display: inline;
|
2 |
display: inline;
|
3 |
}
|
3 |
}
|
4 |
|
4 |
|
5 |
.jdpicker_w .date_selector * {
|
5 |
.jdpicker_w .date_selector * {
|
6 |
width: auto;
|
6 |
width: auto;
|
7 |
height: auto;
|
7 |
height: auto;
|
8 |
border: none;
|
8 |
border: none;
|
9 |
background: none;
|
9 |
background: none;
|
10 |
margin: 0;
|
10 |
margin: 0;
|
11 |
padding: 0;
|
11 |
padding: 0;
|
12 |
text-align: left;
|
12 |
text-align: left;
|
13 |
text-decoration: none;
|
13 |
text-decoration: none;
|
14 |
font-size:12px;
|
14 |
font-size:12px;
|
15 |
}
|
15 |
}
|
16 |
.jdpicker_w .date_selector {
|
16 |
.jdpicker_w .date_selector {
|
17 |
background: #FFF;
|
17 |
background: #FFF;
|
18 |
border: 1px solid black;
|
18 |
border: 1px solid black;
|
19 |
padding: 5px;
|
19 |
padding: 5px;
|
20 |
margin: -1px 0 0 0;
|
20 |
margin: -1px 0 0 0;
|
21 |
position: absolute;
|
21 |
position: absolute;
|
22 |
z-index: 100000;
|
22 |
z-index: 100000;
|
23 |
display: none;
|
23 |
display: none;
|
24 |
width:210px
|
24 |
width:210px
|
25 |
}
|
25 |
}
|
26 |
|
26 |
|
27 |
.jdpicker_w .date_selector table{
|
27 |
.jdpicker_w .date_selector table{
|
28 |
width:210px;
|
28 |
width:210px;
|
29 |
margin-left:3px;
|
29 |
margin-left:3px;
|
30 |
border-collapse: collapse;
|
30 |
border-collapse: collapse;
|
31 |
}
|
31 |
}
|
32 |
|
32 |
|
33 |
.jdpicker_w .date_clearer{
|
33 |
.jdpicker_w .date_clearer{
|
34 |
color: #a00;
|
34 |
color: #a00;
|
35 |
padding-left:3px;
|
35 |
padding-left:3px;
|
36 |
cursor:pointer;
|
36 |
cursor:pointer;
|
37 |
font-weight:bold;
|
37 |
font-weight:bold;
|
38 |
font-family:sans-serif
|
38 |
font-family:sans-serif
|
39 |
}
|
39 |
}
|
40 |
|
40 |
|
41 |
.jdpicker_w .date_selector_ieframe {
|
41 |
.jdpicker_w .date_selector_ieframe {
|
42 |
position: absolute;
|
42 |
position: absolute;
|
43 |
z-index: 99999;
|
43 |
z-index: 99999;
|
44 |
display: none;
|
44 |
display: none;
|
45 |
}
|
45 |
}
|
46 |
|
46 |
|
47 |
.jdpicker_w .error_msg{
|
47 |
.jdpicker_w .error_msg{
|
48 |
display:none;
|
48 |
display:none;
|
49 |
text-align:center;
|
49 |
text-align:center;
|
50 |
font-size:0.8em;
|
50 |
font-size:0.8em;
|
51 |
color:#666
|
51 |
color:#666
|
52 |
}
|
52 |
}
|
53 |
|
53 |
|
54 |
.jdpicker_w .date_selector .nav {
|
54 |
.jdpicker_w .date_selector .nav {
|
55 |
width: 17.5em; /* 7 * 2.5em */
|
55 |
width: 17.5em; /* 7 * 2.5em */
|
56 |
}
|
56 |
}
|
57 |
.jdpicker_w .date_selector .month_nav, .jdpicker_w .date_selector .year_nav {
|
57 |
.jdpicker_w .date_selector .month_nav, .jdpicker_w .date_selector .year_nav {
|
58 |
margin: 0 0 3px 0;
|
58 |
margin: 0 0 3px 0;
|
59 |
padding: 0;
|
59 |
padding: 0;
|
60 |
display: block;
|
60 |
display: block;
|
61 |
position: relative;
|
61 |
position: relative;
|
62 |
text-align: center;
|
62 |
text-align: center;
|
63 |
}
|
63 |
}
|
64 |
.jdpicker_w .date_selector .month_nav {
|
64 |
.jdpicker_w .date_selector .month_nav {
|
65 |
float: left;
|
65 |
float: left;
|
66 |
width: 56%;
|
66 |
width: 56%;
|
67 |
}
|
67 |
}
|
68 |
.jdpicker_w .date_selector .year_nav {
|
68 |
.jdpicker_w .date_selector .year_nav {
|
69 |
float: right;
|
69 |
float: right;
|
70 |
width: 37%;
|
70 |
width: 37%;
|
71 |
position:relative;
|
71 |
position:relative;
|
72 |
}
|
72 |
}
|
73 |
|
73 |
|
74 |
.jdpicker_w .date_selector .month_nav select {
|
74 |
.jdpicker_w .date_selector .month_nav select {
|
75 |
width:75px;
|
75 |
width:75px;
|
76 |
margin: 0 auto;
|
76 |
margin: 0 auto;
|
77 |
border:1px solid #ccc;
|
77 |
border:1px solid #ccc;
|
78 |
position:relative;
|
78 |
position:relative;
|
79 |
top:1px
|
79 |
top:1px
|
80 |
}
|
80 |
}
|
81 |
|
81 |
|
82 |
.jdpicker_w .date_selector .year_nav .year_input {
|
82 |
.jdpicker_w .date_selector .year_nav .year_input {
|
83 |
text-align:center;
|
83 |
text-align:center;
|
84 |
width:36px;
|
84 |
width:36px;
|
85 |
border:1px solid #ccc;
|
85 |
border:1px solid #ccc;
|
86 |
position:relative;
|
86 |
position:relative;
|
87 |
top:2px
|
87 |
top:2px
|
88 |
}
|
88 |
}
|
89 |
|
89 |
|
90 |
.jdpicker_w .date_selector .month_name, .jdpicker_w .date_selector .year_name {
|
90 |
.jdpicker_w .date_selector .month_name, .jdpicker_w .date_selector .year_name {
|
91 |
font-weight: bold;
|
91 |
font-weight: bold;
|
92 |
line-height: 20px;
|
92 |
line-height: 20px;
|
93 |
}
|
93 |
}
|
94 |
.jdpicker_w .date_selector .button {
|
94 |
.jdpicker_w .date_selector .button {
|
95 |
display: block;
|
95 |
display: block;
|
96 |
position: absolute;
|
96 |
position: absolute;
|
97 |
top: 0;
|
97 |
top: 0;
|
98 |
width: 18px;
|
98 |
width: 18px;
|
99 |
height: 18px;
|
99 |
height: 18px;
|
100 |
line-height: 17px;
|
100 |
line-height: 17px;
|
101 |
font-weight: bold;
|
101 |
font-weight: bold;
|
102 |
color: #333;
|
102 |
color: #333;
|
103 |
text-align: center;
|
103 |
text-align: center;
|
104 |
font-size: 120%;
|
104 |
font-size: 120%;
|
105 |
overflow: hidden;
|
105 |
overflow: hidden;
|
106 |
cursor:pointer;
|
106 |
cursor:pointer;
|
107 |
}
|
107 |
}
|
108 |
|
108 |
|
109 |
.jdpicker_w .date_selector .button:hover, .jdpicker_w .date_selector .button.hover {
|
109 |
.jdpicker_w .date_selector .button:hover, .jdpicker_w .date_selector .button.hover {
|
110 |
background: none;
|
110 |
background: none;
|
111 |
color: white;
|
111 |
color: white;
|
112 |
cursor: pointer;
|
112 |
cursor: pointer;
|
113 |
background: #ccc;
|
113 |
background: #ccc;
|
114 |
}
|
114 |
}
|
115 |
|
115 |
|
116 |
.jdpicker_w .date_selector .prev {
|
116 |
.jdpicker_w .date_selector .prev {
|
117 |
left: 0;
|
117 |
left: 0;
|
118 |
}
|
118 |
}
|
119 |
.jdpicker_w .date_selector .next {
|
119 |
.jdpicker_w .date_selector .next {
|
120 |
right: 0;
|
120 |
right: 0;
|
121 |
}
|
121 |
}
|
122 |
|
122 |
|
123 |
.jdpicker_w .date_selector table {
|
123 |
.jdpicker_w .date_selector table {
|
124 |
margin:0 auto;
|
124 |
margin:0 auto;
|
125 |
|
125 |
|
126 |
clear: both;
|
126 |
clear: both;
|
127 |
}
|
127 |
}
|
128 |
.jdpicker_w .date_selector th{
|
128 |
.jdpicker_w .date_selector th{
|
129 |
padding-top:5px;
|
129 |
padding-top:5px;
|
130 |
padding-bottom:5px;
|
130 |
padding-bottom:5px;
|
131 |
}
|
131 |
}
|
132 |
|
132 |
|
133 |
.jdpicker_w .date_selector th, .jdpicker_w .date_selector td {
|
133 |
.jdpicker_w .date_selector th, .jdpicker_w .date_selector td {
|
134 |
text-align: center;
|
134 |
text-align: center;
|
135 |
color: black;
|
135 |
color: black;
|
136 |
}
|
136 |
}
|
137 |
|
137 |
|
138 |
.jdpicker_w .date_selector th.week_label{
|
138 |
.jdpicker_w .date_selector th.week_label{
|
139 |
font-weight:normal;
|
139 |
font-weight:normal;
|
140 |
font-style:italic;
|
140 |
font-style:italic;
|
141 |
font-size:80%;
|
141 |
font-size:80%;
|
142 |
width:25px
|
142 |
width:25px
|
143 |
}
|
143 |
}
|
144 |
|
144 |
|
145 |
.jdpicker_w .date_selector .week_num, .jdpicker_w .date_selector .hover .week_num, .jdpicker_w .date_selector .selected .week_num{
|
145 |
.jdpicker_w .date_selector .week_num, .jdpicker_w .date_selector .hover .week_num, .jdpicker_w .date_selector .selected .week_num{
|
146 |
font-style:italic;
|
146 |
font-style:italic;
|
147 |
color:#333 !important;
|
147 |
color:#333 !important;
|
148 |
vertical-align:bottom !important;
|
148 |
vertical-align:bottom !important;
|
149 |
text-align:right;
|
149 |
text-align:right;
|
150 |
border:none !important;
|
150 |
border:none !important;
|
151 |
font-size:70%;
|
151 |
font-size:70%;
|
152 |
background:#FCFCFC !important;
|
152 |
background:#FCFCFC !important;
|
153 |
padding-right:4px;
|
153 |
padding-right:4px;
|
154 |
}
|
154 |
}
|
155 |
|
155 |
|
156 |
.jdpicker_w .date_selector td {
|
156 |
.jdpicker_w .date_selector td {
|
157 |
line-height: 2em;
|
157 |
line-height: 2em;
|
158 |
text-align: center;
|
158 |
text-align: center;
|
159 |
white-space: nowrap;
|
159 |
white-space: nowrap;
|
160 |
color: #003C78;
|
160 |
color: #003C78;
|
161 |
background: white;
|
161 |
background: white;
|
162 |
}
|
162 |
}
|
163 |
.jdpicker_w .date_selector td.today {
|
163 |
.jdpicker_w .date_selector td.today {
|
164 |
color: darkorange !important;
|
164 |
color: darkorange !important;
|
165 |
}
|
165 |
}
|
166 |
.jdpicker_w .date_selector td.unselected_month {
|
166 |
.jdpicker_w .date_selector td.unselected_month {
|
167 |
color: #ccc;
|
167 |
color: #ccc;
|
168 |
}
|
168 |
}
|
169 |
.jdpicker_w .date_selector td.selectable_day, .jdpicker_w .date_selector tr.selectable_week td {
|
169 |
.jdpicker_w .date_selector td.selectable_day, .jdpicker_w .date_selector tr.selectable_week td {
|
170 |
cursor: pointer;
|
170 |
cursor: pointer;
|
171 |
color:#333
|
171 |
color:#333
|
172 |
}
|
172 |
}
|
173 |
.jdpicker_w .date_selector td.selected, .jdpicker_w .date_selector tr.selected td{
|
173 |
.jdpicker_w .date_selector td.selected, .jdpicker_w .date_selector tr.selected td{
|
174 |
background: lightgreen;
|
174 |
background: lightgreen;
|
175 |
font-weight: bold;
|
175 |
font-weight: bold;
|
176 |
}
|
176 |
}
|
177 |
.jdpicker_w .date_selector tr.selectable_week.hover td, .jdpicker_w .date_selector td.selectable_day.hover {
|
177 |
.jdpicker_w .date_selector tr.selectable_week.hover td, .jdpicker_w .date_selector td.selectable_day.hover {
|
178 |
color: white;
|
178 |
color: white;
|
179 |
background: #ccc;
|
179 |
background: #ccc;
|
180 |
}
|
180 |
}
|