Fix am-pm
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
bcad10075e
commit
d190754e2b
|
@ -1086,16 +1086,19 @@ code {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* AM/PM fix */
|
/* AM/PM fix */
|
||||||
table.ui-timepicker tr th {
|
table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
|
||||||
position: absolute;
|
margin-left: 30px;
|
||||||
margin-left: -24px;
|
|
||||||
top: calc(50% + 5px);
|
|
||||||
}
|
}
|
||||||
.ui-timepicker-table {
|
.ui-timepicker-table {
|
||||||
th {
|
th {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: nc-lighten($color-main-text, 33%);
|
color: nc-lighten($color-main-text, 33%);
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
|
&.periods {
|
||||||
|
padding: 0;
|
||||||
|
width: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
tr:hover {
|
tr:hover {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
|
@ -1116,11 +1119,6 @@ code {
|
||||||
|
|
||||||
&.ui-timepicker-hours {
|
&.ui-timepicker-hours {
|
||||||
border-right: 1px solid $color-border;
|
border-right: 1px solid $color-border;
|
||||||
/* AM/PM fix */
|
|
||||||
.ui-timepicker tr {
|
|
||||||
position: relative;
|
|
||||||
margin-left: 25px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue