aboutsummaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorAnton Schubert2020-10-31 20:43:09 +0100
committerGitHub2020-10-31 20:43:09 +0100
commitc31a16cb6d9057883cc5f46376c190a8a8736546 (patch)
treedfe4bd1853fffd259f01a2ad920f6ae00cb44bb8 /assets/css
parent84b8eb8048fcdb8e6449583583aa21b7bb90486e (diff)
preserve schedule timezones and show current time + event timezone on the website (#117)
Diffstat (limited to '')
-rw-r--r--assets/css/_schedule.less24
-rw-r--r--assets/css/_structure.less5
2 files changed, 18 insertions, 11 deletions
diff --git a/assets/css/_schedule.less b/assets/css/_schedule.less
index fe512a9..852d5a4 100644
--- a/assets/css/_schedule.less
+++ b/assets/css/_schedule.less
@@ -16,19 +16,21 @@ body .schedule {
.now {
position: absolute;
- left: 0;
- width: 150px;
- height: 100%;
- background-color: @schedule-now-bg;
- font-size: 14px;
pointer-events: none;
-
+ height: 100%;
+ display: flex;
+ left: 0;
z-index: 5;
- span {
- display: block;
- position: absolute;
- right: -28px;
+ .overlay {
+ width: 150px;
+ height: 100%;
+ background-color: @schedule-now-bg;
+ }
+
+ .label {
+ font-size: 14px;
+ padding-left: 5px;
color: @schedule-now;
}
}
@@ -50,7 +52,7 @@ body .schedule {
.inner {
display: block;
- padding: 10px;
+ padding: 15px;
height: 100%;
}
diff --git a/assets/css/_structure.less b/assets/css/_structure.less
index bf9e3b1..eeb1b23 100644
--- a/assets/css/_structure.less
+++ b/assets/css/_structure.less
@@ -55,6 +55,11 @@ nav {
}
}
+ .navbar-time {
+ line-height: 27px;
+ padding: 10px 10px;
+ }
+
.button-wrapper > .btn {
width: 40px;
}