mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Update custom styles
This commit is contained in:
parent
b0d3d9fe50
commit
e0e92e0fcc
1 changed files with 7 additions and 3 deletions
10
R/style.R
10
R/style.R
|
|
@ -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; }"
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue