Update custom styles

This commit is contained in:
Elias Projahn 2024-01-31 11:17:25 +01:00
parent b0d3d9fe50
commit e0e92e0fcc

View file

@ -3,15 +3,19 @@
custom_css <- function() { custom_css <- function() {
tags$head( tags$head(
tags$style(HTML( tags$style(HTML(
".nav-hidden { height: 0 }",
".flow-layout > div {", ".flow-layout > div {",
"display: inline-block;", "display: inline-block;",
"vertical-align: top;", "vertical-align: top;",
"margin-right: 12px;", "margin-right: 12px;",
"}", "}",
".shiny-input-container { width: auto !important; min-width: 200px; }",
"h5 { margin-top: 0.5rem; margin-bottom: 1rem; font-weight: bold; }", "h5 { margin-top: 0.5rem; margin-bottom: 1rem; font-weight: bold; }",
".navbar-brand { font-weight: bold; }" ".navbar-brand { font-weight: bold; }",
# Undo changes in Bootstrap theme:
".nav-underline .nav-link { border-bottom: 0; }",
".nav-underline .nav-link.active { font-weight: normal; }",
# Fix slider inputs floating above dropdown menu:
".irs--shiny .irs-bar { z-index: 1; }",
".irs--shiny .irs-handle { z-index: 1; }"
)) ))
) )
} }