Skip to content

Commit d614151

Browse files
committed
Partially fix #160
1 parent 7a063e4 commit d614151

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/css/datetimepicker.css

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@
109109
display: none;
110110
}
111111

112+
.datetimepicker .hour,
113+
.datetimepicker .minute {
114+
margin: 0;
115+
height: 34px;
116+
line-height: 34px;
117+
width: 25%;
118+
}
119+
112120
.datetimepicker.minutes div.datetimepicker-minutes {
113121
display: block;
114122
}
@@ -143,11 +151,15 @@
143151
border-radius: 4px;
144152
border: none;
145153
}
146-
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > td, .datetimepicker .table-striped > tbody > tr:nth-child(odd) > td,
147-
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > td, .datetimepicker .table-striped > tbody > tr:nth-child(odd) > th,
154+
155+
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > td,
156+
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > td,
157+
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > td,
158+
.datetimepicker .table-striped > tbody > tr:nth-child(odd) > th,
148159
.datetimepicker .table-striped > tbody > tr:nth-child(odd) {
149-
background-color: transparent;
160+
background-color: transparent;
150161
}
162+
151163
.datetimepicker table tr td.minute:hover {
152164
background: #eeeeee;
153165
cursor: pointer;
@@ -294,16 +306,6 @@
294306
border-radius: 4px;
295307
}
296308

297-
.datetimepicker span.hour {
298-
height: 26px;
299-
line-height: 26px;
300-
}
301-
302-
.datetimepicker span.minute {
303-
height: 26px;
304-
line-height: 26px;
305-
}
306-
307309
.datetimepicker table tr td span:hover {
308310
background: #eeeeee;
309311
}
@@ -374,8 +376,6 @@
374376
color: #999999;
375377
}
376378

377-
378-
379379
.datetimepicker thead tr:first-child th,
380380
.datetimepicker tfoot tr:first-child th {
381381
cursor: pointer;

0 commit comments

Comments
 (0)