1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Ensure modals in sidebar show in main view

z-index shenanigans to ensure modals rooted in position:fixed sidebar appear correct centered over main view.
This commit is contained in:
Harvey Kandola 2018-12-16 17:22:49 +00:00
parent 05a1db9d8a
commit 42db78ce14

View file

@ -1,4 +1,5 @@
// CSS GRID WITH FIXED SIDEBAR OUTSIDE GRID
// Mobile-first layout
.master-container {
display: block;
@ -18,6 +19,7 @@
display: block;
height: auto;
width: 100%;
z-index: 1041;
.master-navbar {
display: block;
@ -38,9 +40,15 @@
width: 100%;
> .nav-options {
> .selected {
> .dicon, > .name {
color: $theme-400 !important;
}
}
> .option {
cursor: pointer;
display: block;
display: inline-block;
> .dicon {
display: inline-block;
@ -53,10 +61,6 @@
display: none;
}
}
> .selected {
// background-color: $theme-400;
}
}
> .meta {
@ -241,15 +245,15 @@
display: block;
color: $color-white;
font-size: 24px;
padding: 25px 0 10px 0;
padding: 15px 0 10px 0;
}
> .name {
display: block;
padding: 0 0 10px 0;
padding: 0 0 15px 0;
font-size: 0.8rem;
font-weight: 700;
color: white;
color: $color-white;
text-transform: uppercase;
}
}