mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Add help page and separate stylesheet
This commit is contained in:
parent
a3fc56d17e
commit
9e95f8bbfb
26 changed files with 215 additions and 244 deletions
18
R/style.R
18
R/style.R
|
|
@ -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")
|
||||
)))
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue