From fb9df938cae4fc7308cbe63328b69db3fa68a3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 26 Apr 2020 21:38:40 +0200 Subject: Popup sidebar now button holder. --- static/style.css | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 36040a64..f51c75ce 100644 --- a/static/style.css +++ b/static/style.css @@ -575,7 +575,7 @@ along with their colors. .event-inner .popup { /* visibility: hidden; */ position: absolute; - display: block; + display: flex; /* A scale(0%) is chosen for hiding the element for the following reasons: - visibility: hidden still reserves space, which causes unwanted scroll- bars since the final position of the popup is calculated at runtime @@ -603,15 +603,24 @@ along with their colors. } .event-inner .popup article { - border-left-style: solid; - border-left-width: 1em; + border: none; } -.popup button { - position: absolute; - right: 0; - top: 0; - background: none; +.popup .popup-control { + display: flex; + flex-direction: column; +} + +.popup-control .btn { + max-width: 2em; + max-height: 2em; + margin: 1em; + + display: flex; + align-items: center; + justify-content: center; + + font-size: 150%; } /* .event-inner .popup td { */ -- cgit v1.2.3