Templates using the Yahoo Grids CSS UI Library (YUI) ...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by wesyah234 »

Has anyone created any templates using the Yahoo UI Grids CSS libraries?  This library, along with their Fonts library, looks like a great starting point for an easily modifiable cmsms template.  If one was created, it could be included as one of the standard templates in the installation of CMSMS.

main documentation:
http://developer.yahoo.com/yui/grids/

a nice example writeup:
http://24ways.org/2006/intricate-fluid-layouts
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by kermit »

not using the grids here... yet

but i am really starting to like the 'reset' and 'fonts' part of 'reset-fonts-grids.css'

for those who don't know what that is, it's a foundation to put at the start of your css to completely wipe the slate clean & level the playing field...

Code: Select all

/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.0
*/
/*reset.css*/body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;}
/*fonts.css*/body{font:13px arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}pre, code {font:115% monospace;*font-size:100%;}body * {line-height:1.22em;}
try it, you'll like it. ;)
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
heatherfeuer

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by heatherfeuer »

Kermit,

Thanks for the links!  That is so a way cool tool!!  Just think what that could do for online newsletters!  Complicated layouts like you can get in print AND do it all without a single table!
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by wesyah234 »

Interesting thing I just noticed about the reset css is that ul / li tags get reset too, so your lists look like nothing, until you set them to the look you want...

I have a template going now in cmsms that uses the yahoo css layouts... I'll post it if anyone's interested.
cyberman

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by cyberman »

wesyah234 wrote: I'll post it if anyone's interested.
Great idea - please do it here

http://themes.cmsmadesimple.org/Share_a_Theme.html
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by wesyah234 »

What to upload?  the xml file created by the theme exporter?
cyberman

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by cyberman »

Yep. You can zip it too. Maybe a short readme.txt inside could useful.
wesyah234
Forum Members
Forum Members
Posts: 60
Joined: Tue Mar 07, 2006 4:30 am

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by wesyah234 »

Actually, it isn't much at all... yahoo lets you fetch the css right from their server, if you want, so the only css you need is your own styling.

I'll just post the main template source here:

I used global content blocks for the header, footer, and side navigation area.

I also just used a basic menu template that outputted UL/LI's for each content page, no cascading menus.



{sitename} - {title}
{metadata}

{stylesheet}



 
   
      {global_content name='header'}
   
   
     
       
         
            {content}
         
       
     
     
       
         
            {menu template="basic"}
         
          {global_content name='side'}
       
     
   
   
      {global_content name='footer'}
   
 


cyberman

Re: Templates using the Yahoo Grids CSS UI Library (YUI) ...

Post by cyberman »

wesyah234 wrote: I also just used a basic menu template that outputted UL/LI's for each content page, no cascading menus.
Thanks - can you post content of basic menu template for all (newbies) too?
Last edited by cyberman on Tue Mar 20, 2007 5:34 am, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”