0

I want the grey area (in the red circle in my screenshot) to be #000, but I can't find a good selector for it.

Google Sheets screenshot

Currently, the background blinks red for less than a second and then turns grey. I painted another area green to be sure my Stylish Chrome extension is working.

#docs-chrome {
  background: green;
}

#docs-edit-container, #docs-editor, .grid-container {
  background: red !important;
}

Spent 20 minutes in Devtools. I just can't find it. The DOM of Google Sheets is pretty complex.

Frizelbliz
  • 15
  • 6

1 Answers1

0

If you want to color the whole thing, then try

    .goog-inline-block.grid4-inner-container{
         background-color:red;
    }

The entire sheet uses a single class to change color, there is just one color: white, even in the unused area controlled by grid4-inner-container

Rocky
  • 45
  • 1
  • 6
  • 1
    This selector seems to match areas in front of, not behind the table. https://i.imgur.com/5DfI5VW.png The grey background is still there and the table is partially hidden behind a red rectangle. – Frizelbliz Apr 02 '21 at 03:59
  • I can't seem to replicate your issue on my end, the background color and cell color is by default white in my case, not gray. – Rocky Sep 20 '21 at 11:58