Print styles don't override default styles properly

Created on 24 September 2015, over 9 years ago
Updated 3 June 2025, 4 days ago

Problem/Motivation

Some of the print styles have no effect and some of them are incomplete.

Proposed resolution

Print.css is currently in the "base" category which makes it one of the first css files to be included in the page. We should move it to "theme" category to make it one of the last css files. This way the all the print styles are able to override the default styles properly.

In addition, message styles and button styles need some additions/changes to make them look nice cross-browser.

Remaining tasks

  • Write patch (done)
  • Review random test failure (done, re-test)
  • Review patch
  • Added screenshots (done)

User interface changes

Screenshots are from OSX Chrome. I have tested the changes on multiple different browsers on OSX and Win7.

Before:

After:

API changes

None.

Data model changes

None.

Why this should be an RC target

This change allows the css to be overridden correctly for the seven theme. It also makes the print.css location consistent with bartik theme in the yml file.

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇹🇭Thailand juhog

Live updates comments and jobs are added and updated live.
  • CSS

    It involves the content or handling of Cascading Style Sheets.

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