Bartik overrides unpublished style from node.css

Created on 29 November 2012, over 12 years ago
Updated 18 July 2024, 12 months ago

The Bartik theme removes the visual indicator (pink background) for unpublished nodes.

node.css has a .node-unpublished style (line 2):

.node-unpublished { 
  background-color: #FFF4F4;
}

That is overwritten by bartik's style.css when the class "node-full" is present (line 605):

.node-full {
  background: none repeat scroll 0 0 transparent;
  ...
}

I added the following style to a custom stylesheet:

.node-full.node-unpublished {
  background-color: #FFF4F4;
}

Would this be a reasonable addition to bartik's style.css?

🐛 Bug report
Status

Needs review

Version

7.0 ⚰️

Component

Bartik theme

Created by

🇺🇸United States _vid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024