From 456d9377a6361513d27de501c67d8046e165f384 Mon Sep 17 00:00:00 2001 From: Kasper Friis Christensen Date: Wed, 1 Aug 2018 21:15:43 +0200 Subject: [PATCH 1/2] Changed z-index of .sticky and added bootstrap z-indexes to bornhack.css as a comment --- src/static_src/css/bornhack.css | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/src/static_src/css/bornhack.css b/src/static_src/css/bornhack.css index a5797eaa..dbb6bb55 100644 --- a/src/static_src/css/bornhack.css +++ b/src/static_src/css/bornhack.css @@ -12,6 +12,37 @@ a, a:active, a:focus { outline: none; } +/* Z-index */ +/* Bootstrap values +.dropdown-backdrop { + z-index: 990; +} +.navbar-static-top, +.dropdown-menu { + z-index: 1000; +} +.navbar-fixed-top, +.navbar-fixed-bottom { + z-index: 1030; +} +.modal-backdrop { + z-index: 1040; +} +.modal { + z-index: 1050; +} +.popover { + z-index: 1060; +} +.tooltip { + z-index: 1070; +} + */ +/* Custom */ +.sticky { + z-index: 980; +} + @media (max-width: 520px) { #main { width: 100%; @@ -236,7 +267,6 @@ footer { .sticky { position: sticky; background-color: #fff; - z-index: 9999; } #daypicker { From a2b0d2980abd324e8b1a51ce10e982d144673d35 Mon Sep 17 00:00:00 2001 From: Kasper Friis Christensen Date: Wed, 1 Aug 2018 21:27:02 +0200 Subject: [PATCH 2/2] Minimized comment size --- src/static_src/css/bornhack.css | 31 +++++++------------------------ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/src/static_src/css/bornhack.css b/src/static_src/css/bornhack.css index dbb6bb55..44bc13bb 100644 --- a/src/static_src/css/bornhack.css +++ b/src/static_src/css/bornhack.css @@ -14,31 +14,14 @@ a, a:active, a:focus { /* Z-index */ /* Bootstrap values -.dropdown-backdrop { - z-index: 990; -} -.navbar-static-top, -.dropdown-menu { - z-index: 1000; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - z-index: 1030; -} -.modal-backdrop { - z-index: 1040; -} -.modal { - z-index: 1050; -} -.popover { - z-index: 1060; -} -.tooltip { - z-index: 1070; -} +.dropdown-backdrop { z-index: 990; } +.navbar-static-top, .dropdown-menu { z-index: 1000; } +.navbar-fixed-top, .navbar-fixed-bottom { z-index: 1030; } +.modal-backdrop { z-index: 1040; } +.modal { z-index: 1050; } +.popover { z-index: 1060; } +.tooltip { z-index: 1070; } */ -/* Custom */ .sticky { z-index: 980; }