Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291165

Add drupal.base library for base CSS styles

$
0
0

Problem/Motivation

Our current CSS is a mish-mash of styles that don't follow the SMACSS categorization standards that are now part of our CSS standards. See http://drupal.org/node/1887918

Proposed resolution

We need to reoganize our styles so that they are loaded in this order:

  1. "Base" HTML element styling
  2. "Layout" styling
  3. Component styling and their associated state and skin styles
  4. Un-associated state styles
  5. Un-associated skin styles

This is the second step in a proposed solution outlined at #1921610: [Meta] Architect our CSS. In short, we are moving all of core's "base" HTML element styling into a library so that we can state "Modules must never have base HTML element styling".

Remaining tasks

This patch is blocked by #1924368: Rename old CSS constants to CSS_AGGREGATE_* and add new CSS weight constants.

After this issue's completion, we still have all the other steps outlined at #1921610: [Meta] Architect our CSS.

User interface changes

none

API changes

Adds a new drupal.base.css library that is loaded by default.


Viewing all articles
Browse latest Browse all 291165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>