summaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-20 10:37:33 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-01-03 14:02:45 +0100
commitd190754e2bade0c79b53a7e7a15193003d9a123d (patch)
tree83b23baad16d56360a1eca0f631a29afb95eb93a /core/css/styles.scss
parentbcad10075edfc620abff2a1afc084a4a524bb7cb (diff)
downloadnextcloud-server-d190754e2bade0c79b53a7e7a15193003d9a123d.tar.gz
nextcloud-server-d190754e2bade0c79b53a7e7a15193003d9a123d.zip
Fix am-pm
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss16
1 files changed, 7 insertions, 9 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index cd3c57bda4f..0739d66b238 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -1086,16 +1086,19 @@ code {
}
}
/* AM/PM fix */
- table.ui-timepicker tr th {
- position: absolute;
- margin-left: -24px;
- top: calc(50% + 5px);
+ table.ui-timepicker tr .ui-timepicker-hour-cell:first-child {
+ margin-left: 30px;
}
.ui-timepicker-table {
th {
font-weight: normal;
color: nc-lighten($color-main-text, 33%);
opacity: .8;
+ &.periods {
+ padding: 0;
+ width: 30px;
+ line-height: 30px;
+ }
}
tr:hover {
background-color: inherit;
@@ -1116,11 +1119,6 @@ code {
&.ui-timepicker-hours {
border-right: 1px solid $color-border;
- /* AM/PM fix */
- .ui-timepicker tr {
- position: relative;
- margin-left: 25px;
- }
}
}
}