Add help page and separate stylesheet

This commit is contained in:
Elias Projahn 2024-02-18 18:03:55 +01:00
parent a3fc56d17e
commit 9e95f8bbfb
26 changed files with 215 additions and 244 deletions

View file

@ -2,20 +2,8 @@
#' @noRd
custom_css <- function() {
tags$head(
tags$style(HTML(
".flow-layout > div {",
"display: inline-block;",
"vertical-align: top;",
"margin-right: 12px;",
"}",
"h5 { margin-top: 0.5rem; margin-bottom: 1rem; 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; }"
))
tags$style(HTML(includeText(
system.file("misc", "style.css", package = "geposanui")
)))
)
}