如何更改闪亮仪表板标题的背景颜色?

时间:2021-01-21 12:51:34

标签: r shiny background-color shinydashboard dashboardheader

我想要一个带有白色背景的薄而空的仪表板标题。隐藏菜单的三行是黑色的。我设法调整了标题的高度和宽度,但没有调整颜色。我可以在不使用主题的情况下调整标题颜色吗?

dashboardHeader(
      titleWidth = 260, 
      tags$li(class = "dropdown",
              tags$style(".main-header {max-height: 20px}"),
              tags$style(".main-header .logo {height: 20px;}"),
              tags$style(".sidebar-toggle {height: 20px; padding-top: 1px !important;}"),
              tags$style(".navbar {min-height:20px !important}")
      )
      )

0 个答案:

没有答案