mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 11:47:24 +01:00
Update overall style
This commit is contained in:
parent
373238b4bc
commit
c6116d363c
3 changed files with 39 additions and 22 deletions
23
R/style.R
23
R/style.R
|
|
@ -2,25 +2,8 @@
|
|||
#' @noRd
|
||||
custom_css <- function() {
|
||||
tags$head(
|
||||
tags$style(HTML(
|
||||
".nav-hidden { height: 0 }",
|
||||
".flow-layout > div {",
|
||||
" display: inline-block;",
|
||||
" vertical-align: top;",
|
||||
" margin-right: 12px;",
|
||||
"}",
|
||||
".container h2, .container h3 {",
|
||||
" margin-top: 64px;",
|
||||
"}",
|
||||
"",
|
||||
".container table {",
|
||||
" margin-top: 32px;",
|
||||
" margin-bottom: 32px;",
|
||||
"}",
|
||||
"",
|
||||
".container th, .container td {",
|
||||
" padding: 4px;",
|
||||
"}"
|
||||
))
|
||||
tags$style(HTML(includeText(
|
||||
system.file("content", "style.css", package = "ubigen")
|
||||
)))
|
||||
)
|
||||
}
|
||||
|
|
|
|||
4
R/ui.R
4
R/ui.R
|
|
@ -16,9 +16,9 @@ ui <- function(custom_dataset = NULL) {
|
|||
sidebarLayout(
|
||||
sidebarPanel(
|
||||
width = 3,
|
||||
h3("Your genes"),
|
||||
h5("Your genes"),
|
||||
gene_selector_ui("custom_genes"),
|
||||
h3("Method"),
|
||||
h5("Method"),
|
||||
selectInput(
|
||||
"dataset",
|
||||
label = strong("Expression dataset"),
|
||||
|
|
|
|||
34
inst/content/style.css
Normal file
34
inst/content/style.css
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
.nav-hidden {
|
||||
height: 0
|
||||
}
|
||||
|
||||
h5 {
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.flow-layout>div {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.container h2,
|
||||
.container h3 {
|
||||
margin-top: 64px;
|
||||
}
|
||||
|
||||
.container table {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.container th,
|
||||
.container td {
|
||||
padding: 4px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue