? ninesixty-613072.patch Index: README.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/themes/ninesixty/README.txt,v retrieving revision 1.2.2.2 diff -u -p -r1.2.2.2 README.txt --- README.txt 20 Jun 2009 19:25:54 -0000 1.2.2.2 +++ README.txt 20 Apr 2010 22:47:56 -0000 @@ -35,16 +35,22 @@ Modifications: coding standards. Tabs were removed for double spaces and underscores changed to hyphens. -- Additional .push-x and .pull-x classes have been added. +- Additional .push-x and .pull-x classes have been added. Note that these + classes have been incorporated back into the main 960.gs distribution. - Right-to-left languages are supported. It's not part of the 960 download. It has been extended to support Drupal's rtl language system. -- Removed ".clear-fix" and ".clear" classes from 960.css. Drupal works with - ".clear-block" which uses the same technique used in .clear-fix. The .clear - class on the other hand is too commonly used as a class name and the - properties can cause confusion since anything with that property will - disappear. A standard
tag can be used in its place. +- Altered the ".clear" class from 960.gs. It can now be applied to block level + elements that contain child elements. The intended use of the class in 960.gs + is to clear floats by applying them to elements which contain no children. + The same effect can be accomplished with line-breaks and the .clear class. + + Example: +
+ + More information about the use of the .clear class can by 960.gs: + http://sonspring.com/journal/clearing-floats - Removed the "outline:0;" rule from reset.css. Adding it back manually prevents OS specific outline styles from being used. Specifically Webkit and @@ -58,16 +64,34 @@ Modifications: Notes and rules to play nice with the grids: - The class .container-[N] ([N] being a numeric value) is a subdivision of the - overall width (960 pixels). It can either be .container-12 or .container-16. - Depending on which is used, each grid unit (.grid-[N] class) will either be - in multiples of 80 pixels for 12 subdivisions or in multiple of 60 pixels for - 16 subdivisions. All grid blocks include a 10 pixel margin on the left and - right side. - -- Add a .show-grid class to the body tag to see the grid. It will add a - background graphic to guide you. This theme includes a printable sketch - sheet and templates for Photoshop and various other formats to guide you - from start to finish. See the "extras" folder within this theme. + overall width (960 pixels). It can be .container-12, .container-16 or + .container-24. Depending on which is used, each grid unit (.grid-[N] class) + will be in multiples of 80 pixels for 12 subdivisions, in multiples of 60 pixels + for 16 subdivisions or in multiples of 30 pixels for 24 subdivisions. Grid + columns include a 10 pixel margin on the left and right side for the 12 and 16 + columns and 5 pixel margins for the 24 columns. + +- You can enable different versions of the grid styles by setting a .info entry. + There are four versions. + + 1. 12 and 16 columns (default). + settings[960 columns] = 12+16 + + 2. 12 columns. + settings[960 columns] = 12 + + 3. 16 columns. + settings[960 columns] = 16 + + 4. 24 columns. + settings[960 columns] = 24 + +- NineSixty includes the same printable sketch sheet and templates for + Photoshop and various other formats from the 960.gs distribution. See the + "extras" folder within this theme. You can also enable a set of debugging + styles through the .info file with the following entry. + + settings[960 debug] = 1 - Do not add left or right margins or padding to anything that's assigned a grid class or it may throw off the alignment. @@ -128,9 +152,6 @@ To-dos: classes appropriately. This helper function must be as simple as possible to *work with*. -- Separate issue but this can help add grid classes easier. - Add $classes to hook templates: http://drupal.org/node/306358 - ============================================================================== Adding classes based on context: @@ -237,6 +258,5 @@ this issue for more information: http:// ============================================================================== -If you have any questions or suggestions. Please post in the group discussion. -http://groups.drupal.org/node/16457 or contact me @ joon at dvessel dot com. - +If you have any questions or suggestions. Please post in the issue queue for +NineSixty http://drupal.org/project/ninesixty. Index: ninesixty.info =================================================================== RCS file: /cvs/drupal-contrib/contributions/themes/ninesixty/ninesixty.info,v retrieving revision 1.1.2.3 diff -u -p -r1.1.2.3 ninesixty.info --- ninesixty.info 5 Jun 2009 17:52:14 -0000 1.1.2.3 +++ ninesixty.info 20 Apr 2010 22:47:56 -0000 @@ -6,11 +6,31 @@ screenshot = images/screenshot.png core = 6.x engine = phptemplate -; Stylesheets. Anything within the "framework" folder will be placed before all others. +; Stylesheets +; Anything within the "framework" folder will be placed before all others. stylesheets[all][] = styles/framework/reset.css stylesheets[all][] = styles/framework/text.css stylesheets[all][] = styles/framework/960.css -stylesheets[all][] = styles/framework/debug.css ; Theme specific styles. Any sub-themes should override this. stylesheets[all][] = styles/styles.css + +; Do not alter. This is only relevant to NineSixty. +css grid base = 960.css +css grid options[12+16] = 960.css +css grid options[12] = 960-12-col.css +css grid options[16] = 960-16-col.css +css grid options[24] = 960-24-col.css + +css grid debug = 960-debug.css + +; These settings can be overridden from sub-themes. +; "960 columns" setting allows the following. +; - "12+16" combined styles. This is the default. +; - "12" columns +; - "16" columns +; - "24" columns +settings[960 columns] = 12+16 + +; Enable/disable debug styles. +settings[960 debug] = 1 Index: page.tpl.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/themes/ninesixty/page.tpl.php,v retrieving revision 1.1.2.1 diff -u -p -r1.1.2.1 page.tpl.php --- page.tpl.php 24 Feb 2009 15:34:45 -0000 1.1.2.1 +++ page.tpl.php 20 Apr 2010 22:47:56 -0000 @@ -13,10 +13,10 @@ -
+
-