Closed (fixed)
Project:
Framework
Version:
5.x-1.9
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2008 at 19:26 UTC
Updated:
10 Aug 2008 at 08:52 UTC
I really like this theme but some of the formatting could use some work. Namely, the style.css is very inconsistent. I can't find any CSS standards but generally they seem to follow this guideline:
.classname {
font-weight: bold;
float: left;
}
Note the two space indent for the actual attributes.
Comments
Comment #1
andregriffin commentedI'm not sure what you mean by inconsistent. You may want to try understanding what each section actually is. Everything that a user would typically need to edit follows:
Everything else (starting with the CSS support classes) follows a different formatting to save file size, mainly because it is info that most users will not need to edit. The last line of the stylesheet is extremely compressed, for the same reason.
If you for some reason want a different formatting, you can easily process it with cleancss.com
Comment #2
brenda003Alright. I tend to disagree, as that's what CSS aggregation is for. Also, it seems most Drupal themes do in fact follow the convention of the two spaces for each property attribute. Comments format is also generally:
or
I'm not sure if there's "standards" set, but this seems the common convention and is a lot easier to read. I can supply a patch if desired, but it would essentially be for the whole file...
All in all, though, good base theme, thanks.
Comment #3
BioALIEN commentedAndre, I am going to have to agree with brenda003 on this one. I tend to follow the same Drupal coding standards when it comes to doing the html and css. File space savings are achieved via aggregation, caching and gzip.
Changing status to reflect the benefits vs time factor :)
Comment #4
andregriffin commentedComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.