Refactor/overhaul drupal stylesheets

Created on 25 September 2007, over 17 years ago
Updated 7 April 2024, 9 months ago

For Drupal 7 we should:
- add correct cross-browser defaults to some (new?) stylesheet (margin/padding/font-size/line-height of body, h*, ul, ol, li.*, dl, dt, dd, p, code, pre, strong, em, whatever);
- make the specification to id's and classes in our module stylesheets, less specificy;
- finally get some good defaults for unordered lists and it's list items, the way it is atm isn't the way to go;
- get consistent margins/paddings in lists and get rid of the inconsistent margin/padding used in the container-div from theme_*_list();
- document our stylesheets better and separate the code using sections;
- maybe even split the current stylesheets in functionality (we can't use drupal without this?) and presentation (fancy things, like colors);

If we succeed in adding the first item above - adding correct cross-browser defaults for the various elements - *a lot* of our stylesheet code could be removed, which will bring us advantages as: smaller stylesheets, a tad faster page building and it would be easier to themers to adjust the themes to their likings.

Steven, Merlinofchaos, and all other great themers we have out there share our opinion please, and discuss...

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Theme 

Last updated about 1 hour ago

Created by

🇳🇱Netherlands Stefan Nagtegaal

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

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

  • 🇳🇿New Zealand quietone

    There has been no discussion here for 9 years and the last comment suggests that this has been fixed in Drupal 8. And in the intervening years there have been significant changes in the theme system and a new theme and admin theme.

    Therefor I am closing this as outdated.

Production build 0.71.5 2024