Problem/Motivation
Part of #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 Tourmodule does not yet follow the guidelines.
Proposed resolution
css/tour.css to css/tour.module.css
css/tour-rtl.css to css/tour.module-rtl.css
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 tour.module's CSS files will have new names.
By akmalfikri and Gomez_in_the_South
Comment | File | Size | Author |
---|---|---|---|
#15 | 1981074-tour-css-15.patch | 854 bytes | mtift |
#14 | 1981074-tour-css-14.patch | 410 bytes | chaz.chumley |
#10 | 1981074-tour-css-fixed.patch | 854 bytes | Kevin Morse |
#1 | 1981074-tour-css.patch | 3.5 KB | Gomez_in_the_South |
Comments
Comment #1
Gomez_in_the_South CreditAttribution: Gomez_in_the_South commentedFind patch attached.
Comment #2
akmalfikri CreditAttribution: akmalfikri commentedI reviewed the patch in #1 and the CSS is being added to Drupal from its new location with its new name. It is RTBC from me, waiting for testbot to complete review.
Comment #3
Gomez_in_the_South CreditAttribution: Gomez_in_the_South commentedReviewed and tested.
Comment #4
Shyamala CreditAttribution: Shyamala commentedTagging
Comment #5
Shyamala CreditAttribution: Shyamala commented@Gomez_in_the_South thanks for the work!
The testing & change in status to RTBC cannot be done by the person who posted the patch.
Changing status to Needs Review to have someone else review it.
Comment #6
Shyamala CreditAttribution: Shyamala commentedchanging status back to needs review
Comment #7
izus CreditAttribution: izus commentedHi,
I reviewd #1 and it lokks good for me.
Thanks
Comment #8
tim.plunkettThis needs to be rerolled with proper git configuration: http://drupal.org/documentation/git/configure
Comment #9
tim.plunkettComment #10
Kevin Morse CreditAttribution: Kevin Morse commentedShould be good. I copied the git config and it uses rename instead of add and delete
Comment #11
Shyamala CreditAttribution: Shyamala commentedCreated a single issue to rename all css files at: #1987066: Rename files to match CSS file naming convention based on request by webchick to make review easier. Thanks everyone on this issue, looking to your continued participation in the new issue.
Refer: http://drupal.org/node/1921610#comment-7375894
Comment #12
JohnAlbinSorry for the delay in reviewing these patches. My bronchitis flared up and I've been too sick until this week to get back into the issue queue.
Lots of discussions have happened in the interim. We just held a D8 Mobile Initiative meeting on Google+: https://plus.google.com/u/1/events/c0knva4lgh4vot0nun5lbfel9fc where we decided that we could make the CSS re-archicture work move faster by moving the work into a sandbox git repository. Then we could commit lots of little issues to the sandbox and roll larger, more-complete patches into Drupal 8’s issue queue. (per webchick's request)
So you're work is not lost! I'm moving this issue to the Mobile Initiative sandbox. :-)
Comment #13
chaz.chumley CreditAttribution: chaz.chumley commentedWorking on at DrupalCon Sprint
Comment #14
chaz.chumley CreditAttribution: chaz.chumley commentedUploaded new patch based on SMACSS and file naming convention
Comment #15
mtiftThis was missing the tour.module.css namechange
Comment #16
echoz CreditAttribution: echoz commentedComment #17
JohnAlbinCommitted to the sandbox! Thanks!
Comment #18.0
(not verified) CreditAttribution: commentedformatting + steps for testing