Closed (fixed)
Project:
ZURB Foundation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2013 at 09:40 UTC
Updated:
10 Jul 2013 at 14:40 UTC
Im using the latest dev-build.
As far as i can see we have the following .css files in the base-theme:
/css/app.css [ ? ]
/css/drupal.css [drupal overrides]
/css/foundation.css [foundation base styles]
/css/foundation.min.css [minified foundation base styles, can be switched in base-theme .info file]
and the starter-theme ships with
/css/custom.css [sub-theme styles] (although in its .info file it includes /css/drupal.css < This may be a typo.)
I'm not quite sure for what the app.css file is used for; in the latest dev it contains many of the styles found in foundation.css. And it seems as if these styles are loaded twice when i'm inspecting an element with firebug. Is this on purpose?
I'm wondering what app.css is used for?
Thanks for any clearification,
Frank
Comments
Comment #1
ishmael-sanchez commentedHi Frank,
Do you use sass at all? If you do look in the sass folder the app the app.scss folder pulls in the base styles. I see what you mean it is a bit unclear. I suppose we could dump the app.css in the base theme and just add a line/note in the info of the starter file to uncomment if you are using sass? Do you have any suggestions. The main goal is to support sass but not force it down every themers throat.
Comment #2
Knarf31 commentedHi ishmael,
thanks for replying. No, i don't use sass at all.
I'm not a pro in coding .html and .css but it is enough for basic sites.
So far i'm only using the custom.css in my sub-theme.
I'm quite happy with only using custom.css and your way of not forcing noobs like me to use sass.
My suggestion is keep it clean and simple in the starter-theme and add comments to use sass for pro's to uncomment.
Just like you said.
I'm still wondering about line 30/31 in \STARTER\starter.info:
because there is no drupal.css in \STARTER\css\
Shouldn't that say "stylesheets[all][] = css/*custom*.css" ?
Thanks for your work, i highly appreciate it!
Comment #3
Bcwald commentedI believe this to be an error. in the starter theme custom.css is given as a a blank css sheet to work with, not drupal.css (which is in the main framework). My guess is it was a copy over error.
Comment #4
chrisjlee commented@SweetCircus Yes you're right that would be this bug with the drush subtheme creation: #1907922: Drush Subtheme .info file doesn't include the renamed custom.css
@ishmael-sanchez Should we support an argument in our drush command to generate a sassified version? And our non-css friends can use a regular theme without sass files as well.
Comment #5
chrisjlee commentedIt's probably about time. so I started a book page. I'll slowly add documentation in as i have more time:
http://drupal.org/node/1928104
Comment #6
timani commentedThanks for starting that doc page chrisjlee.
Is there an outline of how the docs are to be structured or is that TBD?
If there is a general idea of the pages that are needed I could help out with the documentation.
Comment #7
chrisjlee commentedTimani27:
Good points. I think we can just start working on an outline here.
I'd like to hear your feedback as well:
Some things to consider would be also the versioning.
Comment #8
timani commentedYea, i think versioning will definitely be important especially as 4 gets better integrated. Maybe having the structure based on the version of the module or possibly another convention?:
Based on the initial outline, maybe some sub-sections within each top level group that should written up. Sections like Directory Structure i did not do anything on so feedback is needed:
Eventually getting a way to document best practices around how to integrate foundation elements.
Comment #9
chrisjlee commentedtimani:
Looks good to me. I like what you've done here. I don't really have many changes except maybe the scss settings file should be one page.
Also, we want to reinforce to users to rely on the Zurb documentation for certain things from gem installation, and updating it. Zurb foundation does a great job already with their gem installation documentation. Also would reminder users to use the zurb documentation as it's going to be updated more than ours.
Comment #10
timani commentedI created the basic pages and book structure.
Over the weekend I will be doing a couple of sprints so I will most probably start adding content to those pages too.
Comment #11
chrisjlee commentedThanks timani for the page updates. I went ahead and started to add in content. Looking for others to review it if they have a moment.
Comment #12
timani commentedLooking good. I will be back in the fold soon and can put in some work on the docs.
Also saw the update to foundation 4!
Comment #13
chrisjlee commentedGoing to declare this fixed for now. I did some edits to complete the documentation for the 1.x branch. Will now need to move toward the 4.x Branch #2028753: [META] Zurb Foundation Drupal 4.x Documentation
Comment #14
chrisjlee commented