From c508fc902b765d5aae66a55ae359e549ac3ee257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 10 Jul 2020 00:08:19 +0200 Subject: Move back to own popup system. JQuery apparently doesn't handle xhtml, so the old system goes bust. Currently it's replaced with a barebones popup system, which works almost as well as the dependency. However; current problems include: - Wrong mouse cursor on events - Bad size on some browsers - Close button broken - Sometimes placed outside intended area, stretching it (since I *need* scroll on it). - ... --- static/style.css | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index f4a076fa..6cb62b11 100644 --- a/static/style.css +++ b/static/style.css @@ -488,7 +488,7 @@ along with their colors. .event { transition: 0.3s; font-size: var(--event-font-size); - overflow: hidden; + overflow: visible; } .days .event { @@ -628,8 +628,13 @@ along with their colors. .popup-container { display: none; + position: absolute; + z-index: 10; } +.popup-container.visible { + display: block; +} .popup { display: flex; @@ -677,10 +682,6 @@ along with their colors. font-size: 150%; } -.tpd-tooltip a, .tpd-tooltip a:hover { - color: blue; -} - #bar { width: calc(100% + 2em); height: 4px; @@ -735,10 +736,6 @@ along with their colors. resize: both; } -.tpd-content-wrapper { - overflow: visible; -} - .tab [type=radio]:checked ~ label { z-index: 1; -- cgit v1.2.3