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

Rename field CSS files to match new file naming convention

$
0
0

Problem/Motivation

#1921610: [Meta] Architect our CSS
The BAT (base-admin-theme) file organization we started to do in Drupal 8 was a fantastic idea. See http://drupal.org/node/1089868

It works really well, but its names conflict with the SMACSS categorization we're using in Drupal 8. "base" and "theme" means something else in SMACSS. So we just need to rename them.

The field module does not yet follow these guidelines.

Proposed resolution

field.css becomes field.module.css
field-rtl.css becomes field.module-rtl.css

In addition, since our template files are now in a templates sub-directory of a module, we should do the same for the CSS. Note that the toolbar, tour and views modules already do that.

This is part of the CSS standard described at http://drupal.org/node/1887922

Remaining tasks

Test if with this patch the CSS is being added to Drupal from its new location with its new name

User interface changes

none

API changes

The system.module's CSS files will have new names.


Viewing all articles
Browse latest Browse all 292970

Trending Articles



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