html侧边栏一列统一颜色,css – 更改R Shiny中的侧边栏菜单项颜色

任何人都可以让我知道标签名称来改变蓝线的颜色(请参阅闪亮仪表板中menuItem中的图像.这是更改侧边栏菜单项的bg颜色的代码.

.skin-blue .main-sidebar .sidebar .sidebar-menu .active a{

background-color: rgb(107,194,0);

color: rgb(255,255,255);font-weight: bold;font-size: 18px;

}

同样,寻找自定义蓝线的颜色也是如此

编辑:添加完整代码 – 所有其他部分颜色已经定制除了蓝线.

library(shiny)

library(shinydashboard)

ui logo */

.skin-blue .main-header .logo {

background-color: rgb(255,255); color: rgb(0,144,197);

font-weight: bold;font-size: 24px;text-align: Right;

}

/* logo when hovered */

.skin-blue .main-header .logo:hover {

background-color: rgb(255,255);

}

/* navbar (rest of the header) */

.skin-blue .main-header .navbar {

background-color: rgb(255,255);

}

/* main sidebar */

.skin-blue .main-sidebar {

background-color: rgb(255,125,125);;

}

# /* main body */

# .skin-blue .main-body {

# background-color: rgb(0,197);

# }

/* active selected tab in the sidebarmenu */

.skin-blue .main-sidebar .sidebar .sidebar-menu .active a{

background-color: rgb(107,0);

color: rgb(255,255);font-weight: bold;font-size: 18px;

}

/* other links in the sidebarmenu */

.skin-blue .main-sidebar .sidebar .sidebar-menu a{

background-color: rgb(255,125);

color: rgb(255,255);font-weight: bold;

}

/* other links in the sidebarmenu when hovered */

.skin-blue .main-sidebar .sidebar .sidebar-menu a:hover{

background-color: rgb(232,245,251);color: rgb(0,197);font-weight: bold;

}

/* toggle button color */

.skin-blue .main-header .navbar .sidebar-toggle{

background-color: rgb(255,255);color:rgb(0,197);

}

/* toggle button when hovered */

.skin-blue .main-header .navbar .sidebar-toggle:hover{

background-color: rgb(0,197);color:rgb(255,255);

}

# ')))

))

server

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值