Hi, I have my new site under drupal and I have my themes. I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use. Forum use some ID, node use other, form user another one, etc etc etc.
Tnx.
Hi, I have my new site under drupal and I have my themes. I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use. Forum use some ID, node use other, form user another one, etc etc etc.
We've hidden these docs under the "View Source" command of your browser.
On 5/3/06, Morbus Iff morbus@disobey.com wrote:
Hi, I have my new site under drupal and I have my themes. I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use. Forum use some ID, node use other, form user another one, etc etc etc.
We've hidden these docs under the "View Source" command of your browser.
;) You may also find this Drupal CSS analysis useful as a reference: http://urbits.com/_/content/20060406/drupal_article01.php
Regards, Dan
-- Dan Karran dan@karran.net www.dankarran.com
Dan Karran ha scritto:
;) You may also find this Drupal CSS analysis useful as a reference: http://urbits.com/_/content/20060406/drupal_article01.php
Perfect. TNX.
Morbus Iff ha scritto:
We've hidden these docs under the "View Source" command of your browser.
ah ah ah.
M.
michel ziobudda morelli wrote:
I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use.
Currently they come from too many places to document easily. You have to remember that Drupal core, contrib modules and themes can all define their own id's and classes, any list is therefore specific to each site.
This is something I think everyone agrees needs to be addressed - maybe it'll be cleaner in 5.0 :)
For now you'll just have to use the right tools, for Firefox the following extensions will help:
DOM Inspector http://www.mozilla.org/projects/inspector/
Web Developer Toolbar http://chrispederick.com/work/webdeveloper/
Firebug http://www.joehewitt.com/software/firebug/
CSSViewer https://addons.mozilla.org/extensions/moreinfo.php?id=2104&application=f...
View Rendered Source Chart http://jennifermadden.com/scripts/ViewRenderedSource.html
Aardvark http://karmatics.com/aardvark/
X-Ray http://www.designmeme.com/xray/
If you want a Drupal based tool take a look at my Themedev module: http://drupal.org/project/themedev
And if you're on OSX tools like Xylescope can be very helpful: http://www.culturedcode.com/xyle/
In fact since I registered Xylescope a few days ago I think Themedev.module development will now cease.
There was a push for this sometime ago.
Here is the discussion http://drupal.org/node/16220
Reviving this would be great.
I've been thinking lately that it might make a lot more sense to create a module or script that searches through themes and pulls out the structure into a simple hierarchical list. This way there are no stifling limitations on what theme designers can use.
The other direction I was going in was with a php script that would theme common elements by searching and replacing special tags within a CSS file. This method would basically require the theme developer or someone else to create a separate markup version of the css files that could be fed into this theme designer. The markup would then be replaced with clean, valid, CSS; plus there would be a common markup language that would could be interpreted by designers any way they wish. Unfortunately the site that I had a test script on went kerblooie and I also lost it on my personal computer. So at this point it's just an idea.
Erik (chromatic)
Khalid B wrote:
There was a push for this sometime ago.
Here is the discussion http://drupal.org/node/16220
Reviving this would be great. _______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
-----Original Message----- [mailto:themes-bounces@drupal.org] On Behalf Of Erik Mallinson Sent: Wednesday, May 03, 2006 11:39 AM
I've been thinking lately that it might make a lot more sense to create a module or script that searches through themes and pulls out the structure into a simple hierarchical list. This way there are no stifling limitations on what theme designers can use.
I don't know about anyone else, but I would LOVE to have a module such as this.
-jeremy
Don't forget Mouseover Dom! http://slayeroffice.com/tools/modi/v2.0/modi_help.html
Adrian Simmons wrote:
michel ziobudda morelli wrote:
I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use.
Currently they come from too many places to document easily. You have to remember that Drupal core, contrib modules and themes can all define their own id's and classes, any list is therefore specific to each site.
This is something I think everyone agrees needs to be addressed - maybe it'll be cleaner in 5.0 :)
For now you'll just have to use the right tools, for Firefox the following extensions will help:
DOM Inspector http://www.mozilla.org/projects/inspector/
Web Developer Toolbar http://chrispederick.com/work/webdeveloper/
Firebug http://www.joehewitt.com/software/firebug/
CSSViewer https://addons.mozilla.org/extensions/moreinfo.php?id=2104&application=f...
View Rendered Source Chart http://jennifermadden.com/scripts/ViewRenderedSource.html
Aardvark http://karmatics.com/aardvark/
X-Ray http://www.designmeme.com/xray/
If you want a Drupal based tool take a look at my Themedev module: http://drupal.org/project/themedev
And if you're on OSX tools like Xylescope can be very helpful: http://www.culturedcode.com/xyle/
In fact since I registered Xylescope a few days ago I think Themedev.module development will now cease.
I don't know if this is of any help to anyone but I thought I'd offer them just in case:
A while back, I took all the CSS from box_grey and drupal.css and blanked out all the values and took out all the duplicates. I had this idea of organizing it all into a documented page but never got there. It's based on Drupal 4.6, so it's a bit out of date, but maybe it's useful to someone.
Michelle
----- Original Message ----- From: "michel ziobudda morelli" michel@ziobudda.net To: "A list for theme developers" themes@drupal.org Sent: Wednesday, May 03, 2006 4:50 AM Subject: [themes] List of ID and Class
Hi, I have my new site under drupal and I have my themes. I want to know if exist a page ora a document that say me which are the ID and the Class CSS that drupal use. Forum use some ID, node use other, form user another one, etc etc etc.
Tnx.
-- Michel 'ZioBudda' Morelli michel@ziobudda.net http://www.ziobudda.net ICQ: 58351764 http://www.phpbook.it FAX: 0291390660 http://www.ajaxblog.it TEL: 3939890025 _______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes