How can we change the color of the icon in the upper right corner that hides and displays dashboardControlbar() in shinydashboardPlus()?
## app.R ##
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
ui <- dashboardPage(
dashboardHeader(
),
dashboardSidebar(),
dashboardBody(
),
controlbar = dashboardControlbar()
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
ui <- dashboardPage(
dashboardHeader(
),
dashboardSidebar(),
dashboardBody(
tags$head(
tags$style(
HTML(
"[data-toggle=control-sidebar] {
color: red !important;
}"
)
)
)
),
controlbar = dashboardControlbar()
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.