519
edits
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
--fixed-menu-width: 240px; | --fixed-menu-width: 240px; | ||
} | } | ||
.citizen-page-container { | .citizen-page-container { | ||
/* Reserve space for drawer */ | |||
margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) ); | margin-left: calc( var( --header-size ) + var( --fixed-menu-width ) ); | ||
} | } | ||
.citizen-drawer__button | .citizen-drawer__button { | ||
/* Hide drawer button */ | |||
display: none; | display: none; | ||
} | } | ||
.citizen-drawer__card { | .citizen-drawer__card { | ||
bottom: 0; | bottom: 0; | ||
/* Put drawer behind other header cards */ | |||
z-index: -1; | z-index: -1; | ||
margin: 0 | margin: 0; | ||
/* Compensate header border */ | |||
margin-left: 1px; | |||
padding: 0; | padding: 0; | ||
min-width: auto; | min-width: auto; | ||
Line 24: | Line 29: | ||
background-color: var( --color-surface-0 ); | background-color: var( --color-surface-0 ); | ||
box-shadow: none; | box-shadow: none; | ||
opacity: 1; | /* Force drawer to show */ | ||
pointer-events: auto; | opacity: 1 !important; | ||
transform: none; | pointer-events: auto !important; | ||
visibility: visible; | transform: none !important; | ||
visibility: visible !important; | |||
left:60px; | left:60px; | ||
} | } | ||
.citizen-drawer__card > * { | .citizen-drawer__card > * { | ||
opacity: 1; | /* Force drawer content to show */ | ||
opacity: 1 !important; | |||
background-color: #1D1D1D; | background-color: #1D1D1D; | ||
} | } | ||
.citizen-drawer__header | .citizen-drawer__header { | ||
padding: | padding-left: var( --space-xl ); | ||
padding-right: var( --space-xl ); | |||
} | } | ||
.citizen- | .citizen-drawer__logo { | ||
/* Hide drawer header logo */ | |||
display: none; | |||
} | } | ||
Line 50: | Line 59: | ||
.citizen-siteStats { | .citizen-siteStats { | ||
font-size: 0.8125rem; | font-size: 0.8125rem; | ||
} | |||
#citizen-siteStats__item--images, | |||
#citizen-siteStats__item--users { | |||
/* Hide image and user stats to make space */ | |||
display: none; | |||
} | |||
.citizen-drawer__menu { | |||
padding-left: var( --space-xs ); | |||
padding-right: var( --space-xs ); | |||
grid-template-columns: 1fr; | |||
} | } | ||
} | } |