I finally found the answer (long and hard, but always nice: D)
One of my friends (thank you, my friend !!!) shows me how to display all the CSS options of each element of a web page (and especially a shiny page: go to the corresponding page and right-click, something like "examine the element "!!
So amazing !!
Then I look deeper (very very deeper, so many classes !!), and I managed to access any css parameter from the boxes!
Here is the code for the following people:
library(shiny) library(shinydashboard) ui <- dashboardPage( dashboardHeader(), dashboardSidebar(), dashboardBody( tags$style(HTML(" .box.box-solid.box-primary>.box-header { color:#fff; background:#666666 } .box.box-solid.box-primary{ border-bottom-color:#666666; border-left-color:#666666; border-right-color:#666666; border-top-color:#666666; } ")), fluidRow( box(width = 6, title = "youhou", status = "primary", solidHeader = TRUE, "Box content" ) ) ) ) server <- function(input, output) {} shinyApp(ui, server)
Have a good weekend!
Greetings!
source share