From: preecej Date: Thu, 2 Feb 2012 21:23:36 +0000 (+0000) Subject: New themes for the Jaiswal Lab site, provided by OSU CWS in Jan 2012. X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=7db7515c47abf3c621512028ead8e1e351a31eaf;p=old-jaiswallab-svn%2F.git New themes for the Jaiswal Lab site, provided by OSU CWS in Jan 2012. Not dependent on CWS, will branch and modify/debug locally only as needed. Note: Standard and Confident themes each have dependencies on OSU Drupal 1_11 theme. All must be present in Drupal instance for proper operation. svn path=/; revision=293 --- diff --git a/lab_site_themes/osu_confident/blue.css b/lab_site_themes/osu_confident/blue.css new file mode 100644 index 0000000..603d787 --- /dev/null +++ b/lab_site_themes/osu_confident/blue.css @@ -0,0 +1,92 @@ +h1 a, +h1 a:hover { + color:#6b859e; +} + +#main h2 { + color:#4e6172; +} + +table th { + border-top-color:#6b859e; +} + +#osu-top-hat { + border-bottom-color:#6b859e; +} + +#pre-content img { + border-color:#6b859e; +} + +#sidebar-right h2 { + color:#fff; + background-color:#6b859e; +} + +#sidebar-right a, +#sidebar-right li a { + color:#fff; +} + +#sidebar-right .content { + color:#fff; + background-color:#6b859e; +} + +#sidebar-right .block-book .content { + background-color:transparent; +} + +#social-media h2 { + color:#d85a1a; + background:none; +} + +#social-media .content { + color:#000; + background-color:transparent; +} + +#sidebar-left .menu li.collapsed, +#sidebar-left .menu li.leaf { + list-style-image:url(images/blue/menu-collapsed.gif); +} + +#sidebar-left .menu li.expanded { + list-style-image:url(images/blue/menu-expanded.gif); +} + +#ft { + border-top-color:#6b859e; +} + +/* nice menus css */ +#sidebar-right ul.nice-menu li, #sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent, +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, +#sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over { + background-color:#6B859E; +} + +#sidebar-right ul.nice-menu ul { + border-color:#6B859E; +} + +#sidebar-right ul.nice-menu-left li ul, #sidebar-right ul.nice-menu-left li ul li ul { + left:-12.5em;; +} + +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, #sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over, +#sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent { + background:#6B859E url(images/arrow-left-white.png) no-repeat scroll left center; +} + +#sidebar-right ul.nice-menu-right li.menuparent:hover, #sidebar-right ul.nice-menu-right li.over, #sidebar-right ul.nice-menu-right li li.menuparent:hover, #sidebar-right ul.nice-menu-right li li.over, +#sidebar-right ul.nice-menu-right li.menuparent, #sidebar-right ul.nice-menu-right li li.menuparent{ + background:#6B859E url(images/arrow-right-white.png) right center no-repeat; +} + +#sidebar-right ul.nice-menu-down li.menuparent:hover, #sidebar-right ul.nice-menu-down li.over, #sidebar-right ul.nice-menu-down li li.menuparent:hover, #sidebar-right ul.nice-menu-down li li.over, +#sidebar-right ul.nice-menu-down li.menuparent{ + background:#6B859E url(images/arrow-down-white.png) right center no-repeat; +} diff --git a/lab_site_themes/osu_confident/chocolate.css b/lab_site_themes/osu_confident/chocolate.css new file mode 100644 index 0000000..c9afff9 --- /dev/null +++ b/lab_site_themes/osu_confident/chocolate.css @@ -0,0 +1,92 @@ +h1 a, +h1 a:hover { + color:#615042; +} + +#main h2 { + color:#615042; +} + +table th { + border-top-color:#615042; +} + +#osu-top-hat { + border-bottom-color:#615042; +} + +#pre-content img { + border-color:#615042; +} + +#sidebar-right h2 { + color:#fff; + background-color:#615042; +} + +#sidebar-right a, +#sidebar-right li a { + color:#fff; +} + +#sidebar-right .content { + color:#fff; + background-color:#615042; +} + +#sidebar-right .block-book .content { + background-color:transparent; +} + +#social-media h2 { + color:#d85a1a; + background:none; +} + +#social-media .content { + color:#000; + background-color:transparent; +} + +#sidebar-left .menu li.collapsed, +#sidebar-left .menu li.leaf { + list-style-image:url(images/chocolate/menu-collapsed.gif); +} + +#sidebar-left .menu li.expanded { + list-style-image:url(images/chocolate/menu-expanded.gif); +} + +#ft { + border-top-color:#615042; +} + +/* nice menus css */ +#sidebar-right ul.nice-menu li, #sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent, +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, +#sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over { + background-color:#615042; +} + +#sidebar-right ul.nice-menu ul { + border-color:#615042; +} + +#sidebar-right ul.nice-menu-left li ul, #sidebar-right ul.nice-menu-left li ul li ul { + left:-12.5em; +} + +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, #sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over, +#sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent { + background:#615042 url(images/arrow-left-white.png) no-repeat scroll left center; +} + +#sidebar-right ul.nice-menu-right li.menuparent:hover, #sidebar-right ul.nice-menu-right li.over, #sidebar-right ul.nice-menu-right li li.menuparent:hover, #sidebar-right ul.nice-menu-right li li.over, +#sidebar-right ul.nice-menu-right li.menuparent, #sidebar-right ul.nice-menu-right li li.menuparent{ + background:#615042 url(images/arrow-right-white.png) right center no-repeat; +} + +#sidebar-right ul.nice-menu-down li.menuparent:hover, #sidebar-right ul.nice-menu-down li.over, #sidebar-right ul.nice-menu-down li li.menuparent:hover, #sidebar-right ul.nice-menu-down li li.over, +#sidebar-right ul.nice-menu-down li.menuparent{ + background:#615042 url(images/arrow-down-white.png) right center no-repeat; +} diff --git a/lab_site_themes/osu_confident/favicon.ico b/lab_site_themes/osu_confident/favicon.ico new file mode 100644 index 0000000..27dea8a Binary files /dev/null and b/lab_site_themes/osu_confident/favicon.ico differ diff --git a/lab_site_themes/osu_confident/ie.css b/lab_site_themes/osu_confident/ie.css new file mode 100644 index 0000000..e69de29 diff --git a/lab_site_themes/osu_confident/iepngfix/blank.gif b/lab_site_themes/osu_confident/iepngfix/blank.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/blank.gif differ diff --git a/lab_site_themes/osu_confident/iepngfix/checkerboard.gif b/lab_site_themes/osu_confident/iepngfix/checkerboard.gif new file mode 100644 index 0000000..551c5b8 Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/checkerboard.gif differ diff --git a/lab_site_themes/osu_confident/iepngfix/helix.gif b/lab_site_themes/osu_confident/iepngfix/helix.gif new file mode 100644 index 0000000..7128319 Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/helix.gif differ diff --git a/lab_site_themes/osu_confident/iepngfix/iepngfix.htc b/lab_site_themes/osu_confident/iepngfix/iepngfix.htc new file mode 100644 index 0000000..6e5de83 --- /dev/null +++ b/lab_site_themes/osu_confident/iepngfix/iepngfix.htc @@ -0,0 +1,102 @@ + + + + + diff --git a/lab_site_themes/osu_confident/iepngfix/iepngfix.html b/lab_site_themes/osu_confident/iepngfix/iepngfix.html new file mode 100644 index 0000000..675ac16 --- /dev/null +++ b/lab_site_themes/osu_confident/iepngfix/iepngfix.html @@ -0,0 +1,462 @@ + + + + + IE PNG Alpha Fix Demonstration + + + + + + + + + + + + + + + + + + +
+ +

Demo:

+ + + + +

REGULAR IMAGE TAG

+ Opacity demo + +

BACKGROUND IMAGE

+
+ GIF + | + PNG 1 + | + PNG 2 + | + None +
+ +

IMAGE DROPSHADOW

+

(PNG background behind GIF/JPEG)

+ Helix + +

INLINE LINK

+ Here's some inline link text. + +

INPUT TYPE=IMAGE

+
+ +
+ +

CLASSNAME CHANGE

+
+ +

Self-test debugging:

+ Click here to test. + + +
+ + +

What is this?

+

This is a IE5.5+ "behavior" that automatically adds near-native PNG support to +MSIE 5.5 and 6.0 without any changes to the HTML document itself. Supported features +include:

+ + + +

How To Use

+

Follow these simple steps to add this to your page:

+
    +
  1. Copy and paste iepngfix.htc and blank.gif into + your website folder.
  2. +
  3. Copy and paste this into your website's CSS or HTML: +
    + + <style type="text/css">
    + img, div { behavior: url(iepngfix.htc) }
    + </style> +
    +
    + That CSS selector must include the tags/elements on which you want PNG + support -- basically, give it a comma-separated list of tags you use. + It must also include the correct path to the .HTC relative to the HTML + document location (not relative to the CSS document!). For instance, + yours may look like this: +
    + + <style type="text/css">
    + img, div, a, input { behavior: url(/css/resources/iepngfix.htc) }
    + </style> +
    +
    +
  4. +
  5. If your site uses subfolders, open the .HTC file in a text editor like + Windows Notepad and change the blankImg variable to include + a correct path to blank.gif like so: +
    + + var blankImg = '/images/blank.gif'; + +
    + Again the path is relative to the HTML file. + Otherwise, you will see a "broken image" graphic!
  6. +
  7. Sit back and enjoy! Perhaps consider making a + donation to support this script's + development if you like what you see, as I have spent hundreds of hours + developing, testing and supporting it :). Alternatively, I would certainly + appreciate a crediting link on your site back to mine!
  8. +
+ +

If you are interested in more details or an alternative activation method +for the script that maintains CSS validation compatibility, see the source +code to this demonstration file.

+ +

How to fix common problems

+
+
I've pasted in the CSS but my PNGs aren't transparent!
+
Make sure you remember that the path to the HTC file is relative to the HTML + file, not the CSS file (like CSS background images are). If you want to test the + path, insert this: alert('This works!'); into the .HTC file.
+
It works offline but not online.
+
First try unzipping this default demonstration and uploading to your web + server as-is. If it doesn't work, you may have a MIME type problem. + You must ensure your server is sending the correct MIME type of "text/x-component" + for .HTC files. Try one of these two easy fixes: +
    +
  1. Upload the ".htaccess" file from within this script's download ZIP to your + webserver, which will make Apache send the correct MIME type.
  2. +
  3. Instead of calling "IEPNGFIX.HTC" from your CSS, upload IEPNGFIX.PHP to + the same folder and call that instead, which also sends the right MIME type.
  4. +
+
+
My PNGs are transparent but have a funny border or red "X" icon.
+
Check that the blankImg variable is set correctly in the .HTC + file, again this should be relative to the HTML document containing the PNGs.
+
Images are distorted, or this script breaks my page layout.
+
When applied to images without set dimensions, this script will try and + "guess" the correct image size and apply that. If it gets it wrong, give + your images a definite width and height.
+
Links or form elements within a PNG'd element aren't clickable.
+
Due to an IE bug, if you are putting links within an element with a transparent + background, the element must not have a CSS relative/absolute position. + Otherwise the links will likely be un-clickable. The script will warn you with + a popup alert dialog if this occurs. There is an excellent article on + PNG filters + and links you might want to read if you are a CSS expert that contains + more info and workarounds.
+
It works, but breaks another application like Google Maps on my page.
+
You'll need to stop applying this behavior to the third-party element that + presumably contains its own PNG fix. Try making your CSS selector more specific, + or put a manual override for the element in your CSS like so: + * html div#map img { behavior: none; }
+
I have IE6 installed "alongside" IE7+, and this script fails.
+
Either try on a computer with IE6 installed system-wide, or make sure + that you copy the required DLLs into your IE6 folder. You will need + dxtrans.dll and dxtmsft.dll for filter support, + try Googling for them or finding them on your Windows install CD. + Note that I can't support your setup here, sorry!
+
I have lots of images and page loading is slow.
+
With a lot of images, it can certainly slow down your page! Make sure + that you apply the script as narrowly as possible. Consider applying only to + elements of a particular CLASS perhaps, rather than all tags...
+
It still won't go.
+
Try running the self-test at the bottom of the list of demo images. + If that throws any errors, you'll know where to start fixing!
+
+ + +

Limitations and known isses with the script

+ + + +

License:

+
+

IE PNG Alpha Fix

+

(c) 2004-2008 Angus Turnbull http://www.twinhelix.com

+

This is licensed under the GNU LGPL, + version 2.1 or later.

+
+

If you want to link my site +or make a donation, you're more than welcome :).

+ + +

Tech Specs

+

IE5.5+ includes support for a DirectX +AlphaImageLoader +filter, that can take an element on the page and insert a correctly-rendered PNG +image inbetween the element's content and background. This script automatically +scans all IMG SRCs and element backgroundImages for .PNG files, and if it finds +them, it removes the regular image and substitutes this filter in place. See the +source if you want, but I've coded it quite compactly to keep download time down +to a minimum (at the expense of comprehensibility, sorry!).

+ + +

Changelog

+ + + + diff --git a/lab_site_themes/osu_confident/iepngfix/iepngfix.php b/lab_site_themes/osu_confident/iepngfix/iepngfix.php new file mode 100644 index 0000000..6b735c7 --- /dev/null +++ b/lab_site_themes/osu_confident/iepngfix/iepngfix.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/lab_site_themes/osu_confident/iepngfix/opacity.png b/lab_site_themes/osu_confident/iepngfix/opacity.png new file mode 100644 index 0000000..a0858b6 Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/opacity.png differ diff --git a/lab_site_themes/osu_confident/iepngfix/opacity2.png b/lab_site_themes/osu_confident/iepngfix/opacity2.png new file mode 100644 index 0000000..1967335 Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/opacity2.png differ diff --git a/lab_site_themes/osu_confident/iepngfix/shadow.png b/lab_site_themes/osu_confident/iepngfix/shadow.png new file mode 100644 index 0000000..8399b3f Binary files /dev/null and b/lab_site_themes/osu_confident/iepngfix/shadow.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-down-black.png b/lab_site_themes/osu_confident/images/arrow-down-black.png new file mode 100644 index 0000000..901f25e Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-down-black.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-down-white.png b/lab_site_themes/osu_confident/images/arrow-down-white.png new file mode 100644 index 0000000..260b0b7 Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-down-white.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-left-black.png b/lab_site_themes/osu_confident/images/arrow-left-black.png new file mode 100644 index 0000000..f1e39ff Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-left-black.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-left-white.png b/lab_site_themes/osu_confident/images/arrow-left-white.png new file mode 100644 index 0000000..aaf798b Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-left-white.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-right-black.png b/lab_site_themes/osu_confident/images/arrow-right-black.png new file mode 100644 index 0000000..634381f Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-right-black.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-right-white.png b/lab_site_themes/osu_confident/images/arrow-right-white.png new file mode 100644 index 0000000..4e7a4c9 Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-right-white.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-up-black.png b/lab_site_themes/osu_confident/images/arrow-up-black.png new file mode 100644 index 0000000..b9491b2 Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-up-black.png differ diff --git a/lab_site_themes/osu_confident/images/arrow-up-white.png b/lab_site_themes/osu_confident/images/arrow-up-white.png new file mode 100644 index 0000000..abf4f58 Binary files /dev/null and b/lab_site_themes/osu_confident/images/arrow-up-white.png differ diff --git a/lab_site_themes/osu_confident/images/bg_images/.gitignore b/lab_site_themes/osu_confident/images/bg_images/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/lab_site_themes/osu_confident/images/blue/menu-collapsed.gif b/lab_site_themes/osu_confident/images/blue/menu-collapsed.gif new file mode 100644 index 0000000..ae30f8d Binary files /dev/null and b/lab_site_themes/osu_confident/images/blue/menu-collapsed.gif differ diff --git a/lab_site_themes/osu_confident/images/blue/menu-expanded.gif b/lab_site_themes/osu_confident/images/blue/menu-expanded.gif new file mode 100755 index 0000000..0948c92 Binary files /dev/null and b/lab_site_themes/osu_confident/images/blue/menu-expanded.gif differ diff --git a/lab_site_themes/osu_confident/images/blue/menu-level2.gif b/lab_site_themes/osu_confident/images/blue/menu-level2.gif new file mode 100644 index 0000000..2667962 Binary files /dev/null and b/lab_site_themes/osu_confident/images/blue/menu-level2.gif differ diff --git a/lab_site_themes/osu_confident/images/carat.gif b/lab_site_themes/osu_confident/images/carat.gif new file mode 100644 index 0000000..e168d45 Binary files /dev/null and b/lab_site_themes/osu_confident/images/carat.gif differ diff --git a/lab_site_themes/osu_confident/images/chocolate/menu-collapsed.gif b/lab_site_themes/osu_confident/images/chocolate/menu-collapsed.gif new file mode 100644 index 0000000..48e45c9 Binary files /dev/null and b/lab_site_themes/osu_confident/images/chocolate/menu-collapsed.gif differ diff --git a/lab_site_themes/osu_confident/images/chocolate/menu-expanded.gif b/lab_site_themes/osu_confident/images/chocolate/menu-expanded.gif new file mode 100755 index 0000000..be5c4c3 Binary files /dev/null and b/lab_site_themes/osu_confident/images/chocolate/menu-expanded.gif differ diff --git a/lab_site_themes/osu_confident/images/chocolate/menu-level2.gif b/lab_site_themes/osu_confident/images/chocolate/menu-level2.gif new file mode 100644 index 0000000..2667962 Binary files /dev/null and b/lab_site_themes/osu_confident/images/chocolate/menu-level2.gif differ diff --git a/lab_site_themes/osu_confident/images/dotted-underline-hover.gif b/lab_site_themes/osu_confident/images/dotted-underline-hover.gif new file mode 100644 index 0000000..6511465 Binary files /dev/null and b/lab_site_themes/osu_confident/images/dotted-underline-hover.gif differ diff --git a/lab_site_themes/osu_confident/images/dotted-underline.gif b/lab_site_themes/osu_confident/images/dotted-underline.gif new file mode 100644 index 0000000..26186ca Binary files /dev/null and b/lab_site_themes/osu_confident/images/dotted-underline.gif differ diff --git a/lab_site_themes/osu_confident/images/footer-grad.png b/lab_site_themes/osu_confident/images/footer-grad.png new file mode 100644 index 0000000..c043078 Binary files /dev/null and b/lab_site_themes/osu_confident/images/footer-grad.png differ diff --git a/lab_site_themes/osu_confident/images/lines-bg.gif b/lab_site_themes/osu_confident/images/lines-bg.gif new file mode 100644 index 0000000..70f9d67 Binary files /dev/null and b/lab_site_themes/osu_confident/images/lines-bg.gif differ diff --git a/lab_site_themes/osu_confident/images/lines-bg.png b/lab_site_themes/osu_confident/images/lines-bg.png new file mode 100644 index 0000000..939a570 Binary files /dev/null and b/lab_site_themes/osu_confident/images/lines-bg.png differ diff --git a/lab_site_themes/osu_confident/images/lt-blue/.gitignore b/lab_site_themes/osu_confident/images/lt-blue/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/lab_site_themes/osu_confident/images/menu-level2.gif b/lab_site_themes/osu_confident/images/menu-level2.gif new file mode 100644 index 0000000..2667962 Binary files /dev/null and b/lab_site_themes/osu_confident/images/menu-level2.gif differ diff --git a/lab_site_themes/osu_confident/images/menu-level2.png b/lab_site_themes/osu_confident/images/menu-level2.png new file mode 100644 index 0000000..dd74404 Binary files /dev/null and b/lab_site_themes/osu_confident/images/menu-level2.png differ diff --git a/lab_site_themes/osu_confident/images/orange/menu-collapsed.gif b/lab_site_themes/osu_confident/images/orange/menu-collapsed.gif new file mode 100644 index 0000000..4b9a4e9 Binary files /dev/null and b/lab_site_themes/osu_confident/images/orange/menu-collapsed.gif differ diff --git a/lab_site_themes/osu_confident/images/orange/menu-expanded.gif b/lab_site_themes/osu_confident/images/orange/menu-expanded.gif new file mode 100755 index 0000000..5f6be2f Binary files /dev/null and b/lab_site_themes/osu_confident/images/orange/menu-expanded.gif differ diff --git a/lab_site_themes/osu_confident/images/orange/menu-level2.gif b/lab_site_themes/osu_confident/images/orange/menu-level2.gif new file mode 100644 index 0000000..2667962 Binary files /dev/null and b/lab_site_themes/osu_confident/images/orange/menu-level2.gif differ diff --git a/lab_site_themes/osu_confident/images/osu-tag.gif b/lab_site_themes/osu_confident/images/osu-tag.gif new file mode 100644 index 0000000..1785695 Binary files /dev/null and b/lab_site_themes/osu_confident/images/osu-tag.gif differ diff --git a/lab_site_themes/osu_confident/images/purple/menu-collapsed.gif b/lab_site_themes/osu_confident/images/purple/menu-collapsed.gif new file mode 100644 index 0000000..1a3bfb7 Binary files /dev/null and b/lab_site_themes/osu_confident/images/purple/menu-collapsed.gif differ diff --git a/lab_site_themes/osu_confident/images/purple/menu-expanded.gif b/lab_site_themes/osu_confident/images/purple/menu-expanded.gif new file mode 100644 index 0000000..a6a970d Binary files /dev/null and b/lab_site_themes/osu_confident/images/purple/menu-expanded.gif differ diff --git a/lab_site_themes/osu_confident/images/purple/menu-level2.gif b/lab_site_themes/osu_confident/images/purple/menu-level2.gif new file mode 100644 index 0000000..2667962 Binary files /dev/null and b/lab_site_themes/osu_confident/images/purple/menu-level2.gif differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/bike.jpg b/lab_site_themes/osu_confident/images/rotating_headers/bike.jpg new file mode 100644 index 0000000..70cc20e Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/bike.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/book.jpg b/lab_site_themes/osu_confident/images/rotating_headers/book.jpg new file mode 100644 index 0000000..94271ce Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/book.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/carving.jpg b/lab_site_themes/osu_confident/images/rotating_headers/carving.jpg new file mode 100644 index 0000000..0c1f50d Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/carving.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/dixon.jpg b/lab_site_themes/osu_confident/images/rotating_headers/dixon.jpg new file mode 100644 index 0000000..b2f0a5d Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/dixon.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/dog.jpg b/lab_site_themes/osu_confident/images/rotating_headers/dog.jpg new file mode 100644 index 0000000..65d02f6 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/dog.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/greenhouse.jpg b/lab_site_themes/osu_confident/images/rotating_headers/greenhouse.jpg new file mode 100644 index 0000000..13ae573 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/greenhouse.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/guitar.jpg b/lab_site_themes/osu_confident/images/rotating_headers/guitar.jpg new file mode 100644 index 0000000..9342454 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/guitar.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/kelly.jpg b/lab_site_themes/osu_confident/images/rotating_headers/kelly.jpg new file mode 100644 index 0000000..c043faf Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/kelly.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/mu.jpg b/lab_site_themes/osu_confident/images/rotating_headers/mu.jpg new file mode 100644 index 0000000..5d92a79 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/mu.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/smile.jpg b/lab_site_themes/osu_confident/images/rotating_headers/smile.jpg new file mode 100644 index 0000000..a246690 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/smile.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/solar.jpg b/lab_site_themes/osu_confident/images/rotating_headers/solar.jpg new file mode 100644 index 0000000..8b03207 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/solar.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/tide.jpg b/lab_site_themes/osu_confident/images/rotating_headers/tide.jpg new file mode 100644 index 0000000..dc56fa2 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/tide.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/treequad.jpg b/lab_site_themes/osu_confident/images/rotating_headers/treequad.jpg new file mode 100644 index 0000000..a7d544e Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/treequad.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/unicycle.jpg b/lab_site_themes/osu_confident/images/rotating_headers/unicycle.jpg new file mode 100644 index 0000000..0b62d9b Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/unicycle.jpg differ diff --git a/lab_site_themes/osu_confident/images/rotating_headers/weatherford.jpg b/lab_site_themes/osu_confident/images/rotating_headers/weatherford.jpg new file mode 100644 index 0000000..bb9b969 Binary files /dev/null and b/lab_site_themes/osu_confident/images/rotating_headers/weatherford.jpg differ diff --git a/lab_site_themes/osu_confident/images/sm-bottom-border.jpg b/lab_site_themes/osu_confident/images/sm-bottom-border.jpg new file mode 100644 index 0000000..842e6ed Binary files /dev/null and b/lab_site_themes/osu_confident/images/sm-bottom-border.jpg differ diff --git a/lab_site_themes/osu_confident/images/sm-bottom-border.png b/lab_site_themes/osu_confident/images/sm-bottom-border.png new file mode 100644 index 0000000..76ef183 Binary files /dev/null and b/lab_site_themes/osu_confident/images/sm-bottom-border.png differ diff --git a/lab_site_themes/osu_confident/images/transparent.png b/lab_site_themes/osu_confident/images/transparent.png new file mode 100644 index 0000000..cc4af78 Binary files /dev/null and b/lab_site_themes/osu_confident/images/transparent.png differ diff --git a/lab_site_themes/osu_confident/js/jquery.corner.js b/lab_site_themes/osu_confident/js/jquery.corner.js new file mode 100644 index 0000000..2c918fb --- /dev/null +++ b/lab_site_themes/osu_confident/js/jquery.corner.js @@ -0,0 +1,203 @@ +/*! + * jQuery corner plugin: simple corner rounding + * Examples and documentation at: http://jquery.malsup.com/corner/ + * version 2.03 (05-DEC-2009) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +/** + * corner() takes a single string argument: $('#myDiv').corner("effect corners width") + * + * effect: name of the effect to apply, such as round, bevel, notch, bite, etc (default is round). + * corners: one or more of: top, bottom, tr, tl, br, or bl. + * by default, all four corners are adorned. + * width: width of the effect; in the case of rounded corners this is the radius. + * specify this value using the px suffix such as 10px (and yes, it must be pixels). + * + * @author Dave Methvin (http://methvin.com/jquery/jq-corner.html) + * @author Mike Alsup (http://jquery.malsup.com/corner/) + */ +;(function($) { + +var ua = navigator.userAgent; +var moz = $.browser.mozilla && /gecko/i.test(ua); +var webkit = $.browser.safari && /Safari\/[5-9]/.test(ua); + +var expr = $.browser.msie && (function() { + var div = document.createElement('div'); + try { div.style.setExpression('width','0+0'); div.style.removeExpression('width'); } + catch(e) { return false; } + return true; +})(); + +function sz(el, p) { + return parseInt($.css(el,p))||0; +}; +function hex2(s) { + var s = parseInt(s).toString(16); + return ( s.length < 2 ) ? '0'+s : s; +}; +function gpc(node) { + for ( ; node && node.nodeName.toLowerCase() != 'html'; node = node.parentNode ) { + var v = $.css(node,'backgroundColor'); + if (v == 'rgba(0, 0, 0, 0)') + continue; // webkit + if (v.indexOf('rgb') >= 0) { + var rgb = v.match(/\d+/g); + return '#'+ hex2(rgb[0]) + hex2(rgb[1]) + hex2(rgb[2]); + } + if ( v && v != 'transparent' ) + return v; + } + return '#ffffff'; +}; + +function getWidth(fx, i, width) { + switch(fx) { + case 'round': return Math.round(width*(1-Math.cos(Math.asin(i/width)))); + case 'cool': return Math.round(width*(1+Math.cos(Math.asin(i/width)))); + case 'sharp': return Math.round(width*(1-Math.cos(Math.acos(i/width)))); + case 'bite': return Math.round(width*(Math.cos(Math.asin((width-i-1)/width)))); + case 'slide': return Math.round(width*(Math.atan2(i,width/i))); + case 'jut': return Math.round(width*(Math.atan2(width,(width-i-1)))); + case 'curl': return Math.round(width*(Math.atan(i))); + case 'tear': return Math.round(width*(Math.cos(i))); + case 'wicked': return Math.round(width*(Math.tan(i))); + case 'long': return Math.round(width*(Math.sqrt(i))); + case 'sculpt': return Math.round(width*(Math.log((width-i-1),width))); + case 'dog': return (i&1) ? (i+1) : width; + case 'dog2': return (i&2) ? (i+1) : width; + case 'dog3': return (i&3) ? (i+1) : width; + case 'fray': return (i%2)*width; + case 'notch': return width; + case 'bevel': return i+1; + } +}; + +$.fn.corner = function(options) { + // in 1.3+ we can fix mistakes with the ready state + if (this.length == 0) { + if (!$.isReady && this.selector) { + var s = this.selector, c = this.context; + $(function() { + $(s,c).corner(options); + }); + } + return this; + } + + return this.each(function(index){ + var $this = $(this); + var o = [ options || '', $this.attr($.fn.corner.defaults.metaAttr) || ''].join(' ').toLowerCase(); + //var o = (options || $this.attr($.fn.corner.defaults.metaAttr) || '').toLowerCase(); + var keep = /keep/.test(o); // keep borders? + var cc = ((o.match(/cc:(#[0-9a-f]+)/)||[])[1]); // corner color + var sc = ((o.match(/sc:(#[0-9a-f]+)/)||[])[1]); // strip color + var width = parseInt((o.match(/(\d+)px/)||[])[1]) || 10; // corner width + var re = /round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/; + var fx = ((o.match(re)||['round'])[0]); + var edges = { T:0, B:1 }; + var opts = { + TL: /top|tl|left/.test(o), TR: /top|tr|right/.test(o), + BL: /bottom|bl|left/.test(o), BR: /bottom|br|right/.test(o) + }; + if ( !opts.TL && !opts.TR && !opts.BL && !opts.BR ) + opts = { TL:1, TR:1, BL:1, BR:1 }; + + // support native rounding + if ($.fn.corner.defaults.useNative && fx == 'round' && (moz || webkit) && !cc && !sc) { + if (opts.TL) + $this.css(moz ? '-moz-border-radius-topleft' : '-webkit-border-top-left-radius', width + 'px'); + if (opts.TR) + $this.css(moz ? '-moz-border-radius-topright' : '-webkit-border-top-right-radius', width + 'px'); + if (opts.BL) + $this.css(moz ? '-moz-border-radius-bottomleft' : '-webkit-border-bottom-left-radius', width + 'px'); + if (opts.BR) + $this.css(moz ? '-moz-border-radius-bottomright' : '-webkit-border-bottom-right-radius', width + 'px'); + return; + } + + var strip = document.createElement('div'); + strip.style.overflow = 'hidden'; + strip.style.height = '1px'; + strip.style.backgroundColor = sc || 'transparent'; + strip.style.borderStyle = 'solid'; + + var pad = { + T: parseInt($.css(this,'paddingTop'))||0, R: parseInt($.css(this,'paddingRight'))||0, + B: parseInt($.css(this,'paddingBottom'))||0, L: parseInt($.css(this,'paddingLeft'))||0 + }; + + if (typeof this.style.zoom != undefined) this.style.zoom = 1; // force 'hasLayout' in IE + if (!keep) this.style.border = 'none'; + strip.style.borderColor = cc || gpc(this.parentNode); + var cssHeight = $.curCSS(this, 'height'); + + for (var j in edges) { + var bot = edges[j]; + // only add stips if needed + if ((bot && (opts.BL || opts.BR)) || (!bot && (opts.TL || opts.TR))) { + strip.style.borderStyle = 'none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none'); + var d = document.createElement('div'); + $(d).addClass('jquery-corner'); + var ds = d.style; + + bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild); + + if (bot && cssHeight != 'auto') { + if ($.css(this,'position') == 'static') + this.style.position = 'relative'; + ds.position = 'absolute'; + ds.bottom = ds.left = ds.padding = ds.margin = '0'; + if (expr) + ds.setExpression('width', 'this.parentNode.offsetWidth'); + else + ds.width = '100%'; + } + else if (!bot && $.browser.msie) { + if ($.css(this,'position') == 'static') + this.style.position = 'relative'; + ds.position = 'absolute'; + ds.top = ds.left = ds.right = ds.padding = ds.margin = '0'; + + // fix ie6 problem when blocked element has a border width + if (expr) { + var bw = sz(this,'borderLeftWidth') + sz(this,'borderRightWidth'); + ds.setExpression('width', 'this.parentNode.offsetWidth - '+bw+'+ "px"'); + } + else + ds.width = '100%'; + } + else { + ds.position = 'relative'; + ds.margin = !bot ? '-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px' : + (pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px'; + } + + for (var i=0; i < width; i++) { + var w = Math.max(0,getWidth(fx,i, width)); + var e = strip.cloneNode(false); + e.style.borderWidth = '0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px'; + bot ? d.appendChild(e) : d.insertBefore(e, d.firstChild); + } + } + } + }); +}; + +$.fn.uncorner = function() { + if (moz || webkit) + this.css(moz ? '-moz-border-radius' : '-webkit-border-radius', 0); + $('div.jquery-corner', this).remove(); + return this; +}; + +// expose options +$.fn.corner.defaults = { + useNative: true, // true if plugin should attempt to use native browser support for border radius rounding + metaAttr: 'data-corner' // name of meta attribute to use for options +}; + +})(jQuery); diff --git a/lab_site_themes/osu_confident/js/thickbox-compressed.js b/lab_site_themes/osu_confident/js/thickbox-compressed.js new file mode 100644 index 0000000..c72d307 --- /dev/null +++ b/lab_site_themes/osu_confident/js/thickbox-compressed.js @@ -0,0 +1,301 @@ +/* + * Thickbox 3.1 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php +*/ + +var tb_pathToImage = "../images/loadingAnimation.gif"; +/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ +//on page load call tb_init +$(document).ready(function(){ + tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox + imgLoader = new Image();// preload image + imgLoader.src = tb_pathToImage; +}); +//add thickbox to href & area elements that have a class of .thickbox +function tb_init(domChunk){ + $(domChunk).click(function(){ + var t = this.title || this.name || null; + var a = this.href || this.alt; + var g = this.rel || false; + tb_show(t,a,g); + this.blur(); + return false; + }); +} +function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link + try { + if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 + $("body","html").css({height: "100%", width: "100%"}); + $("html").css("overflow","hidden"); + if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + }else{//all others + if(document.getElementById("TB_overlay") === null){ + $("body").append("
"); + $("#TB_overlay").click(tb_remove); + } + } + + if(tb_detectMacXFF()){ + $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash + }else{ + $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity + } + + if(caption===null){caption="";} + $("body").append("
");//add loader to the page + $('#TB_load').show();//show loader + + var baseURL; + if(url.indexOf("?")!==-1){ //ff there is a query string involved + baseURL = url.substr(0, url.indexOf("?")); + }else{ + baseURL = url; + } + + var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; + var urlType = baseURL.toLowerCase().match(urlString); + if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images + + TB_PrevCaption = ""; + TB_PrevURL = ""; + TB_PrevHTML = ""; + TB_NextCaption = ""; + TB_NextURL = ""; + TB_NextHTML = ""; + TB_imageCount = ""; + TB_FoundURL = false; + if(imageGroup){ + TB_TempArray = $("a[@rel="+imageGroup+"]").get(); + for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { + var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); + if (!(TB_TempArray[TB_Counter].href == url)) { + if (TB_FoundURL) { + TB_NextCaption = TB_TempArray[TB_Counter].title; + TB_NextURL = TB_TempArray[TB_Counter].href; + TB_NextHTML = "  Next >"; + } else { + TB_PrevCaption = TB_TempArray[TB_Counter].title; + TB_PrevURL = TB_TempArray[TB_Counter].href; + TB_PrevHTML = "  < Prev"; + } + } else { + TB_FoundURL = true; + TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); + } + } + } + imgPreloader = new Image(); + imgPreloader.onload = function(){ + imgPreloader.onload = null; + + // Resizing large images - orginal by Christian Montoya edited by me. + var pagesize = tb_getPageSize(); + var x = pagesize[0] - 100; + var y = pagesize[1] - 100; + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + } + } else if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + } + } + // End Resizing + + TB_WIDTH = imageWidth + 12; + TB_HEIGHT = imageHeight + 49; + $("#TB_window").append(""+caption+"" + "
"+caption+"
" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
close or Esc Key
"); + + $("#TB_closeWindowButton").click(tb_remove); + + if (!(TB_PrevHTML === "")) { + function goPrev(){ + if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); + return false; + } + $("#TB_prev").click(goPrev); + } + + if (!(TB_NextHTML === "")) { + function goNext(){ + $("#TB_window").remove(); + $("body").append("
"); + tb_show(TB_NextCaption, TB_NextURL, imageGroup); + return false; + } + $("#TB_next").click(goNext); + + } + document.onkeydown = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } else if(keycode == 190){ // display previous image + if(!(TB_NextHTML == "")){ + document.onkeydown = ""; + goNext(); + } + } else if(keycode == 188){ // display next image + if(!(TB_PrevHTML == "")){ + document.onkeydown = ""; + goPrev(); + } + } + }; + + tb_position(); + $("#TB_load").remove(); + $("#TB_ImageOff").click(tb_remove); + $("#TB_window").css({display:"block"}); //for safari using css instead of show + }; + + imgPreloader.src = url; + }else{//code to show html + + var queryString = url.replace(/^[^\?]+\??/,''); + var params = tb_parseQuery( queryString ); + TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL + TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL + ajaxContentW = TB_WIDTH - 30; + ajaxContentH = TB_HEIGHT - 45; + + if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window + urlNoQuery = url.split('TB_'); + $("#TB_iframeContent").remove(); + if(params['modal'] != "true"){//iframe no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//iframe modal + $("#TB_overlay").unbind(); + $("#TB_window").append(""); + } + }else{// not an iframe, ajax + if($("#TB_window").css("display") != "block"){ + if(params['modal'] != "true"){//ajax no modal + $("#TB_window").append("
"+caption+"
close or Esc Key
"); + }else{//ajax modal + $("#TB_overlay").unbind(); + $("#TB_window").append("
"); + } + }else{//this means the window is already up, we are just loading new content via ajax + $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; + $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; + $("#TB_ajaxContent")[0].scrollTop = 0; + $("#TB_ajaxWindowTitle").html(caption); + } + } + + $("#TB_closeWindowButton").click(tb_remove); + + if(url.indexOf('TB_inline') != -1){ + $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); + $("#TB_window").unload(function () { + $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished + }); + tb_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else if(url.indexOf('TB_iframe') != -1){ + tb_position(); + if($.browser.safari){//safari needs help because it will not fire iframe onload + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + } + }else{ + $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method + tb_position(); + $("#TB_load").remove(); + tb_init("#TB_ajaxContent a.thickbox"); + $("#TB_window").css({display:"block"}); + }); + } + + } + if(!params['modal']){ + document.onkeyup = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } + }; + } + + } catch(e) { + //nothing here + } +} +//helper functions below +function tb_showIframe(){ + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); +} +function tb_remove() { + $("#TB_imageOff").unbind("click"); + $("#TB_closeWindowButton").unbind("click"); + $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); + $("#TB_load").remove(); + if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 + $("body","html").css({height: "auto", width: "auto"}); + $("html").css("overflow",""); + } + document.onkeydown = ""; + document.onkeyup = ""; + return false; +} +function tb_position() { +$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); + if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 + $("#TB_window").css({marginTop: '-' + (parseInt((TB_HEIGHT / 2),10)+10) + 'px'}); + } +} +function tb_parseQuery ( query ) { + var Params = {}; + if ( ! query ) {return Params;}// return empty object + var Pairs = query.split(/[;&]/); + for ( var i = 0; i < Pairs.length; i++ ) { + var KeyVal = Pairs[i].split('='); + if ( ! KeyVal || KeyVal.length != 2 ) {continue;} + var key = unescape( KeyVal[0] ); + var val = unescape( KeyVal[1] ); + val = val.replace(/\+/g, ' '); + Params[key] = val; + } + return Params; +} +function tb_getPageSize(){ + var de = document.documentElement; + var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; + var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; + arrayPageSize = [w,h]; + return arrayPageSize; +} +function tb_detectMacXFF() { + var userAgent = navigator.userAgent.toLowerCase(); + if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { + return true; + } +} diff --git a/lab_site_themes/osu_confident/orange.css b/lab_site_themes/osu_confident/orange.css new file mode 100644 index 0000000..ac06ef7 --- /dev/null +++ b/lab_site_themes/osu_confident/orange.css @@ -0,0 +1,93 @@ +h1 a, +h1 a:hover { + color:#d85a1a; +} + +#main h2 { + color:#d85a1a; +} + +#main h3 { + color:#3c3c3c; +} + +#main h4 { + color:#d85a1a; +} + +#main h5 { + font-size:1em; +} + +#main h6 { + font-size:.93em; +} + +table th { + border-top-color:#d85a1a; +} + +#osu-top-hat { + border-bottom-color:#c6c0b7; +} + +#pre-content img { + border-color:#c6c0b7; +} + +#sidebar-right h2 { + color:#fff; + background-color:#d85a1a; +} + +#sidebar-right a, +#sidebar-right li a { + color:#3c3c3c; +} + +#sidebar-right .content { + color:#000; + background-color:#c6c0b7; +} + +#sidebar-right .block-book .content { + background-color:transparent; +} + +#social-media h2 { + color:#d85a1a; + background:none; +} + +#social-media .content { + color:#000; + background-color:transparent; +} + +#sidebar-left .menu li.collapsed, +#sidebar-left .menu li.leaf { + list-style-image:url(images/orange/menu-collapsed.gif); +} + +#sidebar-left .menu li.expanded { + list-style-image:url(images/orange/menu-expanded.gif); +} + +#ft { + border-top-color:#c6c0b7; +} + +/* nice menus css */ +#sidebar-right ul.nice-menu li, #sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent, +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, +#sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over { + background-color:#C6C0B7; +} + +#sidebar-right ul.nice-menu ul { + border-color:#C6C0B7; +} + +#sidebar-right ul.nice-menu-left li ul, #sidebar-right ul.nice-menu-left li ul li ul { + left:-12.5em; +} diff --git a/lab_site_themes/osu_confident/osu_confident.css b/lab_site_themes/osu_confident/osu_confident.css new file mode 100644 index 0000000..9bf7e5d --- /dev/null +++ b/lab_site_themes/osu_confident/osu_confident.css @@ -0,0 +1,1052 @@ +#ft-inner {margin:auto;text-align:left;width:74.923em;width:73.05em;} +#ft.yui-t2 .yui-b {float:left;width:13.8461em;width:13.50em;} +#ft.yui-t2 .yui-b.first {margin-left:14.8461em;margin-left:14.55em;} +#ft .yui-b.first {float:none;width:auto;} + +body, html { + background-color:#252525; + font-family:Verdana, Arial, Helvetica, sans-serif; +} + +h1 { + font-size:1.82em; + font-family: Helvetica, Arial, sans-serif; + font-weight:bold; + margin-bottom:0; +} + +h3 { + font-size:1.08em; + font-family:Verdana,Arial,Helvetica,sans-serif; +} + +a { + color:#d85a1a; + text-decoration:underline; +} + +a:hover, html.js fieldset.collapsible legend a:hover { + color:#fff; + background-color:#d85a1a; + text-decoration:none; +} + +table { + font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; + font-size:.93em; + margin:45px auto; + width:95%; + text-align:left; + border-collapse:collapse; +} + +table th { + padding:.616em; + border-top:2px solid #d85a1a; + border-bottom:1px solid #fff; + color:#fff; + background-color:gray; + font-size:1em; + font-weight:normal; +} + +table td { + padding:.616em; + border-top:1px solid transparent; + border-bottom:1px solid #fff; + border-left-color:#fff; + border-right-color:#fff; + color:#000; + background-color:#c6c3c0; +} + +#querystats td, div.n table td { + background-color:transparent; +} + +div.n table { + width:auto; + margin-top:1.25em; +} + +table tr:hover td { + color:#000; +} + +/* first level list */ + + +ul li { + list-style-type:disc; + list-style-image:url(images/menu-level2.png); + margin-top: 5px; +} + +ol li { + margin-top: 5px; +} + +ul { + padding-left:0; +} + +/* second level list */ +ol ol li, +ul ol li { + list-style-type:decimal; + list-style-image:none; +} + +ol ul li, +ul ul li { + list-style-type:square; + list-style-image:url(images/menu-level2.png); +} + +ol ol, +ul ol, +ol ul, +ul ul { + margin-left:1.3em; +} + +/* third level list */ +ol ol ol li, ol ul ol li, +ul ol ol li, ul ul ol li { + list-style-type:lower-alpha; + list-style-image:none; +} + +ol ol ul li, ol ul ul li, +ul ol ul li, ul ul ul li { + list-style-type:circle; + list-style-image:url(images/menu-level2.png); +} + +/* fourth level list */ +ol ol ol ol li, ol ol ul ol li, ol ul ol ol li, ol ul ul ol li, +ul ol ol ol li, ul ol ul ol li, ul ul ol ol li, ul ul ul ol li { + list-style-type:lower-roman; + list-style-image:none; +} + +ol ol ol ul li, ol ol ul ul li, ol ul ol ul li, ol ul ul ul li, +ul ol ol ul li, ul ol ul ul li, ul ul ol ul li, ul ul ul ul li { + list-style-type:disc; + list-style-image:url(images/menu-level2.png); +} + +dl { + margin-left:1em; +} + +dt { + font-weight:normal; + padding-bottom:1em; +} + +#osu-top-hat { + float:none; + border-bottom:0.31em solid #dbd6d0; +} + +#top-bg { + background-color:#dedad4; + min-width:74.923em; + padding-bottom:1.616em; +} + +#hd { + background-color:#F7F7F7; + padding-top:1.231em; + position:relative; + z-index:50; +} + +#header-inner { + margin-left:14.8461em; + padding-bottom:.93em; +} + +#header .menu { + font-family:Arial, Helvetica, sans-serif; + font-size:.93em; + font-weight:bold; + color:#636466; + margin:0; + padding:0; +} + +#header .menu li { + float:left; + margin:0; + margin-right:1.385em; + padding:0; +} + +#header .menu li.leaf { + list-style:none; +} + +#header .menu li.first { + margin-left:0; +} + +#header .menu li a { + float:left; + margin-top:4px; + margin-bottom:4px; + color:#4d4d4d; + text-decoration:none; + text-transform:uppercase; + display:inline; +} +#header .menu li.active-trail a { + background-image:url("images/dotted-underline.gif"); + background-position:left bottom; + background-repeat:repeat-x; +} + +#header .menu li:hover, +#header .menu li.ie-hover { + background-color:#d85a1a; +} + +#header .menu li:hover a, +#header .menu li.ie-hover a { + color:#fff; + margin-bottom:4px; + background-image:url("images/dotted-underline-hover.gif"); + background-position:left bottom; + background-repeat:repeat-x; +} + +#header .block-menu h2 { + display:none; +} + +h1#site-name { + margin-bottom:0.2em; +} + +#site-name a { + text-decoration: none; +} + +#site-name a:hover { + background:transparent; + text-decoration: underline; + color: #D85A1A; +} + +#top-horizontal-bar-inner { + margin-top:.31em; + margin-left:14.8461em; +} + +.breadcrumb { + font-size:.77em; +} + +#pre-content img { + border:5px solid #c4beb5; +} + +#pre-content .jcarousel-l img { + border:1px #eee; +} + +#rotating-image { + height:235px; /* 225px + 5px border top and bottom */ + z-index:2; +} +#main { + margin-top:1.67em; + font-size:.93em; +} + +#main h2 { + font-family:Arial, Helvetica, sans-serif; + text-transform:uppercase; + font-size:1.231em; + font-weight:bold; + color:#d85a1a; +} + +#main h3, #main h4, #main h5, #main h6 { + font-family:Verdana, Arial, Helvetica, sans-serif; + font-weight:bold; +} + +#main h3 { + font-size:1.08em; + color:#3c3c3c; +} + +#main h4 { + font-size:1em; + color:#d85a1a; +} + +#main h5 { + font-size:1em; + color:#3c3c3c; +} + +#main h6 { + font-size:.93em; + color:#d85a1a; +} + +#sidebar-right h2 { + margin:0; + padding:.385em 1.385em; + font-weight:normal; + font-style:italic; + font-size:.93em; + font-family:Georgia, "Times New Roman", Times, serif; + color:#fff; + background-color:#d85a1a; + text-align:right; +} + +#sidebar-right .content { + background-color:#c4beb5; + margin:1.385em 1.08em .435em 1em; + padding:.465em; + font-size:.93em; + font-family:Verdana, Arial, Helvetica, sans-serif; +} + +#sidebar-right .block { + margin-top:1.67em; +} + +#sidebar-right li { + list-style-type:none; + list-style-image:none; +} + +#social-media { + margin-top:1.67em; +} + +#social-media h2 { + margin:0; + padding:0; + font-weight:bold; + font-style:normal; + font-size:.85em; + font-family:"Lucida Grande", Verdana, Arial, Helvetica, sans-serif; + color:#d85a1a; + background:none; + text-align:left; + margin-bottom:.539em; +} + +#social-media .block { + background-image:url(images/sm-bottom-border.png); + background-position:center bottom; + background-repeat:repeat-x; + padding-bottom:.385em; + padding-left:.16em; + margin-bottom:1.539em; +} + +#social-media .content { + background-color:transparent; + margin:0; + padding:0; + font-size:.85em; +} + +#social-media a { + color:#3C3C3C; + text-decoration:underline; +} + +#social-media a:hover { + color:#d85a1a; + background-color:transparent; + text-decoration:underline; +} + +#sidebar-left { + margin-top:1.67em; +} + +#sidebar-left h2 { + color:#252525; + font-family:Arial, Helvetica, sans-serif; + font-size:1.08em; + font-weight:bold; + text-transform:uppercase; +} + +#sidebar-left .menu, +#sidebar-left .menu li { + margin:0; + padding:0; +} + +#sidebar-left .menu li { + margin-left:.67em; + margin-bottom:1em; +} + +#sidebar-left .menu li.collapsed, +#sidebar-left .menu li.leaf { + list-style-image:url(images/menu-collapsed.png); +} + +#sidebar-left .menu li.expanded { + list-style-image:url(images/menu-expanded.png); +} + +#sidebar-left .menu ul li.collapsed, +#sidebar-left .menu ul li.expanded, +#sidebar-left .menu ul li.leaf { + list-style-image:url(images/menu-level2.png); + margin-left:1.08em; + margin-bottom:0; +} + +#sidebar-left .menu ul ul li, +#sidebar-left .menu ul ul li.collapsed, +#sidebar-left .menu ul ul li.expanded, +#sidebar-left .menu ul ul li.leaf { + list-style-type:none; + list-style-image:none; + margin-left:0; +} + +#sidebar-left .menu ul ul ul li.collapsed, +#sidebar-left .menu ul ul ul li.expanded, +#sidebar-left .menu ul ul ul li.leaf { + list-style-type:none; + list-style-image:none; + margin-left:.616em; +} + +#sidebar-left .menu a { + display:block; + font-family:Arial, Helvetica, sans-serif; + font-size:.93em; + font-weight:bold; + color:#3C3C3C; + text-decoration:none; +} + +#sidebar-left .menu ul a { + text-transform:none; + font-family:Verdana, Arial, Helvetica, sans-serif; + font-weight:normal; +} + +#sidebar-left .menu ul ul a { + text-transform:none; + color:#d85a1a; + font-size:.85em; +} + +#sidebar-left .menu ul ul ul a { + text-transform:none; + color:#262424; +} + +#sidebar-left .menu a.active { + color:#d85a1a; +} + +#sidebar-left .block { + margin-bottom: 3em; +} + +#sidebar-right .menu a.active, #sidebar-right a, #sidebar-right .block-inner .edit a:hover { + color:#fff; +} + +#sidebar-right #social-media a, #sidebar-right #social-media a.active { + color:#3C3C3C; +} + +#sidebar-right #social-media a:hover { + background:transparent; + color:#D85A1A; +} + +#sidebar-right .block-inner .edit a{ + color:#D85A1A; +} + +#sidebar-left .menu a.active:hover, #sidebar-right .menu a.active:hover { + color:#fff; +} + +#sidebar-left .menu a:hover, #sidebar-right .menu a:hover { + color:#fff; + background-color:#d85a1a; +} + +#contact { + border-right:1px solid #fff; +} + +#contact .content { + font-size:.85em; + font-family:Arial, Helvetica, sans-serif; + color:#fff; +} + +#ft { + min-width:74.923em; + width:100%; + border-top:0.31em solid #abafa6; + color:#fff; + background-color:#252525; + background-image:url(images/footer-grad.png); + background-position:left top; + background-repeat:repeat-x; + min-height:148px; +} + +#ft-inner { + margin-top:1.231em; +} + +#ft .block-region { + color:#000; +} + +#ft .edit a { + color:#000; +} + +#ft .edit a:hover { + color:#fff; +} + +#footer .block { + float:left; + max-width:12.5em; + margin-right:1.616em; + font-size:.85em; + font-family:Arial, Helvetica, sans-serif; +} + +#footer .menu { + margin:0; + padding:0; +} + +#footer .menu li { + list-style-type:none; + list-style-image:none; + margin:0; + margin-bottom:.465em; + padding:0; +} + +#footer .menu li a { + margin:0; + padding:0; +} + +#footer .menu ul li { + border:none; +} + +#footer-message { + margin-bottom:1em; +} + +#contact a { + color:#fff; + text-decoration:underline; +} + +#footer h2 { + margin-top:0; + color:#d85a1a; + font-size:1.09em; + font-weight:bold; +} + +#footer a { + color:#fff; + text-decoration:none; +} + +.announcement_title { + font-size: 0.93em !important; +} + +.block-book { + background-image:url(images/lines-bg.png); + background-position:top left; + background-repeat:repeat; +} + +#sidebar-left .block-book, +#header-blocks .block-book, +#footer .block-book { + background-image:none; +} + +.block-book ul, +.block-book ul li { + margin-left:0; + padding-left:0; + list-style-image:none; + list-style-type:none; +} + +.block-book ul ul li { + padding-left:0.5em; +} + +.block-book ul ul ul li { + padding-left:1.0em; +} + +.block-book ul a, +.block-book ul a:link, +.block-book ul a:active, +.block-book ul a:visited { + display:block; + font-size:1.08em; + font-weight:bold; + color:#c50 !important; + text-decoration:none; +} + +#header-blocks .block-book h2 { + margin:0em; +} + +#header-blocks .block-book ul a, +#header-blocks .block-book ul a:link, +#header-blocks .block-book ul a:active, +#header-blocks .block-book ul a:visited { + font-size:1.0em; +} + +#footer .block-book ul a, +#footer .block-book ul a:link, +#footer .block-book ul a:active, +#footer .block-book ul a:visited { + font-size:1.0em; + color:#fff !important; +} + +.block-book ul a:hover { + color:#fff !important; +} + +.block-book ul a:hover { + color:#fff; +} + +.block-book ul ul a, +.block-book ul ul a:link, +.block-book ul ul a:active, +.block-book ul ul a:visited { + font-size:1em; + font-weight:bold; + color:#3a4a59; +} + +.block-book ul ul ul a, +.block-book ul ul ul a:link, +.block-book ul ul ul a:active, +.block-book ul ul ul a:visited { + font-weight:normal; + color:#393838; +} + +.block-book ul ul ul ul a, +.block-book ul ul ul ul a:link, +.block-book ul ul ul ul a:active, +.block-book ul ul ul ul a:visited { + color:#515151; +} + +.block-book ul ul a.active, +.block-book ul ul ul a.active, +.block-book ul ul ul ul a.active { + color:#c50; +} + +.block-book ul ul a:hover, +.block-book ul ul ul a:hover, +.block-book ul ul ul ul a:hover { + color:#fff; +} + +.block-book ul ul li { + line-height:1.2em; + margin-bottom:0.25em; +} + +.block-book ul ul ul li.first { + margin-top:0.125em; +} + +.block-book ul ul ul li.last { + margin-bottom:0.125em; +} + +div.book-navigation { + display:block; +} + +.book-navigation .menu, +.book-navigation .page-links .page-up { + display:none; +} + +/* GLOSSARY MODULE CSS */ +.glossary-related { + color: #000000; +} + +.glossary-related a:link { + color: #D85A1A; +} + +.glossary-related a:hover { + background-color:#D85A1A; + color:#fff; +} + +.glossary-links { + background-color:#dbd6d0; +} + +/* MINICAL CSS */ +#sidebar-right div.minical_content_box { + color:#3c3c3c; + background:#fff; + padding:0.25em; +} + +div.minical_month a { + color: #D85A1A !important; +} + +div.minical_month a:hover { + color: #fff !important; +} + +table.minical_month { + margin:0em; + width:100% !important; +} + +#sidebar-left table.minical_month th, #sidebar-right table.minical_month th { + border-top:none; + background:transparent; + color: #000; + border-bottom:1px solid #000; + font-weight:bold; +} + +#sidebar-left table.minical_month tbody tr td, +#sidebar-left table.minical_month tbody tr td a, +#sidebar-right table.minical_month tbody tr td, +#sidebar-right table.minical_month tbody tr td a{ + color:#3c3c3c; + text-decoration: none; +} + +#footer table.minical_month th { + color: #fff; + border-top:none; + background:transparent; +} + +table.minical_month td { + border:none; + background:transparent; + padding:0.3em; +} + +a.minical_hasevents { + color: #D85A1A !important; + text-decoration:underline !important; +} + +a.minical_hasevents:hover { + color: #fff !important; +} +/* END MINICAL CSS */ + +#sidebar-right h2 a { + color: #fff; +} + +/* nice menus css */ +ul.nice-menu { + z-index: 2000; +} +#footer ul.nice-menu-left li.menuparent:hover, #footer ul.nice-menu-left li.over, #footer ul.nice-menu-left li li.menuparent:hover, #footer ul.nice-menu-left li li.over, +#footer ul.nice-menu-left li.menuparent, #footer ul.nice-menu-left li li.menuparent { + background:url(images/arrow-left-white.png) no-repeat scroll left center; +} + +#footer ul.nice-menu-right li.menuparent:hover, #footer ul.nice-menu-right li.over, #footer ul.nice-menu-right li li.menuparent:hover, #footer ul.nice-menu-right li li.over, +#footer ul.nice-menu-right li.menuparent, #footer ul.nice-menu-right li li.menuparent{ + background:url(images/arrow-right-white.png) right center no-repeat; +} + +#footer ul.nice-menu-down li.menuparent:hover, #footer ul.nice-menu-down li.over, #footer ul.nice-menu-down li li.menuparent:hover, #footer ul.nice-menu-down li li.over, +#footer ul.nice-menu-down li.menuparent{ + background:url(images/arrow-down-white.png) right center no-repeat; +} + +#footer ul.nice-menu li, #footer ul.nice-menu-left li.menuparent, #footer ul.nice-menu-left li li.menuparent, +#footer ul.nice-menu-left li.menuparent:hover, #footer ul.nice-menu-left li.over, +#footer ul.nice-menu-left li li.menuparent:hover, #footer ul.nice-menu-left li li.over { + background-color:transparent; +} + +#footer ul.nice-menu ul { + border-color:transparent; +} + +#footer ul.nice-menu-left li ul, #footer ul.nice-menu-left li ul li ul { + left:-12.5em;; +} + +#header ul.nice-menu li, #header ul.nice-menu-left li.menuparent, #header ul.nice-menu-left li li.menuparent, +#header ul.nice-menu-left li.menuparent:hover, #header ul.nice-menu-left li.over, +#header ul.nice-menu-left li li.menuparent:hover, #header ul.nice-menu-left li li.over { + background-color:#F7F7F7; +} + +/* cck css */ +.field-items { + padding:0.5em 0em; +} + +fieldset.fieldgroup { + border:1px solid #C6C0B7; + padding-left:1em; +} + +fieldset.fieldgroup legend { + font-size:1.08em; + font-weight:bold; + font-style:italic; + text-transform:uppercase; +} + +.field-type-text div.field-items { + padding-left:1em; +} + +.field-type-number-integer div.field-items { + padding-top:0em; +} + +/* gallerix css */ +a.gallerix-external-picture-link { + padding-left:1.5em; +} + + +/* removing some styles set by osu-base */ +#osu-top-hat ul li { + border-right:0px; +} + + +/** IE Fixes */ +/* YUI Override fixes gc */ +.iefix .yui-gc .yui-u { + width: 31.9%; +} + +.iefix div.field-content { + overflow:hidden; + /* width:142px; might need to re-enabled this if other elements break */ +} + +.iefix div.admin .left{ + width:46%; +} + +.iefix div.admin .right{ + width:46%; +} + +/* + * Tabs CSS - IE 5 and 6 don't support PNGs with alpha transparency. + * Hacks from Zen theme + */ + +.iefix ul.primary li a, +.iefix ul.primary li a .tab, +.iefix ul.secondary li a, +.iefix ul.secondary li a .tab +{ + _display: inline; /* Otherwise the blocks mistakenly get 100% width in IE5 */ + _di\splay: inline-block; /* Otherwise the blocks mistakenly get 100% width in IE6 * + / + cursor: pointer; +} + +.iefix ul.primary, +.iefix ul.secondary +{ + _width: 100%; /* Otherwise IE5 treats the ul as floated */ + _w\idth: auto; /* Reset to auto width for IE6 */ +} + +.iefix ul.primary li a +{ + _background: url(../osu_drupal/images/tab-left-ie6.png) no-repeat left -38px; +} + +.iefix ul.primary li a .tab +{ + _background: url(../osu_drupal/images/tab-right-ie6.png) no-repeat right -38px; +} + +.iefix ul.primary li a:hover +{ + _background: url(../osu_drupal/images/tab-left-ie6.png) no-repeat left -76px; +} + +.iefix ul.primary li a:hover .tab +{ + _background: url(../osu_drupal/images/tab-right-ie6.png) no-repeat right -76px; + _color:#777777; +} + +.iefix ul.primary li.active a, +.iefix ul.primary li.active a:hover +{ + _background: url(../osu_drupal/images/tab-left-ie6.png) no-repeat left 0; +} + +.iefix ul.primary li.active a .tab, +.iefix ul.primary li.active a:hover .tab +{ + _background: url(../osu_drupal/images/tab-right-ie6.png) no-repeat right 0; + _color:#000; +} + +/* + * Messages - IE 5 and 6 don't support PNGs with alpha transparency. + */ + +.iefix div.messages, /* Important messages (status, warning, and error) for the user */ +.iefix div.status, +.iefix div.warning, +.iefix div.error +{ + /* _background-image: url(images/messages-status-ie6.png);*/ +} + +.iefix div.warning /* Medium priority messages */ +{ + /* _background-image: url(images/messages-warning-ie6.png);*/ +} + +.iefix div.error /* High priority messages. See also the .error declaration below. */ +{ + /* _background-image: url(images/messages-error-ie6.png);*/ +} + +/** Drupal nodes **/ +.iefix .node-unpublished .node-inner>* +{ + position: relative; /* Otherwise these elements will appear below the "Unpublished" + text. */ +} + +/** Drupal admin tables **/ +.iefix .section-admin #content tr.even th, +.iefix .section-admin #content tr.even td, +.iefix .section-admin #content tr.odd th, +.iefix .section-admin #content tr.odd td +{ + border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */ +} +/* End IE fixes */ + + +/* IE6 fixes */ +#ie6 #header .menu li { + margin-right:1.75em; +} + +#ie6 site-name + +#ie6 #social-media .block { + background-image:url(images/sm-bottom-border.jpg); +} + +#ie6 .block-book { + background-image:url(images/lines-bg.gif); +} + +#ie6 #footer { + width:775px; +} + +#ie6 #footer ul li { + margin-left:0 !important; +} + +#ie6 #ft.yui-t2 .yui-b.first{margin-left:1.423em;} + +#ie6 #right-side { + width:23% !important; +} + +#ie6 #sidebar-left ul.menu { + margin-left:.77em; +} + +#ie6 #sidebar-left .menu li { + margin-bottom:.25em; +} + +#ie6 .feed-icon { + padding-right:1em; +} + +#ie6 .view-news-releases .view-content .views-row, +#ie6 .view-news-releases .view-content .views-row .views-field-field-teaser-value .field-content { + width:97%; +} + +#ie6 .minical_month { + width:140px !important; +} +/* End of IE6 fixes */ + +/* IE7 fixes */ +#ie7 .view-news-releases .view-content .views-row, +#ie7 .view-news-releases .view-content .views-row .views-field-field-teaser-value .field-content { + width:97%; +} + +#ie7 .feed-icon { + padding-right:1em; +} + +#ie7 .feed-icon:hover { + background:transparent; +} + +#ie7 #sidebar-left ul.menu { + margin-left:1.5em; +} + +#ie7 #sidebar-left ul.menu { +} + + diff --git a/lab_site_themes/osu_confident/osu_confident.info b/lab_site_themes/osu_confident/osu_confident.info new file mode 100644 index 0000000..c229061 --- /dev/null +++ b/lab_site_themes/osu_confident/osu_confident.info @@ -0,0 +1,86 @@ +name = OSU Confident +description = The Confident theme can be used by any department, institute or academic unit. It features four color variations and a traditional three-column layout. It is a good fit for administrative units that have content that changes with less frequency. This theme overall requires less active maintenance than Standard. +version = 6.x-1.4.7 +core = 6.x +base theme = osu_drupal_1_11 + +; STYLESHEETS +stylesheets[all][] = osu_confident.css + +; orange is the default colorscheme +stylesheets[all][] = orange.css +stylesheets[screen][] = thickbox.css +stylesheets[print][] = print.css + +; JAVASCRIPT +scripts[] = js/thickbox-compressed.js +scripts[] = js/jquery.corner.js + + ; REGION DEFINITION +regions[left] = left sidebar +regions[right] = right sidebar +regions[social_media] = social media +regions[header] = header (menus or site title only) +regions[footer] = footer +regions[contact] = contact information +regions[content] = content +regions[pre_content] = pre content +regions[post_content] = post content + + ; Various page elements output by the theme can be toggled on and off. The + ; "features" control which of these check boxes display on the + ; admin/build/themes config page. This is useful for suppressing check boxes + ; for elements not used by your sub-theme. To suppress a check box, omit the + ; entry for it below. See the Drupal 6 Theme Guide for more info: + ; http://drupal.org/node/171205#features +features[] = mission +features[] = node_user_picture +features[] = comment_user_picture +features[] = search +features[] = favicon + +; Set up the info we need for swapping css +styles[orange][title] = 'Orange' +styles[orange][file] = 'orange.css' +styles[chocolate][title] = 'Chocolate' +styles[chocolate][file] = 'chocolate.css' +styles[blue][title] = 'Steel Blue' +styles[blue][file] = 'blue.css' +styles[purple][title] = 'Purple' +styles[purple][file] = 'purple.css' + + +; background color +osu_confident_background_colors[] = 'dark' +osu_confident_background_colors[] = 'light' + +settings[osu_confident_background_color] = 'dark' + +; OSU ROTATING and TALL/SHORT HEADER SETTINGS +; rotating images directory (relative to sites/default/files) don't forget the leading and trailing /'s +settings[osu_rotating_header_directory] = '/rotating-images/example/' + +; settings for the front pages +settings[osu_rotating_header_type] = '0' +settings[osu_rotating_header_interval] = '4' +settings[osu_rotating_header_single_image] = 'example.jpg' + +; settings for secondary pages +settings[osu_second_header_type] = 'tall' +settings[osu_second_rotating_header_type] = '2' +settings[osu_second_rotating_header_interval] = '4' +settings[osu_second_rotating_header_single_image] = 'example.jpg' + +; settings for site name in header +settings[osu_confident_hide_site_name] = '0' + +; ZEN THEME SETTINGS +; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 0 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 0 +settings[zen_wireframes] = 0 diff --git a/lab_site_themes/osu_confident/page.tpl.php b/lab_site_themes/osu_confident/page.tpl.php new file mode 100644 index 0000000..696ccac --- /dev/null +++ b/lab_site_themes/osu_confident/page.tpl.php @@ -0,0 +1,381 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $body_classes: A set of CSS classes for the BODY tag. This contains flags + * indicating the current layout (multiple columns, single column), the current + * path, whether the user is logged in, and so on. + * - $body_classes_array: An array of the body classes. This is easier to + * manipulate then the string in $body_classes. + * + * Site identity: + * - $front_page: The URL of the front page. Use this instead of $base_path, + * when linking to the front page. This includes the language domain or prefix. + * - $site_name: The name of the site, empty when display has been disabled + * in theme settings. + * in theme settings. + * - $mission: The text of the site mission, empty when display has been disabled + * in theme settings. + * + * Navigation: + * - $search_box: HTML to display the search box, empty if search has been disabled. + * - $primary_links (array): An array containing primary navigation links for the + * site, if they have been configured. + * - $secondary_links (array): An array containing secondary navigation links for + * the site, if they have been configured. + * + * Page content (in order of occurrance in the default page.tpl.php): + * - $left: The HTML for the left sidebar. + * + * - $breadcrumb: The breadcrumb trail for the current page. + * - $title: The page title, for use in the actual HTML content. + * - $help: Dynamic help text, mostly for admin pages. + * - $messages: HTML for status and error messages. Should be displayed prominently. + * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view + * and edit tabs when displaying a node). + * + * - $content: The main content of the current Drupal page. + * + * - $right: The HTML for the right sidebar. + * + * Footer/closing data: + * - $feed_icons: A string of all feed icons for the current page. + * - $footer_message: The footer message as defined in the admin settings. + * - $footer : The footer region. + * - $closure: Final closing markup from any modules that have altered the page. + * This variable should always be output last, after all other dynamic content. + * + * @see template_preprocess() + * @see template_preprocess_page() + */ +$osu_home_settings = array ( + 'central_url' => 'http://oregonstate.edu/osuhomepage', + 'top_hat_border_color' => '#dbd6d0', + ); +?> + + + + + <?php print $head_title; ?> | Oregon State University + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + +
> + +
> + + +
+
+ + + +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+ + +
+ +
+ + +
+ + + +
+ +
+
+ + + + + +
+
+
+ + + +
+
+ + + +
+
+ + + + + +
+
+ + + +
+ +
+
+ +
+
+ + + + + + + diff --git a/lab_site_themes/osu_confident/print.css b/lab_site_themes/osu_confident/print.css new file mode 100644 index 0000000..df0aa35 --- /dev/null +++ b/lab_site_themes/osu_confident/print.css @@ -0,0 +1,38 @@ +body, html { + background-color:#fff; + font-family:Verdana, Arial, Helvetica, sans-serif; + font-size:13pt; +} + +a { + color:#d85a1a; + text-decoration:underline; +} + +#osu-top-hat { + float:none; + overflow:visible; +} + +#header .menu, +#sidebar-right, +#sidebar-left, +#footer { + display:none; +} + +#ft { + border-top:none; +} + +.breadcrumb { + display:none; +} + +#yui-main { + width:85%; + float:none !important; + margin:0 !important; +} + +#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7,#page,#page-inner,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf,.yui-b,.yui-u{margin:0 !important; width:100% !important;} diff --git a/lab_site_themes/osu_confident/purple.css b/lab_site_themes/osu_confident/purple.css new file mode 100644 index 0000000..835b755 --- /dev/null +++ b/lab_site_themes/osu_confident/purple.css @@ -0,0 +1,92 @@ +h1 a, +h1 a:hover { + color:#561f4b; +} + +#main h2 { + color:#561f4b; +} + +table th { + border-top-color:#561f4b; +} + +#osu-top-hat { + border-bottom-color:#561f4b; +} + +#pre-content img { + border-color:#561f4b; +} + +#sidebar-right h2 { + color:#fff; + background-color:#561f4b; +} + +#sidebar-right a, +#sidebar-right li a { + color:#fff; +} + +#sidebar-right .content { + color:#fff; + background-color:#561f4b; +} + +#sidebar-right .block-book .content { + background-color:transparent; +} + +#social-media h2 { + color:#d85a1a; + background:none; +} + +#social-media .content { + color:#000; + background-color:transparent; +} + +#sidebar-left .menu li.collapsed, +#sidebar-left .menu li.leaf { + list-style-image:url(images/purple/menu-collapsed.gif); +} + +#sidebar-left .menu li.expanded { + list-style-image:url(images/purple/menu-expanded.gif); +} + +#ft { + border-top-color:#561f4b; +} + +/* nice menus css */ +#sidebar-right ul.nice-menu li, #sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent, +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, +#sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over { + background-color:#561F4B; +} + +#sidebar-right ul.nice-menu ul { + border-color:#561F4B; +} + +#sidebar-right ul.nice-menu-left li ul, #sidebar-right ul.nice-menu-left li ul li ul { + left:-12.5em; +} + +#sidebar-right ul.nice-menu-left li.menuparent:hover, #sidebar-right ul.nice-menu-left li.over, #sidebar-right ul.nice-menu-left li li.menuparent:hover, #sidebar-right ul.nice-menu-left li li.over, +#sidebar-right ul.nice-menu-left li.menuparent, #sidebar-right ul.nice-menu-left li li.menuparent { + background:#561F4B url(images/arrow-left-white.png) no-repeat scroll left center; +} + +#sidebar-right ul.nice-menu-right li.menuparent:hover, #sidebar-right ul.nice-menu-right li.over, #sidebar-right ul.nice-menu-right li li.menuparent:hover, #sidebar-right ul.nice-menu-right li li.over, +#sidebar-right ul.nice-menu-right li.menuparent, #sidebar-right ul.nice-menu-right li li.menuparent{ + background:#561F4B url(images/arrow-right-white.png) right center no-repeat; +} + +#sidebar-right ul.nice-menu-down li.menuparent:hover, #sidebar-right ul.nice-menu-down li.over, #sidebar-right ul.nice-menu-down li li.menuparent:hover, #sidebar-right ul.nice-menu-down li li.over, +#sidebar-right ul.nice-menu-down li.menuparent{ + background:#561F4B url(images/arrow-down-white.png) right center no-repeat; +} diff --git a/lab_site_themes/osu_confident/screenshot.png b/lab_site_themes/osu_confident/screenshot.png new file mode 100644 index 0000000..9a59376 Binary files /dev/null and b/lab_site_themes/osu_confident/screenshot.png differ diff --git a/lab_site_themes/osu_confident/template.php b/lab_site_themes/osu_confident/template.php new file mode 100644 index 0000000..a8b2fb4 --- /dev/null +++ b/lab_site_themes/osu_confident/template.php @@ -0,0 +1,51 @@ +'. $image; + $result .= ' subscribe to RSS feed'; + $result .= ''; + return $result; + } +} + diff --git a/lab_site_themes/osu_confident/theme-settings.php b/lab_site_themes/osu_confident/theme-settings.php new file mode 100644 index 0000000..07367ae --- /dev/null +++ b/lab_site_themes/osu_confident/theme-settings.php @@ -0,0 +1,84 @@ +info['styles']; + + if (!empty($stylesheets)) { + $styles = array(); + foreach ($stylesheets as $title => $file) { + $styles[$file['file']] = t($file['title']); + } + } + + //set up the array for select box values + $info_background_colors = $themes['osu_confident']->info['osu_confident_background_colors']; + if (!empty($info_background_colors)) { + foreach ($info_background_colors as $background_color) { + $background_colors[$background_color] = t($background_color); + } + } + + $form['osu_confident_hide_site_name'] = array( + '#title' => t('Hide site name'), + '#type' => 'checkbox', + '#description' => t('Prevent the site name from displaying in the header section'), + '#default_value' => $settings['osu_confident_hide_site_name'], + ); + + $form['osu_confident_color_scheme'] = array( + '#title' => t('Color Scheme'), + '#type' => 'select', + '#description' => t("Color Scheme for OSU Confident theme"), + '#default_value' => $settings['osu_confident_color_scheme'], + '#options' => $styles + ); + + $form['osu_confident_background_color'] = array( + '#title' => t('Background Color'), + '#type' => 'select', + '#description' => t("Color for the background"), + '#default_value' => $settings['osu_confident_background_color'], + '#options' => $background_colors + ); + + // Add the osu_drupal header options + $form += osu_drupal_1_11_settings($settings); + + // Remove some of the base theme's settings. + //unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet. + + // Return the form + return $form; +} +?> diff --git a/lab_site_themes/osu_confident/thickbox.css b/lab_site_themes/osu_confident/thickbox.css new file mode 100644 index 0000000..62961ed --- /dev/null +++ b/lab_site_themes/osu_confident/thickbox.css @@ -0,0 +1,163 @@ +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +*{padding: 0; margin: 0;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window a:link {color: #666666;} +#TB_window a:visited {color: #666666;} +#TB_window a:hover {color: #000;} +#TB_window a:active {color: #666666;} +#TB_window a:focus {color: #666666;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#000000; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 5px 0 0 5px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; +} + +#TB_title{ + background-color:#e8e8e8; + height:27px; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding:15px; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} diff --git a/lab_site_themes/osu_drupal_1_11/STARTER-theme-settings.php b/lab_site_themes/osu_drupal_1_11/STARTER-theme-settings.php new file mode 100644 index 0000000..92543a9 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/STARTER-theme-settings.php @@ -0,0 +1,48 @@ + 'checkbox', + '#title' => t('Use this sample setting'), + '#default_value' => $settings['STARTERKIT_example'], + '#description' => t("This option doesn't do anything; it's just an example."), + ); + // */ + + // Add the osu_drupal_1_11 header options + $form += osu_drupal_1_11_settings($settings); + + // Remove some of the base theme's settings. + unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet. + + // Return the form + return $form; +} diff --git a/lab_site_themes/osu_drupal_1_11/THEME.info.STARTER b/lab_site_themes/osu_drupal_1_11/THEME.info.STARTER new file mode 100644 index 0000000..611f6bc --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/THEME.info.STARTER @@ -0,0 +1,47 @@ +name = THEME NAME +description = A subtheme of osu-drupal +version = VERSION +core = 6.x +base theme = osu_drupal_1_11 + +; STYLESHEETS +stylesheets[all][] = THEME NAME.css +conditional-stylesheets[if IE 6][all][] = ie6.css +conditional-stylesheets[if IE 7][all][] = ie7.css +conditional-stylesheets[if IE 8][all][] = ie8.css + + ; REGION DEFINITION +regions[left] = left sidebar +regions[right] = right sidebar +regions[header] = header +regions[footer] = footer +regions[content] = content +regions[top_horizontal_bar] = top horizontal bar +regions[pre_content] = pre content +regions[post_content] = post content + +; OSU ROTATING and TALL/SHORT HEADER SETTINGS +; rotating images directory (relative to sites/default/files) don't forget the leading and trailing /'s +settings[osu_rotating_header_directory] = '/rotating-images/example/' + +; settings for the front pages +settings[osu_rotating_header_type] = '0' +settings[osu_rotating_header_interval] = '4' +settings[osu_rotating_header_single_image] = 'example.jpg' + +; settings for secondary pages +settings[osu_second_header_type] = 'tall' +settings[osu_second_rotating_header_type] = '2' +settings[osu_second_rotating_header_interval] = '4' +settings[osu_second_rotating_header_single_image] = 'example.jpg' + +; ZEN THEME SETTINGS +; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 0 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 1 +settings[zen_wireframes] = 0 \ No newline at end of file diff --git a/lab_site_themes/osu_drupal_1_11/drupal6-reference.css b/lab_site_themes/osu_drupal_1_11/drupal6-reference.css new file mode 100644 index 0000000..fd3a158 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/drupal6-reference.css @@ -0,0 +1,1982 @@ +/* $Id: drupal6-reference.css,v 1.1.2.1 2009/02/13 07:32:26 johnalbin Exp $ */ + +/** + * @file + * DRUPAL 6.x Reference CSS + * + * THIS FILE IS FOR REFERENCE ONLY AND IS NOT USED IN ANY WAY BY THE ZEN THEME. + * + * Drupal has very modular CSS. Which means that only the CSS that is needed + * for a particular page is loaded. This is a good thing. + * + * However, this makes it difficult for theme developers to discover how and + * where a particular style is coming from. So, here in all its glory is the + * complete CSS included with Drupal core 6.x. + * + * And, if you're not already, you should check out the free Firebug extension + * for Firefox. With it, you can inspect elements and easily view and play with + * its CSS styles. http://www.getfirebug.com + */ + + +/* + * modules/aggregator/aggregator-rtl.css + */ + +#aggregator .feed-source .feed-icon { + float: left; +} + + +/* + * modules/aggregator/aggregator.css + */ + +#aggregator .feed-source .feed-title { + margin-top: 0; +} +#aggregator .feed-source .feed-image img { + margin-bottom: 0.75em; +} +#aggregator .feed-source .feed-icon { + float: right; /* LTR */ + display: block; +} +#aggregator .feed-item { + margin-bottom: 1.5em; +} +#aggregator .feed-item-title { + margin-bottom: 0; + font-size: 1.3em; +} +#aggregator .feed-item-meta, #aggregator .feed-item-body { + margin-bottom: 0.5em; +} +#aggregator .feed-item-categories { + font-size: 0.9em; +} +#aggregator td { + vertical-align: bottom; +} +#aggregator td.categorize-item { + white-space: nowrap; +} +#aggregator .categorize-item .news-item .body { + margin-top: 0; +} +#aggregator .categorize-item h3 { + margin-bottom: 1em; + margin-top: 0; +} + + +/* + * modules/block/block.css + */ + +#blocks td.region { + font-weight: bold; +} +#blocks tr.region-message { + font-weight: normal; + color: #999; +} +#blocks tr.region-populated { + display: none; +} +.block-region { + background-color: #ff6; + margin-top: 4px; + margin-bottom: 4px; + padding: 3px; +} + + +/* + * modules/book/book-rtl.css + */ + +.book-navigation .page-previous { + float: right; +} +.book-navigation .page-up { + float: right; +} + + +/* + * modules/book/book.css + */ + +.book-navigation .menu { + border-top: 1px solid #888; + padding: 1em 0 0 3em; +} +.book-navigation .page-links { + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.book-navigation .page-previous { + text-align: left; + width: 42%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-up { + margin: 0 5%; + width: 4%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-next { + text-align: right; + width: 42%; + display: block; + float: right; +} +#book-outline { + min-width: 56em; +} +.book-outline-form .form-item { + margin-top: 0; + margin-bottom: 0; +} +#edit-book-bid-wrapper .description { + clear: both; +} +#book-admin-edit select { + margin-right: 24px; +} +#book-admin-edit select.progress-disabled { + margin-right: 0; +} +#book-admin-edit tr.ahah-new-content { + background-color: #ffd; +} +#book-admin-edit .form-item { + float: left; +} + + +/* + * modules/color/color-rtl.css + */ + +#placeholder { + left: 0; + right: auto; +} + +/* Palette */ +.color-form .form-item { + padding-left: 0; + padding-right: 1em; +} +.color-form label { + float: right; + clear: right; +} +.color-form .form-text, .color-form .form-select { + float: right; +} +.color-form .form-text { + margin-right: 0; + margin-left: 5px; +} + +#palette .hook { + float: right; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook-rtl.png) no-repeat 0 0; +} +#palette .up { + background-position: 0 -27px; +} +#palette .both { + background-position: 0 -54px; +} + +#palette .lock { + float: right; + right: -10px; +} +html.js #preview { + float: right; +} + + +/* + * modules/color/color.css + */ + +/* Farbtastic placement */ +.color-form { + max-width: 50em; + position: relative; +} +#placeholder { + position: absolute; + top: 0; + right: 0; /* LTR */ +} + +/* Palette */ +.color-form .form-item { + height: 2em; + line-height: 2em; + padding-left: 1em; /* LTR */ + margin: 0.5em 0; +} +.color-form label { + float: left; /* LTR */ + clear: left; /* LTR */ + width: 10em; +} +.color-form .form-text, .color-form .form-select { + float: left; /* LTR */ +} +.color-form .form-text { + text-align: center; + margin-right: 5px; /* LTR */ + cursor: pointer; +} + +#palette .hook { + float: left; /* LTR */ + margin-top: 3px; + width: 16px; + height: 16px; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook.png) no-repeat 100% 0; /* LTR */ +} +#palette .up { + background-position: 100% -27px; /* LTR */ +} +#palette .both { + background-position: 100% -54px; /* LTR */ +} + +#palette .lock { + float: left; /* LTR */ + position: relative; + top: -1.4em; + left: -10px; /* LTR */ + width: 20px; + height: 25px; + background: url(images/lock.png) no-repeat 50% 2px; + cursor: pointer; +} +#palette .unlocked { + background-position: 50% -22px; +} +#palette .form-item { + width: 20em; +} +#palette .item-selected { + background: #eee; +} + +/* Preview */ +#preview { + display: none; +} +html.js #preview { + display: block; + position: relative; + float: left; /* LTR */ +} + + +/* + * modules/comment/comment-rtl.css + */ + +.indented { + margin-left: 0; + margin-right: 25px; +} + + +/* + * modules/comment/comment.css + */ + +.indented { + margin-left: 25px; /* LTR */ +} +.comment-unpublished { + background-color: #fff4f4; +} +.preview .comment { + background-color: #ffffea; +} + + +/* + * modules/dblog/dblog-rtl.css + */ + +#dblog-filter-form .form-item { + float: right; + padding-right: 0; + padding-left: .8em; +} + + +/* + * modules/dblog/dblog.css + */ + +#dblog-filter-form .form-item { + float: left; /* LTR */ + padding-right: .8em; /* LTR */ + margin: 0.1em; + /** + * In Opera 9, DOM elements with the property of "overflow: auto" + * will partially hide its contents with unnecessary scrollbars when + * its immediate child is floated without an explicit width set. + */ + width: 15em; +} +#dblog-filter-form .form-item select.form-select { + width: 100%; +} +tr.dblog-user { + background: #ffd; +} +tr.dblog-user .active { + background: #eed; +} +tr.dblog-content { + background: #ddf; +} +tr.dblog-content .active { + background: #cce; +} +tr.dblog-page-not-found, tr.dblog-access-denied { + background: #dfd; +} +tr.dblog-page-not-found .active, tr.dblog-access-denied .active { + background: #cec; +} +tr.dblog-error { + background: #ffc9c9; +} +tr.dblog-error .active { + background: #eeb9b9; +} + + +/* + * modules/forum/forum-rtl.css + */ + +#forum tr td.forum { + padding-left: 0.5em; + padding-right: 25px; + background-position: 98% 2px; +} +.forum-topic-navigation { + padding: 1em 3em 0 0; +} +.forum-topic-navigation .topic-previous { + text-align: left; + float: right; +} +.forum-topic-navigation .topic-next { + text-align: right; + float: left; +} + + +/* + * modules/forum/forum.css + */ + +#forum .description { + font-size: 0.9em; + margin: 0.5em; +} +#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager { + white-space: nowrap; +} +#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager { + text-align: center; +} +#forum tr td.forum { + padding-left: 25px; /* LTR */ + background-position: 2px 2px; /* LTR */ + background-image: url(../../misc/forum-default.png); + background-repeat: no-repeat; +} +#forum tr.new-topics td.forum { + background-image: url(../../misc/forum-new.png); +} +#forum div.indent { + margin-left: 20px; +} + +.forum-topic-navigation { + padding: 1em 0 0 3em; /* LTR */ + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.forum-topic-navigation .topic-previous { + text-align: right; /* LTR */ + float: left; /* LTR */ + width: 46%; +} +.forum-topic-navigation .topic-next { + text-align: left; /* LTR */ + float: right; /* LTR */ + width: 46%; +} + + +/* + * modules/help/help-rtl.css + */ + +.help-items { + float: right; + padding-right: 0; + padding-left: 3%; +} +.help-items-last { + padding-right: 0; + padding-left: 0; +} + + +/* + * modules/help/help.css + */ + +.help-items { + float: left; /* LTR */ + width: 22%; + padding-right: 3%; /* LTR */ +} +.help-items-last { + padding-right: 0; /* LTR */ +} + + +/* + * modules/locale/locale.css + */ + +.locale-untranslated { + font-style: normal; + text-decoration: line-through; +} + + +/* + * modules/node/node-rtl.css + */ + +#node-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + + +/* + * modules/node/node.css + */ + +.node-unpublished { + background-color: #fff4f4; +} +.preview .node { + background-color: #ffffea; +} +#node-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#node-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +td.revision-current { + background: #ffc; +} +.node-form .form-text { + display: block; + width: 95%; +} +.node-form .container-inline .form-text { + display: inline; + width: auto; +} +.node-form .standard { + clear: both; +} +.node-form textarea { + display: block; + width: 95%; +} +.node-form .attachments fieldset { + float: none; + display: block; +} +.terms-inline { + display: inline; +} + + +/* + * modules/openid/openid.css + */ + +#edit-openid-identifier { + background-image: url("login-bg.png"); + background-position: 0% 50%; + background-repeat: no-repeat; + padding-left: 20px; +} + +div#edit-openid-identifier-wrapper { + display: block; +} + +html.js #user-login-form div#edit-openid-identifier-wrapper, +html.js #user-login div#edit-openid-identifier-wrapper { + display: none; +} + +html.js #user-login-form li.openid-link, +html.js #user-login li.openid-link { + display : block; +} + +#user-login-form ul { + margin-top: 0; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link, +#user-login li.openid-link, +#user-login li.user-link { + display: none; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link { + text-align : left; +} + +#user-login-form li.openid-link, +#user-login li.openid-link { + background: transparent url(login-bg.png) no-repeat scroll 1px 0.35em; +} + + +/* + * modules/poll/poll-rtl.css + */ + +.poll .bar .foreground { + float: right; +} +.poll .percent { + text-align: left; +} +.poll .vote-form .choices { + text-align: right; +} + + +/* + * modules/poll/poll.css + */ + +.poll .bar { + height: 1em; + margin: 1px 0; + background-color: #ddd; +} +.poll .bar .foreground { + background-color: #000; + height: 1em; + float: left; /* LTR */ +} +.poll .links { + text-align: center; +} +.poll .percent { + text-align: right; /* LTR */ +} +.poll .total { + text-align: center; +} +.poll .vote-form { + text-align: center; +} +.poll .vote-form .choices { + text-align: left; /* LTR */ + margin: 0 auto; + display: table; +} +.poll .vote-form .choices .title { + font-weight: bold; +} +.node-form #edit-poll-more { + margin: 0; +} +td.poll-chtext { + width: 80%; +} +td.poll-chvotes .form-text { + width: 85%; +} + + +/* + * modules/profile/profile.css + */ + +#profile-fields td.category { + font-weight: bold; +} +#profile-fields tr.category-message { + color: #999; +} +#profile-fields tr.category-populated { + display: none; +} + + +/* + * modules/search/search-rtl.css + */ + +.search-advanced .criterion { + float: right; + margin-right: 0; + margin-left: 2em; +} +.search-advanced .action { + float: right; + clear: right; +} + + +/* + * modules/search/search.css + */ + +.search-form { + margin-bottom: 1em; +} +.search-form input { + margin-top: 0; + margin-bottom: 0; +} +.search-results p { + margin-top: 0; +} +.search-results dt { + font-size: 1.1em; +} +.search-results dd { + margin-bottom: 1em; +} +.search-results .search-info { + font-size: 0.85em; +} +.search-advanced .criterion { + float: left; /* LTR */ + margin-right: 2em; /* LTR */ +} +.search-advanced .action { + float: left; /* LTR */ + clear: left; /* LTR */ +} + + +/* + * modules/system/admin-rtl.css + */ + +div.admin-panel .body { + padding: 0 8px 2px 4px; +} + +div.admin .expert-link { + text-align: left; + margin-right: 0; + margin-left: 1em; + padding-right: 0; + padding-left: 4px; +} + +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-right: 30px; +} + +table.system-status-report th { + background-position: 95% 50%; +} + +table.screenshot { + margin-left: 1em; +} + +.date-container { + clear: right; +} +.date-container .select-container, .date-container .custom-container { + float: right; +} +.date-container .custom-container { + margin-left: 0; + margin-right: 15px; +} + + + +/* + * modules/system/admin.css + */ + +/* +** Formatting for administration page +*/ +div.admin-panel { + margin: 0; + padding: 5px 5px 15px 5px; +} + +div.admin-panel .description { + margin: 0 0 3px; + padding: 2px 0 3px 0; +} + +div.admin-panel .body { + padding: 0 4px 2px 8px; /* LTR */ +} + +div.admin { + padding-top: 15px; +} + +div.admin .left { + float: left; + width: 47%; + margin-left: 1em; +} +div.admin .right { + float: right; + width: 47%; + margin-right: 1em; +} + +div.admin .expert-link { + text-align: right; /* LTR */ + margin-right: 1em; /* LTR */ + padding-right: 4px; /* LTR */ +} + +table.package { + width: 100%; +} +table.package .description { + width: 100%; +} +div.admin-dependencies, div.admin-required { + font-size: 0.9em; + color: #444; +} +span.admin-disabled { + color: #800; +} +span.admin-enabled { + color: #080; +} +span.admin-missing { + color: #f00; +} + +/** + * Formatting for status report + */ +table.system-status-report th { + border-bottom: 1px solid #ccc; +} +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-left: 30px; /* LTR */ +} +table.system-status-report th { + background-repeat: no-repeat; + background-position: 5px 50%; /* LTR */ + padding-top: 6px; + padding-bottom: 6px; +} +table.system-status-report tr.error th { + background-image: url(../../misc/watchdog-error.png); +} +table.system-status-report tr.warning th { + background-image: url(../../misc/watchdog-warning.png); +} +table.system-status-report tr.ok th { + background-image: url(../../misc/watchdog-ok.png); +} + +/** + * Formatting for theme configuration + */ +.theme-settings-left { + float: left; + width: 49%; +} +.theme-settings-right { + float: right; + width: 49%; +} +.theme-settings-bottom { + clear: both; +} + +/** + * Formatting for theme overview + */ +table.screenshot { + margin-right: 1em; /* LTR */ +} +.theme-info h2 { + margin-bottom: 0; +} +.theme-info p { + margin-top: 0; +} + + +/** + * Date and time settings page + */ +.date-container { + overflow: auto; + clear: left; /* LTR */ +} +.date-container .form-item { + margin-top: 0; +} +.date-container .select-container, .date-container .custom-container { + float: left; /* LTR */ +} +.date-container .custom-container { + margin-left: 15px; /* LTR */ + width: 50%; +} +html.js .custom-container label { + visibility: hidden; +} + + +/* + * modules/system/defaults-rtl.css + */ + +th { + text-align: right; + padding-right: 0; + padding-left: 1em; +} + + +/* + * modules/system/defaults.css + */ + +/* +** HTML elements +*/ +fieldset { + margin-bottom: 1em; + padding: .5em; +} +form { + margin: 0; + padding: 0; +} +hr { + height: 1px; + border: 1px solid gray; +} +img { + border: 0; +} +table { + border-collapse: collapse; +} +th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Markup free clearing +** Details: http://www.positioniseverything.net/easyclearing.html +*/ +.clear-block:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +.clear-block { + display: inline-block; +} + +/* Hides from IE-mac \*/ +* html .clear-block { + height: 1%; +} +.clear-block { + display: block; +} +/* End hide from IE-mac */ + + +/* + * modules/system/maintenance.css + */ + +/* Update styles */ +#update-results { + margin-top: 3em; + padding: 0.25em; + border: 1px solid #ccc; + background: #eee; + font-size: smaller; +} +#update-results h2 { + margin-top: 0.25em; +} +#update-results h4 { + margin-bottom: 0.25em; +} +#update-results li.none { + color: #888; + font-style: italic; +} +#update-results li.failure strong { + color: #b63300; +} + + +/* + * modules/system/system-menus-rtl.css + */ + +ul.menu { + text-align:right; +} +ul.menu li { + margin: 0 0.5em 0 0; +} +li.expanded { + padding: 0.2em 0 0 0.5em; +} +li.collapsed { + list-style-image: url(../../misc/menu-collapsed-rtl.png); + padding: 0.2em 0 0 0.5em; +} +li.leaf { + padding: 0.2em 0 0 0.5em; +} + + +/* + * modules/system/system-menus.css + */ + +ul.menu { + list-style: none; + border: none; + text-align:left; /* LTR */ +} +ul.menu li { + margin: 0 0 0 0.5em; /* LTR */ +} +li.expanded { + list-style-type: circle; + list-style-image: url(../../misc/menu-expanded.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.collapsed { + list-style-type: disc; + list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.leaf { + list-style-type: square; + list-style-image: url(../../misc/menu-leaf.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li a.active { + color: #000; +} +td.menu-disabled { + background: #ccc; +} +ul.links { + margin: 0; + padding: 0; +} +ul.links.inline { + display: inline; +} +ul.links li { + display: inline; + list-style-type: none; + padding: 0 0.5em; +} +.block ul { + margin: 0; + padding: 0 0 0.25em 1em; /* LTR */ +} + + +/* + * modules/system/system-rtl.css + */ + +thead th { + text-align: right; + padding-left: 1em; + padding-right: 0.5em; +} + +.item-list .icon { + float: left; + padding-left: 0; + padding-right: 0.25em; + clear: left; +} +.item-list ul li { + margin: 0 1.5em 0.25em 0; +} + +.more-link { + text-align: left; +} +.more-help-link { + text-align: left; +} + +dl.multiselect dt, dl.multiselect dd { + float: right; + margin: 0 0 0 1em; +} + +.block ul { + padding: 0 1em 0.25em 0; +} + +ul.primary { + padding: 0 1em 0 0; +} +ul.primary li a { + margin-right: 5px; + margin-left: 0.5em; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: none; + border-left: 1px solid #ccc; +} +html.js input.form-autocomplete { + background-position: 0% 2px; +} +html.js input.throbbing { + background-position: 0% -18px; +} + +html.js fieldset.collapsible legend a { + padding-left: 0; + padding-right: 15px; + background-position: 98% 75%; +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed-rtl.png); + background-position: 98% 50%; +} + +div.teaser-button-wrapper { + float: left; + padding-right: 0; + padding-left: 5%; +} +.teaser-checkbox div.form-item { + float: left; + margin: 0 0 0 5%; +} +.progress .percentage { + float: left; +} +.progess-disabled { + float: right; +} +.ahah-progress { + float: right; +} +.ahah-progress .throbber { + float: right; +} +input.password-field { + margin-left: 10px; + margin-right: 0; +} +input.password-confirm { + margin-left: 10px; + margin-right: 0; +} + +.draggable a.tabledrag-handle { + float: right; + margin: -0.4em -0.5em -0.4em 0; + padding: 0.42em 0.5em 0.42em 1.5em; +} +div.indentation { + margin: -0.4em -0.4em -0.4em 0.2em; + padding: 0.42em 0.6em 0.42em 0; + float: right; +} +div.tree-child, div.tree-child-last { + background-position: -65px center; +} + + +/* + * modules/system/system.css + */ + +/* +** HTML elements +*/ +body.drag { + cursor: move; +} +th.active img { + display: inline; +} +tr.even, tr.odd { + background-color: #eee; + border-bottom: 1px solid #ccc; + padding: 0.1em 0.6em; +} +tr.drag { + background-color: #fffff0; +} +tr.drag-previous { + background-color: #ffd; +} +td.active { + background-color: #ddd; +} +td.checkbox, th.checkbox { + text-align: center; +} +tbody { + border-top: 1px solid #ccc; +} +tbody th { + border-bottom: 1px solid #ccc; +} +thead th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Other common styles +*/ +.breadcrumb { + padding-bottom: .5em +} +div.indentation { + width: 20px; + height: 1.7em; + margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */ + padding: 0.42em 0 0.42em 0.6em; /* LTR */ + float: left; /* LTR */ +} +div.tree-child { + background: url(../../misc/tree.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-last { + background: url(../../misc/tree-bottom.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-horizontal { + background: url(../../misc/tree.png) no-repeat -11px center; +} +.error { + color: #e55; +} +div.error { + border: 1px solid #d77; +} +div.error, tr.error { + background: #fcc; + color: #200; + padding: 2px; +} +.warning { + color: #e09010; +} +div.warning { + border: 1px solid #f0c020; +} +div.warning, tr.warning { + background: #ffd; + color: #220; + padding: 2px; +} +.ok { + color: #008000; +} +div.ok { + border: 1px solid #00aa00; +} +div.ok, tr.ok { + background: #dfd; + color: #020; + padding: 2px; +} +.item-list .icon { + color: #555; + float: right; /* LTR */ + padding-left: 0.25em; /* LTR */ + clear: right; /* LTR */ +} +.item-list .title { + font-weight: bold; +} +.item-list ul { + margin: 0 0 0.75em 0; + padding: 0; +} +.item-list ul li { + margin: 0 0 0.25em 1.5em; /* LTR */ + padding: 0; + list-style: disc; +} +ol.task-list li.active { + font-weight: bold; +} +.form-item { + margin-top: 1em; + margin-bottom: 1em; +} +tr.odd .form-item, tr.even .form-item { + margin-top: 0; + margin-bottom: 0; + white-space: nowrap; +} +tr.merge-down, tr.merge-down td, tr.merge-down th { + border-bottom-width: 0 !important; +} +tr.merge-up, tr.merge-up td, tr.merge-up th { + border-top-width: 0 !important; +} +.form-item input.error, .form-item textarea.error, .form-item select.error { + border: 2px solid red; +} +.form-item .description { + font-size: 0.85em; +} +.form-item label { + display: block; + font-weight: bold; +} +.form-item label.option { + display: inline; + font-weight: normal; +} +.form-checkboxes, .form-radios { + margin: 1em 0; +} +.form-checkboxes .form-item, .form-radios .form-item { + margin-top: 0.4em; + margin-bottom: 0.4em; +} +.marker, .form-required { + color: #f00; +} +.more-link { + text-align: right; /* LTR */ +} +.more-help-link { + font-size: 0.85em; + text-align: right; /* LTR */ +} +.nowrap { + white-space: nowrap; +} +.item-list .pager { + clear: both; + text-align: center; +} +.item-list .pager li { + background-image:none; + display:inline; + list-style-type:none; + padding: 0.5em; +} +.pager-current { + font-weight:bold; +} +.tips { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + font-size: 0.9em; +} +dl.multiselect dd.b, dl.multiselect dd.b .form-item, dl.multiselect dd.b select { + font-family: inherit; + font-size: inherit; + width: 14em; +} +dl.multiselect dd.a, dl.multiselect dd.a .form-item { + width: 8em; +} +dl.multiselect dt, dl.multiselect dd { + float: left; /* LTR */ + line-height: 1.75em; + padding: 0; + margin: 0 1em 0 0; /* LTR */ +} +dl.multiselect .form-item { + height: 1.75em; + margin: 0; +} + +/* +** Inline items (need to override above) +*/ +.container-inline div, .container-inline label { + display: inline; +} + +/* +** Tab navigation +*/ +ul.primary { + border-collapse: collapse; + padding: 0 0 0 1em; /* LTR */ + white-space: nowrap; + list-style: none; + margin: 5px; + height: auto; + line-height: normal; + border-bottom: 1px solid #bbb; +} +ul.primary li { + display: inline; +} +ul.primary li a { + background-color: #ddd; + border-color: #bbb; + border-width: 1px; + border-style: solid solid none solid; + height: auto; + margin-right: 0.5em; /* LTR */ + padding: 0 1em; + text-decoration: none; +} +ul.primary li.active a { + background-color: #fff; + border: 1px solid #bbb; + border-bottom: #fff 1px solid; +} +ul.primary li a:hover { + background-color: #eee; + border-color: #ccc; + border-bottom-color: #eee; +} +ul.secondary { + border-bottom: 1px solid #bbb; + padding: 0.5em 1em; + margin: 5px; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: 1px solid #ccc; /* LTR */ +} +ul.secondary a { + padding: 0; + text-decoration: none; +} +ul.secondary a.active { + border-bottom: 4px solid #999; +} + +/* +** Autocomplete styles +*/ +/* Suggestion list */ +#autocomplete { + position: absolute; + border: 1px solid; + overflow: hidden; + z-index: 100; +} +#autocomplete ul { + margin: 0; + padding: 0; + list-style: none; +} +#autocomplete li { + background: #fff; + color: #000; + white-space: pre; + cursor: default; +} +#autocomplete li.selected { + background: #0072b9; + color: #fff; +} +/* Animated throbber */ +html.js input.form-autocomplete { + background-image: url(../../misc/throbber.gif); + background-repeat: no-repeat; + background-position: 100% 2px; /* LTR */ +} +html.js input.throbbing { + background-position: 100% -18px; /* LTR */ +} + +/* +** Collapsing fieldsets +*/ +html.js fieldset.collapsed { + border-bottom-width: 0; + border-left-width: 0; + border-right-width: 0; + margin-bottom: 0; + height: 1em; +} +html.js fieldset.collapsed * { + display: none; +} +html.js fieldset.collapsed legend { + display: block; +} +html.js fieldset.collapsible legend a { + padding-left: 15px; /* LTR */ + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed.png); /* LTR */ + background-position: 5px 50%; /* LTR */ +} +/* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ +* html.js fieldset.collapsed legend, +* html.js fieldset.collapsed legend *, +* html.js fieldset.collapsed table * { + display: inline; +} +/* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */ +html.js fieldset.collapsible { + position: relative; +} +html.js fieldset.collapsible legend a { + display: block; +} +/* Avoid jumping around due to margins collapsing into collapsible fieldset border */ +html.js fieldset.collapsible .fieldset-wrapper { + overflow: auto; +} + +/* +** Resizable text areas +*/ +.resizable-textarea { + width: 95%; +} +.resizable-textarea .grippie { + height: 9px; + overflow: hidden; + background: #eee url(../../misc/grippie.png) no-repeat center 2px; + border: 1px solid #ddd; + border-top-width: 0; + cursor: s-resize; +} +html.js .resizable-textarea textarea { + margin-bottom: 0; + width: 100%; + display: block; +} + +/* +** Table drag and drop. +*/ +.draggable a.tabledrag-handle { + cursor: move; + float: left; /* LTR */ + height: 1.7em; + margin: -0.4em 0 -0.4em -0.5em; /* LTR */ + padding: 0.42em 1.5em 0.42em 0.5em; /* LTR */ + text-decoration: none; +} +a.tabledrag-handle:hover { + text-decoration: none; +} +a.tabledrag-handle .handle { + margin-top: 4px; + height: 13px; + width: 13px; + background: url(../../misc/draggable.png) no-repeat 0 0; +} +a.tabledrag-handle-hover .handle { + background-position: 0 -20px; +} + +/* +** Teaser splitter +*/ +.joined + .grippie { + height: 5px; + background-position: center 1px; + margin-bottom: -2px; +} +/* Keeps inner content contained in Opera 9. */ +.teaser-checkbox { + padding-top: 1px; +} +div.teaser-button-wrapper { + float: right; /* LTR */ + padding-right: 5%; /* LTR */ + margin: 0; +} +.teaser-checkbox div.form-item { + float: right; /* LTR */ + margin: 0 5% 0 0; /* LTR */ + padding: 0; +} +textarea.teaser { + display: none; +} +html.js .no-js { + display: none; +} + +/* +** Progressbar styles +*/ +.progress { + font-weight: bold; +} +.progress .bar { + background: #fff url(../../misc/progress.gif); + border: 1px solid #00375a; + height: 1.5em; + margin: 0 0.2em; +} +.progress .filled { + background: #0072b9; + height: 1em; + border-bottom: 0.5em solid #004a73; + width: 0%; +} +.progress .percentage { + float: right; /* LTR */ +} +.progress-disabled { + float: left; /* LTR */ +} +.ahah-progress { + float: left; /* LTR */ +} +.ahah-progress .throbber { + width: 15px; + height: 15px; + margin: 2px; + background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px; + float: left; /* LTR */ +} +tr .ahah-progress .throbber { + margin: 0 2px; +} +.ahah-progress-bar { + width: 16em; +} + +/* +** Formatting for welcome page +*/ +#first-time strong { + display: block; + padding: 1.5em 0 .5em; +} + +/* +** To be used with tableselect.js +*/ +tr.selected td { + background: #ffc; +} + +/* +** Floating header for tableheader.js +*/ +table.sticky-header { + margin-top: 0; + background: #fff; +} + +/* +** Installation clean URLs +*/ +#clean-url.install { + display: none; +} + +/* +** For anything you want to hide on page load when JS is enabled, so +** that you can use the JS to control visibility and avoid flicker. +*/ +html.js .js-hide { + display: none; +} + +/* +** Styles for the system modules page (admin/build/modules) +*/ +#system-modules div.incompatible { + font-weight: bold; +} + +/* +** Styles for the system themes page (admin/build/themes) +*/ +#system-themes-form div.incompatible { + font-weight: bold; +} + +/* +** Password strength indicator +*/ +span.password-strength { + visibility: hidden; +} +input.password-field { + margin-right: 10px; /* LTR */ +} +div.password-description { + padding: 0 2px; + margin: 4px 0 0 0; + font-size: 0.85em; + max-width: 500px; +} +div.password-description ul { + margin-bottom: 0; +} +.password-parent { + margin: 0 0 0 0; +} +/* +** Password confirmation checker +*/ +input.password-confirm { + margin-right: 10px; /* LTR */ +} +.confirm-parent { + margin: 5px 0 0 0; +} +span.password-confirm { + visibility: hidden; +} +span.password-confirm span { + font-weight: normal; +} + + +/* + * modules/taxonomy/taxonomy.css + */ + +tr.taxonomy-term-preview { + background-color: #EEE; +} +tr.taxonomy-term-divider-top { + border-bottom: none; +} +tr.taxonomy-term-divider-bottom { + border-top: 1px dotted #CCC; +} +.taxonomy-term-description { + margin: 5px 0 20px; +} + + +/* + * modules/tracker/tracker.css + */ + +#tracker td.replies { + text-align: center; +} +#tracker table { + width: 100%; +} + + +/* + * modules/update/update-rtl.css + */ + +.update .project { + padding-right: .25em; +} + +.update .version-status { + float: left; + padding-left: 10px; +} + +.update .version-status .icon { + padding-right: .5em; +} + +.update table.version .version-title { + padding-left: 1em; +} + +.update table.version .version-details { + padding-left: .5em; + direction: ltr; +} + +.update table.version .version-links { + text-align: left; + padding-left: 1em; +} + +.update .check-manually { + padding-right: 1em; +} + + +/* + * modules/update/update.css + */ + +.update .project { + font-weight: bold; + font-size: 110%; + padding-left: .25em; /* LTR */ + height: 22px; +} + +.update .version-status { + float: right; /* LTR */ + padding-right: 10px; /* LTR */ + font-size: 110%; + height: 20px; +} + +.update .version-status .icon { + padding-left: .5em; /* LTR */ +} + +.update .version-date { + white-space: nowrap; +} + +.update .info { + margin: 0; + padding: 1em 1em .25em 1em; +} + +.update tr td { + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +.update tr.error { + background: #fcc; +} + +.update tr.error .version-recommended { + background: #fdd; +} + +.update tr.ok { + background: #dfd; +} + +.update tr.warning { + background: #ffd; +} + +.update tr.warning .version-recommended { + background: #ffe; +} + +.current-version, .new-version { + direction: ltr; /* Note: version numbers should always be LTR. */ +} + +table.update, +.update table.version { + width: 100%; + margin-top: .5em; +} + +.update table.version tbody { + border: none; +} + +.update table.version tr, +.update table.version td { + line-height: .9em; + padding: 0; + margin: 0; + border: none; +} + +.update table.version .version-title { + padding-left: 1em; /* LTR */ + width: 14em; +} + +.update table.version .version-details { + padding-right: .5em; /* LTR */ +} + +.update table.version .version-links { + text-align: right; /* LTR */ + padding-right: 1em; /* LTR */ +} + +.update table.version-security .version-title { + color: #970F00; +} + +.update table.version-recommended-strong .version-title { + font-weight: bold; +} + +.update .security-error { + font-weight: bold; + color: #970F00; +} + +.update .check-manually { + padding-left: 1em; /* LTR */ +} + + +/* + * modules/user/user-rtl.css + */ + +#permissions td.permission { + padding-left: 0; + padding-right: 1.5em; +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 0; + margin-left: 1em; + float: right; +} +#user-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + +.profile .picture { + float: left; + margin: 0 0 1em 1em; +} + + +/* + * modules/user/user.css + */ + +#permissions td.module { + font-weight: bold; +} +#permissions td.permission { + padding-left: 1.5em; /* LTR */ +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 1em; /* LTR */ + float: left; /* LTR */ +} +#access-rules .access-type .form-item, #access-rules .rule-type .form-item { + margin-top: 0; +} +#access-rules .mask { + clear: both; +} +#user-login-form { + text-align: center; +} +#user-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#user-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +#user-admin-settings fieldset .description { + font-size: 0.85em; + padding-bottom: .5em; +} + +/* Generated by user.module but used by profile.module: */ +.profile { + clear: both; + margin: 1em 0; +} +.profile .picture { + float: right; /* LTR */ + margin: 0 1em 1em 0; /* LTR */ +} +.profile h3 { + border-bottom: 1px solid #ccc; +} +.profile dl { + margin: 0 0 1.5em 0; +} +.profile dt { + margin: 0 0 0.2em 0; + font-weight: bold; +} +.profile dd { + margin: 0 0 1em 0; +} diff --git a/lab_site_themes/osu_drupal_1_11/favicon.ico b/lab_site_themes/osu_drupal_1_11/favicon.ico new file mode 100644 index 0000000..27dea8a Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/favicon.ico differ diff --git a/lab_site_themes/osu_drupal_1_11/ie.css b/lab_site_themes/osu_drupal_1_11/ie.css new file mode 100644 index 0000000..fb50dcf --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/ie.css @@ -0,0 +1,115 @@ +/* YUI Override fixes gc */ +.yui-gc .yui-u { + width: 31.9%; +} + + +div.field-content { + overflow:hidden; + width:142px; +} + +div.admin .left{ + width:46%; +} + +div.admin .right{ + width:46%; +} + + + + +/* + * Tabs CSS - IE 5 and 6 don't support PNGs with alpha transparency. + * Hacks from Zen theme + */ + + ul.primary li a, + ul.primary li a .tab, + ul.secondary li a, + ul.secondary li a .tab + { + _display: inline; /* Otherwise the blocks mistakenly get 100% width in IE5 */ + _di\splay: inline-block; /* Otherwise the blocks mistakenly get 100% width in IE6 * +/ + cursor: pointer; + } + + ul.primary, + ul.secondary + { + _width: 100%; /* Otherwise IE5 treats the ul as floated */ + _w\idth: auto; /* Reset to auto width for IE6 */ + } + + ul.primary li a + { + _background: url(images/tab-left-ie6.png) no-repeat left -38px; + } + + ul.primary li a .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right -38px; + } + + ul.primary li a:hover + { + _background: url(images/tab-left-ie6.png) no-repeat left -76px; + } + + ul.primary li a:hover .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right -76px; + } + + ul.primary li.active a, + ul.primary li.active a:hover + { + _background: url(images/tab-left-ie6.png) no-repeat left 0; + } + + ul.primary li.active a .tab, + ul.primary li.active a:hover .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right 0; + } + +/* + * Messages - IE 5 and 6 don't support PNGs with alpha transparency. + */ + + div.messages, /* Important messages (status, warning, and error) for the user */ + div.status, + div.warning, + div.error + { + /* _background-image: url(images/messages-status-ie6.png);*/ + } + + div.warning /* Medium priority messages */ + { + /* _background-image: url(images/messages-warning-ie6.png);*/ + } + + div.error /* High priority messages. See also the .error declaration below. */ + { + /* _background-image: url(images/messages-error-ie6.png);*/ + } + +/** Drupal nodes **/ + .node-unpublished .node-inner>* + { + position: relative; /* Otherwise these elements will appear below the "Unpublished" + text. */ + } + +/** Drupal admin tables **/ + .section-admin #content tr.even th, + .section-admin #content tr.even td, + .section-admin #content tr.odd th, + .section-admin #content tr.odd td + { + border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */ + } + diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-error-ie6.png b/lab_site_themes/osu_drupal_1_11/images/messages-error-ie6.png new file mode 100644 index 0000000..054b9f2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-error-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-error.png b/lab_site_themes/osu_drupal_1_11/images/messages-error.png new file mode 100644 index 0000000..012813b Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-error.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-status-ie6.png b/lab_site_themes/osu_drupal_1_11/images/messages-status-ie6.png new file mode 100644 index 0000000..f9eb63f Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-status-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-status.png b/lab_site_themes/osu_drupal_1_11/images/messages-status.png new file mode 100644 index 0000000..9f07a42 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-status.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-warning-ie6.png b/lab_site_themes/osu_drupal_1_11/images/messages-warning-ie6.png new file mode 100644 index 0000000..551a9db Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-warning-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/messages-warning.png b/lab_site_themes/osu_drupal_1_11/images/messages-warning.png new file mode 100644 index 0000000..e727711 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/messages-warning.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-bar.png b/lab_site_themes/osu_drupal_1_11/images/tab-bar.png new file mode 100644 index 0000000..0b380be Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-bar.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-left-ie6.png b/lab_site_themes/osu_drupal_1_11/images/tab-left-ie6.png new file mode 100644 index 0000000..5c512ae Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-left-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-left.png b/lab_site_themes/osu_drupal_1_11/images/tab-left.png new file mode 100644 index 0000000..dd925f7 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-left.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-right-ie6.png b/lab_site_themes/osu_drupal_1_11/images/tab-right-ie6.png new file mode 100644 index 0000000..1c00281 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-right-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-right.png b/lab_site_themes/osu_drupal_1_11/images/tab-right.png new file mode 100644 index 0000000..9ed9cb2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-right.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-secondary-bg.png b/lab_site_themes/osu_drupal_1_11/images/tab-secondary-bg.png new file mode 100644 index 0000000..a5a617e Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-secondary-bg.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/tab-secondary.png b/lab_site_themes/osu_drupal_1_11/images/tab-secondary.png new file mode 100644 index 0000000..bf4e8d2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/tab-secondary.png differ diff --git a/lab_site_themes/osu_drupal_1_11/images/transparent.png b/lab_site_themes/osu_drupal_1_11/images/transparent.png new file mode 100644 index 0000000..cc4af78 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/images/transparent.png differ diff --git a/lab_site_themes/osu_drupal_1_11/logo.png b/lab_site_themes/osu_drupal_1_11/logo.png new file mode 100644 index 0000000..bcc4532 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/logo.png differ diff --git a/lab_site_themes/osu_drupal_1_11/node.tpl.php b/lab_site_themes/osu_drupal_1_11/node.tpl.php new file mode 100644 index 0000000..9c59944 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/node.tpl.php @@ -0,0 +1,87 @@ + +
+ + + + +

+ +

+ + + +
+ + + +
+ + + +
+ + +
+ +
+ +
+ +
+ +
+ + + +
diff --git a/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.css b/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.css new file mode 100644 index 0000000..ec975b8 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.css @@ -0,0 +1,116 @@ +/* Prevent header text from creating a margin */ +#hd h1, #hd h2, #hd h3 { + margin-top: 0; +} + +/* rotating-image */ +#rotating-image { + position: relative; +} + +#rotating-image div.slide { + position: absolute; +} + + +/* Override Zen table borders */ +tbody, thead, thead th { + border: 0; +} + +/* Skip to nav for accessablility */ +#skip-to-nav { + position: absolute; + left: 0px; + top: -500px; + height: 1px; + width: 1px; + overflow: hidden; +} + +/* We don't want to show these */ +div.book-navigation { + display: none; +} + +#book-outline { + min-width: 0em; +} + +#logo, #logo-image { + display: none; +} + +/* Calendar */ +#sidebar-right .minical_month th, #sidebar-right .minical_month td, +#sidebar-left .minical_month th, #sidebar-left .minical_month td{ + border:none; + padding:0; +} + +#content .minical_month a{ + color: #000; +} + +a.minical_hasevents { + text-decoration:underline; +} + + + +/* Paginator */ +div.view ul.pager { + display: block; + width: 90%; + margin: 0 auto; +} + +div.view ul.pager li { + display: inline; + padding: 0px; + margin: 0px; +} + + +/* Admin Settings */ +body.section-admin fieldset { + border: 1px solid #000; +} + +body.section-admin fieldset legend { + font-size: 120%; +} + +#osu-rotating-header-image-preview, #osu-second-rotating-header-image-preview { + width: 50%; +} +#footer-message p{ + margin-bottom:0px; +} + +/*NiceMenu Tweaks*/ + +ul.nice-menu-down li,ul.nice-menu-right, ul.nice-menu-left, ul.nice-menu-right li, ul.nice-menu-left li { + padding-right:0px; + border:none; + list-style-image:none; + list-style-type:none; +} + +/*ul.nice-menu-left li ul, ul.nice-menu-left li ul li ul { + left:-12.5em; +}*/ + +div.terms { + display: block; + margin: 1em 0; + color: gray; + font-weight: bold; + font-style: italic; +} + +div.terms a { + font-weight: normal; + font-style: italic; +} + diff --git a/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.info b/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.info new file mode 100644 index 0000000..8a1bb7b --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/osu_drupal_1_11.info @@ -0,0 +1,135 @@ + ; The name and description of the theme used on the admin/build/themes page. +name = OSU Base +description = A base theme for all OSU Drupal 6 sites +version = 1.11 + + ; "core" specifies the version of Drupal that this theme is compatible with. + ; "base theme" specifies that this is a theme that uses the "zen" theme as its + ; base theme. Its unlikely you will ever need to change these, but they are + ; required fields for a Zen sub-theme. The "engine" field is not used in a + ; sub-theme since the engine is inherited from its base theme. +core = 6.x +base theme = zen + + + ; The screenshot used on the admin/build/themes page. +screenshot = screenshot.png + + + + ; This section adds CSS files to your theme. The media type is specified in + ; the brackets. Typical CSS media types include "all", "screen", "print", and + ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full + ; list of stylesheet media types in CSS 2.1. + ; + ; You can also override any of Zen's stylesheets or any module's stylesheets, + ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at + ; http://drupal.org/node/171209 for more details. +stylesheets[all][] = layout.css +stylesheets[all][] = html-elements.css +stylesheets[print][] = print.css +stylesheets[all][] = osu_drupal_1_11.css + + ; stylesheets[all][] = tabs.css + ; stylesheets[all][] = messages.css + ; stylesheets[all][] = block-editing.css + ; stylesheets[all][] = wireframes.css + + + + + ; To prevent stylesheets of a base theme or of a module from being included in + ; our sub-theme, we specify it in our .info file (and we don't need to have a + ; stylesheet in our sub-theme with that name.) For example, we prevent the + ; zen.css file in the base theme from being included by specifying it here. +stylesheets[all][] = zen.css + + ; overrides the default IE.css styles from zen. + +conditional-stylesheets[if IE][all][] = ie.css + + ; use these in your sub-theme to add IE6 and IE7 conditional styles: + ;conditional-stylesheets[if gte IE 6][all][] = ie6.css + ;conditional-stylesheets[if IE 7][all][] = ie7.css + + ; Set the conditional stylesheets that are processed by IE. + ; conditional-stylesheets[if IE][all][] = ie.css + + ; Optionally add some jquery scripts to your theme. + ; scripts[] = script.js + + ; The regions defined in Zen's default page.tpl.php file. The name in + ; brackets is the name of the variable in the page.tpl.php file, (e.g. + ; "[content_top]" in the .info file means there should be a $content_top + ; variable in the page.tpl.php file.) The text after the equals sign is a + ; descriptive text used on the admin/build/blocks page. + ; + ; To add a new region, copy Zen's page.tpl.php to your sub-theme's directory, + ; add a line line to this file, and then add the new variable to your + ; page.tpl.php template. +regions[left] = left sidebar +regions[right] = right sidebar +regions[navbar] = navigation bar +regions[content] = content +regions[top_horizontal_bar] = top horizontal bar +regions[pre_content] = pre content +regions[post_content] = post content +regions[header] = header +regions[footer] = footer +regions[closure_region] = closure + + ; Various page elements output by the theme can be toggled on and off. The + ; "features" control which of these check boxes display on the + ; admin/build/themes config page. This is useful for suppressing check boxes + ; for elements not used by your sub-theme. To suppress a check box, omit the + ; entry for it below. See the Drupal 6 Theme Guide for more info: + ; http://drupal.org/node/171205#features +features[] = mission +features[] = node_user_picture +features[] = comment_user_picture +features[] = search +features[] = favicon + + ; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 1 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' > ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 0 +settings[zen_wireframes] = 0 + + + ; Define options for breadcrumb prefix +settings[osu_breadcrumb_prefix] = '' +settings[osu_breadcrumb_first] = 'Home' + + + ; Define options for secondary page header types +osu_second_header_types[tall] = 'tall header with graphics' +osu_second_header_types[short] = 'short header' + + + ; Define options for rotating headers +osu_rotating_header_types[0] = 'continuous rotation' +osu_rotating_header_types[1] = 'random image on each load' +osu_rotating_header_types[2] = 'single image' + + + ; OSU rotating header icon settings (RELATIVE TO sites/default/files) + ; Be sure to use starting and ending /'s +settings[osu_rotating_header_directory] = '/rotating-images/example/' + + ; default front page header settings +settings[osu_rotating_header_type] = '0' +settings[osu_rotating_header_interval] = '4' +settings[osu_rotating_header_single_image] = 'example.jpg' + + ; default secondary page header settings +settings[osu_second_header_type] = 'tall' +settings[osu_second_rotating_header_type] = '2' +settings[osu_second_rotating_header_interval] = '4' +settings[osu_second_rotating_header_single_image] = 'example.jpg' + + diff --git a/lab_site_themes/osu_drupal_1_11/osu_search.module b/lab_site_themes/osu_drupal_1_11/osu_search.module new file mode 100644 index 0000000..42042bb --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/osu_search.module @@ -0,0 +1,332 @@ + + * @package Drupal + * @subpackage modules + */ + +/** + * Port to Drupal 6.x by Kenneth Lett + */ + +// require the config +require_once 'osu_search.config.inc'; + +// changed to new Drupal 6 menu API + +function osu_search_menu() { + $items = array(); + $items['search'] = array( + 'title' => 'Search', + 'description' => t('Search site content.'), + 'page callback' => 'osu_search_main', + 'access callback' => TRUE); + + $items['admin/settings/osu_search'] = array( + 'title' => 'OSU Search', + 'description' => t('Settings for the OSU Search module.'), + 'page callback' => 'osu_search_settings', + 'access callback' => 'user_access', + 'access arguments' => array('administer site configuration')); + + return $items; +} + +function osu_search_main() { + $output = ''; + $args = func_get_args(); + list($term, $page_num, $per_page, $where) = $args; + $term = urldecode(urldecode($term)); + + $output .= drupal_get_form('osu_search_form', $term, $where); + + // if there's a search term, do the thing + if ($term) { + global $osu_search_xml_source; + global $osu_search_xsl_file; + + $page_num = (empty($page_num) || $page_num < 0) ? 1 : (int) $page_num; + $per_page = (empty($per_page)) ? 10 : (int) $per_page; + if (in_array($per_page, array(10, 20, 30, 50))) { + $per_page = 10; + } + $start = $page_num * $per_page - $per_page; + + $base_web_path = 'http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['SERVER_NAME'].base_path(); + preg_match_all('(\w+)', $base_web_path, $matches); + $matches = $matches[0]; + foreach ($matches as $k => $v) { $matches[$k] = str_replace('/', '\/', '('.$v.')'); }; + + $query_params = '&hitsPerPage='.$per_page.'&hitsPerSite=0&start='.$start; + $xml_data = file_get_contents($osu_search_xml_source.'?output=xml&query='.urlencode($term.' site:'.$base_web_path).$query_params); + + preg_match('/(\d+)<\/hits>/', $xml_data, $total); + $total = (int) $total[1]; + $max_pages = ceil($total / $per_page); + if ($max_pages > 0 && $page_num > $max_pages) { + drupal_goto('search/'.urlencode(urlencode($term)).'/'.$max_pages.'/'.$per_page.'/'.$where); + exit; + } + + $xml_data = preg_replace($matches, '', $xml_data, 1); + $xsl_info = file_get_contents(dirname(__FILE__).'/'.$osu_search_xsl_file); + $output .= osu_search_xml2html($xml_data, $xsl_info); + + // pagination!! + if ($max_pages > 1) { + $term = urlencode(urlencode($term)); + $output .= '
'."\n" + .(($page_num > 1) ? '' : '') + .'← Previous' + .(($page_num > 1) ? '' : '') + .((($page_num - 5) > 1) ? ''."\n" : ''); + + $begin_page_num = $page_num - 5; + $begin_page_num = ($begin_page_num < 1) ? 1 : $begin_page_num; + $end_page_num = $page_num + 5; + $pages_count = $end_page_num - $begin_page_num; + $end_page_num = ($pages_count < 11) ? ($begin_page_num + 10) : $end_page_num; + if ($end_page_num > $max_pages) { + $end_page_num = $max_pages; + $begin_page_num = $max_pages - 10; + $begin_page_num = ($begin_page_num < 1) ? 1 : $begin_page_num; + } + + for ($i = $begin_page_num; $i <= $end_page_num; $i++) { + $page_url = (url('search/'.$term.'/'.($i).'/'.$per_page.'/'.$where)); + $output .= ''.$i.''."\n"; + } + + $output .= ((($page_num + 5) < $max_pages) ? ''."\n" : '') + .(($page_num < $max_pages) ? '' : '') + .'Next →' + .(($page_num < $max_pages) ? '' : '') + .'
'."\n"; + } + } + + return $output; +} + +function osu_search_form(&$form_state, $term, $where=1) { + $form = array(); + drupal_add_css('sites/all/modules/osu_search/osu_search.css'); + drupal_add_js('misc/jquery.js'); + drupal_add_js('sites/all/modules/osu_search/osu_search.js'); + + $displayTerm = $term; + if(strpos($displayTerm,'site:')){ + $displayTerm = substr($displayTerm,0,strpos($displayTerm,'site:')); + } + + $form['#action'] = url('search'); + $form['term'] = array( + '#type' => 'textfield', + '#default_value' => $displayTerm + ); + $choices = array('1' => t('This Site')); + if (($osu_search_other_url = variable_get('osu_search_other_url', '')) != '') { + $osu_search_other_title = variable_get('osu_search_other_title', ''); + $choices['2'] = (empty($osu_search_other_title)) ? $osu_search_other_url : $osu_search_other_title; + } + $choices['3'] = 'OSU'; + $form['where'] = array( + '#type' => 'radios', + '#default_value' => $where, + '#options' => $choices + ); + $form['submit'] = array( + '#type' => 'submit', + '#value' => 'Search' + ); + + return $form; +} + +// new form api, now uses $form_state +function osu_search_form_submit($form, &$form_state) { + global $osu_search_url; + + switch ($form_state['values']['where']) { + case '3': + drupal_goto($osu_search_url, 'query='.urlencode($form_state['values']['term'])); + exit; + case '2': + if (($osu_search_other_url = variable_get('osu_search_other_url', '')) != '') { + if(variable_get('osu_search_other_results_page', 1) == 1){ + drupal_goto('search/'.urlencode(urlencode($form_state['values']['term'] . ' site:'.$osu_search_other_url)).'/1/10/2');//stay within current site + } else { + drupal_goto($osu_search_url, 'query='.urlencode($form_state['values']['term'].' site:'.$osu_search_other_url));//go to university search site + } + exit; + } + case '1': + default: + // I'm encoding twice because Drupal is so damn nice that + // it would automatically decode first and then explode on '/'. + // In other words, I need it if someone searches for 'foobar/1/10'... + drupal_goto('search/'.urlencode(urlencode($form_state['values']['term'])).'/1/10/1'); + exit; + } +} + +// new form api, now uses $form_state +function osu_search_form_validate($form, &$form_state) { + if (trim($form_state['values']['term']) === '') { + form_set_error('term', t('Please enter what you are looking for…')); + } +} + +function osu_search_settings() { + $output = '

Set up an extra site as an option on the search form.

' + .drupal_get_form('osu_search_settings_form'); + return $output; +} + +// new form api, now uses $form_state +function osu_search_settings_form(&$form_state) { + $form = array(); + + $form['osu_search_other_title'] = array( + '#type' => 'textfield', + '#title' => t('Site Title'), + '#default_value' => variable_get('osu_search_other_title', '') + ); + $form['osu_search_other_url'] = array( + '#type' => 'textfield', + '#title' => t('Site URL'), + '#default_value' => variable_get('osu_search_other_url', '') + ); + $form['osu_search_other_results_page'] = array( + '#type' => 'checkbox', + '#title' => t('Show search results on this site (if left unchecked results will be shown on the OSU search page).'), + '#default_value' => variable_get('osu_search_other_results_page', 1) + ); + $form['submit'] = array( + '#type' => 'submit', + '#value' => 'Save' + ); + + return $form; +} + +function osu_search_settings_form_submit($form, &$form_state) { + variable_set('osu_search_other_title', $form_state['values']['osu_search_other_title']); + variable_set('osu_search_other_url', $form_state['values']['osu_search_other_url']); + variable_set('osu_search_other_results_page', $form_state['values']['osu_search_other_results_page']);//determines whether to display search results on current site or university search +} + +/** + * Converts a pure xml/xslt file to plain html (so its compatible with older browsers) + * Stolen from OSU Search. + * PHP5 ONLY! + */ +function osu_search_xml2html($xmldata, $xsldata) { + $xml = @DOMDocument::loadXML($xmldata); + $xsl = @DOMDocument::loadXML($xsldata); + + if (!$xml || !$xsl) { + return t('The search engine is having a bit of trouble right now.'); + } + + $proc = new XSLTProcessor(); + $proc->importStyleSheet($xsl); + $doc = $proc->transformToDoc($xml); + if ($doc === false) { + return t('Error processing search results'); + } + return $doc->saveHTML(); +} + +function osu_search_get_template_form(&$vars) { + $search_form = drupal_get_form('osu_search_template_form'); + $vars['osu_search_form'] = $search_form; + + $image_submit_search_form = drupal_get_form('osu_search_image_submit_template_form'); + $vars['osu_search_image_submit_form'] = $image_submit_search_form; +} + +function osu_search_template_form(&$form_state) { + $form = array(); + $form['#action'] = url('search'); + $form['search-query'] = array( + '#id' => 'osu-search-query', + '#type' => 'textfield', + '#size' => '' + ); + $form['search-scope'] = array( + '#id' => 'osu-search-scope', + '#type' => 'checkbox', + '#title' => 'Search all of OSU.', + ); + $form['submit'] = array( + '#id' => 'osu-search-submit', + '#type' => 'submit', + '#value' => 'Search' + ); + + return $form; +} + +function osu_search_image_submit_template_form(&$form_state) { + $transparent_image = path_to_theme().'/images/blank.gif'; //must be set or IE shows broken image icon + $form = array(); + $form['#action'] = url('search'); + $form['search-query'] = array( + '#id' => 'osu-search-query', + '#type' => 'textfield', + '#size' => '' + ); + $form['search-scope'] = array( + '#id' => 'osu-search-scope', + '#type' => 'checkbox', + '#title' => 'Search all of OSU.', + ); + $form['submit'] = array( + '#id' => 'osu-search-submit', + '#type' => 'image_button', + '#src' => $transparent_image, + '#value' => ' ' + ); + + return $form; +} + +// new form api, now uses $form_state +function osu_search_template_form_submit($form, &$form_state) { + $search_query = trim($form_state['values']['search-query']); + if (empty($search_query)) { + return false; + } + $form_state['values']['term'] = $form_state['values']['search-query']; + if ($form_state['values']['search-scope'] == '1') { + $form_state['values']['where'] = '3'; + } + else { + $form_state['values']['where'] = '1'; + } + osu_search_form_submit('osu_search_form', &$form_state); +} + +/** + * Implements hook_nodeapi(). + * + * @access public + * @param $node "The node the action is being performed on." + * @param $op The kind of action. + * @see http://api.drupal.org/api/5/function/hook_nodeapi + * @return void + */ +function osu_search_nodeapi(&$node, $op, $a3, $a4) { + if ($op == 'validate') { + $path = strtolower(trim($node->path)); + if ($path === 'search') { + form_set_error( 'path', t('You cannot use the URL path \'search\'. It has been reserved for the OSU Search module.')); + } + } +} diff --git a/lab_site_themes/osu_drupal_1_11/page.tpl.php b/lab_site_themes/osu_drupal_1_11/page.tpl.php new file mode 100644 index 0000000..8733abc --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/page.tpl.php @@ -0,0 +1,389 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $body_classes: A set of CSS classes for the BODY tag. This contains flags + * indicating the current layout (multiple columns, single column), the current + * path, whether the user is logged in, and so on. + * - $body_classes_array: An array of the body classes. This is easier to + * manipulate then the string in $body_classes. + * + * Site identity: + * - $front_page: The URL of the front page. Use this instead of $base_path, + * when linking to the front page. This includes the language domain or prefix. + * - $logo: The path to the logo image, as defined in theme configuration. + * - $site_name: The name of the site, empty when display has been disabled + * in theme settings. + * - $site_slogan: The slogan of the site, empty when display has been disabled + * in theme settings. + * - $mission: The text of the site mission, empty when display has been disabled + * in theme settings. + * + * Navigation: + * - $search_box: HTML to display the search box, empty if search has been disabled. + * - $primary_links (array): An array containing primary navigation links for the + * site, if they have been configured. + * - $secondary_links (array): An array containing secondary navigation links for + * the site, if they have been configured. + * + * Page content (in order of occurrance in the default page.tpl.php): + * - $left: The HTML for the left sidebar. + * + * - $breadcrumb: The breadcrumb trail for the current page. + * - $title: The page title, for use in the actual HTML content. + * - $help: Dynamic help text, mostly for admin pages. + * - $messages: HTML for status and error messages. Should be displayed prominently. + * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view + * and edit tabs when displaying a node). + * + * - $content: The main content of the current Drupal page. + * + * - $right: The HTML for the right sidebar. + * + * Footer/closing data: + * - $feed_icons: A string of all feed icons for the current page. + * - $footer_message: The footer message as defined in the admin settings. + * - $footer : The footer region. + * - $closure: Final closing markup from any modules that have altered the page. + * This variable should always be output last, after all other dynamic content. + * + * @see template_preprocess() + * @see template_preprocess_page() + */ +?> + + + + +<?php print $head_title; ?> | Oregon State University + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + +
> + + +
+
+ + + +
+ +
+
+ + + +
+
+ + + +
+ + +
+ +
+ + +
+ + + +
+ +
+
+ + + + + +
+
+
+ + + +
+
+ + + +
+
+ + + + + +
+
+ + + +
+ + + +
+
+ +
+ + + diff --git a/lab_site_themes/osu_drupal_1_11/rotating-image.php b/lab_site_themes/osu_drupal_1_11/rotating-image.php new file mode 100644 index 0000000..cc59466 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/rotating-image.php @@ -0,0 +1,79 @@ + 0) { + for ($i = 0; $i < count($images); $i++) { + $output .= '
'."\n"; + + $img_src = $path['rel'].basename($images[$i]); + + $output .= "\t".'banner image'."\n"; + $output .= '
'."\n"; + } + echo $output; + } + } //end if($result) +?> + + diff --git a/lab_site_themes/osu_drupal_1_11/screenshot.png b/lab_site_themes/osu_drupal_1_11/screenshot.png new file mode 100644 index 0000000..ccb99e7 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/screenshot.png differ diff --git a/lab_site_themes/osu_drupal_1_11/script.js b/lab_site_themes/osu_drupal_1_11/script.js new file mode 100644 index 0000000..e69de29 diff --git a/lab_site_themes/osu_drupal_1_11/template.php b/lab_site_themes/osu_drupal_1_11/template.php new file mode 100644 index 0000000..ea39c64 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/template.php @@ -0,0 +1,330 @@ + + + '; +} + +/* + * Returns the favicon embed + */ +function osu_drupal_1_11_get_favicon(){ + return sprintf("",base_path() . drupal_get_path('theme', 'osu_drupal_1_11')) ; +} + + +/* + * + * You can use this to override the display of your feed icons + * + +function THEMENAME_feed_icon($url, $title) { + if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), $title)) { + $result = ''. $image; + $result .= 'subscribe to RSS feed'; + $result .= ''; + return $result; + } +} + */ + + + /* Uses the theme settings saved variables: + * 0: Continuous rotation; + * 1: Random on load + * 2: Same image always + * + * @params bool $is_front + * @params string $rotating_div The #id or .class of the div containing rotating images + */ + function osu_drupal_1_11_rotating_header($is_front=false, $rotating_div='#hd') { + $path = osu_drupal_1_11_get_rotating_header_path(); + //print_r($path); + + $rotating_header_type = ($is_front)?theme_get_setting('osu_rotating_header_type'):theme_get_setting('osu_second_rotating_header_type'); + switch ($rotating_header_type) { + case 0: + include_once './' . drupal_get_path('theme', 'osu_drupal_1_11') . '/rotating-image.php'; + break; + case 1: + $available_images = glob($path['abs'].'*'); + $image = $available_images[rand(0, (count($available_images) - 1))]; + echo '
'; + echo 'header image'; + echo '
'; + break; + case 2: + if (theme_get_setting('osu_rotating_header_single_image')) { + $image = ($is_front)?theme_get_setting('osu_rotating_header_single_image'):theme_get_setting('osu_second_rotating_header_single_image'); + echo '
'; + echo 'header image'; + echo '
'; + } + break; + } + } + + /** + * Overriding the zen breadcrumb function so that we can insert the + * breadcrumb prefix + * + */ + function osu_drupal_1_11_breadcrumb($breadcrumb) { + if (!empty($breadcrumb) && theme_get_setting('osu_breadcrumb_first') != '') { + $breadcrumb[0] = l(theme_get_setting('osu_breadcrumb_first'), ''); + } + + // Get the breadcrumbs that zen generates + $output = zen_breadcrumb($breadcrumb); + if (!empty($output)) { + $start_html = '', // #div-zen-breadcrumb + '#size' => '40', + '#maxlength' => '500' + ); + + $form['osu_start_fieldset_0'] = array( + '#value' => '
Rotating Header Image Directory' + ); + + $form['osu_rotating_header_custom_location'] = array( + '#title' => 'Use a custom rotating header location?', + '#type' => 'checkbox', + '#default_value' => $settings['osu_rotating_header_custom_location'] + ); + + $form['osu_rotating_header_directory'] = array( + '#title' => t('Rotating header images directory'), + '#type' => 'textfield', + '#default_value' => $settings['osu_rotating_header_directory'], + '#description' => 'Enter the path to your rotating header images (relative to sites/default/files/)' + ); + + $form['osu_end_fieldset_0'] = array( + '#value' => '
' + ); + + //rotating-image settings: + $form['osu_start_fieldset_1'] = array( + '#value' => '
Front Page Header Image' + ); + + $themes = list_themes(); + $info_rotating_header_types = $themes['osu_drupal_1_11']->info['osu_rotating_header_types']; + //var_dump($info_rotating_header_types); + //set up the array for select box values + if (!empty($info_rotating_header_types)) { + $i = 0; + foreach ($info_rotating_header_types as $rotating_header_type) { + $rotating_header_types[$i++] = t($rotating_header_type); + } + } + + $form['osu_rotating_header_type'] = array( + '#title' => t('Rotating Header Type'), + '#type' => 'select', + '#description' => t('Select the way you wish your header images to rotate'), + '#default_value' => $settings['osu_rotating_header_type'], + '#options' => $rotating_header_types + ); + + //input for rotating interval + $form['osu_rotating_header_interval'] = array( + '#title' => t('Rotating Header Interval'), + '#type' => 'textfield', + '#size' => '3', + '#default_value' => $settings['osu_rotating_header_interval'], + '#description' => 'Enter the time in seconds between each transition' + ); + + + //select for 'single image' rotation type + $available_images = glob($osu_rotating_header_path['abs'].'*'); + //set up the array for select box values + if (!empty($available_images)) { + foreach($available_images as $available_image) { + $rotating_images[t(basename($available_image))] = t(basename($available_image)); + } + } else { + $rotating_images = array(); + } + $form['osu_rotating_header_single_image'] = array( + '#title' => t('Select header image'), + '#type' => 'select', + '#description' => 'Select the image you want to appear in the header', + '#default_value' => $settings['osu_rotating_header_single_image'], + '#options' => $rotating_images + ); + + //header image preview: + $form['osu_rotating_header_image_preview'] = array( + '#value' => '' + ); + + $form['osu_end_fieldset_1'] = array( + '#value' => '
' + ); + + + //Secondary Page headers, reuses form elements for front pages and sets sepear + + $form['osu_start_fieldset_2'] = array( + '#value' => '
Secondary Page Header Image' + ); + + + $info_second_header_types = $themes['osu_drupal_1_11']->info['osu_second_header_types']; + $form['osu_second_header_type'] = array( + '#title' => t('Secondary Page Header Type'), + '#type' => 'select', + '#description' => t('Choose either a short header or a taller header with graphics'), + '#default_value' => $settings['osu_second_header_type'], + '#options' => $info_second_header_types + ); + + $form['osu_second_rotating_header_type'] = $form['osu_rotating_header_type']; + $form['osu_second_rotating_header_type']['#default_value'] = $settings['osu_second_rotating_header_type']; + + //input for rotating interval + $form['osu_second_rotating_header_interval'] = $form['osu_rotating_header_interval']; + $form['osu_second_rotating_header_interval']['#default_value'] = $settings['osu_second_rotating_header_interval']; + + $form['osu_second_rotating_header_single_image'] = $form['osu_rotating_header_single_image']; + $form['osu_second_rotating_header_single_image']['#default_value'] = $settings['osu_second_rotating_header_single_image']; + + //header image preview: + $form['osu_second_rotating_header_image_preview'] = array( + '#value' => '' + ); + + $form['osu_end_fieldset_2'] = array( + '#value' => '
' + ); + + // Remove some of the base theme's settings. + unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet. + + // Return the form + return $form; +} diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/._top-hat.php b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/._top-hat.php new file mode 100644 index 0000000..e8be870 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/._top-hat.php differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/data/cache/.gitignore b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/data/cache/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/data/top-hat-1.xml b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/data/top-hat-1.xml new file mode 100644 index 0000000..744d82d --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/data/top-hat-1.xml @@ -0,0 +1 @@ +has_children0titleCalendarhrefhttp://calendar.oregonstate.edu/has_children0titleLibraryhrefhttp://osulibrary.oregonstate.edu/has_children0titleMapshrefhttp://oregonstate.edu/campusmap/has_children0titleOnline Serviceshrefhttp://oregonstate.edu/main/online-services \ No newline at end of file diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/campaign.png b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/campaign.png new file mode 100644 index 0000000..ea56242 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/campaign.png differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/check.gif b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/check.gif new file mode 100644 index 0000000..5be0ae0 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/check.gif differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/makeagift-grad.jpg b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/makeagift-grad.jpg new file mode 100644 index 0000000..a2b321c Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/makeagift-grad.jpg differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/menu.jpg b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/menu.jpg new file mode 100644 index 0000000..41a3e0d Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/menu.jpg differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/osu-tag.gif b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/osu-tag.gif new file mode 100644 index 0000000..1785695 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/osu-tag.gif differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg.png b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg.png new file mode 100644 index 0000000..eae7a00 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg.png differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg2.png b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg2.png new file mode 100644 index 0000000..a14dba4 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/search-menu-bg2.png differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/submit.jpg b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/submit.jpg new file mode 100644 index 0000000..e8cbbab Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/submit.jpg differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/tophat-bg.jpg b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/tophat-bg.jpg new file mode 100644 index 0000000..da7ce4d Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/images/tophat-bg.jpg differ diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/lib/1.2/functions.php b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/lib/1.2/functions.php new file mode 100644 index 0000000..06591e7 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/lib/1.2/functions.php @@ -0,0 +1,195 @@ + + */ + + +/** + * Check for the existance of a cache file - if it is not empty, return the contents + * + * @param string $osu_home_cache_id - the path and filename to check + * @return string - the contents of the files + * + */ +function get_cache($data_path, $cache_id) { + $osu_home_cache_found = FALSE; + $osu_home_region_content = ''; + $cache_file = $data_path . '/cache/' . $cache_id; + + if (file_exists($cache_file)) { + $osu_home_region_content = file_get_contents($cache_file); + $osu_home_cache_found = !empty($osu_home_region_content); + } + + if ($osu_home_cache_found) { + return $osu_home_region_content; + } else { + return null; + } +} + +/** + * Save a region's html string to a cache file + * + * @param $data_path - the path to save the cache file to + * @param string $cache_id - the filename to save to + * @return bool - status of file save + * + */ +function save_cache($data_path, $cache_id, $content) { + + $cache_file = $data_path . '/cache/' . $cache_id; + if (!file_exists($data_path . '/cache/.block')) { + $cache_file_handle = fopen($cache_file, 'x'); + if ($cache_file_handle !== FALSE) { + fwrite($cache_file_handle, $content); + fclose($cache_file_handle); + } + } +} + +/** + * Get the settings, checking for URL params and validating them as needed + * URL params will override the osu_home_settings array + * the osu_home_settings array will override the default settings + * null or missing settings will be over-written + * + * @param array $default_settings - the calling region's defaults + * @param array $osu_home_settings - settings from theme or settings file + * @return array - the merged and validated region settings + * + */ +function get_settings($default_settings, $osu_home_settings = array()) { + + + $url_params = array(); + + foreach ($default_settings as $setting => $value) { + if (!empty($_GET[$setting])) { + $url_params[$setting] = $_GET[$setting]; + } + } + + $url_params = validate_settings($url_params); + + foreach ($default_settings as $key => $val) { + if (isset($osu_home_settings) && is_array($osu_home_settings)) { + if (isset($osu_home_settings[$key])) { + $default_settings[$key] = $osu_home_settings[$key]; + } + } + if (isset($url_params[$key])) { + $default_settings[$key] = $url_params[$key]; + } + } + return $default_settings; +} + +/** + * Validates the values of the various configuration variables. + * TODO: replace this with a more rational validation scheme - these + * validations are taken directly from the old Top Hat code + * + * @param array $settings - array of given settings + * @param array $default_settings - the subset of settings that need checking + * @return array Updated settings array + */ +function validate_settings($settings) { + + $allowed_wrapper_values = array('wrapper1', 'wrapper2', 'wrapper3', 'wrapper4'); + + if (array_key_exists('secure', $settings)) { + if($settings['secure']) { + $settings['secure'] = true; + } else { + $settings['secure'] = false; + } + } + + if (array_key_exists('site_domain', $settings) + && !is_string($settings['site_domain'])) + { + $settings['site_domain'] = null; + } + + if (array_key_exists('site_name', $settings) + && !is_string($settings['site_name'])) + { + $settings['site_name'] = null; + } + + if (array_key_exists('top_hat_border_color', $settings)) { + if(!is_string($settings['top_hat_border_color']) + || !preg_match('/[a-f0-9]{3,6}/i', $settings['top_hat_border_color'])) { + $settings['top_hat_border_color'] = null; + } + } + + if (array_key_exists('top_hat_wrapper', $settings)) { + if(!is_string($settings['top_hat_wrapper']) + || (array_search($settings['top_hat_wrapper'], $allowed_wrapper_values) === false)) { + $settings['top_hat_wrapper'] = null; + } + } + + return $settings; +} + +/** + * Tests for the presence of drupal + * + * @return bool + * + */ +function is_drupal() { + if (function_exists('base_path')) { + return 1; + } + return 0; +} + +/** + * Renders an image tag with the given attributes + * + * @param string $src - the image source + * @param string $alt - the image alt text + * @param string $class - the image class + * @param string $id - the image id + * + * @return string image tag html + * + */ +function render_img_tag($src, $alt = '', $class = null, $id = null) { + $image_string = ''; + $image_string .= 'People'); + newItem + .data('formdata', {'handler':'http://directory.oregonstate.edu/', 'terms':'cn'}) + .data('hidden', {'type':'search'}); + $('#osu-top-hat .search-menu ul').append(newItem); + + newItem = $('
  • Media
  • '); + newItem + .data('formdata', {'handler':'http://oregonstate.edu/media/search', 'terms':'search'}); + $('#osu-top-hat .search-menu ul').append(newItem); + + + // display menu on hover + $('#osu-top-hat .search-menu img') + .hover(function() {$(this) + .css('cursor', 'pointer'); + }, function() { + $(this).css('cursor', 'auto'); + }); + + $('#osu-top-hat form.search') + .hover(function() { + $('#osu-top-hat .search-menu ul') + .stopTime('top-hat-search-menu-slide') + .slideDown('fast'); + }, function() { + $('#osu-top-hat .search-menu ul') + .oneTime(1000, 'top-hat-search-menu-slide', function() { + $(this).filter(':not(:animated)').slideUp('normal'); + }); + }); + + // show/hide default search text + $('#osu-top-hat form.search input:text').each(function() { + var default_value = 'Find people and pages'; + $(this).css('color', '#888') + .focus(function() { + if(this.value == default_value) { + $(this).val('').css('color', '#252525'); + } + }) + .blur(function() { + if(this.value == '') { + $(this).val(default_value).css('color', '#888'); + } + }); + }); + + // handle search submit and redirect to the appropiate page + $('#osu-top-hat form.search').submit(function() { + if($('#osu-top-hat .search-menu ul li:eq(1) .checked').length > 0) { + var searchTerms = $('#osu-top-hat form.search input:text').attr('value'); + + // if drupal we redirect to drupal search page - Drupal sets a variable + // simply called 'Drupal' + if(typeof Drupal !== "undefined" && Drupal) { + // validate text + searchTerms = searchTerms + .replace(/[^\a-zA-z"'@, ]+/g, '') + .replace(/ +/g, '+'); + + // set new location to go to. + window.location = top_hat_drupal_search_url + '/' + searchTerms + '/0/1'; + // do not let the form submit + return false; + } + else if(typeof top_hat_site_search_domain !== "undefined" && top_hat_site_search_domain) { + $('#osu-top-hat form.search input:text') + .attr('value', 'site:'+top_hat_site_search_domain+' '+searchTerms); + + return true; + } + } + }); + + // change form when a menu item is selected + $('#osu-top-hat .search-menu input[name=osu-home-search-types]').each(function() { + $(this).click(function() { + var inputSelected = $(this).index('input[name=osu-home-search-types]'); + + $('#osu-top-hat form.search') + .attr('action', $("#osu-top-hat form.search li:eq("+inputSelected+")") + .data('formdata')['handler']); + + $('#osu-top-hat form.search input:text') + .attr('name', $("#osu-top-hat form.search li:eq("+inputSelected+")") + .data('formdata')['terms']); + + $('#osu-top-hat form.search input:hidden').remove(); + for(key in $("#osu-top-hat form.search li:eq("+inputSelected+")").data('hidden')) { + var value = $("#osu-top-hat form.search li:eq("+inputSelected+")").data('hidden')[key]; + $('#osu-top-hat form.search') + .append(''); + } + + // move check mark + $('#osu-top-hat .search-menu .checked') + .prependTo($("#osu-top-hat form.search li:eq("+inputSelected+")")); + }); + }); + + + // change form when a menu item is selected + $('#osu-top-hat .search-menu ul li') + .hover(function() { + $(this).css('cursor', 'pointer'); + },function() { + $(this).css('cursor', 'auto'); + }) + .click(function() { + $('#osu-top-hat form.search').attr('action', $(this).data('formdata')['handler']); + $('#osu-top-hat form.search input:text').attr('name', $(this).data('formdata')['terms']); + + $('#osu-top-hat form.search input:hidden').remove(); + for(key in $(this).data('hidden')) { + var value = $(this).data('hidden')[key]; + $('#osu-top-hat form.search') + .append(''); + } + + // move check mark + $('#osu-top-hat .search-menu .checked').prependTo(this); + }); + }); \ No newline at end of file diff --git a/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/top-hat.php b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/top-hat.php new file mode 100644 index 0000000..f403d23 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/top_hat_dynamic/top-hat.php @@ -0,0 +1,345 @@ + './top_hat_dynamic/data', + 'cache' => false, + 'secure' => false, + 'central_url' => 'http://oregonstate.edu/osuhomepage', + 'central_path' => '/www/virtual/oregonstate.edu/osuhomepage', + 'version' => '1.2', + 'search_url' => 'http://search.oregonstate.edu', + 'site_name' => '', + 'site_domain' => 'oregonstate.edu', + 'top_hat_border_color' => '#dbd6d0', + 'top_hat_wrapper' => 'wrapper4', + 'top_hat_search_box'=>true, + 'top_hat_campaign_id' => '', + 'top_hat_menu_links' => true, + 'top_hat_disable_drupal_search' => false +); + + +// Include the library file. We are using the default path for this, not the +// central path from custom settings - we can't get settings until we load the library. +// So, ALWAYS make sure that the default central path points to the location where +// the osu_homepage library that was developed to go with this version of top-hat +// lives. + +/* replaced with local library file +include_once(substr(__FILE__, 0, strrpos(__FILE__, "/")) + . '/../../../lib/' + . $top_hat_default_settings['version'] + . '/functions.php'); +*/ + +$new_data_path = dirname(__FILE__) . '/data'; +$top_hat_default_settings['data_path'] = $new_data_path; +$top_hat_default_settings['cache'] = 0; + +include_once(substr(__FILE__, 0, strrpos(__FILE__, "/")) + . '/lib/' + . $top_hat_default_settings['version'] + . '/functions.php'); + +// get the settings +$top_hat_settings = get_settings($top_hat_default_settings, $osu_home_settings); +// set the cache filename +$top_hat_cache_filename = 'top-hat-'.md5(serialize($top_hat_settings)); + +$osu_top_hat_html = ''; + +// if we are using cache, fetch it +if($top_hat_settings['cache']) { + $osu_top_hat_html = get_cache($top_hat_settings['data_path'], $top_hat_cache_filename); +} + +// if we didn't get a cache file, render the top hat string +if (empty($osu_top_hat_html)) { + try { + $osu_top_hat_html = generate_top_hat($top_hat_settings); + if($top_hat_settings['cache']) { + save_cache($top_hat_settings['data_path'], $top_hat_cache_filename, $osu_top_hat_html); + } + } catch (Exception $e) { + // todo: add proper exception handling + } +} + +//echo the top hat string +echo $osu_top_hat_html; + +/** + * Displays the top hat region + * + * @param array $top_hat_settings - array of all current settings + * @return string - fully rendered top hat html string + * + */ +function generate_top_hat($top_hat_settings) { + + $border_color = $top_hat_settings['top_hat_border_color']; + $wrapper = $top_hat_settings['top_hat_wrapper']; + $site_name = $top_hat_settings['site_name']; + $site_domain = $top_hat_settings['site_domain']; + $drupal_search = !$top_hat_settings['top_hat_disable_drupal_search']; + $url = $top_hat_settings['central_url']; + $version = $top_hat_settings['version']; + $tag_image_src = $url . '/regions/top-hat/' . $version . '/images/osu-tag.gif'; + + $top_hat_data = $top_hat_settings['data_path'] . '/top-hat-1.xml'; + + $top_hat_html = ''; + + // If a drupal site is including this file, ask Drupal for the site path. + // and set some drupal specific items + + if ($drupal_search && is_drupal()) { + global $base_url; + + $top_hat_html .= sprintf('', + $base_url + ); + + if (empty($site_domain)) { + $site_domain = str_replace('http://', '', $base_url); + $top_hat_settings['site_domain'] = $site_domain; + } + if (empty($top_hat_settings['site_name'])) { + $site_name = variable_get('site_name', ''); + $top_hat_settings['site_name'] = $site_name; + } + $search_this_site = true; + } + + $top_hat_html .= sprintf('
    ', + $border_color + ); + + $top_hat_html .= sprintf('
    ', $wrapper); + + $top_hat_html .= ''; + $top_hat_html .= render_img_tag($tag_image_src, "Oregon State University", "tag"); + $top_hat_html .= ''; + + if ($top_hat_settings['top_hat_menu_links']) { + $top_hat_html .= render_menu_links($top_hat_settings); + $top_hat_html .= render_foundation_link($top_hat_settings); + } + + if ($top_hat_settings['top_hat_search_box']) { + $top_hat_html .= render_search_box($top_hat_settings, $search_this_site); + } + + $top_hat_html .= '
    '; + + return $top_hat_html; + +} + +/** + * Renders the menu links list from the top hat data file + * + * @param array $top_hat_settings - array of all current settings + * @return string - fully rendered html list of menu links + * + */ +function render_menu_links($top_hat_settings) { + + // Menu links + // this is where we actually open the top hat data file, which + // contains the links + $data_file = $top_hat_settings['data_path'] . '/top-hat-1.xml'; + $data_handle = fopen($data_file, 'r'); + $data_xml = fread($data_handle, filesize($data_file)); + fclose($data_handle); + + $top_hat_data = xmlrpc_decode($data_xml); + + $menu_string = ''; + + $menu_string .= '
      '; + $i = 0; + foreach ($top_hat_data as $menu_item) { + $class = ''; + if ($i == 0) { + $li_class = 'first'; + } + else if ($i + 1 == count($top_hat_data)) { + $li_class = 'last'; + } + else { + $li_class = ''; + } + $menu_string .= sprintf('
    • ', $li_class); + $menu_string .=''; + $menu_string .= $menu_item['title'] . '
    • '; + $i++; + } + $menu_string .= '
    '; + return $menu_string; +} + +/** + * renders the foundation (make a gift) link, which will point to the + * appropriate fund as indicated by a setting + * + * @param array $top_hat_settings - array of all current settings + * @return string - fully rendered foundation link html string + * + */ +function render_foundation_link($top_hat_settings) { + + $campaign_img_src = $top_hat_settings['central_url'] + . '/regions/top-hat/' + . $top_hat_settings['version'] + . '/images/campaign.png'; + + // TODO: take this URL out and put it in settings + $campaign_link = + 'https://osufoundation.org/giving/online_gift.shtml?first_designation=' + . $top_hat_settings['top_hat_campaign_id']; + + // campaign link - this will be replaced in v1.2 + $link_string .= + sprintf( + '
      +
    • + + OSU Foundation + ', + $campaign_link, + $campaign_img_src + ); + $link_string .= sprintf('Make a Gift', $campaign_link); + + $link_string .= '
    '; + + return $link_string; +} + +/** + * Renders the top hat search box + * + * TODO: Simplify search box + * + * @param array $top_hat_settings - array of all current settings + * @return string - fully rendered search box html string + * + */ +function render_search_box($top_hat_settings, $search_this_site=null) { + + $search_image = $top_hat_settings['central_url'] + . '/regions/top-hat/' + . $top_hat_settings['version'] + . '/images/menu.jpg'; + + $sumbit_image = $top_hat_settings['central_url'] + . '/regions/top-hat/' + . $top_hat_settings['version'] + . '/images/submit.jpg'; + + $checked_image = $top_hat_settings['central_url'] + . '/regions/top-hat/' + . $top_hat_settings['version'] + . '/images/check.gif'; + + $checked = '' . render_img_tag($checked_image, "selected") . ''; + + $search_box_string = ''; + + $search_box_string .= + sprintf( + ''; + + return $search_box_string; +} diff --git a/lab_site_themes/osu_drupal_1_11/views-view.tpl.php b/lab_site_themes/osu_drupal_1_11/views-view.tpl.php new file mode 100644 index 0000000..dd341ef --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/views-view.tpl.php @@ -0,0 +1,95 @@ + +
    + + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + + + +
    + +
    + +
    + +
    + + + + + +
    + +
    + + + + + + + +
    + +
    + + + + + + + + + + +
    diff --git a/lab_site_themes/osu_drupal_1_11/yui-only.html b/lab_site_themes/osu_drupal_1_11/yui-only.html new file mode 100644 index 0000000..2516a01 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/yui-only.html @@ -0,0 +1,60 @@ + + +
    + + + +
    + +
    +
    + + +
    +
    + + +
    + + + +
    + + +
    +
    + + +
    + + + +
    + + +
    +
    + + +
    +
    + +
    + + + +
    + +
    + + + +
    \ No newline at end of file diff --git a/lab_site_themes/osu_drupal_1_11/zen/CHANGELOG.txt b/lab_site_themes/osu_drupal_1_11/zen/CHANGELOG.txt new file mode 100644 index 0000000..313b166 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/CHANGELOG.txt @@ -0,0 +1,239 @@ +// $Id: CHANGELOG.txt,v 1.62.2.50 2009/11/10 09:27:15 johnalbin Exp $ + +Zen 6.x-1.1, 2009-11-10 +----------------------- +- #478134 by mithrill: Improve docs about sites/all/themes and sites/default/themes folders +- #600758 by mattyoung: Secondary links run together in one line with primary links +- #600344 by mgifford: Use of absolute font size in block editing links breaks WCAG 2.0 +- #546904 by Jennifer_M: List $node as available variable in page.tpl.php +- #583716 by droidenator: Empty title can cause breadcrumbs to display incorrectly +- #600920 by kto.3decb: Fix incorrect comment block class name +- #297084: Remove ctype_lower() from zen_id_safe() to prevent WSOD/Fatal error on some systems +- #317417 by JohnAlbin and quicksketch: Fix off-line maintenance page since drupal_get_path('theme', 'zen') won't work +- #545320 by Deslack: Use of split() generate E_DEPRECATED warnings on PHP 5.3.0 +- #472694: Drupal 6.11 broke Zen's OpenID overrides +- Updated screenshot.png to use Zen logo since an actual screenshot is boring +- Changed "or" back to "||" in node.tpl.php since themers do need to learn a little PHP +- #254821: Sub-theme's .info file triggers incorrect "out of date" flag in update module +- #327455 by grendzy and erifneerg: name and id mismatch in named anchor causing validation error +- #382598: .node div.links ruleset doesn't match html in node template +- #382480 by Ognyan Kulev: #block-menu-2 should be #block-menu-primary-links +- #374349: breadcrumb often broken when zen_breadcrumb_title is on +- #426750: Removed Zen Classic sub theme +- #445562: q0rban and JohnAlbin: Allow modules to declare their own block edit links + +Zen 6.x-1.0, 2009-02-14 +----------------------- +- #342004 by Amitaibu: Add css hint to prevent cramped-looking tables +- #290657: Liquid layout does not have min-width enforced +- #329769 by kmonty: Update zen_id_safe to remove underscores +- #275832: hook_theme implementation breaks maintenance page when database is down +- #362104: layout breaks on Zen-themed maintenance page +- Changed "or" back to "||" in template files since themers do need to learn a little PHP +- #346867 by debonator: navbar-inner is missing the "clear-block" class +- #325610 by Garrett Albright: Site name and logo don't link to frontpage on multilingual site +- #281106: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- #365631: Zen's table-styling-fix breaks update module's styling +- #322480 by grendzy, mr.baileys, Bevan, and JohnAlbin: Make registry rebuild warning less obtrusive +- #325630: Broken link in "Theme registry rebuilt" warning when Clean URLs is off +- #324104 by JohnAlbin and dalin: Broken block editing link for Views 2 +- #365205: block editing link doesn't work with Menu Block 6.x-2.1 and later +- #308251 by Garrett Albright: Improve icon placement on status, warning, and error messages +- Added $body_classes_array variable to page template +- #343945: Fix zen_breadcrumb_title setting to use proper menu_get_active_item() +- #279896 by lutegrass: Help prevent double H1 tags on homepage that is not /node +- #310507 by MikeyLikesIt: Footer region not output in Zen Classic +- #347195: Remove theme registry fix that was needed for broken Drupal 6.0 - 6.6 +- #346706 by jsaints: Content clipped after page one when printing in Firefox +- #311529: Remove core's page-ARG0 body class, leaving zen's page-PATH +- Simplified body class generation code +- #334956 by hansrossel: Remove no-longer-needed fix for "Flash of Unstyled Content in IE" +- Fixed theme settings CSS for IE6 users +- Added Photoshop file for STARTERKIT screenshot +- Added Photoshop file for messages +- Allow easier CSS rule overriding by including THEMENAME.css file last +- Fixed message styling in Zen Classic +- #308957: html-elements.css not enabled in STARTERKIT +- #288213 by budda: Tabs in IE have a text select cursor rather than hand pointer +- #310818: Auto theme-registry rebuild warns themer multiple times + +Zen 6.x-1.0-beta3, 2008-09-15 +----------------------------- +- #308251: Add useful styling for status, warning, and error messages +- #307309: Add feature to rebuild theme registry during theme development +- Removed path_to_zentheme() since we're not conditionally including wireframes.css or block-editing.css +- #245832: Add IE conditional stylesheets to .info file +- #263228: Allow sub-themes to override wireframes.css +- #260605: Can't override block-editing.css +- #308266: Don't display footer if no footer message or footer blocks +- Changed $block_classes to $classes and $comment_classes to $classes and $node_classes to $classes +- #290838 by thehong: Only display comments block when comments content is not empty +- Don't display comment wrapper title on forums +- #299397: Synchronize Zen's tpl files with core's tpl files +- #281106 by kmonty: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- Changed "||" to "or" in template files since its more intuitive to PHP newbies +- #279896: Help prevent double H1 tags on homepage that is not /node +- #279896: Moved styles to zen.css that should never have been in layout.css +- #255265 by kmonty: Don't "skip to nav" if there's no nav +- Re-arranged sidebar classes so they are in no-sidebars -> two-sidebars order in the layout CSS files +- #306856: Optimize code by adding conditional includes +- Moved some comments from zen to STARTERKIT where they belong +- Optimized zen_breadcrumb() +- Folded template-menus.php back into template.php since its not conditionally included +- Removed theme_username from STARTERKIT and zen_classic since it was fixed in Drupal 6.3 +- Optimized zen_menu_item_link() +- #305311: CSS files makes reference to to drupal5-reference.css +- #299419: Remove empty zen.css in sub-themes +- #284798: PHP warning when settings section of .info file is missing +- #272655: Make STARTERKIT_theme easier to extend + +Zen 6.x-1.0-beta2, 2008-05-20 +----------------------------- +- #260016: PHP 4 Parse error: syntax error, unexpected '&' + +Zen 6.x-1.0-beta1, 2008-05-15 +----------------------------- +- #253609 by jjeff: Add 'region' class to regions +- #258123 by jjeff: Rearrange placement of #site-name strong +- #248103: Allow themes to set defaults for settings in their .info files +- #249532: Allow subthemes to have preprocess hooks without tpl files +- #223518: Option to show page title in breadcrumbs +- #253249: zen_id_safe fails when first character is extended latin +- #251632: Make the closure region more useful +- #199682: 'Submitted by' text is shown for content even if setting is disabled +- #222339: Blocks in Zen Classic header and closure lack padding +- #248780: admin table styles override update_status styling +- #232840: OpenID login block displaying incorrectly +- #246110 by jjeff: zen.css breaks .container-inline +- #229661: Search Box doesn't return any results or warnings +- #244023 by jjeff: Make block editing links go to actual menu edit pages +- #245968 by jjeff: Put the word "Comments" above comments +- #238387: Update README on how to edit the .info file +- #227297 by Aragorn450: CSS Include for wireframes broken +- Prevented "notice: Undefined variable: edit_links" for anonymous users +- Made block-editing.css a "theme"-type CSS file +- #224416 by sykora: displaying on mouse over on block heading +- Added complete Drupal 6 CSS for easy reference by theme developers +- Added Photoshop file for tabs +- #222299: Block editing link in Zen Classic footer is white on white + +Zen 5.x-1.2, 2009-02-15 +----------------------- +- #342004 by Amitaibu: Add css hint to prevent cramped-looking tables +- #290657: Liquid layout does not have min-width enforced +- #279896 by lutegrass: Help prevent double H1 tags on homepage that is not /node +- #346706 by jsaints: Content clipped after page one when printing in Firefox +- Added $body_classes_array variable to page template +- Simplified body class generation code +- Fixed theme settings CSS for IE6 users +- #288213 by budda: Tabs in IE have a text select cursor rather than hand pointer +- #249823: Add options to toggle display of primary and secondary links +- #281106 by kmonty: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- #279896: Help prevent double H1 tags on homepage that is not /node +- #279896: Moved styles to zen.css that should never have been in layout.css +- #255265 by kmonty: Don't "skip to nav" if there's no nav +- #263228: Allow sub-themes to override wireframes.css +- Added sample override template file for search block's form +- Fixed _zen_hook() to look in sub-theme directory when $hook is not valid PHP function name +- #223518: Option to show page title in breadcrumbs +- #255263: Don't call preprocess functions twice when Zen is active theme +- #253249: zen_id_safe fails when first character is extended latin + +Zen 5.x-1.1, 2008-04-21 +----------------------- +- #246109: Add MODULE_preprocess_HOOK functions to Zen +- #199682: 'Submitted by' text is shown for content even if setting is disabled +- #247960: Add THEME_preprocess() hook to Zen +- #222339: Blocks in Zen Classic header and closure lack padding +- #248720 by matt@antinomia: Only UPDATE {system} table WHERE type = 'theme' +- #248780: admin table styles override update_status styling +- #246110 by jjeff: zen.css breaks .container-inline +- Prevented "notice: Undefined variable: edit_links" for anonymous users +- Made block-editing.css a "theme"-type CSS file +- Added Photoshop file for tabs +- #222299: Block editing link in Zen Classic footer is white on white + +Zen 5.x-1.0, 2008-02-14 +----------------------- +- #220161: Change SUBTHEME to STARTERKIT to prevent accidental WSOD +- #221545 by jjeff: Add theme_comment_wrapper() and theme_username() from Zengine +- #220551: IE6: sidebars disappear when resizing window +- Added body classes: section-node-add, section-node-edit, section-node-delete +- Prevented display of empty help from node_help() +- #219401: Add theme override examples for all functions used in Zen core + +Zen 5.x-1.0-beta2, 2008-01-29 +----------------------------- +- #214777: sub-theme's search-theme-form.tpl is ignored +- #206707: tr.even/odd border-bottom is missing in IE +- #207743 by jjeff: Added translatable "Unpublished" text as background +- #207743 by jjeff: Added block editing links on hover +- Added extended block classes (zebra class by jjeff) +- #207743 by jjeff: Allow a sub-theme to add/alter block variables +- #110897: oversize content causes IE6 layout breakage (now fixed in Zen Classic) +- #211156 by jjeff: $subtheme_directory variable in page.tpl.php never gets populated +- #206060: changed inline styling method for navbar links from inline to float + +Zen 5.x-1.0-beta1, 2008-01-06 +----------------------------- +- Removed named anchors from doc flow to prevent any styles from appearing +- #203213 by kdebaas: Add node-teaser class to nodes displayed as teasers +- #203112 by kdebaas: Un-localizable string in search-theme-form.tpl.php +- #201793: Fixed fatal error when no settings are added to a sub-theme's settings +- #196181: _phptemplate_callback doesn't look in sub-theme folder for .tpl.php files +- Added sample override template file for drupal search form +- Added SUBTHEME directory as a starter sub-theme for developers +- #199036 by joachim: Make padding on #squeeze conditional +- #199578: Fatal error on Zen Classic theme settings when using admin theme +- #200380 by psynaptic: missing semi-colon in layout-fixed.css +- #196230: Tabs broken in IE5 and IE6 +- #199682: 'Submitted by' text is shown even if setting is disabled +- #171201: Remove un-localizable date/time format from base theme +- Added theme settings to control layout method and wireframes inclusion +- Added fixed layout stylesheet + +Zen 5.x-0.8, 2007-11-29 +----------------------- +- #196223: IE5 always loads @import print stylesheet +- #184232: Add README documentation +- #121991: Source rendering order needs adjustment +- #110897: oversize content causes IE6 layout breakage +- Added unique classes for each page and website section +- Added customizable breadcrumb settings +- Split template.php into multiple files to ease theme developer overload +- Add prettier tab styling +- #141784: Add conditional IE stylesheets +- Merge zen-fixed with zen_classic +- Add optional Theme Settings API integration +- #169359: Base CSS and tpl files don't get loaded (sub-theme with page.tpl.php) +- #171464: Create starter theme; migrate current style to a sub-theme +- Add ability to change regions in a sub-theme +- Add complete Drupal 5 CSS for easy reference by theme developers +- #183936: Backport Drupal 6 $body_classes + +Zen 5.x-0.7, 2007-10-15 +----------------------- +- #100894: For SEO, H1#site-name should be div#site-name strong +- #118467 by leandrosiow: Screen redraw errors with resizable textareas in Firefox +- #154937 by msonnabaum: add skip navigation for screen readers/mobility impaired +- #122592: Ability to theme each primary link +- #178560 by incognito: Shifting avatars in the comment blocks +- #110553 by rport: Use png instead of gif for images +- #120052: Add linux fonts +- #183360: Empty H2 appears on blocks with no titles +- #121101: zen.css does not validate +- #110902: IE6: text falls outside and to the left of content area +- #183354: Add a div around the feed icons +- #120341: Sidebar has unwanted 5em bottom margin +- #122938: Enabling CSS aggregation messes up the CSS in Safari +- #110897: oversize content causes IE6 layout breakage +- #119270: profile pictures indenting +- #118170 by mr700: blockquote css border has two widths +- #110810: change .submitted span to div +- #100899: don't use sidebar class for widths +- #182130 by joachim: links in h2 and h3 different sizes +- #182556: Added CHANGELOG + +Zen 5.x-0.6, 2007-01-17 +----------------------- +- Initial pre-release diff --git a/lab_site_themes/osu_drupal_1_11/zen/LICENSE.txt b/lab_site_themes/osu_drupal_1_11/zen/LICENSE.txt new file mode 100644 index 0000000..2c095c8 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/LICENSE.txt @@ -0,0 +1,274 @@ +GNU GENERAL PUBLIC LICENSE + + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, +Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute +verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free software--to +make sure the software is free for all its users. This General Public License +applies to most of the Free Software Foundation's software and to any other +program whose authors commit to using it. (Some other Free Software +Foundation software is covered by the GNU Library General Public License +instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this service if +you wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show +them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems +introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND + MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such +program or work, and a "work based on the Program" means either the +Program or any derivative work under copyright law: that is to say, a work +containing the Program or a portion of it, either verbatim or with +modifications and/or translated into another language. (Hereinafter, translation +is included without limitation in the term "modification".) Each licensee is +addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made +by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such +modifications or work under the terms of Section 1 above, provided that you +also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in +part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print such +an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be +reasonably considered independent and separate works in themselves, then +this License, and its terms, do not apply to those sections when you distribute +them as separate works. But when you distribute the same sections as part +of a whole which is a work based on the Program, the distribution of the +whole must be on the terms of this License, whose permissions for other +licensees extend to the entire whole, and thus to each and every part +regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to +control the distribution of derivative or collective works based on the +Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of a +storage or distribution medium does not bring the other work under the scope +of this License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 +and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source +code, which must be distributed under the terms of Sections 1 and 2 above +on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for +noncommercial distribution and only if you received the program in object +code or executable form with such an offer, in accord with Subsection b +above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source code +means all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation and +installation of the executable. However, as a special exception, the source +code distributed need not include anything that is normally distributed (in +either source or binary form) with the major components (compiler, kernel, +and so on) of the operating system on which the executable runs, unless that +component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with the +object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, +modify, sublicense or distribute the Program is void, and will automatically +terminate your rights under this License. However, parties who have received +copies, or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the +Program (or any work based on the Program), you indicate your acceptance +of this License to do so, and all its terms and conditions for copying, +distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these terms and +conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In such +case, this License incorporates the limitation as if written in the body of this +License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will be +similar in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that +version or of any later version published by the Free Software Foundation. If +the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make +exceptions for this. Our decision will be guided by the two goals of +preserving the free status of all derivatives of our free software and of +promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT +PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL +NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR +AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR +ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE +LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES +SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN +IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/lab_site_themes/osu_drupal_1_11/zen/README.txt b/lab_site_themes/osu_drupal_1_11/zen/README.txt new file mode 100644 index 0000000..0446679 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/README.txt @@ -0,0 +1,181 @@ +// $Id: README.txt,v 1.11.2.5 2009/11/10 08:07:59 johnalbin Exp $ + +Full documentation on the Zen theme can be found in Drupal's Handbook: + http://drupal.org/node/193318 + +Excellent documentation on Drupal theming can be found in the Theme Guide: + http://drupal.org/theme-guide + + +INSTALLATION +------------ + + 1. Download Zen from http://drupal.org/project/zen + + 2. Unpack the downloaded file, take the entire zen folder (which includes the + README.txt file, a STARTERKIT folder, etc.) and place it in your Drupal + installation under one of the following locations: + sites/all/themes + making it available to the default Drupal site and to all Drupal sites + in a multi-site configuration + sites/default/themes + making it available to only the default Drupal site + sites/example.com/themes + making it available to only the example.com site if there is a + sites/example.com/settings.php configuration file + + Please note: you will need to create the "theme" folder under "sites/all/" + or "sites/default/". + + For more information about acceptable theme installation directories, read + the sites/default/default.settings.php file in your Drupal installation. + + 3. Log in as an administrator on your Drupal site and go to Administer > Site + building > Themes (admin/build/themes). You will see the Zen theme there + with links on how to create your own sub-theme. You can optionally make Zen + the default theme. + + +BUILD YOUR OWN SUB-THEME +------------------------ + +*** IMPORTANT *** + +* In Drupal 6, the theme system caches template files and which theme functions + should be called. What that means is if you add a new theme or preprocess + function to your template.php file or add a new template (.tpl.php) file to + your sub-theme, you will need to rebuild the "theme registry." See + http://drupal.org/node/173880#theme-registry + +* Drupal 6 also stores a cache of the data in .info files. If you modify any + lines in your sub-theme's .info file, you MUST refresh Drupal 6's cache by + simply visiting the admin/build/themes page. + + +The base Zen theme is designed to be easily extended by its sub-themes. You +shouldn't modify any of the CSS or PHP files in the zen/ folder; but instead you +should create a sub-theme of zen which is located in a folder outside of the +root zen/ folder. The examples below assume zen and your sub-theme will be +installed in sites/all/themes/, but any valid theme directory is acceptable +(read the sites/default/default.settings.php for more info.) + + Why? To learn why you shouldn't modify any of the files in the zen/ folder, + see http://drupal.org/node/245802 + + 1. Copy the STARTERKIT folder out of the zen/ folder and rename it to be your + new sub-theme. IMPORTANT: Only lowercase letters and underscores should be + used for the name of your sub-theme. + + For example, copy the sites/all/themes/zen/STARTERKIT folder and rename it + as sites/all/themes/foo. + + Why? Each theme should reside in its own folder. Unlike in Drupal 5, + sub-themes can (and should) reside in a folder separate from their base + theme. + + 2. In your new sub-theme folder, rename the STARTERKIT.info.txt file to include + the name of your new sub-theme and remove the ".txt" extension. Then edit + the .info file by changing any occurrence of STARTERKIT with the name of + your sub-theme and editing the name and description field. + + For example, rename the foo/STARTERKIT.info file to foo/foo.info. Edit the + foo.info file and change "STARTERKIT.css" to "foo.css", change "name = Zen + Sub-theme Starter Kit" to "name = Foo", and change "description = Read..." + to "description = A Zen sub-theme". + + Why? The .info file describes the basic things about your theme: its + name, description, features, template regions, CSS files, and JavaScript + files. See the Drupal 6 Theme Guide for more info: + http://drupal.org/node/171205 + + Then, visit your site's admin/build/themes to refresh Drupal 6's cache of + .info file data. + + 3. If you want a liquid layout for your theme, copy the layout-liquid.css from + the zen/zen folder and place it in your sub-theme's folder. If you want a + fixed-width layout for your theme, copy the layout-fixed.css from the + zen/zen folder and place it in your sub-theme's folder. Rename the layout + stylesheet to "layout.css". + + For example, copy zen/zen/layout-fixed.css and rename it as foo/layout.css. + Note that the .info file already has an entry for your layout.css file. + + Why? In Drupal 6 theming, if you want to modify a stylesheet included by + the base theme or by a module, you should copy the stylesheet from the + base theme or module's directory to your sub-theme's directory and then + add the stylesheet to your .info file. See the Drupal 6 Theme Guide for + more info: http://drupal.org/node/171209 + + 4. Copy the zen stylesheet from the zen folder and place it in your sub-theme's + folder. Rename it to be the name of your sub-theme. + + For example, copy zen/zen/zen.css and rename it as foo/foo.css. Note that + the .info file already has an entry for your foo.css file and that your + .info file removes the base theme's zen.css file. + + 5. Copy the print stylesheet from the zen folder and place it in your + sub-theme's folder. + + For example, copy zen/zen/print.css to foo/print.css. Note that the .info + file already has an entry for your print.css file. + + 6. Copy the html-elements stylesheet from the zen folder and place it in your + sub-theme's folder. + + For example, copy zen/zen/html-elements.css to foo/html-elements.css. Note + that the .info file already has an entry for your html-elements.css file. + + 7. Edit the template.php and theme-settings.php files in your sub-theme's + folder; replace ALL occurrences of "STARTERKIT" with the name of your + sub-theme. + + For example, edit foo/template.php and foo/theme-settings.php and replace + "STARTERKIT" with "foo". + + 8. Log in as an administrator on your Drupal site and go to Administer > Site + building > Themes (admin/build/themes) and enable your new sub-theme. + + +Optional: + + 9. MODIFYING ZEN CORE STYLESHEETS: + If you decide you want to modify any of the other stylesheets in the zen + folder, copy them to your sub-theme's folder before making any changes. + Also, be sure the new stylesheet is included in your .info file, that you + have rebuilt the theme registry, and that you have refreshed the .info + cache. + + For example, copy zen/zen/block-editing.css to foo/block-editing.css. Then + edit foo/foo.info and uncomment this line to activate it: + ;stylesheets[all][] = block-editing.css + to: + stylesheets[all][] = block-editing.css + Then, visit your site's admin/build/themes to refresh Drupal 6's cache of + .info file data. + +10. MODIFYING ZEN CORE TEMPLATE FILES: + If you decide you want to modify any of the .tpl.php template files in the + zen folder, copy them to your sub-theme's folder before making any changes. + And then rebuild the theme registry. + + For example, copy zen/zen/page.tpl.php to foo/page.tpl.php. + +11. THEMEING DRUPAL'S SEARCH FORM: + Copy the search-theme-form.tpl.php template file from the modules/search/ + folder and place it in your sub-theme's folder. And then rebuild the theme + registry. + + You can find a full list of Drupal templates that you can override on: + http://drupal.org/node/190815 + + Why? In Drupal 6 theming, if you want to modify a template included by a + module, you should copy the template file from the module's directory to + your sub-theme's directory and then rebuild the theme registry. See the + Drupal 6 Theme Guide for more info: http://drupal.org/node/173880 + +12. FURTHER EXTENSIONS OF YOUR SUB-THEME: + Discover further ways to extend your sub-theme by reading Zen's + documentation online at: + http://drupal.org/node/193318 + and Drupal 6's Theme Guide online at: + http://drupal.org/theme-guide diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/STARTERKIT.info.txt b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/STARTERKIT.info.txt new file mode 100644 index 0000000..fdef169 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/STARTERKIT.info.txt @@ -0,0 +1,90 @@ +; $Id: STARTERKIT.info.txt,v 1.1.2.3 2009/05/08 15:05:04 johnalbin Exp $ + + + ; The name and description of the theme used on the admin/build/themes page. +name = Zen Sub-theme Starter Kit +description = Read the online docs on how to create a sub-theme. + + ; The screenshot used on the admin/build/themes page. +screenshot = screenshot.png + + ; "core" specifies the version of Drupal that this theme is compatible with. + ; "base theme" specifies that this is a theme that uses the "zen" theme as its + ; base theme. Its unlikely you will ever need to change these, but they are + ; required fields for a Zen sub-theme. The "engine" field is not used in a + ; sub-theme since the engine is inherited from its base theme. +core = 6.x +base theme = zen + + ; This section adds CSS files to your theme. The media type is specified in + ; the brackets. Typical CSS media types include "all", "screen", "print", and + ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full + ; list of stylesheet media types in CSS 2.1. + ; + ; You can also override any of Zen's stylesheets or any module's stylesheets, + ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at + ; http://drupal.org/node/171209 for more details. +stylesheets[all][] = layout.css +stylesheets[all][] = html-elements.css +; stylesheets[all][] = tabs.css +; stylesheets[all][] = messages.css +; stylesheets[all][] = block-editing.css +; stylesheets[all][] = wireframes.css +stylesheets[all][] = STARTERKIT.css +stylesheets[print][] = print.css + ; To prevent stylesheets of a base theme or of a module from being included in + ; our sub-theme, we specify it in our .info file (and we don't need to have a + ; stylesheet in our sub-theme with that name.) For example, we prevent the + ; zen.css file in the base theme from being included by specifying it here. +stylesheets[all][] = zen.css + + ; Set the conditional stylesheets that are processed by IE. +; conditional-stylesheets[if IE][all][] = ie.css + + ; Optionally add some jquery scripts to your theme. +; scripts[] = script.js + + ; The regions defined in Zen's default page.tpl.php file. The name in + ; brackets is the name of the variable in the page.tpl.php file, (e.g. + ; "[content_top]" in the .info file means there should be a $content_top + ; variable in the page.tpl.php file.) The text after the equals sign is a + ; descriptive text used on the admin/build/blocks page. + ; + ; To add a new region, copy Zen's page.tpl.php to your sub-theme's directory, + ; add a line line to this file, and then add the new variable to your + ; page.tpl.php template. +regions[left] = left sidebar +regions[right] = right sidebar +regions[navbar] = navigation bar +regions[content_top] = content top +regions[content_bottom] = content bottom +regions[header] = header +regions[footer] = footer +regions[closure_region] = closure + + ; Various page elements output by the theme can be toggled on and off. The + ; "features" control which of these check boxes display on the + ; admin/build/themes config page. This is useful for suppressing check boxes + ; for elements not used by your sub-theme. To suppress a check box, omit the + ; entry for it below. See the Drupal 6 Theme Guide for more info: + ; http://drupal.org/node/171205#features +features[] = logo +features[] = name +features[] = slogan +features[] = mission +features[] = node_user_picture +features[] = comment_user_picture +features[] = search +features[] = favicon +features[] = primary_links +features[] = secondary_links + + ; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 1 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 1 +settings[zen_wireframes] = 0 diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/drupal6-reference.css b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/drupal6-reference.css new file mode 100644 index 0000000..fd3a158 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/drupal6-reference.css @@ -0,0 +1,1982 @@ +/* $Id: drupal6-reference.css,v 1.1.2.1 2009/02/13 07:32:26 johnalbin Exp $ */ + +/** + * @file + * DRUPAL 6.x Reference CSS + * + * THIS FILE IS FOR REFERENCE ONLY AND IS NOT USED IN ANY WAY BY THE ZEN THEME. + * + * Drupal has very modular CSS. Which means that only the CSS that is needed + * for a particular page is loaded. This is a good thing. + * + * However, this makes it difficult for theme developers to discover how and + * where a particular style is coming from. So, here in all its glory is the + * complete CSS included with Drupal core 6.x. + * + * And, if you're not already, you should check out the free Firebug extension + * for Firefox. With it, you can inspect elements and easily view and play with + * its CSS styles. http://www.getfirebug.com + */ + + +/* + * modules/aggregator/aggregator-rtl.css + */ + +#aggregator .feed-source .feed-icon { + float: left; +} + + +/* + * modules/aggregator/aggregator.css + */ + +#aggregator .feed-source .feed-title { + margin-top: 0; +} +#aggregator .feed-source .feed-image img { + margin-bottom: 0.75em; +} +#aggregator .feed-source .feed-icon { + float: right; /* LTR */ + display: block; +} +#aggregator .feed-item { + margin-bottom: 1.5em; +} +#aggregator .feed-item-title { + margin-bottom: 0; + font-size: 1.3em; +} +#aggregator .feed-item-meta, #aggregator .feed-item-body { + margin-bottom: 0.5em; +} +#aggregator .feed-item-categories { + font-size: 0.9em; +} +#aggregator td { + vertical-align: bottom; +} +#aggregator td.categorize-item { + white-space: nowrap; +} +#aggregator .categorize-item .news-item .body { + margin-top: 0; +} +#aggregator .categorize-item h3 { + margin-bottom: 1em; + margin-top: 0; +} + + +/* + * modules/block/block.css + */ + +#blocks td.region { + font-weight: bold; +} +#blocks tr.region-message { + font-weight: normal; + color: #999; +} +#blocks tr.region-populated { + display: none; +} +.block-region { + background-color: #ff6; + margin-top: 4px; + margin-bottom: 4px; + padding: 3px; +} + + +/* + * modules/book/book-rtl.css + */ + +.book-navigation .page-previous { + float: right; +} +.book-navigation .page-up { + float: right; +} + + +/* + * modules/book/book.css + */ + +.book-navigation .menu { + border-top: 1px solid #888; + padding: 1em 0 0 3em; +} +.book-navigation .page-links { + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.book-navigation .page-previous { + text-align: left; + width: 42%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-up { + margin: 0 5%; + width: 4%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-next { + text-align: right; + width: 42%; + display: block; + float: right; +} +#book-outline { + min-width: 56em; +} +.book-outline-form .form-item { + margin-top: 0; + margin-bottom: 0; +} +#edit-book-bid-wrapper .description { + clear: both; +} +#book-admin-edit select { + margin-right: 24px; +} +#book-admin-edit select.progress-disabled { + margin-right: 0; +} +#book-admin-edit tr.ahah-new-content { + background-color: #ffd; +} +#book-admin-edit .form-item { + float: left; +} + + +/* + * modules/color/color-rtl.css + */ + +#placeholder { + left: 0; + right: auto; +} + +/* Palette */ +.color-form .form-item { + padding-left: 0; + padding-right: 1em; +} +.color-form label { + float: right; + clear: right; +} +.color-form .form-text, .color-form .form-select { + float: right; +} +.color-form .form-text { + margin-right: 0; + margin-left: 5px; +} + +#palette .hook { + float: right; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook-rtl.png) no-repeat 0 0; +} +#palette .up { + background-position: 0 -27px; +} +#palette .both { + background-position: 0 -54px; +} + +#palette .lock { + float: right; + right: -10px; +} +html.js #preview { + float: right; +} + + +/* + * modules/color/color.css + */ + +/* Farbtastic placement */ +.color-form { + max-width: 50em; + position: relative; +} +#placeholder { + position: absolute; + top: 0; + right: 0; /* LTR */ +} + +/* Palette */ +.color-form .form-item { + height: 2em; + line-height: 2em; + padding-left: 1em; /* LTR */ + margin: 0.5em 0; +} +.color-form label { + float: left; /* LTR */ + clear: left; /* LTR */ + width: 10em; +} +.color-form .form-text, .color-form .form-select { + float: left; /* LTR */ +} +.color-form .form-text { + text-align: center; + margin-right: 5px; /* LTR */ + cursor: pointer; +} + +#palette .hook { + float: left; /* LTR */ + margin-top: 3px; + width: 16px; + height: 16px; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook.png) no-repeat 100% 0; /* LTR */ +} +#palette .up { + background-position: 100% -27px; /* LTR */ +} +#palette .both { + background-position: 100% -54px; /* LTR */ +} + +#palette .lock { + float: left; /* LTR */ + position: relative; + top: -1.4em; + left: -10px; /* LTR */ + width: 20px; + height: 25px; + background: url(images/lock.png) no-repeat 50% 2px; + cursor: pointer; +} +#palette .unlocked { + background-position: 50% -22px; +} +#palette .form-item { + width: 20em; +} +#palette .item-selected { + background: #eee; +} + +/* Preview */ +#preview { + display: none; +} +html.js #preview { + display: block; + position: relative; + float: left; /* LTR */ +} + + +/* + * modules/comment/comment-rtl.css + */ + +.indented { + margin-left: 0; + margin-right: 25px; +} + + +/* + * modules/comment/comment.css + */ + +.indented { + margin-left: 25px; /* LTR */ +} +.comment-unpublished { + background-color: #fff4f4; +} +.preview .comment { + background-color: #ffffea; +} + + +/* + * modules/dblog/dblog-rtl.css + */ + +#dblog-filter-form .form-item { + float: right; + padding-right: 0; + padding-left: .8em; +} + + +/* + * modules/dblog/dblog.css + */ + +#dblog-filter-form .form-item { + float: left; /* LTR */ + padding-right: .8em; /* LTR */ + margin: 0.1em; + /** + * In Opera 9, DOM elements with the property of "overflow: auto" + * will partially hide its contents with unnecessary scrollbars when + * its immediate child is floated without an explicit width set. + */ + width: 15em; +} +#dblog-filter-form .form-item select.form-select { + width: 100%; +} +tr.dblog-user { + background: #ffd; +} +tr.dblog-user .active { + background: #eed; +} +tr.dblog-content { + background: #ddf; +} +tr.dblog-content .active { + background: #cce; +} +tr.dblog-page-not-found, tr.dblog-access-denied { + background: #dfd; +} +tr.dblog-page-not-found .active, tr.dblog-access-denied .active { + background: #cec; +} +tr.dblog-error { + background: #ffc9c9; +} +tr.dblog-error .active { + background: #eeb9b9; +} + + +/* + * modules/forum/forum-rtl.css + */ + +#forum tr td.forum { + padding-left: 0.5em; + padding-right: 25px; + background-position: 98% 2px; +} +.forum-topic-navigation { + padding: 1em 3em 0 0; +} +.forum-topic-navigation .topic-previous { + text-align: left; + float: right; +} +.forum-topic-navigation .topic-next { + text-align: right; + float: left; +} + + +/* + * modules/forum/forum.css + */ + +#forum .description { + font-size: 0.9em; + margin: 0.5em; +} +#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager { + white-space: nowrap; +} +#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager { + text-align: center; +} +#forum tr td.forum { + padding-left: 25px; /* LTR */ + background-position: 2px 2px; /* LTR */ + background-image: url(../../misc/forum-default.png); + background-repeat: no-repeat; +} +#forum tr.new-topics td.forum { + background-image: url(../../misc/forum-new.png); +} +#forum div.indent { + margin-left: 20px; +} + +.forum-topic-navigation { + padding: 1em 0 0 3em; /* LTR */ + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.forum-topic-navigation .topic-previous { + text-align: right; /* LTR */ + float: left; /* LTR */ + width: 46%; +} +.forum-topic-navigation .topic-next { + text-align: left; /* LTR */ + float: right; /* LTR */ + width: 46%; +} + + +/* + * modules/help/help-rtl.css + */ + +.help-items { + float: right; + padding-right: 0; + padding-left: 3%; +} +.help-items-last { + padding-right: 0; + padding-left: 0; +} + + +/* + * modules/help/help.css + */ + +.help-items { + float: left; /* LTR */ + width: 22%; + padding-right: 3%; /* LTR */ +} +.help-items-last { + padding-right: 0; /* LTR */ +} + + +/* + * modules/locale/locale.css + */ + +.locale-untranslated { + font-style: normal; + text-decoration: line-through; +} + + +/* + * modules/node/node-rtl.css + */ + +#node-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + + +/* + * modules/node/node.css + */ + +.node-unpublished { + background-color: #fff4f4; +} +.preview .node { + background-color: #ffffea; +} +#node-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#node-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +td.revision-current { + background: #ffc; +} +.node-form .form-text { + display: block; + width: 95%; +} +.node-form .container-inline .form-text { + display: inline; + width: auto; +} +.node-form .standard { + clear: both; +} +.node-form textarea { + display: block; + width: 95%; +} +.node-form .attachments fieldset { + float: none; + display: block; +} +.terms-inline { + display: inline; +} + + +/* + * modules/openid/openid.css + */ + +#edit-openid-identifier { + background-image: url("login-bg.png"); + background-position: 0% 50%; + background-repeat: no-repeat; + padding-left: 20px; +} + +div#edit-openid-identifier-wrapper { + display: block; +} + +html.js #user-login-form div#edit-openid-identifier-wrapper, +html.js #user-login div#edit-openid-identifier-wrapper { + display: none; +} + +html.js #user-login-form li.openid-link, +html.js #user-login li.openid-link { + display : block; +} + +#user-login-form ul { + margin-top: 0; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link, +#user-login li.openid-link, +#user-login li.user-link { + display: none; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link { + text-align : left; +} + +#user-login-form li.openid-link, +#user-login li.openid-link { + background: transparent url(login-bg.png) no-repeat scroll 1px 0.35em; +} + + +/* + * modules/poll/poll-rtl.css + */ + +.poll .bar .foreground { + float: right; +} +.poll .percent { + text-align: left; +} +.poll .vote-form .choices { + text-align: right; +} + + +/* + * modules/poll/poll.css + */ + +.poll .bar { + height: 1em; + margin: 1px 0; + background-color: #ddd; +} +.poll .bar .foreground { + background-color: #000; + height: 1em; + float: left; /* LTR */ +} +.poll .links { + text-align: center; +} +.poll .percent { + text-align: right; /* LTR */ +} +.poll .total { + text-align: center; +} +.poll .vote-form { + text-align: center; +} +.poll .vote-form .choices { + text-align: left; /* LTR */ + margin: 0 auto; + display: table; +} +.poll .vote-form .choices .title { + font-weight: bold; +} +.node-form #edit-poll-more { + margin: 0; +} +td.poll-chtext { + width: 80%; +} +td.poll-chvotes .form-text { + width: 85%; +} + + +/* + * modules/profile/profile.css + */ + +#profile-fields td.category { + font-weight: bold; +} +#profile-fields tr.category-message { + color: #999; +} +#profile-fields tr.category-populated { + display: none; +} + + +/* + * modules/search/search-rtl.css + */ + +.search-advanced .criterion { + float: right; + margin-right: 0; + margin-left: 2em; +} +.search-advanced .action { + float: right; + clear: right; +} + + +/* + * modules/search/search.css + */ + +.search-form { + margin-bottom: 1em; +} +.search-form input { + margin-top: 0; + margin-bottom: 0; +} +.search-results p { + margin-top: 0; +} +.search-results dt { + font-size: 1.1em; +} +.search-results dd { + margin-bottom: 1em; +} +.search-results .search-info { + font-size: 0.85em; +} +.search-advanced .criterion { + float: left; /* LTR */ + margin-right: 2em; /* LTR */ +} +.search-advanced .action { + float: left; /* LTR */ + clear: left; /* LTR */ +} + + +/* + * modules/system/admin-rtl.css + */ + +div.admin-panel .body { + padding: 0 8px 2px 4px; +} + +div.admin .expert-link { + text-align: left; + margin-right: 0; + margin-left: 1em; + padding-right: 0; + padding-left: 4px; +} + +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-right: 30px; +} + +table.system-status-report th { + background-position: 95% 50%; +} + +table.screenshot { + margin-left: 1em; +} + +.date-container { + clear: right; +} +.date-container .select-container, .date-container .custom-container { + float: right; +} +.date-container .custom-container { + margin-left: 0; + margin-right: 15px; +} + + + +/* + * modules/system/admin.css + */ + +/* +** Formatting for administration page +*/ +div.admin-panel { + margin: 0; + padding: 5px 5px 15px 5px; +} + +div.admin-panel .description { + margin: 0 0 3px; + padding: 2px 0 3px 0; +} + +div.admin-panel .body { + padding: 0 4px 2px 8px; /* LTR */ +} + +div.admin { + padding-top: 15px; +} + +div.admin .left { + float: left; + width: 47%; + margin-left: 1em; +} +div.admin .right { + float: right; + width: 47%; + margin-right: 1em; +} + +div.admin .expert-link { + text-align: right; /* LTR */ + margin-right: 1em; /* LTR */ + padding-right: 4px; /* LTR */ +} + +table.package { + width: 100%; +} +table.package .description { + width: 100%; +} +div.admin-dependencies, div.admin-required { + font-size: 0.9em; + color: #444; +} +span.admin-disabled { + color: #800; +} +span.admin-enabled { + color: #080; +} +span.admin-missing { + color: #f00; +} + +/** + * Formatting for status report + */ +table.system-status-report th { + border-bottom: 1px solid #ccc; +} +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-left: 30px; /* LTR */ +} +table.system-status-report th { + background-repeat: no-repeat; + background-position: 5px 50%; /* LTR */ + padding-top: 6px; + padding-bottom: 6px; +} +table.system-status-report tr.error th { + background-image: url(../../misc/watchdog-error.png); +} +table.system-status-report tr.warning th { + background-image: url(../../misc/watchdog-warning.png); +} +table.system-status-report tr.ok th { + background-image: url(../../misc/watchdog-ok.png); +} + +/** + * Formatting for theme configuration + */ +.theme-settings-left { + float: left; + width: 49%; +} +.theme-settings-right { + float: right; + width: 49%; +} +.theme-settings-bottom { + clear: both; +} + +/** + * Formatting for theme overview + */ +table.screenshot { + margin-right: 1em; /* LTR */ +} +.theme-info h2 { + margin-bottom: 0; +} +.theme-info p { + margin-top: 0; +} + + +/** + * Date and time settings page + */ +.date-container { + overflow: auto; + clear: left; /* LTR */ +} +.date-container .form-item { + margin-top: 0; +} +.date-container .select-container, .date-container .custom-container { + float: left; /* LTR */ +} +.date-container .custom-container { + margin-left: 15px; /* LTR */ + width: 50%; +} +html.js .custom-container label { + visibility: hidden; +} + + +/* + * modules/system/defaults-rtl.css + */ + +th { + text-align: right; + padding-right: 0; + padding-left: 1em; +} + + +/* + * modules/system/defaults.css + */ + +/* +** HTML elements +*/ +fieldset { + margin-bottom: 1em; + padding: .5em; +} +form { + margin: 0; + padding: 0; +} +hr { + height: 1px; + border: 1px solid gray; +} +img { + border: 0; +} +table { + border-collapse: collapse; +} +th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Markup free clearing +** Details: http://www.positioniseverything.net/easyclearing.html +*/ +.clear-block:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +.clear-block { + display: inline-block; +} + +/* Hides from IE-mac \*/ +* html .clear-block { + height: 1%; +} +.clear-block { + display: block; +} +/* End hide from IE-mac */ + + +/* + * modules/system/maintenance.css + */ + +/* Update styles */ +#update-results { + margin-top: 3em; + padding: 0.25em; + border: 1px solid #ccc; + background: #eee; + font-size: smaller; +} +#update-results h2 { + margin-top: 0.25em; +} +#update-results h4 { + margin-bottom: 0.25em; +} +#update-results li.none { + color: #888; + font-style: italic; +} +#update-results li.failure strong { + color: #b63300; +} + + +/* + * modules/system/system-menus-rtl.css + */ + +ul.menu { + text-align:right; +} +ul.menu li { + margin: 0 0.5em 0 0; +} +li.expanded { + padding: 0.2em 0 0 0.5em; +} +li.collapsed { + list-style-image: url(../../misc/menu-collapsed-rtl.png); + padding: 0.2em 0 0 0.5em; +} +li.leaf { + padding: 0.2em 0 0 0.5em; +} + + +/* + * modules/system/system-menus.css + */ + +ul.menu { + list-style: none; + border: none; + text-align:left; /* LTR */ +} +ul.menu li { + margin: 0 0 0 0.5em; /* LTR */ +} +li.expanded { + list-style-type: circle; + list-style-image: url(../../misc/menu-expanded.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.collapsed { + list-style-type: disc; + list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.leaf { + list-style-type: square; + list-style-image: url(../../misc/menu-leaf.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li a.active { + color: #000; +} +td.menu-disabled { + background: #ccc; +} +ul.links { + margin: 0; + padding: 0; +} +ul.links.inline { + display: inline; +} +ul.links li { + display: inline; + list-style-type: none; + padding: 0 0.5em; +} +.block ul { + margin: 0; + padding: 0 0 0.25em 1em; /* LTR */ +} + + +/* + * modules/system/system-rtl.css + */ + +thead th { + text-align: right; + padding-left: 1em; + padding-right: 0.5em; +} + +.item-list .icon { + float: left; + padding-left: 0; + padding-right: 0.25em; + clear: left; +} +.item-list ul li { + margin: 0 1.5em 0.25em 0; +} + +.more-link { + text-align: left; +} +.more-help-link { + text-align: left; +} + +dl.multiselect dt, dl.multiselect dd { + float: right; + margin: 0 0 0 1em; +} + +.block ul { + padding: 0 1em 0.25em 0; +} + +ul.primary { + padding: 0 1em 0 0; +} +ul.primary li a { + margin-right: 5px; + margin-left: 0.5em; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: none; + border-left: 1px solid #ccc; +} +html.js input.form-autocomplete { + background-position: 0% 2px; +} +html.js input.throbbing { + background-position: 0% -18px; +} + +html.js fieldset.collapsible legend a { + padding-left: 0; + padding-right: 15px; + background-position: 98% 75%; +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed-rtl.png); + background-position: 98% 50%; +} + +div.teaser-button-wrapper { + float: left; + padding-right: 0; + padding-left: 5%; +} +.teaser-checkbox div.form-item { + float: left; + margin: 0 0 0 5%; +} +.progress .percentage { + float: left; +} +.progess-disabled { + float: right; +} +.ahah-progress { + float: right; +} +.ahah-progress .throbber { + float: right; +} +input.password-field { + margin-left: 10px; + margin-right: 0; +} +input.password-confirm { + margin-left: 10px; + margin-right: 0; +} + +.draggable a.tabledrag-handle { + float: right; + margin: -0.4em -0.5em -0.4em 0; + padding: 0.42em 0.5em 0.42em 1.5em; +} +div.indentation { + margin: -0.4em -0.4em -0.4em 0.2em; + padding: 0.42em 0.6em 0.42em 0; + float: right; +} +div.tree-child, div.tree-child-last { + background-position: -65px center; +} + + +/* + * modules/system/system.css + */ + +/* +** HTML elements +*/ +body.drag { + cursor: move; +} +th.active img { + display: inline; +} +tr.even, tr.odd { + background-color: #eee; + border-bottom: 1px solid #ccc; + padding: 0.1em 0.6em; +} +tr.drag { + background-color: #fffff0; +} +tr.drag-previous { + background-color: #ffd; +} +td.active { + background-color: #ddd; +} +td.checkbox, th.checkbox { + text-align: center; +} +tbody { + border-top: 1px solid #ccc; +} +tbody th { + border-bottom: 1px solid #ccc; +} +thead th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Other common styles +*/ +.breadcrumb { + padding-bottom: .5em +} +div.indentation { + width: 20px; + height: 1.7em; + margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */ + padding: 0.42em 0 0.42em 0.6em; /* LTR */ + float: left; /* LTR */ +} +div.tree-child { + background: url(../../misc/tree.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-last { + background: url(../../misc/tree-bottom.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-horizontal { + background: url(../../misc/tree.png) no-repeat -11px center; +} +.error { + color: #e55; +} +div.error { + border: 1px solid #d77; +} +div.error, tr.error { + background: #fcc; + color: #200; + padding: 2px; +} +.warning { + color: #e09010; +} +div.warning { + border: 1px solid #f0c020; +} +div.warning, tr.warning { + background: #ffd; + color: #220; + padding: 2px; +} +.ok { + color: #008000; +} +div.ok { + border: 1px solid #00aa00; +} +div.ok, tr.ok { + background: #dfd; + color: #020; + padding: 2px; +} +.item-list .icon { + color: #555; + float: right; /* LTR */ + padding-left: 0.25em; /* LTR */ + clear: right; /* LTR */ +} +.item-list .title { + font-weight: bold; +} +.item-list ul { + margin: 0 0 0.75em 0; + padding: 0; +} +.item-list ul li { + margin: 0 0 0.25em 1.5em; /* LTR */ + padding: 0; + list-style: disc; +} +ol.task-list li.active { + font-weight: bold; +} +.form-item { + margin-top: 1em; + margin-bottom: 1em; +} +tr.odd .form-item, tr.even .form-item { + margin-top: 0; + margin-bottom: 0; + white-space: nowrap; +} +tr.merge-down, tr.merge-down td, tr.merge-down th { + border-bottom-width: 0 !important; +} +tr.merge-up, tr.merge-up td, tr.merge-up th { + border-top-width: 0 !important; +} +.form-item input.error, .form-item textarea.error, .form-item select.error { + border: 2px solid red; +} +.form-item .description { + font-size: 0.85em; +} +.form-item label { + display: block; + font-weight: bold; +} +.form-item label.option { + display: inline; + font-weight: normal; +} +.form-checkboxes, .form-radios { + margin: 1em 0; +} +.form-checkboxes .form-item, .form-radios .form-item { + margin-top: 0.4em; + margin-bottom: 0.4em; +} +.marker, .form-required { + color: #f00; +} +.more-link { + text-align: right; /* LTR */ +} +.more-help-link { + font-size: 0.85em; + text-align: right; /* LTR */ +} +.nowrap { + white-space: nowrap; +} +.item-list .pager { + clear: both; + text-align: center; +} +.item-list .pager li { + background-image:none; + display:inline; + list-style-type:none; + padding: 0.5em; +} +.pager-current { + font-weight:bold; +} +.tips { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + font-size: 0.9em; +} +dl.multiselect dd.b, dl.multiselect dd.b .form-item, dl.multiselect dd.b select { + font-family: inherit; + font-size: inherit; + width: 14em; +} +dl.multiselect dd.a, dl.multiselect dd.a .form-item { + width: 8em; +} +dl.multiselect dt, dl.multiselect dd { + float: left; /* LTR */ + line-height: 1.75em; + padding: 0; + margin: 0 1em 0 0; /* LTR */ +} +dl.multiselect .form-item { + height: 1.75em; + margin: 0; +} + +/* +** Inline items (need to override above) +*/ +.container-inline div, .container-inline label { + display: inline; +} + +/* +** Tab navigation +*/ +ul.primary { + border-collapse: collapse; + padding: 0 0 0 1em; /* LTR */ + white-space: nowrap; + list-style: none; + margin: 5px; + height: auto; + line-height: normal; + border-bottom: 1px solid #bbb; +} +ul.primary li { + display: inline; +} +ul.primary li a { + background-color: #ddd; + border-color: #bbb; + border-width: 1px; + border-style: solid solid none solid; + height: auto; + margin-right: 0.5em; /* LTR */ + padding: 0 1em; + text-decoration: none; +} +ul.primary li.active a { + background-color: #fff; + border: 1px solid #bbb; + border-bottom: #fff 1px solid; +} +ul.primary li a:hover { + background-color: #eee; + border-color: #ccc; + border-bottom-color: #eee; +} +ul.secondary { + border-bottom: 1px solid #bbb; + padding: 0.5em 1em; + margin: 5px; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: 1px solid #ccc; /* LTR */ +} +ul.secondary a { + padding: 0; + text-decoration: none; +} +ul.secondary a.active { + border-bottom: 4px solid #999; +} + +/* +** Autocomplete styles +*/ +/* Suggestion list */ +#autocomplete { + position: absolute; + border: 1px solid; + overflow: hidden; + z-index: 100; +} +#autocomplete ul { + margin: 0; + padding: 0; + list-style: none; +} +#autocomplete li { + background: #fff; + color: #000; + white-space: pre; + cursor: default; +} +#autocomplete li.selected { + background: #0072b9; + color: #fff; +} +/* Animated throbber */ +html.js input.form-autocomplete { + background-image: url(../../misc/throbber.gif); + background-repeat: no-repeat; + background-position: 100% 2px; /* LTR */ +} +html.js input.throbbing { + background-position: 100% -18px; /* LTR */ +} + +/* +** Collapsing fieldsets +*/ +html.js fieldset.collapsed { + border-bottom-width: 0; + border-left-width: 0; + border-right-width: 0; + margin-bottom: 0; + height: 1em; +} +html.js fieldset.collapsed * { + display: none; +} +html.js fieldset.collapsed legend { + display: block; +} +html.js fieldset.collapsible legend a { + padding-left: 15px; /* LTR */ + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed.png); /* LTR */ + background-position: 5px 50%; /* LTR */ +} +/* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ +* html.js fieldset.collapsed legend, +* html.js fieldset.collapsed legend *, +* html.js fieldset.collapsed table * { + display: inline; +} +/* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */ +html.js fieldset.collapsible { + position: relative; +} +html.js fieldset.collapsible legend a { + display: block; +} +/* Avoid jumping around due to margins collapsing into collapsible fieldset border */ +html.js fieldset.collapsible .fieldset-wrapper { + overflow: auto; +} + +/* +** Resizable text areas +*/ +.resizable-textarea { + width: 95%; +} +.resizable-textarea .grippie { + height: 9px; + overflow: hidden; + background: #eee url(../../misc/grippie.png) no-repeat center 2px; + border: 1px solid #ddd; + border-top-width: 0; + cursor: s-resize; +} +html.js .resizable-textarea textarea { + margin-bottom: 0; + width: 100%; + display: block; +} + +/* +** Table drag and drop. +*/ +.draggable a.tabledrag-handle { + cursor: move; + float: left; /* LTR */ + height: 1.7em; + margin: -0.4em 0 -0.4em -0.5em; /* LTR */ + padding: 0.42em 1.5em 0.42em 0.5em; /* LTR */ + text-decoration: none; +} +a.tabledrag-handle:hover { + text-decoration: none; +} +a.tabledrag-handle .handle { + margin-top: 4px; + height: 13px; + width: 13px; + background: url(../../misc/draggable.png) no-repeat 0 0; +} +a.tabledrag-handle-hover .handle { + background-position: 0 -20px; +} + +/* +** Teaser splitter +*/ +.joined + .grippie { + height: 5px; + background-position: center 1px; + margin-bottom: -2px; +} +/* Keeps inner content contained in Opera 9. */ +.teaser-checkbox { + padding-top: 1px; +} +div.teaser-button-wrapper { + float: right; /* LTR */ + padding-right: 5%; /* LTR */ + margin: 0; +} +.teaser-checkbox div.form-item { + float: right; /* LTR */ + margin: 0 5% 0 0; /* LTR */ + padding: 0; +} +textarea.teaser { + display: none; +} +html.js .no-js { + display: none; +} + +/* +** Progressbar styles +*/ +.progress { + font-weight: bold; +} +.progress .bar { + background: #fff url(../../misc/progress.gif); + border: 1px solid #00375a; + height: 1.5em; + margin: 0 0.2em; +} +.progress .filled { + background: #0072b9; + height: 1em; + border-bottom: 0.5em solid #004a73; + width: 0%; +} +.progress .percentage { + float: right; /* LTR */ +} +.progress-disabled { + float: left; /* LTR */ +} +.ahah-progress { + float: left; /* LTR */ +} +.ahah-progress .throbber { + width: 15px; + height: 15px; + margin: 2px; + background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px; + float: left; /* LTR */ +} +tr .ahah-progress .throbber { + margin: 0 2px; +} +.ahah-progress-bar { + width: 16em; +} + +/* +** Formatting for welcome page +*/ +#first-time strong { + display: block; + padding: 1.5em 0 .5em; +} + +/* +** To be used with tableselect.js +*/ +tr.selected td { + background: #ffc; +} + +/* +** Floating header for tableheader.js +*/ +table.sticky-header { + margin-top: 0; + background: #fff; +} + +/* +** Installation clean URLs +*/ +#clean-url.install { + display: none; +} + +/* +** For anything you want to hide on page load when JS is enabled, so +** that you can use the JS to control visibility and avoid flicker. +*/ +html.js .js-hide { + display: none; +} + +/* +** Styles for the system modules page (admin/build/modules) +*/ +#system-modules div.incompatible { + font-weight: bold; +} + +/* +** Styles for the system themes page (admin/build/themes) +*/ +#system-themes-form div.incompatible { + font-weight: bold; +} + +/* +** Password strength indicator +*/ +span.password-strength { + visibility: hidden; +} +input.password-field { + margin-right: 10px; /* LTR */ +} +div.password-description { + padding: 0 2px; + margin: 4px 0 0 0; + font-size: 0.85em; + max-width: 500px; +} +div.password-description ul { + margin-bottom: 0; +} +.password-parent { + margin: 0 0 0 0; +} +/* +** Password confirmation checker +*/ +input.password-confirm { + margin-right: 10px; /* LTR */ +} +.confirm-parent { + margin: 5px 0 0 0; +} +span.password-confirm { + visibility: hidden; +} +span.password-confirm span { + font-weight: normal; +} + + +/* + * modules/taxonomy/taxonomy.css + */ + +tr.taxonomy-term-preview { + background-color: #EEE; +} +tr.taxonomy-term-divider-top { + border-bottom: none; +} +tr.taxonomy-term-divider-bottom { + border-top: 1px dotted #CCC; +} +.taxonomy-term-description { + margin: 5px 0 20px; +} + + +/* + * modules/tracker/tracker.css + */ + +#tracker td.replies { + text-align: center; +} +#tracker table { + width: 100%; +} + + +/* + * modules/update/update-rtl.css + */ + +.update .project { + padding-right: .25em; +} + +.update .version-status { + float: left; + padding-left: 10px; +} + +.update .version-status .icon { + padding-right: .5em; +} + +.update table.version .version-title { + padding-left: 1em; +} + +.update table.version .version-details { + padding-left: .5em; + direction: ltr; +} + +.update table.version .version-links { + text-align: left; + padding-left: 1em; +} + +.update .check-manually { + padding-right: 1em; +} + + +/* + * modules/update/update.css + */ + +.update .project { + font-weight: bold; + font-size: 110%; + padding-left: .25em; /* LTR */ + height: 22px; +} + +.update .version-status { + float: right; /* LTR */ + padding-right: 10px; /* LTR */ + font-size: 110%; + height: 20px; +} + +.update .version-status .icon { + padding-left: .5em; /* LTR */ +} + +.update .version-date { + white-space: nowrap; +} + +.update .info { + margin: 0; + padding: 1em 1em .25em 1em; +} + +.update tr td { + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +.update tr.error { + background: #fcc; +} + +.update tr.error .version-recommended { + background: #fdd; +} + +.update tr.ok { + background: #dfd; +} + +.update tr.warning { + background: #ffd; +} + +.update tr.warning .version-recommended { + background: #ffe; +} + +.current-version, .new-version { + direction: ltr; /* Note: version numbers should always be LTR. */ +} + +table.update, +.update table.version { + width: 100%; + margin-top: .5em; +} + +.update table.version tbody { + border: none; +} + +.update table.version tr, +.update table.version td { + line-height: .9em; + padding: 0; + margin: 0; + border: none; +} + +.update table.version .version-title { + padding-left: 1em; /* LTR */ + width: 14em; +} + +.update table.version .version-details { + padding-right: .5em; /* LTR */ +} + +.update table.version .version-links { + text-align: right; /* LTR */ + padding-right: 1em; /* LTR */ +} + +.update table.version-security .version-title { + color: #970F00; +} + +.update table.version-recommended-strong .version-title { + font-weight: bold; +} + +.update .security-error { + font-weight: bold; + color: #970F00; +} + +.update .check-manually { + padding-left: 1em; /* LTR */ +} + + +/* + * modules/user/user-rtl.css + */ + +#permissions td.permission { + padding-left: 0; + padding-right: 1.5em; +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 0; + margin-left: 1em; + float: right; +} +#user-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + +.profile .picture { + float: left; + margin: 0 0 1em 1em; +} + + +/* + * modules/user/user.css + */ + +#permissions td.module { + font-weight: bold; +} +#permissions td.permission { + padding-left: 1.5em; /* LTR */ +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 1em; /* LTR */ + float: left; /* LTR */ +} +#access-rules .access-type .form-item, #access-rules .rule-type .form-item { + margin-top: 0; +} +#access-rules .mask { + clear: both; +} +#user-login-form { + text-align: center; +} +#user-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#user-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +#user-admin-settings fieldset .description { + font-size: 0.85em; + padding-bottom: .5em; +} + +/* Generated by user.module but used by profile.module: */ +.profile { + clear: both; + margin: 1em 0; +} +.profile .picture { + float: right; /* LTR */ + margin: 0 1em 1em 0; /* LTR */ +} +.profile h3 { + border-bottom: 1px solid #ccc; +} +.profile dl { + margin: 0 0 1.5em 0; +} +.profile dt { + margin: 0 0 0.2em 0; + font-weight: bold; +} +.profile dd { + margin: 0 0 1em 0; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/favicon.ico b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/favicon.ico new file mode 100644 index 0000000..0f9909a Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/favicon.ico differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/logo.png b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/logo.png new file mode 100644 index 0000000..bcc4532 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/logo.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/screenshot.png b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/screenshot.png new file mode 100644 index 0000000..f6f3e70 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/screenshot.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/template.php b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/template.php new file mode 100644 index 0000000..aa4e6fe --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/STARTERKIT/template.php @@ -0,0 +1,162 @@ + 'checkbox', + '#title' => t('Use this sample setting'), + '#default_value' => $settings['STARTERKIT_example'], + '#description' => t("This option doesn't do anything; it's just an example."), + ); + // */ + + // Add the base theme's settings. + $form += zen_settings($saved_settings, $defaults); + + // Remove some of the base theme's settings. + unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet. + + // Return the form + return $form; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/images-source/STARTERKIT/screenshot.psd b/lab_site_themes/osu_drupal_1_11/zen/images-source/STARTERKIT/screenshot.psd new file mode 100644 index 0000000..6762e48 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/images-source/STARTERKIT/screenshot.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/messages.psd b/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/messages.psd new file mode 100644 index 0000000..a155d1c Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/messages.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/tabs.psd b/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/tabs.psd new file mode 100644 index 0000000..dfd82aa Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/images-source/zen/tabs.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/translations/de.po b/lab_site_themes/osu_drupal_1_11/zen/translations/de.po new file mode 100644 index 0000000..2b3498b --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/translations/de.po @@ -0,0 +1,224 @@ +# $Id$ +# +# LANGUAGE translation of Drupal (general) +# Copyright YEAR NAME +# Generated from files: +# comment-wrapper.tpl.php,v 1.2 2008/09/14 12:12:38 johnalbin +# comment.tpl.php,v 1.3 2008/09/14 12:09:37 johnalbin +# node.tpl.php,v 1.4.2.1 2009/05/12 18:41:54 johnalbin +# maintenance-page.tpl.php,v 1.1.2.2 2009/05/03 11:12:28 johnalbin +# page.tpl.php,v 1.14.2.10 2009/11/05 14:26:26 johnalbin +# theme-settings.php,v 1.6 2008/09/15 09:59:03 johnalbin +# template.block-editing.inc,v 1.1.2.3 2009/04/27 01:31:32 johnalbin +# template.theme-registry.inc,v 1.7.2.6 2009/10/24 11:30:15 johnalbin +# zen.info,v 1.11.2.1 2009/05/07 17:58:44 johnalbin +# +msgid "" +msgstr "Project-Id-Version: zen Theme\n" +"POT-Creation-Date: 2009-11-08 16:32+0100\n" +"PO-Revision-Date: 2009-11-08 16:37+0100\n" +"Last-Translator: Thomas Zahreddin \n" +"Language-Team: Thomas Zahreddin \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"X-Poedit-Language: German\n" +"X-Poedit-Country: Germany\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: zen/comment-wrapper.tpl.php:37 +msgid "Comments" +msgstr "Kommentare" + +#: zen/comment.tpl.php:48 +#: zen/node.tpl.php:62 +msgid "Unpublished" +msgstr "Unveröffentlicht" + +#: zen/maintenance-page.tpl.php:32 +#: zen/page.tpl.php:97 +msgid "Skip to Navigation" +msgstr "Zur Navigation springen" + +#: zen/maintenance-page.tpl.php:41;41;46 +#: zen/page.tpl.php:106;106;112;118 +msgid "Home" +msgstr "Startseite" + +#: zen/node.tpl.php:74 +msgid " in " +msgstr " in " + +#: zen/theme-settings.php:44 +msgid "Show block editing on hover" +msgstr "Für Blöck die Möglichkeit zum Editieren anzeigen, sobald die Maus kurz darüber ruht" + +#: zen/theme-settings.php:45 +msgid "When hovering over a block, privileged users will see block editing links." +msgstr "Für Blöck die Möglichkeit zum Editieren anzeigen, sobald die Maus kurz darüber ruht und der Benutzer die erforderlichen Rechte hat." + +#: zen/theme-settings.php:51 +msgid "Breadcrumb settings" +msgstr "Pfadnavigation Einstellungen" + +#: zen/theme-settings.php:56 +msgid "Display breadcrumb" +msgstr "Pfadnavigation" + +#: zen/theme-settings.php:59 +msgid "Yes" +msgstr "Ja" + +#: zen/theme-settings.php:60 +msgid "Only in admin section" +msgstr "Nur im Admin-Bereich" + +#: zen/theme-settings.php:61 +msgid "No" +msgstr "Nein" + +#: zen/theme-settings.php:66 +msgid "Breadcrumb separator" +msgstr "Pfadnavigation Separator" + +#: zen/theme-settings.php:67 +msgid "Text only. Don’t forget to include spaces." +msgstr "Nur Text. Vergessen Sie die Leerzeichen nicht." + +#: zen/theme-settings.php:75 +msgid "Show home page link in breadcrumb" +msgstr "Link zur Startseite in der Pfadnavigation" + +#: zen/theme-settings.php:80 +msgid "Append a separator to the end of the breadcrumb" +msgstr "Fügen Sie ein Trennzeichen am Ende der Pfadnavigation hinzu" + +#: zen/theme-settings.php:82 +msgid "Useful when the breadcrumb is placed just before the title." +msgstr "Nützlich, wenn die Pfadnavigation direkt vor dem Titel steht." + +#: zen/theme-settings.php:86 +msgid "Append the content title to the end of the breadcrumb" +msgstr "Fügen Sie den Titel am Ende der Pfadnavigation hinzu" + +#: zen/theme-settings.php:88 +msgid "Useful when the breadcrumb is not placed just before the title." +msgstr " Nützlich, wenn die Pfadnavigation nicht direkt vor dem Titel steht." + +#: zen/theme-settings.php:94 +msgid "Theme development settings" +msgstr "Theme-spezifische Einstellungen" + +#: zen/theme-settings.php:99 +msgid "Rebuild theme registry on every page." +msgstr "Theme-Registry neu aufbauen auf jeder Seite" + +#: zen/theme-settings.php:101 +msgid "During theme development, it can be very useful to continuously rebuild the theme registry. WARNING: this is a huge performance penalty and must be turned off on production websites." +msgstr "Während der Entwicklung des Themes ist es sehr nützlich, um kontinuierlich die Theme-Registry neu zu erstellen. WARNUNG: dies ist eine enorme Performance-Einbuße und müssen für den produktiven Betrieb ausgeschaltet." + +#: zen/theme-settings.php:102 +msgid "Theme registry:" +msgstr "Theme-Registry" + +#: zen/theme-settings.php:107 +msgid "Layout method" +msgstr "Layout-Methode" + +#: zen/theme-settings.php:109 +msgid "Liquid layout" +msgstr "Flexibles Layout" + +#: zen/theme-settings.php:110 +msgid "Fixed layout" +msgstr "Starres Layout" + +#: zen/theme-settings.php:116 +msgid "Display borders around main layout elements" +msgstr "Rahmen um die wichtigsten Layout-Elemente anzeigen" + +#: zen/theme-settings.php:118 +msgid "Wireframes are useful when prototyping a website." +msgstr "Wireframes werden gerne für die Konzeiption von websites eingesetzt." + +#: zen/theme-settings.php:119 +msgid "Wireframes:" +msgstr "Wireframes:" + +#: zen/template.block-editing.inc:22 +msgid "edit block" +msgstr "Block bearbeiten" + +#: zen/template.block-editing.inc:25 +msgid "edit the content of this block" +msgstr "Bearbeiten Sie den Inhalt dieses Blocks" + +#: zen/template.block-editing.inc:35 +msgid "configure" +msgstr "konfigurieren" + +#: zen/template.block-editing.inc:38 +msgid "configure this block" +msgstr "konfigurieren dieses Blocks" + +#: zen/template.block-editing.inc:50 +msgid "edit view" +msgstr "Ansicht bearbeiten" + +#: zen/template.block-editing.inc:53 +msgid "edit the view that defines this block" +msgstr "Bearbeiten der Ansicht, die diesen Block definiert" + +#: zen/template.block-editing.inc:65;79 +msgid "edit menu" +msgstr "Bearbeiten Menü" + +#: zen/template.block-editing.inc:68;82 +msgid "edit the menu that defines this block" +msgstr "Bearbeiten des Menüs, das diesen Block definiert" + +#: zen/template.theme-registry.inc:33 +msgid "For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on production websites." +msgstr "Zur einfacheren Theme Entwicklung kann die Theme Registry für jede Anfrage neu aufgebaut werden. Es extrem wichtig diese Funktion für produktive Websites auszuschalten." + +#: zen/zen.info:0 +msgid "Zen" +msgstr "Zen" + +#: zen/zen.info:0 +msgid "Zen sub-themes are the ultimate starting themes for Drupal 6. Read the online docs or the included README.txt on how to create a sub-theme." +msgstr "Zen Sub-Themes sind die absoluten Anfänger Themes für Drupal 6. Lesen Sie die Online-Dokumentation oder die mitgelieferte README.txt, wie ein Sub-Thema erstellt wird." + +#: zen/zen.info:0 +msgid "left sidebar" +msgstr "linke Seitenleiste" + +#: zen/zen.info:0 +msgid "right sidebar" +msgstr "rechte Seitenleiste" + +#: zen/zen.info:0 +msgid "navigation bar" +msgstr "Navigationsleiste" + +#: zen/zen.info:0 +msgid "content top" +msgstr "Inhalt oben" + +#: zen/zen.info:0 +msgid "content bottom" +msgstr "Inhalt unten" + +#: zen/zen.info:0 +msgid "header" +msgstr "Kopfbereich" + +#: zen/zen.info:0 +msgid "footer" +msgstr "Fußbereich" + +#: zen/zen.info:0 +msgid "closure" +msgstr "Seitenabschluss" + diff --git a/lab_site_themes/osu_drupal_1_11/zen/translations/zen.pot b/lab_site_themes/osu_drupal_1_11/zen/translations/zen.pot new file mode 100644 index 0000000..26e3e4f --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/translations/zen.pot @@ -0,0 +1,220 @@ +# $Id$ +# +# LANGUAGE translation of Drupal (general) +# Copyright YEAR NAME +# Generated from files: +# comment-wrapper.tpl.php,v 1.2 2008/09/14 12:12:38 johnalbin +# comment.tpl.php,v 1.3 2008/09/14 12:09:37 johnalbin +# node.tpl.php,v 1.4.2.1 2009/05/12 18:41:54 johnalbin +# maintenance-page.tpl.php,v 1.1.2.2 2009/05/03 11:12:28 johnalbin +# page.tpl.php,v 1.14.2.10 2009/11/05 14:26:26 johnalbin +# theme-settings.php,v 1.6 2008/09/15 09:59:03 johnalbin +# template.block-editing.inc,v 1.1.2.3 2009/04/27 01:31:32 johnalbin +# template.theme-registry.inc,v 1.7.2.6 2009/10/24 11:30:15 johnalbin +# zen.info,v 1.11.2.1 2009/05/07 17:58:44 johnalbin +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"POT-Creation-Date: 2009-11-08 16:32+0100\n" +"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" +"Last-Translator: NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: zen/comment-wrapper.tpl.php:37 +msgid "Comments" +msgstr "" + +#: zen/comment.tpl.php:48 zen/node.tpl.php:62 +msgid "Unpublished" +msgstr "" + +#: zen/maintenance-page.tpl.php:32 zen/page.tpl.php:97 +msgid "Skip to Navigation" +msgstr "" + +#: zen/maintenance-page.tpl.php:41;41;46 zen/page.tpl.php:106;106;112;118 +msgid "Home" +msgstr "" + +#: zen/node.tpl.php:74 +msgid " in " +msgstr "" + +#: zen/theme-settings.php:44 +msgid "Show block editing on hover" +msgstr "" + +#: zen/theme-settings.php:45 +msgid "When hovering over a block, privileged users will see block editing links." +msgstr "" + +#: zen/theme-settings.php:51 +msgid "Breadcrumb settings" +msgstr "" + +#: zen/theme-settings.php:56 +msgid "Display breadcrumb" +msgstr "" + +#: zen/theme-settings.php:59 +msgid "Yes" +msgstr "" + +#: zen/theme-settings.php:60 +msgid "Only in admin section" +msgstr "" + +#: zen/theme-settings.php:61 +msgid "No" +msgstr "" + +#: zen/theme-settings.php:66 +msgid "Breadcrumb separator" +msgstr "" + +#: zen/theme-settings.php:67 +msgid "Text only. Don’t forget to include spaces." +msgstr "" + +#: zen/theme-settings.php:75 +msgid "Show home page link in breadcrumb" +msgstr "" + +#: zen/theme-settings.php:80 +msgid "Append a separator to the end of the breadcrumb" +msgstr "" + +#: zen/theme-settings.php:82 +msgid "Useful when the breadcrumb is placed just before the title." +msgstr "" + +#: zen/theme-settings.php:86 +msgid "Append the content title to the end of the breadcrumb" +msgstr "" + +#: zen/theme-settings.php:88 +msgid "Useful when the breadcrumb is not placed just before the title." +msgstr "" + +#: zen/theme-settings.php:94 +msgid "Theme development settings" +msgstr "" + +#: zen/theme-settings.php:99 +msgid "Rebuild theme registry on every page." +msgstr "" + +#: zen/theme-settings.php:101 +msgid "During theme development, it can be very useful to continuously rebuild the theme registry. WARNING: this is a huge performance penalty and must be turned off on production websites." +msgstr "" + +#: zen/theme-settings.php:102 +msgid "Theme registry:" +msgstr "" + +#: zen/theme-settings.php:107 +msgid "Layout method" +msgstr "" + +#: zen/theme-settings.php:109 +msgid "Liquid layout" +msgstr "" + +#: zen/theme-settings.php:110 +msgid "Fixed layout" +msgstr "" + +#: zen/theme-settings.php:116 +msgid "Display borders around main layout elements" +msgstr "" + +#: zen/theme-settings.php:118 +msgid "Wireframes are useful when prototyping a website." +msgstr "" + +#: zen/theme-settings.php:119 +msgid "Wireframes:" +msgstr "" + +#: zen/template.block-editing.inc:22 +msgid "edit block" +msgstr "" + +#: zen/template.block-editing.inc:25 +msgid "edit the content of this block" +msgstr "" + +#: zen/template.block-editing.inc:35 +msgid "configure" +msgstr "" + +#: zen/template.block-editing.inc:38 +msgid "configure this block" +msgstr "" + +#: zen/template.block-editing.inc:50 +msgid "edit view" +msgstr "" + +#: zen/template.block-editing.inc:53 +msgid "edit the view that defines this block" +msgstr "" + +#: zen/template.block-editing.inc:65;79 +msgid "edit menu" +msgstr "" + +#: zen/template.block-editing.inc:68;82 +msgid "edit the menu that defines this block" +msgstr "" + +#: zen/template.theme-registry.inc:33 +msgid "For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on production websites." +msgstr "" + +#: zen/zen.info:0 +msgid "Zen" +msgstr "" + +#: zen/zen.info:0 +msgid "Zen sub-themes are the ultimate starting themes for Drupal 6. Read the online docs or the included README.txt on how to create a sub-theme." +msgstr "" + +#: zen/zen.info:0 +msgid "left sidebar" +msgstr "" + +#: zen/zen.info:0 +msgid "right sidebar" +msgstr "" + +#: zen/zen.info:0 +msgid "navigation bar" +msgstr "" + +#: zen/zen.info:0 +msgid "content top" +msgstr "" + +#: zen/zen.info:0 +msgid "content bottom" +msgstr "" + +#: zen/zen.info:0 +msgid "header" +msgstr "" + +#: zen/zen.info:0 +msgid "footer" +msgstr "" + +#: zen/zen.info:0 +msgid "closure" +msgstr "" + diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/CHANGELOG.txt b/lab_site_themes/osu_drupal_1_11/zen/zen/CHANGELOG.txt new file mode 100644 index 0000000..5c72305 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/CHANGELOG.txt @@ -0,0 +1,241 @@ +Zen 6.x-1.2, 2011-02-26 +----------------------- +- #593290 by sfyn and JohnAlbin: Chaos Tools/Panels edit tab not working with Zen + +Zen 6.x-1.1, 2009-11-10 +----------------------- +- #478134 by mithrill: Improve docs about sites/all/themes and sites/default/themes folders +- #600758 by mattyoung: Secondary links run together in one line with primary links +- #600344 by mgifford: Use of absolute font size in block editing links breaks WCAG 2.0 +- #546904 by Jennifer_M: List $node as available variable in page.tpl.php +- #583716 by droidenator: Empty title can cause breadcrumbs to display incorrectly +- #600920 by kto.3decb: Fix incorrect comment block class name +- #297084: Remove ctype_lower() from zen_id_safe() to prevent WSOD/Fatal error on some systems +- #317417 by JohnAlbin and quicksketch: Fix off-line maintenance page since drupal_get_path('theme', 'zen') won't work +- #545320 by Deslack: Use of split() generate E_DEPRECATED warnings on PHP 5.3.0 +- #472694: Drupal 6.11 broke Zen's OpenID overrides +- Updated screenshot.png to use Zen logo since an actual screenshot is boring +- Changed "or" back to "||" in node.tpl.php since themers do need to learn a little PHP +- #254821: Sub-theme's .info file triggers incorrect "out of date" flag in update module +- #327455 by grendzy and erifneerg: name and id mismatch in named anchor causing validation error +- #382598: .node div.links ruleset doesn't match html in node template +- #382480 by Ognyan Kulev: #block-menu-2 should be #block-menu-primary-links +- #374349: breadcrumb often broken when zen_breadcrumb_title is on +- #426750: Removed Zen Classic sub theme +- #445562: q0rban and JohnAlbin: Allow modules to declare their own block edit links + +Zen 6.x-1.0, 2009-02-14 +----------------------- +- #342004 by Amitaibu: Add css hint to prevent cramped-looking tables +- #290657: Liquid layout does not have min-width enforced +- #329769 by kmonty: Update zen_id_safe to remove underscores +- #275832: hook_theme implementation breaks maintenance page when database is down +- #362104: layout breaks on Zen-themed maintenance page +- Changed "or" back to "||" in template files since themers do need to learn a little PHP +- #346867 by debonator: navbar-inner is missing the "clear-block" class +- #325610 by Garrett Albright: Site name and logo don't link to frontpage on multilingual site +- #281106: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- #365631: Zen's table-styling-fix breaks update module's styling +- #322480 by grendzy, mr.baileys, Bevan, and JohnAlbin: Make registry rebuild warning less obtrusive +- #325630: Broken link in "Theme registry rebuilt" warning when Clean URLs is off +- #324104 by JohnAlbin and dalin: Broken block editing link for Views 2 +- #365205: block editing link doesn't work with Menu Block 6.x-2.1 and later +- #308251 by Garrett Albright: Improve icon placement on status, warning, and error messages +- Added $body_classes_array variable to page template +- #343945: Fix zen_breadcrumb_title setting to use proper menu_get_active_item() +- #279896 by lutegrass: Help prevent double H1 tags on homepage that is not /node +- #310507 by MikeyLikesIt: Footer region not output in Zen Classic +- #347195: Remove theme registry fix that was needed for broken Drupal 6.0 - 6.6 +- #346706 by jsaints: Content clipped after page one when printing in Firefox +- #311529: Remove core's page-ARG0 body class, leaving zen's page-PATH +- Simplified body class generation code +- #334956 by hansrossel: Remove no-longer-needed fix for "Flash of Unstyled Content in IE" +- Fixed theme settings CSS for IE6 users +- Added Photoshop file for STARTERKIT screenshot +- Added Photoshop file for messages +- Allow easier CSS rule overriding by including THEMENAME.css file last +- Fixed message styling in Zen Classic +- #308957: html-elements.css not enabled in STARTERKIT +- #288213 by budda: Tabs in IE have a text select cursor rather than hand pointer +- #310818: Auto theme-registry rebuild warns themer multiple times + +Zen 6.x-1.0-beta3, 2008-09-15 +----------------------------- +- #308251: Add useful styling for status, warning, and error messages +- #307309: Add feature to rebuild theme registry during theme development +- Removed path_to_zentheme() since we're not conditionally including wireframes.css or block-editing.css +- #245832: Add IE conditional stylesheets to .info file +- #263228: Allow sub-themes to override wireframes.css +- #260605: Can't override block-editing.css +- #308266: Don't display footer if no footer message or footer blocks +- Changed $block_classes to $classes and $comment_classes to $classes and $node_classes to $classes +- #290838 by thehong: Only display comments block when comments content is not empty +- Don't display comment wrapper title on forums +- #299397: Synchronize Zen's tpl files with core's tpl files +- #281106 by kmonty: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- Changed "||" to "or" in template files since its more intuitive to PHP newbies +- #279896: Help prevent double H1 tags on homepage that is not /node +- #279896: Moved styles to zen.css that should never have been in layout.css +- #255265 by kmonty: Don't "skip to nav" if there's no nav +- Re-arranged sidebar classes so they are in no-sidebars -> two-sidebars order in the layout CSS files +- #306856: Optimize code by adding conditional includes +- Moved some comments from zen to STARTERKIT where they belong +- Optimized zen_breadcrumb() +- Folded template-menus.php back into template.php since its not conditionally included +- Removed theme_username from STARTERKIT and zen_classic since it was fixed in Drupal 6.3 +- Optimized zen_menu_item_link() +- #305311: CSS files makes reference to to drupal5-reference.css +- #299419: Remove empty zen.css in sub-themes +- #284798: PHP warning when settings section of .info file is missing +- #272655: Make STARTERKIT_theme easier to extend + +Zen 6.x-1.0-beta2, 2008-05-20 +----------------------------- +- #260016: PHP 4 Parse error: syntax error, unexpected '&' + +Zen 6.x-1.0-beta1, 2008-05-15 +----------------------------- +- #253609 by jjeff: Add 'region' class to regions +- #258123 by jjeff: Rearrange placement of #site-name strong +- #248103: Allow themes to set defaults for settings in their .info files +- #249532: Allow subthemes to have preprocess hooks without tpl files +- #223518: Option to show page title in breadcrumbs +- #253249: zen_id_safe fails when first character is extended latin +- #251632: Make the closure region more useful +- #199682: 'Submitted by' text is shown for content even if setting is disabled +- #222339: Blocks in Zen Classic header and closure lack padding +- #248780: admin table styles override update_status styling +- #232840: OpenID login block displaying incorrectly +- #246110 by jjeff: zen.css breaks .container-inline +- #229661: Search Box doesn't return any results or warnings +- #244023 by jjeff: Make block editing links go to actual menu edit pages +- #245968 by jjeff: Put the word "Comments" above comments +- #238387: Update README on how to edit the .info file +- #227297 by Aragorn450: CSS Include for wireframes broken +- Prevented "notice: Undefined variable: edit_links" for anonymous users +- Made block-editing.css a "theme"-type CSS file +- #224416 by sykora: displaying on mouse over on block heading +- Added complete Drupal 6 CSS for easy reference by theme developers +- Added Photoshop file for tabs +- #222299: Block editing link in Zen Classic footer is white on white + +Zen 5.x-1.2, 2009-02-15 +----------------------- +- #342004 by Amitaibu: Add css hint to prevent cramped-looking tables +- #290657: Liquid layout does not have min-width enforced +- #279896 by lutegrass: Help prevent double H1 tags on homepage that is not /node +- #346706 by jsaints: Content clipped after page one when printing in Firefox +- Added $body_classes_array variable to page template +- Simplified body class generation code +- Fixed theme settings CSS for IE6 users +- #288213 by budda: Tabs in IE have a text select cursor rather than hand pointer +- #249823: Add options to toggle display of primary and secondary links +- #281106 by kmonty: Erroneous whitespace when div.clear-block touches bottom edge of viewport +- #279896: Help prevent double H1 tags on homepage that is not /node +- #279896: Moved styles to zen.css that should never have been in layout.css +- #255265 by kmonty: Don't "skip to nav" if there's no nav +- #263228: Allow sub-themes to override wireframes.css +- Added sample override template file for search block's form +- Fixed _zen_hook() to look in sub-theme directory when $hook is not valid PHP function name +- #223518: Option to show page title in breadcrumbs +- #255263: Don't call preprocess functions twice when Zen is active theme +- #253249: zen_id_safe fails when first character is extended latin + +Zen 5.x-1.1, 2008-04-21 +----------------------- +- #246109: Add MODULE_preprocess_HOOK functions to Zen +- #199682: 'Submitted by' text is shown for content even if setting is disabled +- #247960: Add THEME_preprocess() hook to Zen +- #222339: Blocks in Zen Classic header and closure lack padding +- #248720 by matt@antinomia: Only UPDATE {system} table WHERE type = 'theme' +- #248780: admin table styles override update_status styling +- #246110 by jjeff: zen.css breaks .container-inline +- Prevented "notice: Undefined variable: edit_links" for anonymous users +- Made block-editing.css a "theme"-type CSS file +- Added Photoshop file for tabs +- #222299: Block editing link in Zen Classic footer is white on white + +Zen 5.x-1.0, 2008-02-14 +----------------------- +- #220161: Change SUBTHEME to STARTERKIT to prevent accidental WSOD +- #221545 by jjeff: Add theme_comment_wrapper() and theme_username() from Zengine +- #220551: IE6: sidebars disappear when resizing window +- Added body classes: section-node-add, section-node-edit, section-node-delete +- Prevented display of empty help from node_help() +- #219401: Add theme override examples for all functions used in Zen core + +Zen 5.x-1.0-beta2, 2008-01-29 +----------------------------- +- #214777: sub-theme's search-theme-form.tpl is ignored +- #206707: tr.even/odd border-bottom is missing in IE +- #207743 by jjeff: Added translatable "Unpublished" text as background +- #207743 by jjeff: Added block editing links on hover +- Added extended block classes (zebra class by jjeff) +- #207743 by jjeff: Allow a sub-theme to add/alter block variables +- #110897: oversize content causes IE6 layout breakage (now fixed in Zen Classic) +- #211156 by jjeff: $subtheme_directory variable in page.tpl.php never gets populated +- #206060: changed inline styling method for navbar links from inline to float + +Zen 5.x-1.0-beta1, 2008-01-06 +----------------------------- +- Removed named anchors from doc flow to prevent any styles from appearing +- #203213 by kdebaas: Add node-teaser class to nodes displayed as teasers +- #203112 by kdebaas: Un-localizable string in search-theme-form.tpl.php +- #201793: Fixed fatal error when no settings are added to a sub-theme's settings +- #196181: _phptemplate_callback doesn't look in sub-theme folder for .tpl.php files +- Added sample override template file for drupal search form +- Added SUBTHEME directory as a starter sub-theme for developers +- #199036 by joachim: Make padding on #squeeze conditional +- #199578: Fatal error on Zen Classic theme settings when using admin theme +- #200380 by psynaptic: missing semi-colon in layout-fixed.css +- #196230: Tabs broken in IE5 and IE6 +- #199682: 'Submitted by' text is shown even if setting is disabled +- #171201: Remove un-localizable date/time format from base theme +- Added theme settings to control layout method and wireframes inclusion +- Added fixed layout stylesheet + +Zen 5.x-0.8, 2007-11-29 +----------------------- +- #196223: IE5 always loads @import print stylesheet +- #184232: Add README documentation +- #121991: Source rendering order needs adjustment +- #110897: oversize content causes IE6 layout breakage +- Added unique classes for each page and website section +- Added customizable breadcrumb settings +- Split template.php into multiple files to ease theme developer overload +- Add prettier tab styling +- #141784: Add conditional IE stylesheets +- Merge zen-fixed with zen_classic +- Add optional Theme Settings API integration +- #169359: Base CSS and tpl files don't get loaded (sub-theme with page.tpl.php) +- #171464: Create starter theme; migrate current style to a sub-theme +- Add ability to change regions in a sub-theme +- Add complete Drupal 5 CSS for easy reference by theme developers +- #183936: Backport Drupal 6 $body_classes + +Zen 5.x-0.7, 2007-10-15 +----------------------- +- #100894: For SEO, H1#site-name should be div#site-name strong +- #118467 by leandrosiow: Screen redraw errors with resizable textareas in Firefox +- #154937 by msonnabaum: add skip navigation for screen readers/mobility impaired +- #122592: Ability to theme each primary link +- #178560 by incognito: Shifting avatars in the comment blocks +- #110553 by rport: Use png instead of gif for images +- #120052: Add linux fonts +- #183360: Empty H2 appears on blocks with no titles +- #121101: zen.css does not validate +- #110902: IE6: text falls outside and to the left of content area +- #183354: Add a div around the feed icons +- #120341: Sidebar has unwanted 5em bottom margin +- #122938: Enabling CSS aggregation messes up the CSS in Safari +- #110897: oversize content causes IE6 layout breakage +- #119270: profile pictures indenting +- #118170 by mr700: blockquote css border has two widths +- #110810: change .submitted span to div +- #100899: don't use sidebar class for widths +- #182130 by joachim: links in h2 and h3 different sizes +- #182556: Added CHANGELOG + +Zen 5.x-0.6, 2007-01-17 +----------------------- +- Initial pre-release diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/LICENSE.txt b/lab_site_themes/osu_drupal_1_11/zen/zen/LICENSE.txt new file mode 100644 index 0000000..2c095c8 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/LICENSE.txt @@ -0,0 +1,274 @@ +GNU GENERAL PUBLIC LICENSE + + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, +Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute +verbatim copies of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your freedom to +share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free software--to +make sure the software is free for all its users. This General Public License +applies to most of the Free Software Foundation's software and to any other +program whose authors commit to using it. (Some other Free Software +Foundation software is covered by the GNU Library General Public License +instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the +freedom to distribute copies of free software (and charge for this service if +you wish), that you receive source code or can get it if you want it, that you +can change the software or use pieces of it in new free programs; and that +you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show +them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients +to know that what they have is not the original, so that any problems +introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND + MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms +of this General Public License. The "Program", below, refers to any such +program or work, and a "work based on the Program" means either the +Program or any derivative work under copyright law: that is to say, a work +containing the Program or a portion of it, either verbatim or with +modifications and/or translated into another language. (Hereinafter, translation +is included without limitation in the term "modification".) Each licensee is +addressed as "you". + +Activities other than copying, distribution and modification are not covered +by this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made +by running the Program). Whether that is true depends on what the Program +does. + +1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you +may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, +thus forming a work based on the Program, and copy and distribute such +modifications or work under the terms of Section 1 above, provided that you +also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices stating that +you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in +part contains or is derived from the Program or any part thereof, to be +licensed as a whole at no charge to all third parties under the terms of this +License. + +c) If the modified program normally reads commands interactively when run, +you must cause it, when started running for such interactive use in the most +ordinary way, to print or display an announcement including an appropriate +copyright notice and a notice that there is no warranty (or else, saying that +you provide a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this License. +(Exception: if the Program itself is interactive but does not normally print such +an announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be +reasonably considered independent and separate works in themselves, then +this License, and its terms, do not apply to those sections when you distribute +them as separate works. But when you distribute the same sections as part +of a whole which is a work based on the Program, the distribution of the +whole must be on the terms of this License, whose permissions for other +licensees extend to the entire whole, and thus to each and every part +regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to +work written entirely by you; rather, the intent is to exercise the right to +control the distribution of derivative or collective works based on the +Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of a +storage or distribution medium does not bring the other work under the scope +of this License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 +and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source +code, which must be distributed under the terms of Sections 1 and 2 above +on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give +any third party, for a charge no more than your cost of physically performing +source distribution, a complete machine-readable copy of the corresponding +source code, to be distributed under the terms of Sections 1 and 2 above on +a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute +corresponding source code. (This alternative is allowed only for +noncommercial distribution and only if you received the program in object +code or executable form with such an offer, in accord with Subsection b +above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source code +means all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation and +installation of the executable. However, as a special exception, the source +code distributed need not include anything that is normally distributed (in +either source or binary form) with the major components (compiler, kernel, +and so on) of the operating system on which the executable runs, unless that +component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to +copy from a designated place, then offering equivalent access to copy the +source code from the same place counts as distribution of the source code, +even though third parties are not compelled to copy the source along with the +object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, +modify, sublicense or distribute the Program is void, and will automatically +terminate your rights under this License. However, parties who have received +copies, or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the +Program or its derivative works. These actions are prohibited by law if you +do not accept this License. Therefore, by modifying or distributing the +Program (or any work based on the Program), you indicate your acceptance +of this License to do so, and all its terms and conditions for copying, +distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these terms and +conditions. You may not impose any further restrictions on the recipients' +exercise of the rights granted herein. You are not responsible for enforcing +compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose +that choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original copyright +holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In such +case, this License incorporates the limitation as if written in the body of this +License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will be +similar in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +a version number of this License which applies to it and "any later version", +you have the option of following the terms and conditions either of that +version or of any later version published by the Free Software Foundation. If +the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software +Foundation, write to the Free Software Foundation; we sometimes make +exceptions for this. Our decision will be guided by the two goals of +preserving the free status of all derivatives of our free software and of +promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT +PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL +NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR +AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR +ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE +LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, +SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA +OR DATA BEING RENDERED INACCURATE OR LOSSES +SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN +IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF +THE POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/README.txt b/lab_site_themes/osu_drupal_1_11/zen/zen/README.txt new file mode 100644 index 0000000..5599558 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/README.txt @@ -0,0 +1,179 @@ +Full documentation on the Zen theme can be found in Drupal's Handbook: + http://drupal.org/node/193318 + +Excellent documentation on Drupal theming can be found in the Theme Guide: + http://drupal.org/theme-guide + + +INSTALLATION +------------ + + 1. Download Zen from http://drupal.org/project/zen + + 2. Unpack the downloaded file, take the entire zen folder (which includes the + README.txt file, a STARTERKIT folder, etc.) and place it in your Drupal + installation under one of the following locations: + sites/all/themes + making it available to the default Drupal site and to all Drupal sites + in a multi-site configuration + sites/default/themes + making it available to only the default Drupal site + sites/example.com/themes + making it available to only the example.com site if there is a + sites/example.com/settings.php configuration file + + Please note: you will need to create the "theme" folder under "sites/all/" + or "sites/default/". + + For more information about acceptable theme installation directories, read + the sites/default/default.settings.php file in your Drupal installation. + + 3. Log in as an administrator on your Drupal site and go to Administer > Site + building > Themes (admin/build/themes). You will see the Zen theme there + with links on how to create your own sub-theme. You can optionally make Zen + the default theme. + + +BUILD YOUR OWN SUB-THEME +------------------------ + +*** IMPORTANT *** + +* In Drupal 6, the theme system caches template files and which theme functions + should be called. What that means is if you add a new theme or preprocess + function to your template.php file or add a new template (.tpl.php) file to + your sub-theme, you will need to rebuild the "theme registry." See + http://drupal.org/node/173880#theme-registry + +* Drupal 6 also stores a cache of the data in .info files. If you modify any + lines in your sub-theme's .info file, you MUST refresh Drupal 6's cache by + simply visiting the admin/build/themes page. + + +The base Zen theme is designed to be easily extended by its sub-themes. You +shouldn't modify any of the CSS or PHP files in the zen/ folder; but instead you +should create a sub-theme of zen which is located in a folder outside of the +root zen/ folder. The examples below assume zen and your sub-theme will be +installed in sites/all/themes/, but any valid theme directory is acceptable +(read the sites/default/default.settings.php for more info.) + + Why? To learn why you shouldn't modify any of the files in the zen/ folder, + see http://drupal.org/node/245802 + + 1. Copy the STARTERKIT folder out of the zen/ folder and rename it to be your + new sub-theme. IMPORTANT: Only lowercase letters and underscores should be + used for the name of your sub-theme. + + For example, copy the sites/all/themes/zen/STARTERKIT folder and rename it + as sites/all/themes/foo. + + Why? Each theme should reside in its own folder. Unlike in Drupal 5, + sub-themes can (and should) reside in a folder separate from their base + theme. + + 2. In your new sub-theme folder, rename the STARTERKIT.info.txt file to include + the name of your new sub-theme and remove the ".txt" extension. Then edit + the .info file by changing any occurrence of STARTERKIT with the name of + your sub-theme and editing the name and description field. + + For example, rename the foo/STARTERKIT.info file to foo/foo.info. Edit the + foo.info file and change "STARTERKIT.css" to "foo.css", change "name = Zen + Sub-theme Starter Kit" to "name = Foo", and change "description = Read..." + to "description = A Zen sub-theme". + + Why? The .info file describes the basic things about your theme: its + name, description, features, template regions, CSS files, and JavaScript + files. See the Drupal 6 Theme Guide for more info: + http://drupal.org/node/171205 + + Then, visit your site's admin/build/themes to refresh Drupal 6's cache of + .info file data. + + 3. If you want a liquid layout for your theme, copy the layout-liquid.css from + the zen/zen folder and place it in your sub-theme's folder. If you want a + fixed-width layout for your theme, copy the layout-fixed.css from the + zen/zen folder and place it in your sub-theme's folder. Rename the layout + stylesheet to "layout.css". + + For example, copy zen/zen/layout-fixed.css and rename it as foo/layout.css. + Note that the .info file already has an entry for your layout.css file. + + Why? In Drupal 6 theming, if you want to modify a stylesheet included by + the base theme or by a module, you should copy the stylesheet from the + base theme or module's directory to your sub-theme's directory and then + add the stylesheet to your .info file. See the Drupal 6 Theme Guide for + more info: http://drupal.org/node/171209 + + 4. Copy the zen stylesheet from the zen folder and place it in your sub-theme's + folder. Rename it to be the name of your sub-theme. + + For example, copy zen/zen/zen.css and rename it as foo/foo.css. Note that + the .info file already has an entry for your foo.css file and that your + .info file removes the base theme's zen.css file. + + 5. Copy the print stylesheet from the zen folder and place it in your + sub-theme's folder. + + For example, copy zen/zen/print.css to foo/print.css. Note that the .info + file already has an entry for your print.css file. + + 6. Copy the html-elements stylesheet from the zen folder and place it in your + sub-theme's folder. + + For example, copy zen/zen/html-elements.css to foo/html-elements.css. Note + that the .info file already has an entry for your html-elements.css file. + + 7. Edit the template.php and theme-settings.php files in your sub-theme's + folder; replace ALL occurrences of "STARTERKIT" with the name of your + sub-theme. + + For example, edit foo/template.php and foo/theme-settings.php and replace + "STARTERKIT" with "foo". + + 8. Log in as an administrator on your Drupal site and go to Administer > Site + building > Themes (admin/build/themes) and enable your new sub-theme. + + +Optional: + + 9. MODIFYING ZEN CORE STYLESHEETS: + If you decide you want to modify any of the other stylesheets in the zen + folder, copy them to your sub-theme's folder before making any changes. + Also, be sure the new stylesheet is included in your .info file, that you + have rebuilt the theme registry, and that you have refreshed the .info + cache. + + For example, copy zen/zen/block-editing.css to foo/block-editing.css. Then + edit foo/foo.info and uncomment this line to activate it: + ;stylesheets[all][] = block-editing.css + to: + stylesheets[all][] = block-editing.css + Then, visit your site's admin/build/themes to refresh Drupal 6's cache of + .info file data. + +10. MODIFYING ZEN CORE TEMPLATE FILES: + If you decide you want to modify any of the .tpl.php template files in the + zen folder, copy them to your sub-theme's folder before making any changes. + And then rebuild the theme registry. + + For example, copy zen/zen/page.tpl.php to foo/page.tpl.php. + +11. THEMEING DRUPAL'S SEARCH FORM: + Copy the search-theme-form.tpl.php template file from the modules/search/ + folder and place it in your sub-theme's folder. And then rebuild the theme + registry. + + You can find a full list of Drupal templates that you can override on: + http://drupal.org/node/190815 + + Why? In Drupal 6 theming, if you want to modify a template included by a + module, you should copy the template file from the module's directory to + your sub-theme's directory and then rebuild the theme registry. See the + Drupal 6 Theme Guide for more info: http://drupal.org/node/173880 + +12. FURTHER EXTENSIONS OF YOUR SUB-THEME: + Discover further ways to extend your sub-theme by reading Zen's + documentation online at: + http://drupal.org/node/193318 + and Drupal 6's Theme Guide online at: + http://drupal.org/theme-guide diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/STARTERKIT.info.txt b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/STARTERKIT.info.txt new file mode 100644 index 0000000..8f6bb45 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/STARTERKIT.info.txt @@ -0,0 +1,88 @@ + + ; The name and description of the theme used on the admin/build/themes page. +name = Zen Sub-theme Starter Kit +description = Read the online docs on how to create a sub-theme. + + ; The screenshot used on the admin/build/themes page. +screenshot = screenshot.png + + ; "core" specifies the version of Drupal that this theme is compatible with. + ; "base theme" specifies that this is a theme that uses the "zen" theme as its + ; base theme. Its unlikely you will ever need to change these, but they are + ; required fields for a Zen sub-theme. The "engine" field is not used in a + ; sub-theme since the engine is inherited from its base theme. +core = 6.x +base theme = zen + + ; This section adds CSS files to your theme. The media type is specified in + ; the brackets. Typical CSS media types include "all", "screen", "print", and + ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full + ; list of stylesheet media types in CSS 2.1. + ; + ; You can also override any of Zen's stylesheets or any module's stylesheets, + ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at + ; http://drupal.org/node/171209 for more details. +stylesheets[all][] = layout.css +stylesheets[all][] = html-elements.css +; stylesheets[all][] = tabs.css +; stylesheets[all][] = messages.css +; stylesheets[all][] = block-editing.css +; stylesheets[all][] = wireframes.css +stylesheets[all][] = STARTERKIT.css +stylesheets[print][] = print.css + ; To prevent stylesheets of a base theme or of a module from being included in + ; our sub-theme, we specify it in our .info file (and we don't need to have a + ; stylesheet in our sub-theme with that name.) For example, we prevent the + ; zen.css file in the base theme from being included by specifying it here. +stylesheets[all][] = zen.css + + ; Set the conditional stylesheets that are processed by IE. +; conditional-stylesheets[if IE][all][] = ie.css + + ; Optionally add some jquery scripts to your theme. +; scripts[] = script.js + + ; The regions defined in Zen's default page.tpl.php file. The name in + ; brackets is the name of the variable in the page.tpl.php file, (e.g. + ; "[content_top]" in the .info file means there should be a $content_top + ; variable in the page.tpl.php file.) The text after the equals sign is a + ; descriptive text used on the admin/build/blocks page. + ; + ; To add a new region, copy Zen's page.tpl.php to your sub-theme's directory, + ; add a line line to this file, and then add the new variable to your + ; page.tpl.php template. +regions[left] = left sidebar +regions[right] = right sidebar +regions[navbar] = navigation bar +regions[content_top] = content top +regions[content_bottom] = content bottom +regions[header] = header +regions[footer] = footer +regions[closure_region] = closure + + ; Various page elements output by the theme can be toggled on and off. The + ; "features" control which of these check boxes display on the + ; admin/build/themes config page. This is useful for suppressing check boxes + ; for elements not used by your sub-theme. To suppress a check box, omit the + ; entry for it below. See the Drupal 6 Theme Guide for more info: + ; http://drupal.org/node/171205#features +features[] = logo +features[] = name +features[] = slogan +features[] = mission +features[] = node_user_picture +features[] = comment_user_picture +features[] = search +features[] = favicon +features[] = primary_links +features[] = secondary_links + + ; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 1 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 1 +settings[zen_wireframes] = 0 diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/drupal6-reference.css b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/drupal6-reference.css new file mode 100644 index 0000000..18d48c3 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/drupal6-reference.css @@ -0,0 +1,1980 @@ +/** + * @file + * DRUPAL 6.x Reference CSS + * + * THIS FILE IS FOR REFERENCE ONLY AND IS NOT USED IN ANY WAY BY THE ZEN THEME. + * + * Drupal has very modular CSS. Which means that only the CSS that is needed + * for a particular page is loaded. This is a good thing. + * + * However, this makes it difficult for theme developers to discover how and + * where a particular style is coming from. So, here in all its glory is the + * complete CSS included with Drupal core 6.x. + * + * And, if you're not already, you should check out the free Firebug extension + * for Firefox. With it, you can inspect elements and easily view and play with + * its CSS styles. http://www.getfirebug.com + */ + + +/* + * modules/aggregator/aggregator-rtl.css + */ + +#aggregator .feed-source .feed-icon { + float: left; +} + + +/* + * modules/aggregator/aggregator.css + */ + +#aggregator .feed-source .feed-title { + margin-top: 0; +} +#aggregator .feed-source .feed-image img { + margin-bottom: 0.75em; +} +#aggregator .feed-source .feed-icon { + float: right; /* LTR */ + display: block; +} +#aggregator .feed-item { + margin-bottom: 1.5em; +} +#aggregator .feed-item-title { + margin-bottom: 0; + font-size: 1.3em; +} +#aggregator .feed-item-meta, #aggregator .feed-item-body { + margin-bottom: 0.5em; +} +#aggregator .feed-item-categories { + font-size: 0.9em; +} +#aggregator td { + vertical-align: bottom; +} +#aggregator td.categorize-item { + white-space: nowrap; +} +#aggregator .categorize-item .news-item .body { + margin-top: 0; +} +#aggregator .categorize-item h3 { + margin-bottom: 1em; + margin-top: 0; +} + + +/* + * modules/block/block.css + */ + +#blocks td.region { + font-weight: bold; +} +#blocks tr.region-message { + font-weight: normal; + color: #999; +} +#blocks tr.region-populated { + display: none; +} +.block-region { + background-color: #ff6; + margin-top: 4px; + margin-bottom: 4px; + padding: 3px; +} + + +/* + * modules/book/book-rtl.css + */ + +.book-navigation .page-previous { + float: right; +} +.book-navigation .page-up { + float: right; +} + + +/* + * modules/book/book.css + */ + +.book-navigation .menu { + border-top: 1px solid #888; + padding: 1em 0 0 3em; +} +.book-navigation .page-links { + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.book-navigation .page-previous { + text-align: left; + width: 42%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-up { + margin: 0 5%; + width: 4%; + display: block; + float: left; /* LTR */ +} +.book-navigation .page-next { + text-align: right; + width: 42%; + display: block; + float: right; +} +#book-outline { + min-width: 56em; +} +.book-outline-form .form-item { + margin-top: 0; + margin-bottom: 0; +} +#edit-book-bid-wrapper .description { + clear: both; +} +#book-admin-edit select { + margin-right: 24px; +} +#book-admin-edit select.progress-disabled { + margin-right: 0; +} +#book-admin-edit tr.ahah-new-content { + background-color: #ffd; +} +#book-admin-edit .form-item { + float: left; +} + + +/* + * modules/color/color-rtl.css + */ + +#placeholder { + left: 0; + right: auto; +} + +/* Palette */ +.color-form .form-item { + padding-left: 0; + padding-right: 1em; +} +.color-form label { + float: right; + clear: right; +} +.color-form .form-text, .color-form .form-select { + float: right; +} +.color-form .form-text { + margin-right: 0; + margin-left: 5px; +} + +#palette .hook { + float: right; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook-rtl.png) no-repeat 0 0; +} +#palette .up { + background-position: 0 -27px; +} +#palette .both { + background-position: 0 -54px; +} + +#palette .lock { + float: right; + right: -10px; +} +html.js #preview { + float: right; +} + + +/* + * modules/color/color.css + */ + +/* Farbtastic placement */ +.color-form { + max-width: 50em; + position: relative; +} +#placeholder { + position: absolute; + top: 0; + right: 0; /* LTR */ +} + +/* Palette */ +.color-form .form-item { + height: 2em; + line-height: 2em; + padding-left: 1em; /* LTR */ + margin: 0.5em 0; +} +.color-form label { + float: left; /* LTR */ + clear: left; /* LTR */ + width: 10em; +} +.color-form .form-text, .color-form .form-select { + float: left; /* LTR */ +} +.color-form .form-text { + text-align: center; + margin-right: 5px; /* LTR */ + cursor: pointer; +} + +#palette .hook { + float: left; /* LTR */ + margin-top: 3px; + width: 16px; + height: 16px; +} +#palette .down, #palette .up, #palette .both { + background: url(images/hook.png) no-repeat 100% 0; /* LTR */ +} +#palette .up { + background-position: 100% -27px; /* LTR */ +} +#palette .both { + background-position: 100% -54px; /* LTR */ +} + +#palette .lock { + float: left; /* LTR */ + position: relative; + top: -1.4em; + left: -10px; /* LTR */ + width: 20px; + height: 25px; + background: url(images/lock.png) no-repeat 50% 2px; + cursor: pointer; +} +#palette .unlocked { + background-position: 50% -22px; +} +#palette .form-item { + width: 20em; +} +#palette .item-selected { + background: #eee; +} + +/* Preview */ +#preview { + display: none; +} +html.js #preview { + display: block; + position: relative; + float: left; /* LTR */ +} + + +/* + * modules/comment/comment-rtl.css + */ + +.indented { + margin-left: 0; + margin-right: 25px; +} + + +/* + * modules/comment/comment.css + */ + +.indented { + margin-left: 25px; /* LTR */ +} +.comment-unpublished { + background-color: #fff4f4; +} +.preview .comment { + background-color: #ffffea; +} + + +/* + * modules/dblog/dblog-rtl.css + */ + +#dblog-filter-form .form-item { + float: right; + padding-right: 0; + padding-left: .8em; +} + + +/* + * modules/dblog/dblog.css + */ + +#dblog-filter-form .form-item { + float: left; /* LTR */ + padding-right: .8em; /* LTR */ + margin: 0.1em; + /** + * In Opera 9, DOM elements with the property of "overflow: auto" + * will partially hide its contents with unnecessary scrollbars when + * its immediate child is floated without an explicit width set. + */ + width: 15em; +} +#dblog-filter-form .form-item select.form-select { + width: 100%; +} +tr.dblog-user { + background: #ffd; +} +tr.dblog-user .active { + background: #eed; +} +tr.dblog-content { + background: #ddf; +} +tr.dblog-content .active { + background: #cce; +} +tr.dblog-page-not-found, tr.dblog-access-denied { + background: #dfd; +} +tr.dblog-page-not-found .active, tr.dblog-access-denied .active { + background: #cec; +} +tr.dblog-error { + background: #ffc9c9; +} +tr.dblog-error .active { + background: #eeb9b9; +} + + +/* + * modules/forum/forum-rtl.css + */ + +#forum tr td.forum { + padding-left: 0.5em; + padding-right: 25px; + background-position: 98% 2px; +} +.forum-topic-navigation { + padding: 1em 3em 0 0; +} +.forum-topic-navigation .topic-previous { + text-align: left; + float: right; +} +.forum-topic-navigation .topic-next { + text-align: right; + float: left; +} + + +/* + * modules/forum/forum.css + */ + +#forum .description { + font-size: 0.9em; + margin: 0.5em; +} +#forum td.created, #forum td.posts, #forum td.topics, #forum td.last-reply, #forum td.replies, #forum td.pager { + white-space: nowrap; +} +#forum td.posts, #forum td.topics, #forum td.replies, #forum td.pager { + text-align: center; +} +#forum tr td.forum { + padding-left: 25px; /* LTR */ + background-position: 2px 2px; /* LTR */ + background-image: url(../../misc/forum-default.png); + background-repeat: no-repeat; +} +#forum tr.new-topics td.forum { + background-image: url(../../misc/forum-new.png); +} +#forum div.indent { + margin-left: 20px; +} + +.forum-topic-navigation { + padding: 1em 0 0 3em; /* LTR */ + border-top: 1px solid #888; + border-bottom: 1px solid #888; + text-align: center; + padding: 0.5em; +} +.forum-topic-navigation .topic-previous { + text-align: right; /* LTR */ + float: left; /* LTR */ + width: 46%; +} +.forum-topic-navigation .topic-next { + text-align: left; /* LTR */ + float: right; /* LTR */ + width: 46%; +} + + +/* + * modules/help/help-rtl.css + */ + +.help-items { + float: right; + padding-right: 0; + padding-left: 3%; +} +.help-items-last { + padding-right: 0; + padding-left: 0; +} + + +/* + * modules/help/help.css + */ + +.help-items { + float: left; /* LTR */ + width: 22%; + padding-right: 3%; /* LTR */ +} +.help-items-last { + padding-right: 0; /* LTR */ +} + + +/* + * modules/locale/locale.css + */ + +.locale-untranslated { + font-style: normal; + text-decoration: line-through; +} + + +/* + * modules/node/node-rtl.css + */ + +#node-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + + +/* + * modules/node/node.css + */ + +.node-unpublished { + background-color: #fff4f4; +} +.preview .node { + background-color: #ffffea; +} +#node-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#node-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +td.revision-current { + background: #ffc; +} +.node-form .form-text { + display: block; + width: 95%; +} +.node-form .container-inline .form-text { + display: inline; + width: auto; +} +.node-form .standard { + clear: both; +} +.node-form textarea { + display: block; + width: 95%; +} +.node-form .attachments fieldset { + float: none; + display: block; +} +.terms-inline { + display: inline; +} + + +/* + * modules/openid/openid.css + */ + +#edit-openid-identifier { + background-image: url("login-bg.png"); + background-position: 0% 50%; + background-repeat: no-repeat; + padding-left: 20px; +} + +div#edit-openid-identifier-wrapper { + display: block; +} + +html.js #user-login-form div#edit-openid-identifier-wrapper, +html.js #user-login div#edit-openid-identifier-wrapper { + display: none; +} + +html.js #user-login-form li.openid-link, +html.js #user-login li.openid-link { + display : block; +} + +#user-login-form ul { + margin-top: 0; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link, +#user-login li.openid-link, +#user-login li.user-link { + display: none; +} + +#user-login-form li.openid-link, +#user-login-form li.user-link { + text-align : left; +} + +#user-login-form li.openid-link, +#user-login li.openid-link { + background: transparent url(login-bg.png) no-repeat scroll 1px 0.35em; +} + + +/* + * modules/poll/poll-rtl.css + */ + +.poll .bar .foreground { + float: right; +} +.poll .percent { + text-align: left; +} +.poll .vote-form .choices { + text-align: right; +} + + +/* + * modules/poll/poll.css + */ + +.poll .bar { + height: 1em; + margin: 1px 0; + background-color: #ddd; +} +.poll .bar .foreground { + background-color: #000; + height: 1em; + float: left; /* LTR */ +} +.poll .links { + text-align: center; +} +.poll .percent { + text-align: right; /* LTR */ +} +.poll .total { + text-align: center; +} +.poll .vote-form { + text-align: center; +} +.poll .vote-form .choices { + text-align: left; /* LTR */ + margin: 0 auto; + display: table; +} +.poll .vote-form .choices .title { + font-weight: bold; +} +.node-form #edit-poll-more { + margin: 0; +} +td.poll-chtext { + width: 80%; +} +td.poll-chvotes .form-text { + width: 85%; +} + + +/* + * modules/profile/profile.css + */ + +#profile-fields td.category { + font-weight: bold; +} +#profile-fields tr.category-message { + color: #999; +} +#profile-fields tr.category-populated { + display: none; +} + + +/* + * modules/search/search-rtl.css + */ + +.search-advanced .criterion { + float: right; + margin-right: 0; + margin-left: 2em; +} +.search-advanced .action { + float: right; + clear: right; +} + + +/* + * modules/search/search.css + */ + +.search-form { + margin-bottom: 1em; +} +.search-form input { + margin-top: 0; + margin-bottom: 0; +} +.search-results p { + margin-top: 0; +} +.search-results dt { + font-size: 1.1em; +} +.search-results dd { + margin-bottom: 1em; +} +.search-results .search-info { + font-size: 0.85em; +} +.search-advanced .criterion { + float: left; /* LTR */ + margin-right: 2em; /* LTR */ +} +.search-advanced .action { + float: left; /* LTR */ + clear: left; /* LTR */ +} + + +/* + * modules/system/admin-rtl.css + */ + +div.admin-panel .body { + padding: 0 8px 2px 4px; +} + +div.admin .expert-link { + text-align: left; + margin-right: 0; + margin-left: 1em; + padding-right: 0; + padding-left: 4px; +} + +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-right: 30px; +} + +table.system-status-report th { + background-position: 95% 50%; +} + +table.screenshot { + margin-left: 1em; +} + +.date-container { + clear: right; +} +.date-container .select-container, .date-container .custom-container { + float: right; +} +.date-container .custom-container { + margin-left: 0; + margin-right: 15px; +} + + + +/* + * modules/system/admin.css + */ + +/* +** Formatting for administration page +*/ +div.admin-panel { + margin: 0; + padding: 5px 5px 15px 5px; +} + +div.admin-panel .description { + margin: 0 0 3px; + padding: 2px 0 3px 0; +} + +div.admin-panel .body { + padding: 0 4px 2px 8px; /* LTR */ +} + +div.admin { + padding-top: 15px; +} + +div.admin .left { + float: left; + width: 47%; + margin-left: 1em; +} +div.admin .right { + float: right; + width: 47%; + margin-right: 1em; +} + +div.admin .expert-link { + text-align: right; /* LTR */ + margin-right: 1em; /* LTR */ + padding-right: 4px; /* LTR */ +} + +table.package { + width: 100%; +} +table.package .description { + width: 100%; +} +div.admin-dependencies, div.admin-required { + font-size: 0.9em; + color: #444; +} +span.admin-disabled { + color: #800; +} +span.admin-enabled { + color: #080; +} +span.admin-missing { + color: #f00; +} + +/** + * Formatting for status report + */ +table.system-status-report th { + border-bottom: 1px solid #ccc; +} +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-left: 30px; /* LTR */ +} +table.system-status-report th { + background-repeat: no-repeat; + background-position: 5px 50%; /* LTR */ + padding-top: 6px; + padding-bottom: 6px; +} +table.system-status-report tr.error th { + background-image: url(../../misc/watchdog-error.png); +} +table.system-status-report tr.warning th { + background-image: url(../../misc/watchdog-warning.png); +} +table.system-status-report tr.ok th { + background-image: url(../../misc/watchdog-ok.png); +} + +/** + * Formatting for theme configuration + */ +.theme-settings-left { + float: left; + width: 49%; +} +.theme-settings-right { + float: right; + width: 49%; +} +.theme-settings-bottom { + clear: both; +} + +/** + * Formatting for theme overview + */ +table.screenshot { + margin-right: 1em; /* LTR */ +} +.theme-info h2 { + margin-bottom: 0; +} +.theme-info p { + margin-top: 0; +} + + +/** + * Date and time settings page + */ +.date-container { + overflow: auto; + clear: left; /* LTR */ +} +.date-container .form-item { + margin-top: 0; +} +.date-container .select-container, .date-container .custom-container { + float: left; /* LTR */ +} +.date-container .custom-container { + margin-left: 15px; /* LTR */ + width: 50%; +} +html.js .custom-container label { + visibility: hidden; +} + + +/* + * modules/system/defaults-rtl.css + */ + +th { + text-align: right; + padding-right: 0; + padding-left: 1em; +} + + +/* + * modules/system/defaults.css + */ + +/* +** HTML elements +*/ +fieldset { + margin-bottom: 1em; + padding: .5em; +} +form { + margin: 0; + padding: 0; +} +hr { + height: 1px; + border: 1px solid gray; +} +img { + border: 0; +} +table { + border-collapse: collapse; +} +th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Markup free clearing +** Details: http://www.positioniseverything.net/easyclearing.html +*/ +.clear-block:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +.clear-block { + display: inline-block; +} + +/* Hides from IE-mac \*/ +* html .clear-block { + height: 1%; +} +.clear-block { + display: block; +} +/* End hide from IE-mac */ + + +/* + * modules/system/maintenance.css + */ + +/* Update styles */ +#update-results { + margin-top: 3em; + padding: 0.25em; + border: 1px solid #ccc; + background: #eee; + font-size: smaller; +} +#update-results h2 { + margin-top: 0.25em; +} +#update-results h4 { + margin-bottom: 0.25em; +} +#update-results li.none { + color: #888; + font-style: italic; +} +#update-results li.failure strong { + color: #b63300; +} + + +/* + * modules/system/system-menus-rtl.css + */ + +ul.menu { + text-align:right; +} +ul.menu li { + margin: 0 0.5em 0 0; +} +li.expanded { + padding: 0.2em 0 0 0.5em; +} +li.collapsed { + list-style-image: url(../../misc/menu-collapsed-rtl.png); + padding: 0.2em 0 0 0.5em; +} +li.leaf { + padding: 0.2em 0 0 0.5em; +} + + +/* + * modules/system/system-menus.css + */ + +ul.menu { + list-style: none; + border: none; + text-align:left; /* LTR */ +} +ul.menu li { + margin: 0 0 0 0.5em; /* LTR */ +} +li.expanded { + list-style-type: circle; + list-style-image: url(../../misc/menu-expanded.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.collapsed { + list-style-type: disc; + list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li.leaf { + list-style-type: square; + list-style-image: url(../../misc/menu-leaf.png); + padding: 0.2em 0.5em 0 0; /* LTR */ + margin: 0; +} +li a.active { + color: #000; +} +td.menu-disabled { + background: #ccc; +} +ul.links { + margin: 0; + padding: 0; +} +ul.links.inline { + display: inline; +} +ul.links li { + display: inline; + list-style-type: none; + padding: 0 0.5em; +} +.block ul { + margin: 0; + padding: 0 0 0.25em 1em; /* LTR */ +} + + +/* + * modules/system/system-rtl.css + */ + +thead th { + text-align: right; + padding-left: 1em; + padding-right: 0.5em; +} + +.item-list .icon { + float: left; + padding-left: 0; + padding-right: 0.25em; + clear: left; +} +.item-list ul li { + margin: 0 1.5em 0.25em 0; +} + +.more-link { + text-align: left; +} +.more-help-link { + text-align: left; +} + +dl.multiselect dt, dl.multiselect dd { + float: right; + margin: 0 0 0 1em; +} + +.block ul { + padding: 0 1em 0.25em 0; +} + +ul.primary { + padding: 0 1em 0 0; +} +ul.primary li a { + margin-right: 5px; + margin-left: 0.5em; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: none; + border-left: 1px solid #ccc; +} +html.js input.form-autocomplete { + background-position: 0% 2px; +} +html.js input.throbbing { + background-position: 0% -18px; +} + +html.js fieldset.collapsible legend a { + padding-left: 0; + padding-right: 15px; + background-position: 98% 75%; +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed-rtl.png); + background-position: 98% 50%; +} + +div.teaser-button-wrapper { + float: left; + padding-right: 0; + padding-left: 5%; +} +.teaser-checkbox div.form-item { + float: left; + margin: 0 0 0 5%; +} +.progress .percentage { + float: left; +} +.progess-disabled { + float: right; +} +.ahah-progress { + float: right; +} +.ahah-progress .throbber { + float: right; +} +input.password-field { + margin-left: 10px; + margin-right: 0; +} +input.password-confirm { + margin-left: 10px; + margin-right: 0; +} + +.draggable a.tabledrag-handle { + float: right; + margin: -0.4em -0.5em -0.4em 0; + padding: 0.42em 0.5em 0.42em 1.5em; +} +div.indentation { + margin: -0.4em -0.4em -0.4em 0.2em; + padding: 0.42em 0.6em 0.42em 0; + float: right; +} +div.tree-child, div.tree-child-last { + background-position: -65px center; +} + + +/* + * modules/system/system.css + */ + +/* +** HTML elements +*/ +body.drag { + cursor: move; +} +th.active img { + display: inline; +} +tr.even, tr.odd { + background-color: #eee; + border-bottom: 1px solid #ccc; + padding: 0.1em 0.6em; +} +tr.drag { + background-color: #fffff0; +} +tr.drag-previous { + background-color: #ffd; +} +td.active { + background-color: #ddd; +} +td.checkbox, th.checkbox { + text-align: center; +} +tbody { + border-top: 1px solid #ccc; +} +tbody th { + border-bottom: 1px solid #ccc; +} +thead th { + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ + border-bottom: 3px solid #ccc; +} + +/* +** Other common styles +*/ +.breadcrumb { + padding-bottom: .5em +} +div.indentation { + width: 20px; + height: 1.7em; + margin: -0.4em 0.2em -0.4em -0.4em; /* LTR */ + padding: 0.42em 0 0.42em 0.6em; /* LTR */ + float: left; /* LTR */ +} +div.tree-child { + background: url(../../misc/tree.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-last { + background: url(../../misc/tree-bottom.png) no-repeat 11px center; /* LTR */ +} +div.tree-child-horizontal { + background: url(../../misc/tree.png) no-repeat -11px center; +} +.error { + color: #e55; +} +div.error { + border: 1px solid #d77; +} +div.error, tr.error { + background: #fcc; + color: #200; + padding: 2px; +} +.warning { + color: #e09010; +} +div.warning { + border: 1px solid #f0c020; +} +div.warning, tr.warning { + background: #ffd; + color: #220; + padding: 2px; +} +.ok { + color: #008000; +} +div.ok { + border: 1px solid #00aa00; +} +div.ok, tr.ok { + background: #dfd; + color: #020; + padding: 2px; +} +.item-list .icon { + color: #555; + float: right; /* LTR */ + padding-left: 0.25em; /* LTR */ + clear: right; /* LTR */ +} +.item-list .title { + font-weight: bold; +} +.item-list ul { + margin: 0 0 0.75em 0; + padding: 0; +} +.item-list ul li { + margin: 0 0 0.25em 1.5em; /* LTR */ + padding: 0; + list-style: disc; +} +ol.task-list li.active { + font-weight: bold; +} +.form-item { + margin-top: 1em; + margin-bottom: 1em; +} +tr.odd .form-item, tr.even .form-item { + margin-top: 0; + margin-bottom: 0; + white-space: nowrap; +} +tr.merge-down, tr.merge-down td, tr.merge-down th { + border-bottom-width: 0 !important; +} +tr.merge-up, tr.merge-up td, tr.merge-up th { + border-top-width: 0 !important; +} +.form-item input.error, .form-item textarea.error, .form-item select.error { + border: 2px solid red; +} +.form-item .description { + font-size: 0.85em; +} +.form-item label { + display: block; + font-weight: bold; +} +.form-item label.option { + display: inline; + font-weight: normal; +} +.form-checkboxes, .form-radios { + margin: 1em 0; +} +.form-checkboxes .form-item, .form-radios .form-item { + margin-top: 0.4em; + margin-bottom: 0.4em; +} +.marker, .form-required { + color: #f00; +} +.more-link { + text-align: right; /* LTR */ +} +.more-help-link { + font-size: 0.85em; + text-align: right; /* LTR */ +} +.nowrap { + white-space: nowrap; +} +.item-list .pager { + clear: both; + text-align: center; +} +.item-list .pager li { + background-image:none; + display:inline; + list-style-type:none; + padding: 0.5em; +} +.pager-current { + font-weight:bold; +} +.tips { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; + font-size: 0.9em; +} +dl.multiselect dd.b, dl.multiselect dd.b .form-item, dl.multiselect dd.b select { + font-family: inherit; + font-size: inherit; + width: 14em; +} +dl.multiselect dd.a, dl.multiselect dd.a .form-item { + width: 8em; +} +dl.multiselect dt, dl.multiselect dd { + float: left; /* LTR */ + line-height: 1.75em; + padding: 0; + margin: 0 1em 0 0; /* LTR */ +} +dl.multiselect .form-item { + height: 1.75em; + margin: 0; +} + +/* +** Inline items (need to override above) +*/ +.container-inline div, .container-inline label { + display: inline; +} + +/* +** Tab navigation +*/ +ul.primary { + border-collapse: collapse; + padding: 0 0 0 1em; /* LTR */ + white-space: nowrap; + list-style: none; + margin: 5px; + height: auto; + line-height: normal; + border-bottom: 1px solid #bbb; +} +ul.primary li { + display: inline; +} +ul.primary li a { + background-color: #ddd; + border-color: #bbb; + border-width: 1px; + border-style: solid solid none solid; + height: auto; + margin-right: 0.5em; /* LTR */ + padding: 0 1em; + text-decoration: none; +} +ul.primary li.active a { + background-color: #fff; + border: 1px solid #bbb; + border-bottom: #fff 1px solid; +} +ul.primary li a:hover { + background-color: #eee; + border-color: #ccc; + border-bottom-color: #eee; +} +ul.secondary { + border-bottom: 1px solid #bbb; + padding: 0.5em 1em; + margin: 5px; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: 1px solid #ccc; /* LTR */ +} +ul.secondary a { + padding: 0; + text-decoration: none; +} +ul.secondary a.active { + border-bottom: 4px solid #999; +} + +/* +** Autocomplete styles +*/ +/* Suggestion list */ +#autocomplete { + position: absolute; + border: 1px solid; + overflow: hidden; + z-index: 100; +} +#autocomplete ul { + margin: 0; + padding: 0; + list-style: none; +} +#autocomplete li { + background: #fff; + color: #000; + white-space: pre; + cursor: default; +} +#autocomplete li.selected { + background: #0072b9; + color: #fff; +} +/* Animated throbber */ +html.js input.form-autocomplete { + background-image: url(../../misc/throbber.gif); + background-repeat: no-repeat; + background-position: 100% 2px; /* LTR */ +} +html.js input.throbbing { + background-position: 100% -18px; /* LTR */ +} + +/* +** Collapsing fieldsets +*/ +html.js fieldset.collapsed { + border-bottom-width: 0; + border-left-width: 0; + border-right-width: 0; + margin-bottom: 0; + height: 1em; +} +html.js fieldset.collapsed * { + display: none; +} +html.js fieldset.collapsed legend { + display: block; +} +html.js fieldset.collapsible legend a { + padding-left: 15px; /* LTR */ + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed.png); /* LTR */ + background-position: 5px 50%; /* LTR */ +} +/* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ +* html.js fieldset.collapsed legend, +* html.js fieldset.collapsed legend *, +* html.js fieldset.collapsed table * { + display: inline; +} +/* For Safari 2 to prevent collapsible fieldsets containing tables from dissapearing due to tableheader.js. */ +html.js fieldset.collapsible { + position: relative; +} +html.js fieldset.collapsible legend a { + display: block; +} +/* Avoid jumping around due to margins collapsing into collapsible fieldset border */ +html.js fieldset.collapsible .fieldset-wrapper { + overflow: auto; +} + +/* +** Resizable text areas +*/ +.resizable-textarea { + width: 95%; +} +.resizable-textarea .grippie { + height: 9px; + overflow: hidden; + background: #eee url(../../misc/grippie.png) no-repeat center 2px; + border: 1px solid #ddd; + border-top-width: 0; + cursor: s-resize; +} +html.js .resizable-textarea textarea { + margin-bottom: 0; + width: 100%; + display: block; +} + +/* +** Table drag and drop. +*/ +.draggable a.tabledrag-handle { + cursor: move; + float: left; /* LTR */ + height: 1.7em; + margin: -0.4em 0 -0.4em -0.5em; /* LTR */ + padding: 0.42em 1.5em 0.42em 0.5em; /* LTR */ + text-decoration: none; +} +a.tabledrag-handle:hover { + text-decoration: none; +} +a.tabledrag-handle .handle { + margin-top: 4px; + height: 13px; + width: 13px; + background: url(../../misc/draggable.png) no-repeat 0 0; +} +a.tabledrag-handle-hover .handle { + background-position: 0 -20px; +} + +/* +** Teaser splitter +*/ +.joined + .grippie { + height: 5px; + background-position: center 1px; + margin-bottom: -2px; +} +/* Keeps inner content contained in Opera 9. */ +.teaser-checkbox { + padding-top: 1px; +} +div.teaser-button-wrapper { + float: right; /* LTR */ + padding-right: 5%; /* LTR */ + margin: 0; +} +.teaser-checkbox div.form-item { + float: right; /* LTR */ + margin: 0 5% 0 0; /* LTR */ + padding: 0; +} +textarea.teaser { + display: none; +} +html.js .no-js { + display: none; +} + +/* +** Progressbar styles +*/ +.progress { + font-weight: bold; +} +.progress .bar { + background: #fff url(../../misc/progress.gif); + border: 1px solid #00375a; + height: 1.5em; + margin: 0 0.2em; +} +.progress .filled { + background: #0072b9; + height: 1em; + border-bottom: 0.5em solid #004a73; + width: 0%; +} +.progress .percentage { + float: right; /* LTR */ +} +.progress-disabled { + float: left; /* LTR */ +} +.ahah-progress { + float: left; /* LTR */ +} +.ahah-progress .throbber { + width: 15px; + height: 15px; + margin: 2px; + background: transparent url(../../misc/throbber.gif) no-repeat 0px -18px; + float: left; /* LTR */ +} +tr .ahah-progress .throbber { + margin: 0 2px; +} +.ahah-progress-bar { + width: 16em; +} + +/* +** Formatting for welcome page +*/ +#first-time strong { + display: block; + padding: 1.5em 0 .5em; +} + +/* +** To be used with tableselect.js +*/ +tr.selected td { + background: #ffc; +} + +/* +** Floating header for tableheader.js +*/ +table.sticky-header { + margin-top: 0; + background: #fff; +} + +/* +** Installation clean URLs +*/ +#clean-url.install { + display: none; +} + +/* +** For anything you want to hide on page load when JS is enabled, so +** that you can use the JS to control visibility and avoid flicker. +*/ +html.js .js-hide { + display: none; +} + +/* +** Styles for the system modules page (admin/build/modules) +*/ +#system-modules div.incompatible { + font-weight: bold; +} + +/* +** Styles for the system themes page (admin/build/themes) +*/ +#system-themes-form div.incompatible { + font-weight: bold; +} + +/* +** Password strength indicator +*/ +span.password-strength { + visibility: hidden; +} +input.password-field { + margin-right: 10px; /* LTR */ +} +div.password-description { + padding: 0 2px; + margin: 4px 0 0 0; + font-size: 0.85em; + max-width: 500px; +} +div.password-description ul { + margin-bottom: 0; +} +.password-parent { + margin: 0 0 0 0; +} +/* +** Password confirmation checker +*/ +input.password-confirm { + margin-right: 10px; /* LTR */ +} +.confirm-parent { + margin: 5px 0 0 0; +} +span.password-confirm { + visibility: hidden; +} +span.password-confirm span { + font-weight: normal; +} + + +/* + * modules/taxonomy/taxonomy.css + */ + +tr.taxonomy-term-preview { + background-color: #EEE; +} +tr.taxonomy-term-divider-top { + border-bottom: none; +} +tr.taxonomy-term-divider-bottom { + border-top: 1px dotted #CCC; +} +.taxonomy-term-description { + margin: 5px 0 20px; +} + + +/* + * modules/tracker/tracker.css + */ + +#tracker td.replies { + text-align: center; +} +#tracker table { + width: 100%; +} + + +/* + * modules/update/update-rtl.css + */ + +.update .project { + padding-right: .25em; +} + +.update .version-status { + float: left; + padding-left: 10px; +} + +.update .version-status .icon { + padding-right: .5em; +} + +.update table.version .version-title { + padding-left: 1em; +} + +.update table.version .version-details { + padding-left: .5em; + direction: ltr; +} + +.update table.version .version-links { + text-align: left; + padding-left: 1em; +} + +.update .check-manually { + padding-right: 1em; +} + + +/* + * modules/update/update.css + */ + +.update .project { + font-weight: bold; + font-size: 110%; + padding-left: .25em; /* LTR */ + height: 22px; +} + +.update .version-status { + float: right; /* LTR */ + padding-right: 10px; /* LTR */ + font-size: 110%; + height: 20px; +} + +.update .version-status .icon { + padding-left: .5em; /* LTR */ +} + +.update .version-date { + white-space: nowrap; +} + +.update .info { + margin: 0; + padding: 1em 1em .25em 1em; +} + +.update tr td { + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + +.update tr.error { + background: #fcc; +} + +.update tr.error .version-recommended { + background: #fdd; +} + +.update tr.ok { + background: #dfd; +} + +.update tr.warning { + background: #ffd; +} + +.update tr.warning .version-recommended { + background: #ffe; +} + +.current-version, .new-version { + direction: ltr; /* Note: version numbers should always be LTR. */ +} + +table.update, +.update table.version { + width: 100%; + margin-top: .5em; +} + +.update table.version tbody { + border: none; +} + +.update table.version tr, +.update table.version td { + line-height: .9em; + padding: 0; + margin: 0; + border: none; +} + +.update table.version .version-title { + padding-left: 1em; /* LTR */ + width: 14em; +} + +.update table.version .version-details { + padding-right: .5em; /* LTR */ +} + +.update table.version .version-links { + text-align: right; /* LTR */ + padding-right: 1em; /* LTR */ +} + +.update table.version-security .version-title { + color: #970F00; +} + +.update table.version-recommended-strong .version-title { + font-weight: bold; +} + +.update .security-error { + font-weight: bold; + color: #970F00; +} + +.update .check-manually { + padding-left: 1em; /* LTR */ +} + + +/* + * modules/user/user-rtl.css + */ + +#permissions td.permission { + padding-left: 0; + padding-right: 1.5em; +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 0; + margin-left: 1em; + float: right; +} +#user-admin-buttons { + float: right; + margin-left: 0; + margin-right: 0.5em; + clear: left; +} + +.profile .picture { + float: left; + margin: 0 0 1em 1em; +} + + +/* + * modules/user/user.css + */ + +#permissions td.module { + font-weight: bold; +} +#permissions td.permission { + padding-left: 1.5em; /* LTR */ +} +#access-rules .access-type, #access-rules .rule-type { + margin-right: 1em; /* LTR */ + float: left; /* LTR */ +} +#access-rules .access-type .form-item, #access-rules .rule-type .form-item { + margin-top: 0; +} +#access-rules .mask { + clear: both; +} +#user-login-form { + text-align: center; +} +#user-admin-filter ul { + list-style-type: none; + padding: 0; + margin: 0; + width: 100%; +} +#user-admin-buttons { + float: left; /* LTR */ + margin-left: 0.5em; /* LTR */ + clear: right; /* LTR */ +} +#user-admin-settings fieldset .description { + font-size: 0.85em; + padding-bottom: .5em; +} + +/* Generated by user.module but used by profile.module: */ +.profile { + clear: both; + margin: 1em 0; +} +.profile .picture { + float: right; /* LTR */ + margin: 0 1em 1em 0; /* LTR */ +} +.profile h3 { + border-bottom: 1px solid #ccc; +} +.profile dl { + margin: 0 0 1.5em 0; +} +.profile dt { + margin: 0 0 0.2em 0; + font-weight: bold; +} +.profile dd { + margin: 0 0 1em 0; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/favicon.ico b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/favicon.ico new file mode 100644 index 0000000..0f9909a Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/favicon.ico differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/logo.png b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/logo.png new file mode 100644 index 0000000..bcc4532 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/logo.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/screenshot.png b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/screenshot.png new file mode 100644 index 0000000..f6f3e70 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/screenshot.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/template.php b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/template.php new file mode 100644 index 0000000..52c6962 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/STARTERKIT/template.php @@ -0,0 +1,160 @@ + 'checkbox', + '#title' => t('Use this sample setting'), + '#default_value' => $settings['STARTERKIT_example'], + '#description' => t("This option doesn't do anything; it's just an example."), + ); + // */ + + // Add the base theme's settings. + $form += zen_settings($saved_settings, $defaults); + + // Remove some of the base theme's settings. + unset($form['themedev']['zen_layout']); // We don't need to select the base stylesheet. + + // Return the form + return $form; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/STARTERKIT/screenshot.psd b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/STARTERKIT/screenshot.psd new file mode 100644 index 0000000..6762e48 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/STARTERKIT/screenshot.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/messages.psd b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/messages.psd new file mode 100644 index 0000000..a155d1c Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/messages.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/tabs.psd b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/tabs.psd new file mode 100644 index 0000000..dfd82aa Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/images-source/zen/tabs.psd differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block-editing.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block-editing.css new file mode 100644 index 0000000..56d98e2 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block-editing.css @@ -0,0 +1,26 @@ +/* + * Rollover edit links for blocks + */ + + div.block.with-block-editing + { + position: relative; + } + + div.block.with-block-editing div.edit + { + display: none; + position: absolute; + right: 0; + top: 0; + z-index: 40; + border: 1px solid #eee; + padding: 0 2px; + font-size: 0.75em; + background-color: #fff; + } + + div.block.with-block-editing:hover div.edit + { + display: block; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block.tpl.php new file mode 100644 index 0000000..1311ee2 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/block.tpl.php @@ -0,0 +1,42 @@ +subject: Block title. + * - $block->content: Block content. + * - $block->module: Module that generated the block. + * - $block->delta: This is a numeric id connected to each module. + * - $block->region: The block region embedding the current block. + * - $classes: A set of CSS classes for the DIV wrapping the block. + Possible values are: block-MODULE, region-odd, region-even, odd, even, + region-count-X, and count-X. + * + * Helper variables: + * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region. + * - $zebra: Same output as $block_zebra but independent of any block region. + * - $block_id: Counter dependent on each block region. + * - $id: Same output as $block_id but independent of any block region. + * - $is_front: Flags true when presented in the front page. + * - $logged_in: Flags true when the current user is a logged-in member. + * - $is_admin: Flags true when the current user is an administrator. + * + * @see template_preprocess() + * @see template_preprocess_block() + */ +?> +
    + + subject): ?> +

    subject; ?>

    + + +
    + content; ?> +
    + + + +
    diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/box.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/box.tpl.php new file mode 100644 index 0000000..2c5489f --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/box.tpl.php @@ -0,0 +1,24 @@ + +
    + + +

    + + +
    + +
    + +
    diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment-wrapper.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment-wrapper.tpl.php new file mode 100644 index 0000000..b8fc7ca --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment-wrapper.tpl.php @@ -0,0 +1,39 @@ + + +
    + type != 'forum'): ?> +

    + + +
    + diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment.tpl.php new file mode 100644 index 0000000..fe03639 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/comment.tpl.php @@ -0,0 +1,70 @@ + +
    + + +

    + + new): ?> + + +

    + new): ?> +
    + + + +
    + + + + + + +
    + + +
    + +
    + +
    + + + + + +
    diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/favicon.ico b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/favicon.ico new file mode 100644 index 0000000..0f9909a Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/favicon.ico differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/html-elements.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/html-elements.css new file mode 100644 index 0000000..1a8da03 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/html-elements.css @@ -0,0 +1,269 @@ +/**** + **** HTML ELEMENT STYLING + ****/ + + +/** fonts **/ + /* + * Our font size and line height declarations are based on the following ALA + * article: + * http://www.alistapart.com/articles/howtosizetextincss + * + * All modern browsrs use a 16px default font size. Specifying the font-size + * and line-height in ems (relative to the 16px default font) allows the user + * to resize the font in the browser and produces the most consistent results + * across different browsers. + */ + body + { + font-size: 100%; /* Fixes exaggerated text resizing in IE6 and IE7 */ + } + + #page + { + /* + * To use a 12px font size on the page, delete the 14px declarations. + * to use a 14px font size on the page, delete the 12px declarations. + */ + + /* Use a 12px base font size with a 16px line height */ + font-size: 0.75em; /* 16px x .75 = 12px */ + line-height: 1.333em; /* 12px x 1.333 = 16px */ + + /* Use a 14px base font size with a 18px line height */ + font-size: 0.875em; /* 16px x .875 = 14px */ + line-height: 1.286em; /* 14px x 1.286 = 18px */ + } + + body, caption, th, td, input, textarea, select, option, legend, fieldset + { + /* The following font family declarations are based on the Microsoft core + * web fonts which are common fonts available on most computer systems. The + * Bitstream Vera fonts are commonly available on Linux systems where the MS + * fonts are less common. + * + * A user's web browser will look at the comma-separated list and will + * attempt to use each font in turn until it finds one that is available + * on the user's computer. The final "generic" font (sans-serif or serif) + * hints at what type of font to use if the web browser doesn't find any + * of the fonts in the list. + + font-family: "Times New Roman", Times, Georgia, "Bitstream Vera Serif", serif; + font-family: Times, "Times New Roman", Georgia, "Bitstream Vera Serif", serif; + font-family: Georgia, "Times New Roman", "Bitstream Vera Serif", serif; + + font-family: Verdana, Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; + font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; + font-family: Helvetica, Arial, "Bitstream Vera Sans", sans-serif; + font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif; + + font-family: "Bitstream Vera Sans Mono", "Courier New", monospace; + + */ + + font-family: Tahoma, Verdana, Arial, Helvetica, "Bitstream Vera Sans", sans-serif; + } + + pre, code + { + font-size: 1.1em; /* Monospace fonts can be hard to read */ + font-family: "Bitstream Vera Sans Mono", "Courier New", monospace; + } + +/** headings **/ + h1 + { + font-size: 2em; + line-height: 1.3em; + margin-top: 0; + margin-bottom: 0.5em; /* 0.5em is equavalent to 1em in the page's base font. + Remember, a margin specified in ems is relative to + the element's font-size, not to the pages' base + font size. So, for example, if we want a 1em margin + (relative to the base font), we have to divide that + length by the element's font-size: + 1em / 2em = 0.5em */ + } + + h2 + { + font-size: 1.5em; + line-height: 1.3em; + margin-top: 0.667em; /* Equivalent to 1em in the page's base font: 1 / 1.5 = 0.667em */ + margin-bottom: 0.667em; + } + + h3 + { + font-size: 1.3em; + line-height: 1.3em; + margin-top: 0.769em; /* Equivalent to 1em in the page's base font: 1 / 1.3 = 0.769 */ + margin-bottom: 0.769em; + } + + h4, h5, h6 + { + font-size: 1.1em; + line-height: 1.3em; + margin-top: 0.909em; /* Equivalent to 1em in the page's base font: 1 / 1.1 = 0.909 */ + margin-bottom: 0.909em; + } + +/** block-level elements **/ + p, ul, ol, dl, pre, table, fieldset, blockquote + { + margin: 1em 0; + } + +/** lists **/ + /* standardize list item indentation */ + ul, ol + { + margin-left: 0; + padding-left: 2em; + } + + .block ul, /* Drupal overrides */ + .item-list ul + { + margin: 1em 0; + padding: 0 0 0 2em; + } + + ul ul, ul ol, + ol ol, ol ul, + .block ul ul, .block ul ol, + .block ol ol, .block ol ul, + .item-list ul ul, .item-list ul ol, + .item-list ol ol, .item-list ol ul + { + margin: 0; + } + + li + { + margin: 0; + padding: 0; + } + + .item-list ul li /* Drupal override */ + { + margin: 0; + padding: 0; + list-style: inherit; + } + + ul.menu li, /* Drupal override */ + li.expanded, + li.collapsed, + li.leaf + { + margin: 0; + padding: 0; + } + + ul { list-style-type: disc; } + ul ul { list-style-type: circle; } + ul ul ul { list-style-type: square; } + ul ul ul ul { list-style-type: circle; } + ol { list-style-type: decimal; } + ol ol { list-style-type: lower-alpha; } + ol ol ol { list-style-type: decimal; } + + dt + { + margin: 0; + padding: 0; + } + + dd + { + margin: 0 0 0 2em; + padding: 0; + } + +/** links **/ + /* The order of link states are based on Eric Meyer's article: + * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states + */ + a:link + { + } + + a:visited + { + } + + a:hover, + a:focus + { + } + + a:active + { + } + +/** tables **/ + /* Override Drupal default CSS */ + table + { + border-collapse: collapse; + /* width: 100%; */ /* Prevent cramped-looking tables */ + } + + th, + thead th, + tbody th + { + text-align: left; + padding-right: 0; + border-bottom: none; + } + + tbody + { + border-top: none; + } + +/** abbreviations **/ + abbr + { + border-bottom: 1px dotted #666; + cursor: help; + white-space: nowrap; + } + + /* Date-based "abbreviations" show computer-friendly timestamps which are not + human-friendly. */ + abbr.created + { + border: none; + cursor: auto; + white-space: normal; + } + +/** images **/ + img + { + border: 0; + } + +/** horizontal rules **/ + hr + { + height: 1px; + border: 1px solid #666; + } + +/** forms **/ + form + { + margin: 0; + padding: 0; + } + + fieldset + { + margin: 1em 0; + padding: 0.5em; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/ie.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/ie.css new file mode 100644 index 0000000..5b1db56 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/ie.css @@ -0,0 +1,148 @@ +/* + * IE CSS + * + * CSS targeted specifically for Internet Explorer for Windows. + * + * While building your theme, you should be aware that IE limits Drupal to 31 + * stylesheets total. The work-around for the bug is to enable CSS aggregation + * under: admin / settings / performance. + * + * Properties starting with an underscore _ are for IE 5 and 6 only. + * Properties starting with head:first-child+body are for IE7 only. + * Properties with a child selector (>) or sibling selector (+) are for IE7 only. + * + */ + +/* + * Layout CSS + */ + +/** body **/ + body + { + _text-align: center; /* 1st part of IE5/IE6quirks centering hack */ + } + + #page + { + _text-align: left; /* 2nd part of IE5/IE6quirks centering hack */ + } + +/** main (container for everything else) **/ + #main + { + _zoom: 1; /* Otherwise with a liquid layout, sidebars disappear when resizing the windows in IE6 */ + } + +/** floating divs **/ + #content, + #navbar, + #sidebar-left, + #sidebar-right + { + _display: inline; /* display inline or double your floated margin! [1] */ + _overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */ + _overflow-y: visible; + } + + +/* + * Tabs CSS - IE 5 and 6 don't support PNGs with alpha transparency. + */ + + ul.primary li a, + ul.primary li a .tab, + ul.secondary li a, + ul.secondary li a .tab + { + _display: inline; /* Otherwise the blocks mistakenly get 100% width in IE5 */ + _di\splay: inline-block; /* Otherwise the blocks mistakenly get 100% width in IE6 */ + cursor: pointer; + } + + ul.primary, + ul.secondary + { + _width: 100%; /* Otherwise IE5 treats the ul as floated */ + _w\idth: auto; /* Reset to auto width for IE6 */ + } + + ul.primary li a + { + _background: url(images/tab-left-ie6.png) no-repeat left -38px; + } + + ul.primary li a .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right -38px; + } + + ul.primary li a:hover + { + _background: url(images/tab-left-ie6.png) no-repeat left -76px; + } + + ul.primary li a:hover .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right -76px; + } + + ul.primary li.active a, + ul.primary li.active a:hover + { + _background: url(images/tab-left-ie6.png) no-repeat left 0; + } + + ul.primary li.active a .tab, + ul.primary li.active a:hover .tab + { + _background: url(images/tab-right-ie6.png) no-repeat right 0; + } + +/* + * Messages - IE 5 and 6 don't support PNGs with alpha transparency. + */ + + div.messages, /* Important messages (status, warning, and error) for the user */ + div.status, + div.warning, + div.error + { + _background-image: url(images/messages-status-ie6.png); + } + + div.warning /* Medium priority messages */ + { + _background-image: url(images/messages-warning-ie6.png); + } + + div.error /* High priority messages. See also the .error declaration below. */ + { + _background-image: url(images/messages-error-ie6.png); + } + +/** Drupal nodes **/ + .node-unpublished .node-inner>* + { + position: relative; /* Otherwise these elements will appear below the "Unpublished" text. */ + } + +/** Drupal admin tables **/ + .section-admin #content tr.even th, + .section-admin #content tr.even td, + .section-admin #content tr.odd th, + .section-admin #content tr.odd td + { + border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */ + } + +/* + * REFERENCES + * + +1. http://www.positioniseverything.net/explorer/doubled-margin.html +2. http://browservulsel.blogspot.com/2005/04/ie-overflow-auto-scrollbar-overlap.html +3. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B + + * + */ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error-ie6.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error-ie6.png new file mode 100644 index 0000000..054b9f2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error.png new file mode 100644 index 0000000..012813b Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-error.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status-ie6.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status-ie6.png new file mode 100644 index 0000000..f9eb63f Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status.png new file mode 100644 index 0000000..9f07a42 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-status.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning-ie6.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning-ie6.png new file mode 100644 index 0000000..551a9db Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning.png new file mode 100644 index 0000000..e727711 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/messages-warning.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-bar.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-bar.png new file mode 100644 index 0000000..0b380be Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-bar.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left-ie6.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left-ie6.png new file mode 100644 index 0000000..5c512ae Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left.png new file mode 100644 index 0000000..dd925f7 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-left.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right-ie6.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right-ie6.png new file mode 100644 index 0000000..1c00281 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right-ie6.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right.png new file mode 100644 index 0000000..9ed9cb2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-right.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary-bg.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary-bg.png new file mode 100644 index 0000000..a5a617e Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary-bg.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary.png new file mode 100644 index 0000000..bf4e8d2 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/images/tab-secondary.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-fixed.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-fixed.css new file mode 100644 index 0000000..13b2928 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-fixed.css @@ -0,0 +1,305 @@ +/* + * LAYOUT STYLES + * + * Define CSS classes to create a table-free, 3-column, 2-column, or single + * column layout depending on whether blocks are enabled in the left or right + * columns. + * + * This layout is based on the Zen Columns layout method. + * http://drupal.org/node/201428 + * + * Only CSS that affects the layout (positioning) of major elements should be + * listed here. Such as: + * display, position, float, clear, width, height, min-width, min-height + * margin, border, padding, overflow + */ + + +/** body **/ + body + { + } + + #page, + #closure-blocks + { + /* + * If you want to make the page a fixed width and centered in the viewport, + * this is the standards-compliant way to do that. See also the ie.css file + * for the necessary IE5 hack to center a div. + */ + margin-left: auto; + margin-right: auto; + width: 960px; + } + + #page-inner + { + } + + #navigation-top, + #navigation + { + position: absolute; /* Take the named anchors out of the doc flow */ + left: -10000px; /* and prevent any anchor styles from appearing. */ + } + + #skip-to-nav + { + float: right; + margin: 0 !important; + font-size: 0.8em; + } + + #skip-to-nav a:link, #skip-to-nav a:visited + { + color: #fff; /* Same as background color of page */ + } + + #skip-to-nav a:hover + { + color: #000; + text-decoration: none; + } + + /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs + to the link. Un-comment the following CSS to use this technique. */ + /* + #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited + { + position: absolute; + left: 0; + top: -500px; + width: 1px; + height: 1px; + overflow: hidden; + } + + #skip-to-nav a:active, #skip-to-nav a:focus + { + position: static; + width: auto; + height: auto; + } + */ + +/** header **/ + #header + { + } + + #header-inner + { + } + + #logo-title + { + } + + #logo + { + float: left; + } + + #site-name + { + } + + #site-slogan + { + } + + #header-blocks + { + clear: both; /* Clear the logo */ + } + +/** main (container for everything else) **/ + #main + { + position: relative; + } + + #main-inner + { + } + +/** content **/ + #content, + .no-sidebars #content + { + float: left; + width: 960px; + margin-left: 0; + margin-right: -960px; /* Negative value of #content's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */ + } + + .sidebar-left #content + { + width: 760px; + margin-left: 200px; /* The width of #sidebar-left. */ + margin-right: -960px; /* Negative value of #content's width + left margin. */ + } + + .sidebar-right #content + { + width: 760px; + margin-left: 0; + margin-right: -760px; /* Negative value of #content's width + left margin. */ + } + + .two-sidebars #content + { + width: 560px; + margin-left: 200px; /* The width of #sidebar-left */ + margin-right: -760px; /* Negative value of #content's width + left margin. */ + } + + #content-inner + { + margin: 0; + padding: 0; + } + +/** navbar **/ + #navbar + { + float: left; + width: 100%; + margin-left: 0; + margin-right: -100%; /* Negative value of #navbar's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */ + height: 3.6em; /* The navbar can have any arbritrary height. We picked one + that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6 + Set this to the same value as the margin-top below. */ + } + + .with-navbar #content, + .with-navbar #sidebar-left, + .with-navbar #sidebar-right + { + margin-top: 3.6em; /* Set this to the same value as the navbar height above. */ + } + + #navbar-inner + { + } + + #search-box + { + width: 200px; + margin-right: -200px; /* Negative value of #search-box's width. */ + float: left; + } + + #primary + { + margin-left: 200px; /* Width of search-box */ + } + + #secondary + { + margin-left: 200px; /* Width of search-box */ + } + + #navbar ul /* Primary and secondary links */ + { + margin: 0; + padding: 0; + text-align: left; + } + + #navbar li /* A simple method to get navbar links to appear in one line. */ + { + float: left; + padding: 0 10px 0 0; + } + + /* There are many methods to get navbar links to appear in one line. + * Here's an alternate method: */ + /* + #navbar li + { + display: inline; + padding: 0 10px 0 0; + } + */ + +/** sidebar-left **/ + #sidebar-left + { + float: left; + width: 200px; + margin-left: 0; + margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */ + } + + #sidebar-left-inner + { + margin: 0 20px 0 0; + padding: 0; + } + +/** sidebar-right **/ + #sidebar-right + { + float: left; + width: 200px; + margin-left: 760px; /* Width of content + sidebar-left. */ + margin-right: -960px; /* Negative value of #sidebar-right's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */ + } + + #sidebar-right-inner + { + margin: 0 0 0 20px; + padding: 0; + } + +/** footer **/ + #footer + { + } + + #footer-inner + { + } + +/** closure **/ + #closure-blocks /* See also the #page declaration above that this div shares. */ + { + } + +/** Prevent overflowing content **/ + #header, + #content, + #navbar, + #sidebar-left, + #sidebar-right, + #footer, + #closure-blocks + { + overflow: visible; + word-wrap: break-word; /* A very nice CSS3 property */ + } + + #navbar + { + overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */ + } + + /* If a div.clear-block doesn't have any content after it and its bottom edge + touches the bottom of the viewport, Firefox and Safari will mistakenly + place several pixels worth of space between the bottom of the div and the + bottom of the viewport. Uncomment this CSS property to fix this. + Note: with some over-large content, this property might cause scrollbars + to appear on the #page div. + */ + /* + #page + { + overflow-y: hidden; + } + */ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-liquid.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-liquid.css new file mode 100644 index 0000000..fa63ea3 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/layout-liquid.css @@ -0,0 +1,295 @@ +/* + * LAYOUT STYLES + * + * Define CSS classes to create a table-free, 3-column, 2-column, or single + * column layout depending on whether blocks are enabled in the left or right + * columns. + * + * This layout is based on the Zen Columns layout method. + * http://drupal.org/node/201428 + * + * Only CSS that affects the layout (positioning) of major elements should be + * listed here. Such as: + * display, position, float, clear, width, height, min-width, min-height + * margin, border, padding, overflow + */ + + +/** body **/ + body + { + } + + #page, + #closure-blocks + { + min-width: 960px; /* Don't allow the browser to make the site unreadable. */ + } + + #page-inner + { + } + + #navigation-top, + #navigation + { + position: absolute; /* Take the named anchors out of the doc flow */ + left: -10000px; /* and prevent any anchor styles from appearing. */ + } + + #skip-to-nav + { + float: right; + margin: 0 !important; + font-size: 0.8em; + } + + #skip-to-nav a:link, #skip-to-nav a:visited + { + color: #fff; /* Same as background color of page */ + } + + #skip-to-nav a:hover + { + color: #000; + text-decoration: none; + } + + /* Alternatively, the skip-to-nav link can be completely hidden until a user tabs + to the link. Un-comment the following CSS to use this technique. */ + /* + #skip-to-nav a, #skip-to-nav a:hover, #skip-to-nav a:visited + { + position: absolute; + left: 0; + top: -500px; + width: 1px; + height: 1px; + overflow: hidden; + } + + #skip-to-nav a:active, #skip-to-nav a:focus + { + position: static; + width: auto; + height: auto; + } + */ + +/** header **/ + #header + { + } + + #header-inner + { + } + + #logo-title + { + } + + #logo + { + float: left; + } + + #site-name + { + } + + #site-slogan + { + } + + #header-blocks + { + clear: both; /* Clear the logo */ + } + +/** main (container for everything else) **/ + #main + { + position: relative; + } + + #main-inner + { + } + +/** content **/ + #content + { + float: left; + width: 100%; + margin-left: 0; + margin-right: -100%; /* Negative value of #content's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #content-inner. */ + } + + #content-inner, + .no-sidebars #content-inner + { + margin: 0; + padding: 0; + } + + .sidebar-left #content-inner + { + padding-left: 200px; /* The width + left margin of #sidebar-left. */ + padding-right: 0; + } + + .sidebar-right #content-inner + { + padding-left: 0; + padding-right: 200px; /* The width + right margin of #sidebar-right. */ + } + + .two-sidebars #content-inner + { + padding-left: 200px; /* The width + left margin of #sidebar-left. */ + padding-right: 200px; /* The width + right margin of #sidebar-right. */ + } + +/** navbar **/ + #navbar + { + float: left; + width: 100%; + margin-left: 0; + margin-right: -100%; /* Negative value of #navbar's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */ + height: 3.6em; /* The navbar can have any arbritrary height. We picked one + that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6 + Set this to the same value as the margin-top below. */ + } + + .with-navbar #content, + .with-navbar #sidebar-left, + .with-navbar #sidebar-right + { + margin-top: 3.6em; /* Set this to the same value as the navbar height above. */ + } + + #navbar-inner + { + } + + #search-box + { + width: 200px; + margin-right: -200px; /* Negative value of #search-box's width. */ + float: left; + } + + #primary + { + margin-left: 200px; /* Width of search-box */ + } + + #secondary + { + margin-left: 200px; /* Width of search-box */ + } + + #navbar ul /* Primary and secondary links */ + { + margin: 0; + padding: 0; + text-align: left; + } + + #navbar li /* A simple method to get navbar links to appear in one line. */ + { + float: left; + padding: 0 10px 0 0; + } + + /* There are many methods to get navbar links to appear in one line. + * Here's an alternate method: */ + /* + #navbar li + { + display: inline; + padding: 0 10px 0 0; + } + */ + +/** sidebar-left **/ + #sidebar-left + { + float: left; + width: 200px; + margin-left: 0; + margin-right: -200px; /* Negative value of #sidebar-left's width + left margin. */ + padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-left-inner. */ + } + + #sidebar-left-inner + { + margin: 0 20px 0 0; + padding: 0; + } + +/** sidebar-right **/ + #sidebar-right + { + float: right; + width: 200px; + margin-left: -200px; /* Negative value of #sidebar-right's width + right margin. */ + margin-right: 0; + padding: 0; /* DO NOT CHANGE. Add padding or margin to #sidebar-right-inner. */ + } + + #sidebar-right-inner + { + margin: 0 0 0 20px; + padding: 0; + } + +/** footer **/ + #footer + { + } + + #footer-inner + { + } + +/** closure **/ + #closure-blocks /* See also the #page declaration above that this div shares. */ + { + } + +/** Prevent overflowing content **/ + #header, + #content, + #navbar, + #sidebar-left, + #sidebar-right, + #footer, + #closure-blocks + { + overflow: visible; + word-wrap: break-word; /* A very nice CSS3 property */ + } + + #navbar + { + overflow: hidden; /* May need to be removed if using a dynamic drop-down menu */ + } + + /* If a div.clear-block doesn't have any content after it and its bottom edge + touches the bottom of the viewport, Firefox and Safari will mistakenly + place several pixels worth of space between the bottom of the div and the + bottom of the viewport. Uncomment this CSS property to fix this. + Note: with some over-large content, this property might cause scrollbars + to appear on the #page div. + */ + /* + #page + { + overflow-y: hidden; + } + */ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/logo.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/logo.png new file mode 100644 index 0000000..bcc4532 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/logo.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/maintenance-page.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/maintenance-page.tpl.php new file mode 100644 index 0000000..db16260 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/maintenance-page.tpl.php @@ -0,0 +1,140 @@ + + + + + + <?php print $head_title; ?> + + + + + + +
    + + + +
    + + + + +
    + +
    + + +
    + +
    + + + +
    + +

    + + +
    + + +
    + +
    + + +
    + +
    + + +
    + + + + + + + + + + + + + +
    + + + + + +
    + + +
    + + + + + + diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/messages.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/messages.css new file mode 100644 index 0000000..66c6c55 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/messages.css @@ -0,0 +1,59 @@ +/* + * MESSAGES STYLE + * + * Add sensible messages styling. + */ + + + div.messages, /* Important messages (status, warning, and error) for the user */ + div.status, + div.warning, + div.error + { + min-height: 21px; + margin: 0 1em 5px 1em; + border: 2px solid #ff7; + padding: 5px 5px 5px 35px; + color: #000; + background-color: #ffc; + background-image: url(images/messages-status.png); + background-repeat: no-repeat; + background-position: 5px 5px; + } + + div.status /* Normal priority messages */ + { + } + + div.warning /* Medium priority messages */ + { + border-color: #fc0; + background-image: url(images/messages-warning.png); + } + + div.warning, + tr.warning + { + color: #000; /* Drupal core uses #220 */ + background-color: #ffc; + } + + div.error /* High priority messages. See also the .error declaration below. */ + { + /* border: 1px solid #d77; */ /* Drupal core uses: 1px solid #d77 */ + border-color: #c00; + background-image: url(images/messages-error.png); + } + + div.error, + tr.error + { + color: #900; /* Drupal core uses #200 */ + background-color: #fee; + } + + div.messages ul + { + margin-top: 0; + margin-bottom: 0; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/node.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/node.tpl.php new file mode 100644 index 0000000..de31639 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/node.tpl.php @@ -0,0 +1,83 @@ + +
    + + + + +

    + +

    + + + +
    + + + +
    + + + + + +
    + +
    + + +
    + +
    + + + +
    diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/page.tpl.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/page.tpl.php new file mode 100644 index 0000000..b2cccc2 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/page.tpl.php @@ -0,0 +1,245 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $body_classes: A set of CSS classes for the BODY tag. This contains flags + * indicating the current layout (multiple columns, single column), the current + * path, whether the user is logged in, and so on. + * - $body_classes_array: An array of the body classes. This is easier to + * manipulate then the string in $body_classes. + * - $node: Full node object. Contains data that may not be safe. This is only + * available if the current page is on the node's primary url. + * + * Site identity: + * - $front_page: The URL of the front page. Use this instead of $base_path, + * when linking to the front page. This includes the language domain or prefix. + * - $logo: The path to the logo image, as defined in theme configuration. + * - $site_name: The name of the site, empty when display has been disabled + * in theme settings. + * - $site_slogan: The slogan of the site, empty when display has been disabled + * in theme settings. + * - $mission: The text of the site mission, empty when display has been disabled + * in theme settings. + * + * Navigation: + * - $search_box: HTML to display the search box, empty if search has been disabled. + * - $primary_links (array): An array containing primary navigation links for the + * site, if they have been configured. + * - $secondary_links (array): An array containing secondary navigation links for + * the site, if they have been configured. + * + * Page content (in order of occurrance in the default page.tpl.php): + * - $left: The HTML for the left sidebar. + * + * - $breadcrumb: The breadcrumb trail for the current page. + * - $title: The page title, for use in the actual HTML content. + * - $help: Dynamic help text, mostly for admin pages. + * - $messages: HTML for status and error messages. Should be displayed prominently. + * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view + * and edit tabs when displaying a node). + * + * - $content: The main content of the current Drupal page. + * + * - $right: The HTML for the right sidebar. + * + * Footer/closing data: + * - $feed_icons: A string of all feed icons for the current page. + * - $footer_message: The footer message as defined in the admin settings. + * - $footer : The footer region. + * - $closure: Final closing markup from any modules that have altered the page. + * This variable should always be output last, after all other dynamic content. + * + * @see template_preprocess() + * @see template_preprocess_page() + */ +?> + + + + + <?php print $head_title; ?> + + + + + + +
    + + + +
    + + + + +
    + + + + + +
    + + +
    + + + + + + diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/print.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/print.css new file mode 100644 index 0000000..8b9ed11 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/print.css @@ -0,0 +1,57 @@ +/* underline all links */ + a:link, a:visited + { + text-decoration: underline !important; + } + + /* Don't underline header */ + #site-name a:link, + #site-name a:visited + { + text-decoration: none !important; + } + +/* CSS2 selector to add visible href after links */ + #content a:link:after, + #content a:visited:after + { + content: " (" attr(href) ") "; + font-size: 0.8em; + font-weight: normal; + } + +/* Un-float the content */ + #content, + #content-inner + { + float: none; + width: 100%; + margin: 0 !important; + padding: 0 !important; + } + +/* Turn off any background colors or images */ + body, + #page, #page-inner, + #main, #main-inner, + #content, #content-inner + { + color: #000; + background-color: transparent !important; + background-image: none !important; + } + +/* Hide sidebars and nav elements */ + #skip-to-nav, #navbar, #sidebar-left, #sidebar-right, #footer, + .breadcrumb, div.tabs, .links, .taxonomy, + .book-navigation, .forum-topic-navigation, .pager, .feed-icons + { + visibility: hidden; + display: none; + } + +/* Otherwise, Firefox clips the content after the first page. */ + #page + { + overflow-y: visible; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/screenshot.png b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/screenshot.png new file mode 100644 index 0000000..3821461 Binary files /dev/null and b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/screenshot.png differ diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/tabs.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/tabs.css new file mode 100644 index 0000000..366fda7 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/tabs.css @@ -0,0 +1,136 @@ +/* + * Tabs CSS + * + * Adds styles for the primary and secondary tabs. + * + * Compare this with default CSS found in the system module's stylesheet (a copy + * of which is in drupal6-reference.css, line 510.) + * + */ + + div.tabs + { + margin: 0 0 5px 0; + } + + ul.primary + { + margin: 0; + padding: 0 0 0 10px; + border-width: 0; + list-style: none; + white-space: nowrap; + line-height: normal; + background: url(images/tab-bar.png) repeat-x left bottom; + } + + ul.primary li + { + float: left; + margin: 0; + padding: 0; + } + + ul.primary li a + { + display: block; + height: 24px; + margin: 0; + padding: 0 0 0 5px; /* width of tab-left.png */ + border-width: 0; + font-weight: bold; + text-decoration: none; + color: #777; + background-color: transparent; + background: url(images/tab-left.png) no-repeat left -38px; + } + + ul.primary li a .tab + { + display: block; + height: 20px; /* 24px (parent) - 4px (padding) */ + margin: 0; + padding: 4px 13px 0 6px; + border-width: 0; + line-height: 20px; + background: url(images/tab-right.png) no-repeat right -38px; + } + + ul.primary li a:hover + { + border-width: 0; + background-color: transparent; + background: url(images/tab-left.png) no-repeat left -76px; + } + + ul.primary li a:hover .tab + { + background: url(images/tab-right.png) no-repeat right -76px; + } + + ul.primary li.active a, + ul.primary li.active a:hover + { + border-width: 0; + color: #000; + background-color: transparent; + background: url(images/tab-left.png) no-repeat left 0; + } + + ul.primary li.active a .tab, + ul.primary li.active a:hover .tab + { + background: url(images/tab-right.png) no-repeat right 0; + } + + ul.secondary + { + margin: 0; + padding: 0 0 0 5px; + border-bottom: 1px solid #c0c0c0; + list-style: none; + white-space: nowrap; + background: url(images/tab-secondary-bg.png) repeat-x left bottom; + } + + ul.secondary li + { + float: left; + margin: 0 5px 0 0; + padding: 5px 0; + border-right: none; + } + + ul.secondary a + { + display: block; + height: 24px; + margin: 0; + padding: 0; + border: 1px solid #c0c0c0; + text-decoration: none; + color: #777; + background: url(images/tab-secondary.png) repeat-x left -56px; + } + + ul.secondary a .tab + { + display: block; + height: 18px; /* 24px (parent) - 6px (padding) */ + margin: 0; + padding: 3px 8px; + line-height: 18px; + } + + ul.secondary a:hover + { + background: url(images/tab-secondary.png) repeat-x left bottom; + } + + ul.secondary a.active, + ul.secondary a.active:hover + { + border: 1px solid #c0c0c0; + color: #000; + background: url(images/tab-secondary.png) repeat-x left top; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.block-editing.inc b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.block-editing.inc new file mode 100644 index 0000000..17d58ae --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.block-editing.inc @@ -0,0 +1,90 @@ +module == 'block') { + $vars['edit_links_array'][] = l('' . t('edit block') . '', 'admin/build/block/configure/' . $block->module . '/' . $block->delta, + array( + 'attributes' => array( + 'title' => t('edit the content of this block'), + 'class' => 'block-edit', + ), + 'query' => drupal_get_destination(), + 'html' => TRUE, + ) + ); + } + // Display 'configure' for other blocks. + else { + $vars['edit_links_array'][] = l('' . t('configure') . '', 'admin/build/block/configure/' . $block->module . '/' . $block->delta, + array( + 'attributes' => array( + 'title' => t('configure this block'), + 'class' => 'block-config', + ), + 'query' => drupal_get_destination(), + 'html' => TRUE, + ) + ); + } + + // Display 'edit view' for Views blocks. + if ($block->module == 'views' && user_access('administer views')) { + list($view_name, $view_block) = explode('-block', $block->delta); + $vars['edit_links_array'][] = l('' . t('edit view') . '', 'admin/build/views/edit/' . $view_name, + array( + 'attributes' => array( + 'title' => t('edit the view that defines this block'), + 'class' => 'block-edit-view', + ), + 'query' => drupal_get_destination(), + 'fragment' => 'views-tab-block' . $view_block, + 'html' => TRUE, + ) + ); + } + // Display 'edit menu' for Menu blocks. + elseif (($block->module == 'menu' || ($block->module == 'user' && $block->delta == 1)) && user_access('administer menu')) { + $menu_name = ($block->module == 'user') ? 'navigation' : $block->delta; + $vars['edit_links_array'][] = l('' . t('edit menu') . '', 'admin/build/menu-customize/' . $menu_name, + array( + 'attributes' => array( + 'title' => t('edit the menu that defines this block'), + 'class' => 'block-edit-menu', + ), + 'query' => drupal_get_destination(), + 'html' => TRUE, + ) + ); + } + // Display 'edit menu' for Menu block blocks. + elseif ($block->module == 'menu_block' && user_access('administer menu')) { + list($menu_name, ) = split(':', variable_get("menu_block_{$block->delta}_parent", 'navigation:0')); + $vars['edit_links_array'][] = l('' . t('edit menu') . '', 'admin/build/menu-customize/' . $menu_name, + array( + 'attributes' => array( + 'title' => t('edit the menu that defines this block'), + 'class' => 'block-edit-menu', + ), + 'query' => drupal_get_destination(), + 'html' => TRUE, + ) + ); + } + + $vars['edit_links'] = '
    ' . implode(' ', $vars['edit_links_array']) . '
    '; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.comment.inc b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.comment.inc new file mode 100644 index 0000000..77ada2d --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.comment.inc @@ -0,0 +1,52 @@ +status == COMMENT_NOT_PUBLISHED); + + // If comment subjects are disabled, don't display them. + if (variable_get('comment_subject_field_' . $vars['node']->type, 1) == 0) { + $vars['title'] = ''; + } + + // Special classes for comments. + $classes = array('comment'); + if ($vars['comment']->new) { + $classes[] = 'comment-new'; + } + $classes[] = $vars['status']; + $classes[] = $vars['zebra']; + if ($vars['id'] == 1) { + $classes[] = 'first'; + } + if ($vars['id'] == $vars['node']->comment_count) { + $classes[] = 'last'; + } + if ($vars['comment']->uid == 0) { + // Comment is by an anonymous user. + $classes[] = 'comment-by-anon'; + } + else { + if ($vars['comment']->uid == $vars['node']->uid) { + // Comment is by the node author. + $classes[] = 'comment-by-author'; + } + if ($vars['comment']->uid == $GLOBALS['user']->uid) { + // Comment was posted by current user. + $classes[] = 'comment-mine'; + } + } + $vars['classes'] = implode(' ', $classes); +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.conditional-styles.inc b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.conditional-styles.inc new file mode 100644 index 0000000..8211d1a --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.conditional-styles.inc @@ -0,0 +1,108 @@ +base_theme)) { + $theme_paths[$theme] = conditional_styles_paths_to_basetheme($themes[$theme]->base_theme); + } + $theme_paths[$theme][$theme] = dirname($themes[$theme]->filename); + } + return $theme_paths[$theme]; +} + +/** + * When the theme registry is rebuilt, we also build the conditional stylesheets. + */ +function _conditional_styles_theme($existing, $type, $theme, $path) { + // @TODO: For PHP 4 compatibility we use foreach (array_keys($array) AS $key). + // When PHP 5 becomes required (Drupal 7.x), use the following faster + // implementation: foreach ($array AS $key => &$value) {} + + // Process the conditional stylesheets for every active theme. + global $language; + $themes = list_themes(); + foreach (array_keys($themes) AS $theme) { + // We only need to process active themes. + if ($themes[$theme]->status || $GLOBALS['theme'] == $theme) { + $paths = conditional_styles_paths_to_basetheme($theme); + + // Grab all the conditional stylesheets. + $stylesheets = array(); + // Start with the base theme and travel up the chain to the active theme. + foreach ($paths AS $theme_name => $path) { + // Look at the conditional-stylesheets defined in the theme's .info file. + if (!empty($themes[$theme_name]->info['conditional-stylesheets'])) { + foreach ($themes[$theme_name]->info['conditional-stylesheets'] AS $condition => $css) { + // Allow the theme to override its base themes' styles. + foreach ($css AS $media => $files) { + foreach ($files AS $file) { + $stylesheets[$condition][$media][$file] = $path; + } + } + } + } + } + // Render the stylesheets to link elements. + $conditional_styles = ''; + if (!empty($stylesheets)) { + $query_string = '?'. substr(variable_get('css_js_query_string', '0'), 0, 1); + $base_path = base_path(); + foreach ($stylesheets AS $condition => $css) { + // Each condition requires its own set of links. + $output = ''; + foreach ($css AS $media => $files) { + foreach ($files AS $file => $path) { + // Don't allow non-existent stylesheets to clutter the logs with 404. + if (file_exists("./$path/$file")) { + $output .= "\n"; + if ($language->direction == LANGUAGE_RTL){ + $file_rtl = str_replace('.css', '-rtl.css', $file); + if (file_exists("./$path/$file_rtl")) { + $output .= "\n"; + } + } + } + } + } + if ($output) { + $conditional_styles .= "\n"; + } + } + } + // Save the stylesheets for later retrieval. + if ($conditional_styles) { + variable_set('conditional_styles_' . $theme, $conditional_styles); + } + else { + variable_del('conditional_styles_' . $theme); + } + } + } + + // Return nothing. + return array(); +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.php new file mode 100644 index 0000000..64cdbf8 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.php @@ -0,0 +1,296 @@ +' . implode($breadcrumb_separator, $breadcrumb) . "$trailing_separator$title"; + } + } + // Otherwise, return an empty string. + return ''; +} + +/** + * Implements theme_menu_item_link() + */ +function zen_menu_item_link($link) { + if (empty($link['localized_options'])) { + $link['localized_options'] = array(); + } + + // If an item is a LOCAL TASK, render it as a tab + if ($link['type'] & MENU_IS_LOCAL_TASK) { + $link['title'] = '' . check_plain($link['title']) . ''; + $link['localized_options']['html'] = TRUE; + } + + return l($link['title'], $link['href'], $link['localized_options']); +} + +/** + * Duplicate of theme_menu_local_tasks() but adds clear-block to tabs. + */ +function zen_menu_local_tasks() { + $output = ''; + + // CTools requires a different set of local task functions. + if (module_exists('ctools')) { + $primary = ctools_menu_primary_local_tasks(); + $secondary = ctools_menu_secondary_local_tasks(); + } + else { + $primary = menu_primary_local_tasks(); + $secondary = menu_secondary_local_tasks(); + } + + if ($primary) { + $output .= '
      ' . $primary . '
    '; + } + if ($secondary) { + $output .= '
      ' . $secondary . '
    '; + } + + return $output; +} + + +/** + * Override or insert variables into the page templates. + * + * @param $vars + * An array of variables to pass to the theme template. + * @param $hook + * The name of the template being rendered ("page" in this case.) + */ +function zen_preprocess_page(&$vars, $hook) { + // Add conditional stylesheets. + if (!module_exists('conditional_styles')) { + $vars['styles'] .= $vars['conditional_styles'] = variable_get('conditional_styles_' . $GLOBALS['theme'], ''); + } + + // Classes for body element. Allows advanced theming based on context + // (home page, node of certain type, etc.) + $classes = explode(' ', $vars['body_classes']); + // Remove the mostly useless page-ARG0 class. + if ($index = array_search(preg_replace('![^abcdefghijklmnopqrstuvwxyz0-9-_]+!s', '', 'page-'. drupal_strtolower(arg(0))), $classes)) { + unset($classes[$index]); + } + if (!$vars['is_front']) { + // Add unique class for each page. + $path = drupal_get_path_alias($_GET['q']); + $classes[] = zen_id_safe('page-' . $path); + // Add unique class for each website section. + list($section, ) = explode('/', $path, 2); + if (arg(0) == 'node') { + if (arg(1) == 'add') { + $section = 'node-add'; + } + elseif (is_numeric(arg(1)) && (arg(2) == 'edit' || arg(2) == 'delete')) { + $section = 'node-' . arg(2); + } + } + $classes[] = zen_id_safe('section-' . $section); + } + if (theme_get_setting('zen_wireframes')) { + $classes[] = 'with-wireframes'; // Optionally add the wireframes style. + } + $vars['body_classes_array'] = $classes; + $vars['body_classes'] = implode(' ', $classes); // Concatenate with spaces. +} + +/** + * Override or insert variables into the maintenance page template. + * + * @param $vars + * An array of variables to pass to the theme template. + * @param $hook + * The name of the template being rendered ("maintenance_page" in this case.) + */ +function zen_preprocess_maintenance_page(&$vars, $hook) { + // Add conditional stylesheets. + if (!module_exists('conditional_styles')) { + $vars['styles'] .= $vars['conditional_styles'] = variable_get('conditional_styles_' . $GLOBALS['theme'], ''); + } + + // Classes for body element. Allows advanced theming based on context + // (home page, node of certain type, etc.) + $vars['body_classes_array'] = explode(' ', $vars['body_classes']); +} + +/** + * Override or insert variables into the node templates. + * + * @param $vars + * An array of variables to pass to the theme template. + * @param $hook + * The name of the template being rendered ("node" in this case.) + */ +function zen_preprocess_node(&$vars, $hook) { + // Special classes for nodes + $classes = array('node'); + if ($vars['sticky']) { + $classes[] = 'sticky'; + } + if (!$vars['status']) { + $classes[] = 'node-unpublished'; + $vars['unpublished'] = TRUE; + } + else { + $vars['unpublished'] = FALSE; + } + if ($vars['uid'] && $vars['uid'] == $GLOBALS['user']->uid) { + $classes[] = 'node-mine'; // Node is authored by current user. + } + if ($vars['teaser']) { + $classes[] = 'node-teaser'; // Node is displayed as teaser. + } + // Class for node type: "node-type-page", "node-type-story", "node-type-my-custom-type", etc. + $classes[] = zen_id_safe('node-type-' . $vars['type']); + $vars['classes'] = implode(' ', $classes); // Concatenate with spaces +} + +/** + * Override or insert variables into the comment templates. + * + * @param $vars + * An array of variables to pass to the theme template. + * @param $hook + * The name of the template being rendered ("comment" in this case.) + */ +function zen_preprocess_comment(&$vars, $hook) { + include_once './' . _zen_path() . '/template.comment.inc'; + _zen_preprocess_comment($vars, $hook); +} + +/** + * Override or insert variables into the block templates. + * + * @param $vars + * An array of variables to pass to the theme template. + * @param $hook + * The name of the template being rendered ("block" in this case.) + */ +function zen_preprocess_block(&$vars, $hook) { + $block = $vars['block']; + + // Special classes for blocks. + $classes = array('block'); + $classes[] = 'block-' . $block->module; + $classes[] = 'region-' . $vars['block_zebra']; + $classes[] = $vars['zebra']; + $classes[] = 'region-count-' . $vars['block_id']; + $classes[] = 'count-' . $vars['id']; + + $vars['edit_links_array'] = array(); + $vars['edit_links'] = ''; + if (theme_get_setting('zen_block_editing') && user_access('administer blocks')) { + include_once './' . _zen_path() . '/template.block-editing.inc'; + zen_preprocess_block_editing($vars, $hook); + $classes[] = 'with-block-editing'; + } + + // Render block classes. + $vars['classes'] = implode(' ', $classes); +} + +/** + * Converts a string to a suitable html ID attribute. + * + * http://www.w3.org/TR/html4/struct/global.html#h-7.5.2 specifies what makes a + * valid ID attribute in HTML. This function: + * + * - Ensure an ID starts with an alpha character by optionally adding an 'id'. + * - Replaces any character except alphanumeric characters with dashes. + * - Converts entire string to lowercase. + * + * @param $string + * The string + * @return + * The converted string + */ +function zen_id_safe($string) { + // Replace with dashes anything that isn't A-Z, numbers, dashes, or underscores. + return strtolower(preg_replace('/[^a-zA-Z0-9-]+/', '-', $string)); +} + +/** + * Returns the path to the Zen theme. + * + * drupal_get_filename() is broken; see #341140. When that is fixed in Drupal 6, + * replace _zen_path() with drupal_get_path('theme', 'zen'). + */ +function _zen_path() { + static $path = FALSE; + if (!$path) { + $matches = drupal_system_listing('zen\.info$', 'themes', 'name', 0); + if (!empty($matches['zen']->filename)) { + $path = dirname($matches['zen']->filename); + } + } + return $path; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.theme-registry.inc b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.theme-registry.inc new file mode 100644 index 0000000..ca2a578 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/template.theme-registry.inc @@ -0,0 +1,63 @@ +extremely important to turn off this feature on production websites.', array('!link' => url('admin/build/themes/settings/' . $GLOBALS['theme']))), 'warning', FALSE); + } + + // Return nothing. + return array(); +} + +/** + * Return the theme settings' default values from the .info and save them into the database. + * + * @param $theme + * The name of theme. + */ +function zen_theme_get_default_settings($theme) { + $themes = list_themes(); + + // Get the default values from the .info file. + $defaults = !empty($themes[$theme]->info['settings']) ? $themes[$theme]->info['settings'] : array(); + + if (!empty($defaults)) { + // Merge the defaults with the theme settings saved in the database. + $settings = array_merge($defaults, variable_get('theme_'. $theme .'_settings', array())); + // Save the settings back to the database. + variable_set('theme_'. $theme .'_settings', $settings); + // If the active theme has been loaded, force refresh of Drupal internals. + if (!empty($GLOBALS['theme_key'])) { + theme_get_setting('', TRUE); + } + } + + // Return the default settings. + return $defaults; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.css new file mode 100644 index 0000000..8b214b9 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.css @@ -0,0 +1,68 @@ +/* + * THEME SETTINGS STYLES + * + * This file is only loaded on the Theme Settings page for Zen and its + * subthemes: admin/build/themes/settings + */ + + + #zen-settings fieldset .form-item + { + padding-left: 200px; + } + + #zen-settings fieldset .form-checkboxes .form-item, + #zen-settings fieldset .form-radios .form-item + { + padding-left: 0; + } + + #zen-settings fieldset .form-item label + { + float: left; + width: 190px; + margin-left: -200px; + margin-right: 10px; + text-align: right; + _display: inline-block; /* IE6 is dumb. */ + } + + #zen-settings fieldset .form-item label.option + { + float: none; + width: auto; + margin-left: 0; + margin-right: 0; + text-align: left; + } + + #div-zen-registry, + #div-zen-wireframes + { + margin: 1em 0; + } + + #div-zen-registry strong, + #div-zen-wireframes strong + { + float: left; + width: 190px; + margin-left: 0; + margin-right: 10px; + text-align: right; + } + + #div-zen-registry fieldset .form-item, + #div-zen-wireframes fieldset .form-item + { + display: inline; + margin-left: 0; + padding-left: 0; + } + + #div-zen-registry fieldset .form-item .description, + #div-zen-wireframes fieldset .form-item .description + { + display: block; + margin-left: 200px; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.js b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.js new file mode 100644 index 0000000..04ce8b6 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.js @@ -0,0 +1,27 @@ +$(document).ready( function() { + // Hide the breadcrumb details, if no breadcrumb. + $('#edit-zen-breadcrumb').change( + function() { + div = $('#div-zen-breadcrumb-collapse'); + if ($('#edit-zen-breadcrumb').val() == 'no') { + div.slideUp('slow'); + } else if (div.css('display') == 'none') { + div.slideDown('slow'); + } + } + ); + if ($('#edit-zen-breadcrumb').val() == 'no') { + $('#div-zen-breadcrumb-collapse').css('display', 'none'); + } + $('#edit-zen-breadcrumb-title').change( + function() { + checkbox = $('#edit-zen-breadcrumb-trailing'); + if ($('#edit-zen-breadcrumb-title').attr('checked')) { + checkbox.attr('disabled', 'disabled'); + } else { + checkbox.removeAttr('disabled'); + } + } + ); + $('#edit-zen-breadcrumb-title').change(); +} ); diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.php b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.php new file mode 100644 index 0000000..cd07f76 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/theme-settings.php @@ -0,0 +1,127 @@ + '
    ', + ); + + $form['zen_block_editing'] = array( + '#type' => 'checkbox', + '#title' => t('Show block editing on hover'), + '#description' => t('When hovering over a block, privileged users will see block editing links.'), + '#default_value' => $settings['zen_block_editing'], + ); + + $form['breadcrumb'] = array( + '#type' => 'fieldset', + '#title' => t('Breadcrumb settings'), + '#attributes' => array('id' => 'zen-breadcrumb'), + ); + $form['breadcrumb']['zen_breadcrumb'] = array( + '#type' => 'select', + '#title' => t('Display breadcrumb'), + '#default_value' => $settings['zen_breadcrumb'], + '#options' => array( + 'yes' => t('Yes'), + 'admin' => t('Only in admin section'), + 'no' => t('No'), + ), + ); + $form['breadcrumb']['zen_breadcrumb_separator'] = array( + '#type' => 'textfield', + '#title' => t('Breadcrumb separator'), + '#description' => t('Text only. Don’t forget to include spaces.'), + '#default_value' => $settings['zen_breadcrumb_separator'], + '#size' => 5, + '#maxlength' => 10, + '#prefix' => '
    ', // jquery hook to show/hide optional widgets + ); + $form['breadcrumb']['zen_breadcrumb_home'] = array( + '#type' => 'checkbox', + '#title' => t('Show home page link in breadcrumb'), + '#default_value' => $settings['zen_breadcrumb_home'], + ); + $form['breadcrumb']['zen_breadcrumb_trailing'] = array( + '#type' => 'checkbox', + '#title' => t('Append a separator to the end of the breadcrumb'), + '#default_value' => $settings['zen_breadcrumb_trailing'], + '#description' => t('Useful when the breadcrumb is placed just before the title.'), + ); + $form['breadcrumb']['zen_breadcrumb_title'] = array( + '#type' => 'checkbox', + '#title' => t('Append the content title to the end of the breadcrumb'), + '#default_value' => $settings['zen_breadcrumb_title'], + '#description' => t('Useful when the breadcrumb is not placed just before the title.'), + '#suffix' => '
    ', // #div-zen-breadcrumb + ); + + $form['themedev'] = array( + '#type' => 'fieldset', + '#title' => t('Theme development settings'), + '#attributes' => array('id' => 'zen-themedev'), + ); + $form['themedev']['zen_rebuild_registry'] = array( + '#type' => 'checkbox', + '#title' => t('Rebuild theme registry on every page.'), + '#default_value' => $settings['zen_rebuild_registry'], + '#description' => t('During theme development, it can be very useful to continuously rebuild the theme registry. WARNING: this is a huge performance penalty and must be turned off on production websites.', array('!link' => 'http://drupal.org/node/173880#theme-registry')), + '#prefix' => '
    ' . t('Theme registry:') . '', + '#suffix' => '
    ', + ); + $form['themedev']['zen_layout'] = array( + '#type' => 'radios', + '#title' => t('Layout method'), + '#options' => array( + 'border-politics-liquid' => t('Liquid layout') . ' (layout-liquid.css)', + 'border-politics-fixed' => t('Fixed layout') . ' (layout-fixed.css)', + ), + '#default_value' => $settings['zen_layout'], + ); + $form['themedev']['zen_wireframes'] = array( + '#type' => 'checkbox', + '#title' => t('Display borders around main layout elements'), + '#default_value' => $settings['zen_wireframes'], + '#description' => t('Wireframes are useful when prototyping a website.', array('!link' => 'http://www.boxesandarrows.com/view/html_wireframes_and_prototypes_all_gain_and_no_pain')), + '#prefix' => '
    ' . t('Wireframes:') . '', + '#suffix' => '
    ', + ); + + $form['zen-div-closing'] = array( + '#value' => '
    ', + ); + + // Return the form + return $form; +} diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/wireframes.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/wireframes.css new file mode 100644 index 0000000..0b1c8ac --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/wireframes.css @@ -0,0 +1,26 @@ +/* + * WIREFRAMES STYLE + * + * Add wireframes to the basic layout elements. + */ + + + .with-wireframes #header-inner, + .with-wireframes #content-inner, + .with-wireframes #content-inner>*, + .with-wireframes #navbar-inner, + .with-wireframes #sidebar-left-inner, + .with-wireframes #sidebar-right-inner, + .with-wireframes #footer-inner + { + margin: 1px; + padding: 2px; + border: 1px solid #ccc; + } + + .with-wireframes #closure-blocks + { + margin-top: 1px; + padding: 2px; + border: 1px solid #ccc; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.css b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.css new file mode 100644 index 0000000..02ec04b --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.css @@ -0,0 +1,770 @@ +/* + * ZEN STYLES + * + * This is an example stylesheet. Sub-themes should NOT include the zen/zen.css + * file, but instead copy this CSS to their own stylesheets. + * + * In this stylesheet, we have included all of the classes and IDs from this + * theme's tpl.php files. We have also included many of the useful Drupal core + * styles to make it easier for theme developers to see them. + * + * Many of these styles are over-riding Drupal's core stylesheets, so if you + * remove a declaration from here, the styles may still not be what you want + * since Drupal's core stylesheets are still styling the element. See the + * drupal6-reference.css file for a list of all Drupal 5.x core styles. + * + * In addition to the style declarations in this file, other Drupal styles that + * you might want to override or augment are those for: + * + * Book Navigation See line 74 of Zen's drupal6-reference.css file + * Forum See line 197 of Zen's drupal6-reference.css file + * Menus See line 667 of Zen's drupal6-reference.css file + * News Aggregator See line 20 of Zen's drupal6-reference.css file + * Polls See line 287 of Zen's drupal6-reference.css file + * Search See line 320 of Zen's drupal6-reference.css file + * User Profiles See line 945 of Zen's drupal6-reference.css file + */ + + +/** body **/ + body + { + margin: 0; + padding: 10px; + } + + #page + { + } + + #page-inner + { + } + +/** header **/ + #header + { + } + + #header-inner + { + } + + #logo-title /* Wrapper for logo, website name, and slogan */ + { + } + + #logo /* Wrapper for logo */ + { + margin: 0 10px 0 0; + padding: 0; + } + + #logo-image /* The actual logo image */ + { + } + + h1#site-name, div#site-name /* The name of the website */ + { + margin: 0; + font-size: 2em; + line-height: 1.3em; + } + + #site-name a:link, + #site-name a:visited + { + color: #000; + text-decoration: none; + } + + #site-name a:hover + { + text-decoration: underline; + } + + #site-slogan /* The slogan (or tagline) of a website */ + { + } + + #header-blocks /* Wrapper for any blocks placed in the header region */ + { + } + +/** main (container for everything else) **/ + #main + { + } + + #main-inner + { + } + +/** content **/ + #content + { + } + + #content-inner + { + } + + #mission /* The mission statement of the site (displayed on homepage) */ + { + } + + #content-top /* Wrapper for any blocks placed in the "content top" region */ + { + } + + #content-header /* Wrapper for breadcrumb, title, messages, tabs, and help */ + { + } + + .breadcrumb /* The path to the current page in the form of a list of links */ + { + padding-bottom: 0; /* Undo system.css */ + } + + h1.title, /* The title of the page */ + h2.title, /* Block title or the title of a piece of content when it is given in a list of content */ + h3.title /* Comment title */ + { + margin: 0; + } + + div.messages /* Important messages (status, warning, and error) for the user */ + { + } + + div.status /* Normal priority messages */ + { + } + + div.warning, tr.warning /* Medium priority messages */ + { + /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */ + } + + div.error, tr.error /* High priority messages. See also the .error declaration below. */ + { + } + + div.tabs /* See also the tabs.css file. */ + { + } + + .help /* Help text on a page */ + { + margin: 1em 0; + } + + .more-help-link /* Link to more help */ + { + font-size: 0.85em; + text-align: right; + } + + #content-area /* Wrapper for the actual page content */ + { + } + + ul.links /* List of links */ + { + margin: 1em 0; + padding: 0; + } + + ul.links.inline + { + margin: 0; + display: inline; + } + + ul.links li + { + display: inline; + list-style-type: none; + padding: 0 0.5em; + } + + .pager /* A list of page numbers when more than 1 page of content is available */ + { + clear: both; + margin: 1em 0; + text-align: center; + } + + .pager a, .pager strong.pager-current + { + padding: 0.5em; + } + + .feed-icons /* The links to the RSS or Atom feeds for the current list of content */ + { + margin: 1em 0; + } + + #content-bottom /* Wrapper for any blocks placed in the "content bottom" region */ + { + } + +/** navbar **/ + #navbar + { + } + + #navbar-inner + { + } + + #search-box /* Wrapper for the search form */ + { + } + + #edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */ + { + display: none; + } + + #primary /* Primary links */ + { + } + + #secondary /* Secondary links */ + { + } + +/** sidebar-left **/ + #sidebar-left + { + } + + #sidebar-left-inner + { + } + +/** sidebar-right **/ + #sidebar-right + { + } + + #sidebar-right-inner + { + } + +/** footer **/ + #footer + { + } + + #footer-inner + { + } + + #footer-message /* Wrapper for the footer message from Drupal's "Site information" + and for any blocks placed in the footer region */ + { + } + +/** closure **/ + #closure-blocks /* Wrapper for any blocks placed in the closure region */ + { + } + +/** Drupal nodes **/ + .node /* Node wrapper */ + { + } + + .node-inner /* Additional wrapper for node */ + { + } + + .sticky /* A sticky node (displayed before others in a list) */ + { + } + + .node-unpublished /* Unpublished nodes */ + { + /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */ + } + + .node-unpublished div.unpublished, /* The word "Unpublished" displayed beneath the content. */ + .comment-unpublished div.unpublished + { + height: 0; + overflow: visible; + color: #d8d8d8; + font-size: 75px; + line-height: 1; + font-family: Impact, "Arial Narrow", Helvetica, sans-serif; + font-weight: bold; + text-transform: uppercase; + text-align: center; + word-wrap: break-word; /* A very nice CSS3 property */ + } + + .node-mine /* A node created by the current user */ + { + } + + .node-teaser /* A node displayed as teaser */ + { + } + + /* All nodes are given a node-type-FOO class that describes the type of + * content that it is. If you create a new content type called + * "my-custom-type", it will receive a "node-type-my-custom-type" class. + */ + .node-type-page /* Page content node */ + { + } + + .node-type-story /* Story content node */ + { + } + + .node h2.title /* Node title */ + { + } + + .marker /* "New" or "Updated" marker for content that is new or updated for the current user */ + { + color: #c00; + } + + .node .picture /* The picture of the node author */ + { + } + + .node.node-unpublished .picture, + .comment.comment-unpublished .picture + { + position: relative; /* Otherwise floated pictures will appear below the "Unpublished" text. */ + } + + .node .meta /* Wrapper for submitted and terms data */ + { + } + + .node .submitted /* The "posted by" information */ + { + } + + .node .terms /* Node terms (taxonomy) */ + { + } + + .node .content /* Node's content wrapper */ + { + } + + .node ul.links /* Node links. See also the ul.links declaration above. */ + { + } + + .preview .node /* Preview of the content before submitting new or updated content */ + { + /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */ + } + +/** Drupal comments **/ + #comments /* Wrapper for the list of comments and its title */ + { + margin: 1em 0; + } + + #comments-title /* Heading for the list of comments */ + { + } + + .comment /* Wrapper for a single comment */ + { + } + + .comment-inner /* Additional wrapper for a single comment */ + { + } + + .comment-preview /* Preview of the comment before submitting new or updated comment */ + { + } + + .comment.new /* A new comment since the user last viewed the page. */ + { + } + + .comment.odd /* An odd-numbered comment in the list of comments */ + { + } + + .comment.even /* An even-numbered comment in the list of comments */ + { + } + + .comment.first /* The first comment in the list of comments */ + { + } + + .comment.last /* The last comment in the list of comments */ + { + } + + .comment-unpublished /* Unpublished comments */ + { + /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */ + } + + .comment-unpublished div.unpublished /* The word "Unpublished" displayed beneath the content. See also the div.unpublished declaration in the node section above. */ + { + } + + .comment-published /* Published comments */ + { + } + + .comment-by-anon /* A comment created by an anonymous user */ + { + } + + .comment-by-author /* A comment created by the node's author */ + { + } + + .comment-mine /* A comment created by the current user */ + { + } + + .comment h3.title /* Comment title */ + { + } + + .new /* "New" marker for comments that are new for the current user */ + { + color: #c00; + } + + .comment .picture /* The picture of the comment author */ + { + } + + .comment .submitted /* The "posted by" information */ + { + } + + .comment .content /* Comment's content wrapper */ + { + } + + .comment .user-signature /* The user's signature */ + { + } + + .comment ul.links /* Comment links. See also the ul.links declaration above. */ + { + margin: 1em 0; + } + + .indented /* Nested comments are indented */ + { + /* margin-left: 25px; */ /* Drupal core uses a 25px left margin */ + } + + .preview .comment /* Preview of the comment before submitting new or updated comment */ + { + /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */ + } + +/** Drupal blocks **/ + .block /* Block wrapper */ + { + margin-bottom: 1em; + } + + .block.region-odd /* Zebra striping for each block in the region */ + { + } + + .block.region-even /* Zebra striping for each block in the region */ + { + } + + .block.odd /* Zebra striping independent of each region */ + { + } + + .block.even /* Zebra striping independent of each region */ + { + } + + .region-count-1 /* Incremental count for each block in the region */ + { + } + + .count-1 /* Incremental count independent of each region */ + { + } + + .block-inner /* Additional wrapper for block */ + { + } + + .block h2.title /* Block title */ + { + } + + .block .content /* Block's content wrapper */ + { + } + + #block-aggregator-category-1 /* Block for the latest news items in the first category */ + { + } + + #block-aggregator-feed-1 /* Block for the latest news items in the first feed */ + { + } + + #block-block-1 /* First administrator-defined block */ + { + } + + #block-blog-0 /* "Recent blog posts" block */ + { + } + + #block-book-0 /* "Book navigation" block for the current book's table of contents */ + { + } + + #block-comment-0 /* "Recent comments" block */ + { + } + + #block-forum-0 /* "Active forum topics" block */ + { + } + + #block-forum-1 /* "New forum topics" block */ + { + } + + #block-menu-primary-links /* "Primary links" block */ + { + } + + #block-menu-secondary-links /* "Secondary links" block */ + { + } + + #block-node-0 /* "Syndicate" block for primary RSS feed */ + { + } + + #block-poll-0 /* "Most recent poll" block */ + { + } + + #block-profile-0 /* "Author information" block for the profile of the page's author */ + { + } + + #block-search-0 /* "Search form" block */ + { + } + + #block-statistics-0 /* "Popular content" block */ + { + } + + #block-user-0 /* "User login form" block */ + { + } + + #block-user-1 /* "Navigation" block for Drupal navigation menu */ + { + } + + #block-user-2 /* "Who's new" block for a list of the newest users */ + { + } + + #block-user-3 /* "Who's online" block for a list of the online users */ + { + } + +/** Drupal boxes **/ + /* Wrapper for Comment form, Comment viewing options, Menu admin, and + * Search results. + */ + .box /* Wrapper for box */ + { + } + + .box-inner /* Additional wrapper for box */ + { + } + + .box h2.title /* Box title */ + { + } + + .box .content /* Box's content wrapper */ + { + } + +/** Miscellaneous Drupal styles **/ + .error /* Errors that are separate from div.messages status messages (see above.) */ + { + /* color: #e55; */ /* Drupal core uses a #e55 background */ + } + + .warning /* Warnings that are separate from div.messages status messages (see above.) */ + { + /* color: #e09010; */ /* Drupal core uses a #e09010 background */ + } + + .more-link /* Aggregator, blog, and forum more link */ + { + text-align: right; + } + + #user-login-form /* Drupal's default login form */ + { + text-align: left; + } + + tr.even /* Some tables have rows marked even or odd. */ + { + /* background-color: #eee; */ /* Drupal core uses a #eee background */ + } + + tr.odd + { + /* background-color: #eee; */ /* Drupal core uses a #eee background */ + } + + li a.active /* The active item in a Drupal menu */ + { + color: #000; + } + + +/** Drupal forms **/ + .form-item, /* Wrapper for a form element (or group of form elements) and its label */ + .form-checkboxes, + .form-radios + { + margin: 1em 0; + } + + .form-item input.error, /* Highlight the form elements that caused a form submission error */ + .form-item textarea.error, + .form-item select.error + { + border: 2px solid #c00; + } + + .form-item label /* The label for a form element */ + { + display: block; + font-weight: bold; + } + + .form-item label.option /* The label for a radio button or checkbox */ + { + display: inline; + font-weight: normal; + } + + .form-required /* The part of the label that indicates a required field */ + { + color: #c00; + } + + .form-item .description /* The descriptive help text (separate from the label) */ + { + font-size: 0.85em; + } + + .form-checkboxes .form-item, /* Pack groups of checkboxes and radio buttons closer together */ + .form-radios .form-item + { + margin: 0.4em 0; + } + + .form-submit /* The submit button */ + { + } + + .container-inline div, .container-inline label /* Inline labels and form divs */ + { + display: inline; + } + + .tips /* Tips for Drupal's input formats */ + { + margin: 0; + padding: 0; + font-size: 0.9em; + } + +/** OpenID **/ + /* The default styling for the OpenID login link seems to assume Garland's + * styling of list items. + */ + #user-login-form ul /* OpenID creates a new ul above the login form's links. */ + { + margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */ + } + + #user-login-form li.openid-link /* The "Log in using OpenID" links. */ + { + margin-top: 1em; + margin-left: -20px; /* Un-do some of the padding on the ul list. */ + } + + #user-login-form li.user-link /* The "Cancel OpenID login" links. */ + { + margin-top: 1em; + } + + #user-login ul + { + margin: 1em 0; + } + + #user-login li.openid-link, /* The OpenID links on the /user form. */ + #user-login li.user-link + { + margin-left: -2em; /* Un-do all of the padding on the ul list. */ + } + +/** Drupal admin tables **/ + /* We overrode these styles in html-elements.css, but restore them for the + * forms on the site. + */ + form tbody + { + border-top: 1px solid #ccc; + } + + form th + { + text-align: left; + padding-right: 1em; + border-bottom: 3px solid #ccc; + } + + form tbody th + { + border-bottom: 1px solid #ccc; + } + + form thead th + { + text-align: left; + padding-right: 1em; + border-bottom: 3px solid #ccc; + } diff --git a/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.info b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.info new file mode 100644 index 0000000..a2cc6f7 --- /dev/null +++ b/lab_site_themes/osu_drupal_1_11/zen/zen/zen/zen.info @@ -0,0 +1,88 @@ + + ; The name and description of the theme used on the admin/build/themes page. +name = Zen +description = Zen sub-themes are the ultimate starting themes for Drupal 6. Read the online docs or the included README.txt on how to create a sub-theme. + + ; The screenshot used on the admin/build/themes page. +screenshot = screenshot.png + + ; "core" specifies the version of Drupal that this theme is compatible with. + ; "engine" specifies that this is a theme that uses the phptemplate engine, + ; Drupal's default theme engine. Its unlikely you will ever need to change + ; these, but they are required fields for a phptemplate theme. +core = 6.x +engine = phptemplate + + ; This section adds CSS files to your theme. The media type is specified in + ; the brackets. Typical CSS media types include "all", "screen", "print", and + ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full + ; list of stylesheet media types in CSS 2.1. + ; + ; You can also override any of Zen's stylesheets or any module's stylesheets, + ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at + ; http://drupal.org/node/171209 for more details. +stylesheets[all][] = html-elements.css +stylesheets[all][] = tabs.css +stylesheets[all][] = messages.css +stylesheets[all][] = block-editing.css +stylesheets[all][] = wireframes.css +stylesheets[all][] = zen.css +stylesheets[print][] = print.css + + ; The layout CSS files are added by Zen's template.php file (based on its + ; theme settings,) so we don't need to add them here. But if we did, it would + ; look like this: + ; stylesheets[all][] = layout.css + ; stylesheets[all][] = layout-liquid.css + + ; Set the conditional stylesheets that are processed by IE. +conditional-stylesheets[if IE][all][] = ie.css + + ; The regions defined in Zen's default page.tpl.php file. The name in + ; brackets is the name of the variable in the page.tpl.php file, (e.g. + ; "[content_top]" in the .info file means there should be a $content_top + ; variable in the page.tpl.php file.) The text after the equals sign is a + ; descriptive text used on the admin/build/blocks page. +regions[left] = left sidebar +regions[right] = right sidebar +regions[navbar] = navigation bar +regions[content_top] = content top +regions[content_bottom] = content bottom +regions[header] = header +regions[footer] = footer +regions[closure_region] = closure + + ; Various page elements output by the theme can be toggled on and off. The + ; "features" control which of these check boxes display on the + ; admin/build/themes config page. This is useful for suppressing check boxes + ; for elements not used by your sub-theme. To suppress a check box, omit the + ; entry for it below. See the Drupal 6 Theme Guide for more info: + ; http://drupal.org/node/171205#features +features[] = logo +features[] = name +features[] = slogan +features[] = mission +features[] = node_user_picture +features[] = comment_user_picture +features[] = search +features[] = favicon +features[] = primary_links +features[] = secondary_links + + ; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 1 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_layout] = border-politics-liquid +settings[zen_rebuild_registry] = 0 +settings[zen_wireframes] = 0 + +; Information added by drupal.org packaging script on 2011-02-25 +version = "6.x-1.2" +core = "6.x" +project = "zen" +datestamp = "1298666771" + diff --git a/lab_site_themes/osu_standard/block.tpl.php b/lab_site_themes/osu_standard/block.tpl.php new file mode 100644 index 0000000..0511c3f --- /dev/null +++ b/lab_site_themes/osu_standard/block.tpl.php @@ -0,0 +1,44 @@ +subject: Block title. + * - $block->content: Block content. + * - $block->module: Module that generated the block. + * - $block->delta: This is a numeric id connected to each module. + * - $block->region: The block region embedding the current block. + * - $classes: A set of CSS classes for the DIV wrapping the block. + Possible values are: block-MODULE, region-odd, region-even, odd, even, + region-count-X, and count-X. + * + * Helper variables: + * - $block_zebra: Outputs 'odd' and 'even' dependent on each block region. + * - $zebra: Same output as $block_zebra but independent of any block region. + * - $block_id: Counter dependent on each block region. + * - $id: Same output as $block_id but independent of any block region. + * - $is_front: Flags true when presented in the front page. + * - $logged_in: Flags true when the current user is a logged-in member. + * - $is_admin: Flags true when the current user is an administrator. + * + * @see template_preprocess() + * @see template_preprocess_block() + */ +?> +
    + + subject): ?> +

    subject; ?>

    + + +
    + content; ?> +
    + + + +
    diff --git a/lab_site_themes/osu_standard/favicon.ico b/lab_site_themes/osu_standard/favicon.ico new file mode 100644 index 0000000..27dea8a Binary files /dev/null and b/lab_site_themes/osu_standard/favicon.ico differ diff --git a/lab_site_themes/osu_standard/feature_stories.css b/lab_site_themes/osu_standard/feature_stories.css new file mode 100644 index 0000000..94333c0 --- /dev/null +++ b/lab_site_themes/osu_standard/feature_stories.css @@ -0,0 +1,166 @@ +/*** +* Feature stories CSS +* Currently works with Drupal 6 +*/ +.view-feature-story.view-display-id-block_1 { + position:relative; + margin-bottom:1.5em; + height:260px; +} +.view-feature-story.view-display-id-block_1 .views-row { + position:absolute; + top:0; + bottom:0; + border:none; + overflow: visible; +} +.view-feature-story .views-field-field-thumbnail-fid { + float:left; + width:75px; + margin-right:.85em; + margin-bottom:.85em; +} +.node-type-feature-story .imagefield-field_photo { + margin-bottom:20px; +} +.view-feature-story.view-display-id-block_1 .views-field-title { + margin-top:5px; + margin-right:5px; + margin-left:5px; +} +.view-feature-story.view-display-id-block_1 .views-field-title a { + color: #c34500; + text-decoration:none; + font-family:Arial, Helvetica, sans-serif; + font-size:1em; + font-weight:bold; + line-height:1.3em; +} +.view-feature-story.view-display-id-block_1 .views-field-title a:hover { + background-color:transparent; + text-decoration:underline; +} +.view-feature-story .views-field-field-caption-value { + margin-left:5px; +} +.view-feature-story .views-field-field-caption-value a:hover p { + text-decoration:underline; +} +.view-feature-story .views-field-field-caption-value p { + color:#000; + font-family:Arial, Helvetica, sans-serif; +} +div.view ul.pager { + width:auto; +} +.view-feature-story.view-display-id-block_1 .more-link { + position:absolute; + top:192px; + padding:3px 10px; + background:url(http://oregonstate.edu/osuhomepage/images/feature_stories_transparent_background.png) left top repeat; + -moz-border-radius: 12px; + -webkit-border-radius: 12px; + border-radius: 12px; + z-index:3; +} +.view-feature-story.view-display-id-block_1 .more-link a { + color:#fff; + font-size:.93em; + font-weight:bold; + text-decoration:none; +} +.view-feature-story.view-display-id-block_1 .more-link a:hover { + color: #fff; + background-color: transparent; + text-decoration: underline; +} + +.view-feature-story .controls, +.view-feature-story .controls li { + margin:0; + padding:0; + list-style:none; + list-style-image:none; +} +.view-feature-story .controls { + position:absolute; + top:193px; + left:0; + padding:.31em .85em; + z-index:3; +} +.view-feature-story .controls li { + float:left; +} + +.view-feature-story .controls li a { + display: block; + width: .8em; + height: .8em; + margin-right: .5em; + text-decoration: none; + -webkit-border-radius: 12px; + -moz-border-radius: 12px; + border-radius: 12px; + -moz-box-shadow: 0 0 2px #ccc; + -webkit-box-shadow: 0 0 2px #ccc; + box-shadow: 0 0 2px #ccc; + background-color: #fff; +} + +.view-feature-story .controls li a:hover, +.view-feature-story .controls li.active a { + background-color: #c34500; +} + +html.js .view-feature-story a.views-throbbing, +html.js .view-feature-story span.views-throbbing { + background: none; + padding-right:0; +} + + + + +/* +.view-feature-story .controls, +.view-feature-story .controls li { + margin:0; + padding:0; + list-style:none; + list-style-image:none; +} +.view-feature-story .controls { + position:absolute; + top:193px; + left:0; + padding:.31em .85em; + z-index:3; +} +.view-feature-story .controls li { + float:left; +} +.view-feature-story .controls li a { + display:block; + width:1em; + height:1em; + margin-right:.5em; + text-decoration:none; + background-image:url(http://oregonstate.edu/osuhomepage/images/dot.png); + background-position:center center; + background-repeat:no-repeat; +} +.view-feature-story .controls li a:hover, +.view-feature-story .controls li.active a { + background-color:transparent; + background-image:url(http://oregonstate.edu/osuhomepage/images/dot-hover.png); + background-position:center center; + background-repeat:no-repeat; +} +html.js .view-feature-story a.views-throbbing, +html.js .view-feature-story span.views-throbbing { + background:none; + padding-right:0; +} + +*/ \ No newline at end of file diff --git a/lab_site_themes/osu_standard/ie6.css b/lab_site_themes/osu_standard/ie6.css new file mode 100644 index 0000000..dd8766b --- /dev/null +++ b/lab_site_themes/osu_standard/ie6.css @@ -0,0 +1,28 @@ +#sidebar-left ul.menu { + margin-left:.77em; +} +#sidebar-left .menu li { + margin-bottom:.25em; +} +#sidebar-left ul.menu ul a, +#sidebar-right ul.menu ul a +#sidebar-right ul li, +#content ul li { + padding-left:0; + text-indent:0; +} +#sidebar-left ul.menu ul li, +#sidebar-right ul.menu ul li, +#sidebar-right ul li, +#content ul li { + list-style-image:url(images/list-bullet.gif); +} +.front .view-feature-story.view-display-id-block_1 .more-link { + background: #202020; +} +#ft .first { + height:15em; +} +#main .yui-gb .column { + width:26.9%; +} \ No newline at end of file diff --git a/lab_site_themes/osu_standard/ie7.css b/lab_site_themes/osu_standard/ie7.css new file mode 100644 index 0000000..c5e0d5e --- /dev/null +++ b/lab_site_themes/osu_standard/ie7.css @@ -0,0 +1,35 @@ +#sidebar-left ul.menu ul a, +#sidebar-right ul.menu ul a +#sidebar-right ul li, +#content ul li { + padding-left:0; + text-indent:0; +} +#sidebar-left ul.menu ul li, +#sidebar-right ul.menu ul li, +#sidebar-right ul li, +#content ul li { + list-style-image:url(images/list-bullet.gif); + list-style-position:outside; + margin-left:1em; +} +#ft .block { + width:8.95em; +} +#ft-inner { + width:73.05em; +} +h1 { + margin-left:0; + padding-left:135px; +} +.front .view-feature-story .controls { + padding:.41em .85em; +} +#content ul.biblio-export-buttons li{ + display:inline; + padding-left:6px; +} +#main .yui-gb .column { + width:26.9%; +} \ No newline at end of file diff --git a/lab_site_themes/osu_standard/iepngfix/blank.gif b/lab_site_themes/osu_standard/iepngfix/blank.gif new file mode 100644 index 0000000..75b945d Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/blank.gif differ diff --git a/lab_site_themes/osu_standard/iepngfix/checkerboard.gif b/lab_site_themes/osu_standard/iepngfix/checkerboard.gif new file mode 100644 index 0000000..551c5b8 Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/checkerboard.gif differ diff --git a/lab_site_themes/osu_standard/iepngfix/helix.gif b/lab_site_themes/osu_standard/iepngfix/helix.gif new file mode 100644 index 0000000..7128319 Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/helix.gif differ diff --git a/lab_site_themes/osu_standard/iepngfix/iepngfix.htc b/lab_site_themes/osu_standard/iepngfix/iepngfix.htc new file mode 100644 index 0000000..6e5de83 --- /dev/null +++ b/lab_site_themes/osu_standard/iepngfix/iepngfix.htc @@ -0,0 +1,102 @@ + + + + + diff --git a/lab_site_themes/osu_standard/iepngfix/iepngfix.html b/lab_site_themes/osu_standard/iepngfix/iepngfix.html new file mode 100644 index 0000000..675ac16 --- /dev/null +++ b/lab_site_themes/osu_standard/iepngfix/iepngfix.html @@ -0,0 +1,462 @@ + + + + + IE PNG Alpha Fix Demonstration + + + + + + + + + + + + + + + + + + +
    + +

    Demo:

    + + + + +

    REGULAR IMAGE TAG

    + Opacity demo + +

    BACKGROUND IMAGE

    +
    + GIF + | + PNG 1 + | + PNG 2 + | + None +
    + +

    IMAGE DROPSHADOW

    +

    (PNG background behind GIF/JPEG)

    + Helix + +

    INLINE LINK

    + Here's some inline link text. + +

    INPUT TYPE=IMAGE

    +
    + +
    + +

    CLASSNAME CHANGE

    +
    + +

    Self-test debugging:

    + Click here to test. + + +
    + + +

    What is this?

    +

    This is a IE5.5+ "behavior" that automatically adds near-native PNG support to +MSIE 5.5 and 6.0 without any changes to the HTML document itself. Supported features +include:

    +
      +
    • Automatic activation of transparency for PNGs in the page.
    • +
    • Support for <IMG SRC=""> elements.
    • +
    • Support for background PNG images (unlike many other scripts!)
    • +
    • Background images can be defined inline or in external stylesheets.
    • +
    • Automatically handles changed SRC/background via normal JavaScript + (e.g. mouseover rollovers) -- no special coding needed.
    • +
    • Change support includes CSS 'className' changes on elements.
    • +
    • Incorporates automatic workaround for <a href=""> elements within + PNG-background elements.
    • +
    • Tiny script (for fast downloads).
    • +
    • Licensed under a Free Software license.
    • +
    + + +

    How To Use

    +

    Follow these simple steps to add this to your page:

    +
      +
    1. Copy and paste iepngfix.htc and blank.gif into + your website folder.
    2. +
    3. Copy and paste this into your website's CSS or HTML: +
      + + <style type="text/css">
      + img, div { behavior: url(iepngfix.htc) }
      + </style> +
      +
      + That CSS selector must include the tags/elements on which you want PNG + support -- basically, give it a comma-separated list of tags you use. + It must also include the correct path to the .HTC relative to the HTML + document location (not relative to the CSS document!). For instance, + yours may look like this: +
      + + <style type="text/css">
      + img, div, a, input { behavior: url(/css/resources/iepngfix.htc) }
      + </style> +
      +
      +
    4. +
    5. If your site uses subfolders, open the .HTC file in a text editor like + Windows Notepad and change the blankImg variable to include + a correct path to blank.gif like so: +
      + + var blankImg = '/images/blank.gif'; + +
      + Again the path is relative to the HTML file. + Otherwise, you will see a "broken image" graphic!
    6. +
    7. Sit back and enjoy! Perhaps consider making a + donation to support this script's + development if you like what you see, as I have spent hundreds of hours + developing, testing and supporting it :). Alternatively, I would certainly + appreciate a crediting link on your site back to mine!
    8. +
    + +

    If you are interested in more details or an alternative activation method +for the script that maintains CSS validation compatibility, see the source +code to this demonstration file.

    + +

    How to fix common problems

    +
    +
    I've pasted in the CSS but my PNGs aren't transparent!
    +
    Make sure you remember that the path to the HTC file is relative to the HTML + file, not the CSS file (like CSS background images are). If you want to test the + path, insert this: alert('This works!'); into the .HTC file.
    +
    It works offline but not online.
    +
    First try unzipping this default demonstration and uploading to your web + server as-is. If it doesn't work, you may have a MIME type problem. + You must ensure your server is sending the correct MIME type of "text/x-component" + for .HTC files. Try one of these two easy fixes: +
      +
    1. Upload the ".htaccess" file from within this script's download ZIP to your + webserver, which will make Apache send the correct MIME type.
    2. +
    3. Instead of calling "IEPNGFIX.HTC" from your CSS, upload IEPNGFIX.PHP to + the same folder and call that instead, which also sends the right MIME type.
    4. +
    +
    +
    My PNGs are transparent but have a funny border or red "X" icon.
    +
    Check that the blankImg variable is set correctly in the .HTC + file, again this should be relative to the HTML document containing the PNGs.
    +
    Images are distorted, or this script breaks my page layout.
    +
    When applied to images without set dimensions, this script will try and + "guess" the correct image size and apply that. If it gets it wrong, give + your images a definite width and height.
    +
    Links or form elements within a PNG'd element aren't clickable.
    +
    Due to an IE bug, if you are putting links within an element with a transparent + background, the element must not have a CSS relative/absolute position. + Otherwise the links will likely be un-clickable. The script will warn you with + a popup alert dialog if this occurs. There is an excellent article on + PNG filters + and links you might want to read if you are a CSS expert that contains + more info and workarounds.
    +
    It works, but breaks another application like Google Maps on my page.
    +
    You'll need to stop applying this behavior to the third-party element that + presumably contains its own PNG fix. Try making your CSS selector more specific, + or put a manual override for the element in your CSS like so: + * html div#map img { behavior: none; }
    +
    I have IE6 installed "alongside" IE7+, and this script fails.
    +
    Either try on a computer with IE6 installed system-wide, or make sure + that you copy the required DLLs into your IE6 folder. You will need + dxtrans.dll and dxtmsft.dll for filter support, + try Googling for them or finding them on your Windows install CD. + Note that I can't support your setup here, sorry!
    +
    I have lots of images and page loading is slow.
    +
    With a lot of images, it can certainly slow down your page! Make sure + that you apply the script as narrowly as possible. Consider applying only to + elements of a particular CLASS perhaps, rather than all tags...
    +
    It still won't go.
    +
    Try running the self-test at the bottom of the list of demo images. + If that throws any errors, you'll know where to start fixing!
    +
    + + +

    Limitations and known isses with the script

    +
      +
    • Background repeat and position are largely unsupported, this is due to a + limitation in the IE transparency filter. If your background is set to repeat, + the PNG will stretch to fill the element, and if it's 'no-repeat', the PNG + will display once (untiled) pixel-for-pixel.
    • +
    • Padding and borders don't indent the PNG image and can sometimes contribute + to the distortion problem. An easy fix is to use 'margin' instead.
    • +
    • A:HOVER transparent images are not supported out of the box. If you want + this functionality, I recommend you download the excellent + Whatever:hover + script. This script will then enable :hover PNG background changes on all page + elements when both are applied to the page.
    • +
    • IE 4.0/5.0 are not supported. MSIE/Mac has native support for IMG SRC but + no background PNG support. The scripts does nothing in MSIE7 as it supports + PNGs natively.
    • +
    • Users can't right-click-save processed PNG images, they'll save the blank GIF + file if they try that. In some cases this might be a feature, not a bug...
    • +
    • The script detects the ".png" extension in image URLs. So if you have a CGI script that + generates a PNG image, you may have to rewrite parts of the script, or just cache them as PNG + files somewhere.
    • +
    • There may be about a short time as soon as the image loads when images are not + transparent, before the IE filter kicks in.
    • +
    + + +

    License:

    +
    +

    IE PNG Alpha Fix

    +

    (c) 2004-2008 Angus Turnbull http://www.twinhelix.com

    +

    This is licensed under the GNU LGPL, + version 2.1 or later.

    +
    +

    If you want to link my site +or make a donation, you're more than welcome :).

    + + +

    Tech Specs

    +

    IE5.5+ includes support for a DirectX +AlphaImageLoader +filter, that can take an element on the page and insert a correctly-rendered PNG +image inbetween the element's content and background. This script automatically +scans all IMG SRCs and element backgroundImages for .PNG files, and if it finds +them, it removes the regular image and substitutes this filter in place. See the +source if you want, but I've coded it quite compactly to keep download time down +to a minimum (at the expense of comprehensibility, sorry!).

    + + +

    Changelog

    +
      +
    • v1.0 Final +
        +
      • Loosened IMG SRC matching regex slightly.
      • +
      • Script exits gracefully when IE filter isn't installed (e.g. IE on Linux).
      • +
      • Unclickable child fix now checks for pre-existing absolute/relative position.
      • +
      • Added className switch demo and self-test debug mode.
      • +
      • Documentation changes.
      • +
      +
    • +
    • v1.0 RC5 +
        +
      • Added support for CSS className changing of background images.
      • +
      • The script now detects element's background-repeat and sets the PNG + sizingMethod to 'crop' or 'scale' automatically.
      • +
      • Enhanced link fixer to cover many clickable elements, and added popup + warning dialog when the fix cannot be made.
      • +
      • Support for PNG backgrounds behind GIF/JPEG images (e.g. dropshadows).
      • +
      • Script sets display:inline-block automatically on inline elements.
      • +
      • Loosened the URL matching rules, now any URLs with a .PNG in the path are + activated, so /cgi-app/foo.png?date=123 will now work without modifications.
      • +
      • Now works with the 'Whatever:hover' behavior to support :HOVER changing of + background images on page elements!
      • +
      • Simplified and reorganised portions of the script, especially the + background image changer.
      • +
      • Included demo .HTACCESS and .PHP files for sending the correct MIME type + for servers where this is an issue.
      • +
      • Rewrote the documentation, now it's understandable by human beings.
      • +
      +
    • +
    • v1.0 RC4 and earlier +
        +
      • Various tweaks ;).
      • +
      +
    • +
    + + + diff --git a/lab_site_themes/osu_standard/iepngfix/iepngfix.php b/lab_site_themes/osu_standard/iepngfix/iepngfix.php new file mode 100644 index 0000000..6b735c7 --- /dev/null +++ b/lab_site_themes/osu_standard/iepngfix/iepngfix.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/lab_site_themes/osu_standard/iepngfix/opacity.png b/lab_site_themes/osu_standard/iepngfix/opacity.png new file mode 100644 index 0000000..a0858b6 Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/opacity.png differ diff --git a/lab_site_themes/osu_standard/iepngfix/opacity2.png b/lab_site_themes/osu_standard/iepngfix/opacity2.png new file mode 100644 index 0000000..1967335 Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/opacity2.png differ diff --git a/lab_site_themes/osu_standard/iepngfix/shadow.png b/lab_site_themes/osu_standard/iepngfix/shadow.png new file mode 100644 index 0000000..8399b3f Binary files /dev/null and b/lab_site_themes/osu_standard/iepngfix/shadow.png differ diff --git a/lab_site_themes/osu_standard/images/dot-hover-blue.png b/lab_site_themes/osu_standard/images/dot-hover-blue.png new file mode 100644 index 0000000..5ed2dd0 Binary files /dev/null and b/lab_site_themes/osu_standard/images/dot-hover-blue.png differ diff --git a/lab_site_themes/osu_standard/images/dotted-line.gif b/lab_site_themes/osu_standard/images/dotted-line.gif new file mode 100644 index 0000000..8f796c5 Binary files /dev/null and b/lab_site_themes/osu_standard/images/dotted-line.gif differ diff --git a/lab_site_themes/osu_standard/images/dotted-underline-hover.gif b/lab_site_themes/osu_standard/images/dotted-underline-hover.gif new file mode 100644 index 0000000..6511465 Binary files /dev/null and b/lab_site_themes/osu_standard/images/dotted-underline-hover.gif differ diff --git a/lab_site_themes/osu_standard/images/dotted-underline.gif b/lab_site_themes/osu_standard/images/dotted-underline.gif new file mode 100644 index 0000000..26186ca Binary files /dev/null and b/lab_site_themes/osu_standard/images/dotted-underline.gif differ diff --git a/lab_site_themes/osu_standard/images/gray_bg-tn.png b/lab_site_themes/osu_standard/images/gray_bg-tn.png new file mode 100644 index 0000000..fcea4a3 Binary files /dev/null and b/lab_site_themes/osu_standard/images/gray_bg-tn.png differ diff --git a/lab_site_themes/osu_standard/images/gray_bg.png b/lab_site_themes/osu_standard/images/gray_bg.png new file mode 100644 index 0000000..fcea4a3 Binary files /dev/null and b/lab_site_themes/osu_standard/images/gray_bg.png differ diff --git a/lab_site_themes/osu_standard/images/icons-2.png b/lab_site_themes/osu_standard/images/icons-2.png new file mode 100644 index 0000000..055d6be Binary files /dev/null and b/lab_site_themes/osu_standard/images/icons-2.png differ diff --git a/lab_site_themes/osu_standard/images/ie6-bg.gif b/lab_site_themes/osu_standard/images/ie6-bg.gif new file mode 100644 index 0000000..02f19d5 Binary files /dev/null and b/lab_site_themes/osu_standard/images/ie6-bg.gif differ diff --git a/lab_site_themes/osu_standard/images/list-bullet.gif b/lab_site_themes/osu_standard/images/list-bullet.gif new file mode 100644 index 0000000..86d691b Binary files /dev/null and b/lab_site_themes/osu_standard/images/list-bullet.gif differ diff --git a/lab_site_themes/osu_standard/images/marine-footer-slice.jpg b/lab_site_themes/osu_standard/images/marine-footer-slice.jpg new file mode 100644 index 0000000..f1d8f47 Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine-footer-slice.jpg differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_1-tn.png b/lab_site_themes/osu_standard/images/marine_bg_1-tn.png new file mode 100644 index 0000000..18254b2 Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_1-tn.png differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_1.png b/lab_site_themes/osu_standard/images/marine_bg_1.png new file mode 100644 index 0000000..cf6aa27 Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_1.png differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_2-tn.png b/lab_site_themes/osu_standard/images/marine_bg_2-tn.png new file mode 100644 index 0000000..ca6701a Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_2-tn.png differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_2.png b/lab_site_themes/osu_standard/images/marine_bg_2.png new file mode 100644 index 0000000..055d6be Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_2.png differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_3-tn.png b/lab_site_themes/osu_standard/images/marine_bg_3-tn.png new file mode 100644 index 0000000..b5cdce7 Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_3-tn.png differ diff --git a/lab_site_themes/osu_standard/images/marine_bg_3.png b/lab_site_themes/osu_standard/images/marine_bg_3.png new file mode 100644 index 0000000..df3b003 Binary files /dev/null and b/lab_site_themes/osu_standard/images/marine_bg_3.png differ diff --git a/lab_site_themes/osu_standard/images/repeating-header.jpg b/lab_site_themes/osu_standard/images/repeating-header.jpg new file mode 100644 index 0000000..d900384 Binary files /dev/null and b/lab_site_themes/osu_standard/images/repeating-header.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/bike.jpg b/lab_site_themes/osu_standard/images/rotating_headers/bike.jpg new file mode 100644 index 0000000..70cc20e Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/bike.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/book.jpg b/lab_site_themes/osu_standard/images/rotating_headers/book.jpg new file mode 100644 index 0000000..94271ce Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/book.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/carving.jpg b/lab_site_themes/osu_standard/images/rotating_headers/carving.jpg new file mode 100644 index 0000000..0c1f50d Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/carving.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/dixon.jpg b/lab_site_themes/osu_standard/images/rotating_headers/dixon.jpg new file mode 100644 index 0000000..b2f0a5d Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/dixon.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/dog.jpg b/lab_site_themes/osu_standard/images/rotating_headers/dog.jpg new file mode 100644 index 0000000..65d02f6 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/dog.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/greenhouse.jpg b/lab_site_themes/osu_standard/images/rotating_headers/greenhouse.jpg new file mode 100644 index 0000000..13ae573 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/greenhouse.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/guitar.jpg b/lab_site_themes/osu_standard/images/rotating_headers/guitar.jpg new file mode 100644 index 0000000..9342454 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/guitar.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/kelly.jpg b/lab_site_themes/osu_standard/images/rotating_headers/kelly.jpg new file mode 100644 index 0000000..c043faf Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/kelly.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/mu.jpg b/lab_site_themes/osu_standard/images/rotating_headers/mu.jpg new file mode 100644 index 0000000..5d92a79 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/mu.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/smile.jpg b/lab_site_themes/osu_standard/images/rotating_headers/smile.jpg new file mode 100644 index 0000000..a246690 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/smile.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/solar.jpg b/lab_site_themes/osu_standard/images/rotating_headers/solar.jpg new file mode 100644 index 0000000..8b03207 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/solar.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/tide.jpg b/lab_site_themes/osu_standard/images/rotating_headers/tide.jpg new file mode 100644 index 0000000..dc56fa2 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/tide.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/treequad.jpg b/lab_site_themes/osu_standard/images/rotating_headers/treequad.jpg new file mode 100644 index 0000000..a7d544e Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/treequad.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/unicycle.jpg b/lab_site_themes/osu_standard/images/rotating_headers/unicycle.jpg new file mode 100644 index 0000000..0b62d9b Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/unicycle.jpg differ diff --git a/lab_site_themes/osu_standard/images/rotating_headers/weatherford.jpg b/lab_site_themes/osu_standard/images/rotating_headers/weatherford.jpg new file mode 100644 index 0000000..bb9b969 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rotating_headers/weatherford.jpg differ diff --git a/lab_site_themes/osu_standard/images/rss.png b/lab_site_themes/osu_standard/images/rss.png new file mode 100644 index 0000000..3475046 Binary files /dev/null and b/lab_site_themes/osu_standard/images/rss.png differ diff --git a/lab_site_themes/osu_standard/js/feature_stories.js b/lab_site_themes/osu_standard/js/feature_stories.js new file mode 100644 index 0000000..b6db6ff --- /dev/null +++ b/lab_site_themes/osu_standard/js/feature_stories.js @@ -0,0 +1,53 @@ +/* Feature Stories - rotating files/images +* Class: .view-feature-story.view-display-id-block_1 +* This JS rotates the parent class div - fades it in among others. +* CSS File is still being combined with theme. +*****************************************************/ +$(document).ready(function() { + var num_stories = $('.view-feature-story.view-display-id-block_1 .controls li').size(); + $('.view-feature-story.view-display-id-block_1 .more-link').css('left', 15+num_stories*30); + var url = $('.view-feature-story.view-display-id-block_1 .controls li.active a').attr('href'); + var active_story; + + if(url) { + active_story = parseInt(url.substring(url.indexOf('page=')+5)); + } else { + active_story = 0; + var running = true; + } + + if (num_stories > 1) { + $('.view-feature-story.view-display-id-block_1') + .everyTime('7s', 'feature-rotation', function() {setFeature((active_story+1) % num_stories)}, 0) + .hover( + function() { + if(running) + $(this).stopTime('feature-rotation'); + }, + function() { + if(running) + $(this).everyTime('7s', 'feature-rotation', function() {setFeature((active_story+1) % num_stories)}, 0); + }); + + $('.view-feature-story.view-display-id-block_1 .controls li a').click(function () { + var url = $(this).attr('href') + setFeature(parseInt(url.substring(url.indexOf('page=')+5))); + if(running) { + $(this).stopTime('feature-rotation'); + running = false; + } + return false; + }); + } + + // Sets the active class, and fades in and out the inactive areas. + function setFeature(i) { + if(i != active_story) { + $('.view-feature-story.view-display-id-block_1 .views-row').fadeOut('slow'); + $('.view-feature-story.view-display-id-block_1 .views-row:eq('+i+')').fadeIn('slow'); + active_story = i; + $('.view-feature-story.view-display-id-block_1 .controls li').removeClass('active'); + $('.view-feature-story.view-display-id-block_1 .controls li:eq('+i+')').addClass('active'); + } + }; +}); \ No newline at end of file diff --git a/lab_site_themes/osu_standard/js/script.js b/lab_site_themes/osu_standard/js/script.js new file mode 100644 index 0000000..72aa9b4 --- /dev/null +++ b/lab_site_themes/osu_standard/js/script.js @@ -0,0 +1,81 @@ +/** + * JavaScript functions for OSU Standard + */ + +Drupal.behaviors.osu_standard = function(content) { + +/** + * Make the columns of the news and events regions equal in height + * + */ + +jQuery(window).load( function() { + var col_height = Math.max($('#hp-news .block .content').height(), $('#hp-events .block .content').height() ); + + $('#hp-news .block .content').height(col_height); + $('#hp-events .block .content').height(col_height); +}); + + + +/** + * Show or hide the selected variant settings when the form loads + */ +$('#system-theme-settings').ready( function() { + var option = $('#edit-variant').val(); + for (var variant in Drupal.settings.osu_standard_variants) { + if (option == variant) { + $('#' + variant + '-settings').show(); + } + else { + $('#' + variant + '-settings').hide(); + } + } + }); + + +/** + * Show or hide the selected variant settings when a selection is made + */ + $('#edit-variant').change( function() { + var option = $('#edit-variant').val(); + for (var variant in Drupal.settings.osu_standard_variants) { + if (option == variant) { + $('#' + variant + '-settings').show(); + } + else { + $('#' + variant + '-settings').hide(); + } + } + }); + + +/** + * Register handlers to show preview of background image + */ + + $('#edit-marine-class').change( function() { + var option = $('#edit-marine-class').val(); + var bg_image = Drupal.settings.osu_standard_bg[option]; + var current_bg = $('#marine-background-image-preview').attr('src'); + var path = current_bg.substring( 0, (current_bg.lastIndexOf('/')+1) ); + var new_bg = path + bg_image; + $('#marine-background-image-preview').attr('src', new_bg); + }); + + + /** + * Must replicate above for each variant + * need jQuery guru to figure out a better way + $('#edit-natural-class').change( function() { + var option = $('#edit-natural-class').val(); + var bg_image = Drupal.settings.osu_standard_bg[option]; + var current_bg = $('#natural-background-image-preview').attr('src'); + var path = current_bg.substring( 0, (current_bg.lastIndexOf('/')+1) ); + var new_bg = path + bg_image; + $('#natural-background-image-preview').attr('src', new_bg); + }); + */ + +} + diff --git a/lab_site_themes/osu_standard/js/thickbox-compressed.js b/lab_site_themes/osu_standard/js/thickbox-compressed.js new file mode 100644 index 0000000..0835b0e --- /dev/null +++ b/lab_site_themes/osu_standard/js/thickbox-compressed.js @@ -0,0 +1,301 @@ +/* + * Thickbox 3.1 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2007 cody lindley + * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php +*/ + +var tb_pathToImage = "../images/loadingAnimation.gif"; +/*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ +//on page load call tb_init +$(document).ready(function(){ + tb_init('a.lightbox, area.lightbox, input.lightbox');//pass where to apply thickbox + imgLoader = new Image();// preload image + imgLoader.src = tb_pathToImage; +}); +//add thickbox to href & area elements that have a class of .thickbox +function tb_init(domChunk){ + $(domChunk).click(function(){ + var t = this.title || this.name || null; + var a = this.href || this.alt; + var g = this.rel || false; + tb_show(t,a,g); + this.blur(); + return false; + }); +} +function tb_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link + try { + if (typeof document.body.style.maxHeight === "undefined") {//if IE 6 + $("body","html").css({height: "100%", width: "100%"}); + $("html").css("overflow","hidden"); + if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6 + $("body").append("
    "); + $("#TB_overlay").click(tb_remove); + } + }else{//all others + if(document.getElementById("TB_overlay") === null){ + $("body").append("
    "); + $("#TB_overlay").click(tb_remove); + } + } + + if(tb_detectMacXFF()){ + $("#TB_overlay").addClass("TB_overlayMacFFBGHack");//use png overlay so hide flash + }else{ + $("#TB_overlay").addClass("TB_overlayBG");//use background and opacity + } + + if(caption===null){caption="";} + $("body").append("
    ");//add loader to the page + $('#TB_load').show();//show loader + + var baseURL; + if(url.indexOf("?")!==-1){ //ff there is a query string involved + baseURL = url.substr(0, url.indexOf("?")); + }else{ + baseURL = url; + } + + var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/; + var urlType = baseURL.toLowerCase().match(urlString); + if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images + + TB_PrevCaption = ""; + TB_PrevURL = ""; + TB_PrevHTML = ""; + TB_NextCaption = ""; + TB_NextURL = ""; + TB_NextHTML = ""; + TB_imageCount = ""; + TB_FoundURL = false; + if(imageGroup){ + TB_TempArray = $("a[@rel="+imageGroup+"]").get(); + for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === "")); TB_Counter++) { + var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); + if (!(TB_TempArray[TB_Counter].href == url)) { + if (TB_FoundURL) { + TB_NextCaption = TB_TempArray[TB_Counter].title; + TB_NextURL = TB_TempArray[TB_Counter].href; + TB_NextHTML = "  Next >"; + } else { + TB_PrevCaption = TB_TempArray[TB_Counter].title; + TB_PrevURL = TB_TempArray[TB_Counter].href; + TB_PrevHTML = "  < Prev"; + } + } else { + TB_FoundURL = true; + TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); + } + } + } + imgPreloader = new Image(); + imgPreloader.onload = function(){ + imgPreloader.onload = null; + + // Resizing large images - orginal by Christian Montoya edited by me. + var pagesize = tb_getPageSize(); + var x = pagesize[0] - 100; + var y = pagesize[1] - 100; + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + } + } else if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + } + } + // End Resizing + + TB_WIDTH = imageWidth + 12; + TB_HEIGHT = imageHeight + 49; + $("#TB_window").append(""+caption+"" + "
    "+caption+"
    " + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
    close or Esc Key
    "); + + $("#TB_closeWindowButton").click(tb_remove); + + if (!(TB_PrevHTML === "")) { + function goPrev(){ + if($(document).unbind("click",goPrev)){$(document).unbind("click",goPrev);} + $("#TB_window").remove(); + $("body").append("
    "); + tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); + return false; + } + $("#TB_prev").click(goPrev); + } + + if (!(TB_NextHTML === "")) { + function goNext(){ + $("#TB_window").remove(); + $("body").append("
    "); + tb_show(TB_NextCaption, TB_NextURL, imageGroup); + return false; + } + $("#TB_next").click(goNext); + + } + document.onkeydown = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } else if(keycode == 190){ // display previous image + if(!(TB_NextHTML == "")){ + document.onkeydown = ""; + goNext(); + } + } else if(keycode == 188){ // display next image + if(!(TB_PrevHTML == "")){ + document.onkeydown = ""; + goPrev(); + } + } + }; + + tb_position(); + $("#TB_load").remove(); + $("#TB_ImageOff").click(tb_remove); + $("#TB_window").css({display:"block"}); //for safari using css instead of show + }; + + imgPreloader.src = url; + }else{//code to show html + + var queryString = url.replace(/^[^\?]+\??/,''); + var params = tb_parseQuery( queryString ); + TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL + TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramaters were added to URL + ajaxContentW = TB_WIDTH - 30; + ajaxContentH = TB_HEIGHT - 45; + + if(url.indexOf('TB_iframe') != -1){// either iframe or ajax window + urlNoQuery = url.split('TB_'); + $("#TB_iframeContent").remove(); + if(params['modal'] != "true"){//iframe no modal + $("#TB_window").append("
    "+caption+"
    close or Esc Key
    "); + }else{//iframe modal + $("#TB_overlay").unbind(); + $("#TB_window").append(""); + } + }else{// not an iframe, ajax + if($("#TB_window").css("display") != "block"){ + if(params['modal'] != "true"){//ajax no modal + $("#TB_window").append("
    "+caption+"
    close or Esc Key
    "); + }else{//ajax modal + $("#TB_overlay").unbind(); + $("#TB_window").append("
    "); + } + }else{//this means the window is already up, we are just loading new content via ajax + $("#TB_ajaxContent")[0].style.width = ajaxContentW +"px"; + $("#TB_ajaxContent")[0].style.height = ajaxContentH +"px"; + $("#TB_ajaxContent")[0].scrollTop = 0; + $("#TB_ajaxWindowTitle").html(caption); + } + } + + $("#TB_closeWindowButton").click(tb_remove); + + if(url.indexOf('TB_inline') != -1){ + $("#TB_ajaxContent").append($('#' + params['inlineId']).children()); + $("#TB_window").unload(function () { + $('#' + params['inlineId']).append( $("#TB_ajaxContent").children() ); // move elements back when you're finished + }); + tb_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else if(url.indexOf('TB_iframe') != -1){ + tb_position(); + if($.browser.safari){//safari needs help because it will not fire iframe onload + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + } + }else{ + $("#TB_ajaxContent").load(url += "&random=" + (new Date().getTime()),function(){//to do a post change this load method + tb_position(); + $("#TB_load").remove(); + tb_init("#TB_ajaxContent a.lightbox"); + $("#TB_window").css({display:"block"}); + }); + } + + } + if(!params['modal']){ + document.onkeyup = function(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + if(keycode == 27){ // close + tb_remove(); + } + }; + } + + } catch(e) { + //nothing here + } +} +//helper functions below +function tb_showIframe(){ + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); +} +function tb_remove() { + $("#TB_imageOff").unbind("click"); + $("#TB_closeWindowButton").unbind("click"); + $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();}); + $("#TB_load").remove(); + if (typeof document.body.style.maxHeight == "undefined") {//if IE 6 + $("body","html").css({height: "auto", width: "auto"}); + $("html").css("overflow",""); + } + document.onkeydown = ""; + document.onkeyup = ""; + return false; +} +function tb_position() { +$("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); + if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6 + $("#TB_window").css({marginTop: '-' + (parseInt((TB_HEIGHT / 2),10)+10) + 'px'}); + } +} +function tb_parseQuery ( query ) { + var Params = {}; + if ( ! query ) {return Params;}// return empty object + var Pairs = query.split(/[;&]/); + for ( var i = 0; i < Pairs.length; i++ ) { + var KeyVal = Pairs[i].split('='); + if ( ! KeyVal || KeyVal.length != 2 ) {continue;} + var key = unescape( KeyVal[0] ); + var val = unescape( KeyVal[1] ); + val = val.replace(/\+/g, ' '); + Params[key] = val; + } + return Params; +} +function tb_getPageSize(){ + var de = document.documentElement; + var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; + var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; + arrayPageSize = [w,h]; + return arrayPageSize; +} +function tb_detectMacXFF() { + var userAgent = navigator.userAgent.toLowerCase(); + if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) { + return true; + } +} diff --git a/lab_site_themes/osu_standard/maintenance-page.tpl.php b/lab_site_themes/osu_standard/maintenance-page.tpl.php new file mode 100644 index 0000000..ac82645 --- /dev/null +++ b/lab_site_themes/osu_standard/maintenance-page.tpl.php @@ -0,0 +1,358 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $body_classes: A set of CSS classes for the BODY tag. This contains flags + * indicating the current layout (multiple columns, single column), the current + * path, whether the user is logged in, and so on. + * - $body_classes_array: An array of the body classes. This is easier to + * manipulate then the string in $body_classes. + * + * Site identity: + * - $front_page: The URL of the front page. Use this instead of $base_path, + * when linking to the front page. This includes the language domain or prefix. + * - $logo: The path to the logo image, as defined in theme configuration. + * - $site_name: The name of the site, empty when display has been disabled + * in theme settings. + * - $site_slogan: The slogan of the site, empty when display has been disabled + * in theme settings. + * - $mission: The text of the site mission, empty when display has been disabled + * in theme settings. + * + * Navigation: + * - $primary_links (array): An array containing primary navigation links for the + * site, if they have been configured. + * - $secondary_links (array): An array containing secondary navigation links for + * the site, if they have been configured. + * + * Page content (in order of occurrance in the default page.tpl.php): + * - $left: The HTML for the left sidebar. + * + * - $breadcrumb: The breadcrumb trail for the current page. + * - $title: The page title, for use in the actual HTML content. + * - $help: Dynamic help text, mostly for admin pages. + * - $messages: HTML for status and error messages. Should be displayed prominently. + * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view + * and edit tabs when displaying a node). + * + * - $content: The main content of the current Drupal page. + * + * - $right: The HTML for the right sidebar. + * + * Footer/closing data: + * - $feed_icons: A string of all feed icons for the current page. + * - $footer_message: The footer message as defined in the admin settings. + * - $footer : The footer region. + * - $closure: Final closing markup from any modules that have altered the page. + * This variable should always be output last, after all other dynamic content. + * + * @see template_preprocess() + * @see template_preprocess_page() + */ +?> + 'http://oregonstate.edu/osuhomepage', + // trackign and analytics id + 'tracking_id' => 'UA-4834799-1', // change +); +// Get the classes we will apend to the body tag +$var_classes = get_variant_classes(); +$body_classes .= $var_classes +?> + + + + + + + <?php echo $head_title; ?> + + + + + + + + + + + + + + + + + + + + + + + + + +
    > + + +
    +
    + +
    + +
    + +
    + + +
    +
    + + + +
    +
    + + + +
    +
    + +

    + +
    + +
    +
    + +
    +
    + +
    + + + + +
    +
    + +
    + + + +
    + + +
    + +
    + + +
    + + + +
    + +
    +
    + + + + + +
    +
    +
    + +
    + + + +
    +
    + + + +
    +
    + + + + + +
    +
    + + + +
    + +
    +
    + +
    + +
    +
    +
    +

    Contact Info

    +
    +
    Copyright ©  + Oregon State University
    + Disclaimer +
    + +
    + +
    +
    + + +
    + +
    + + + + + + + + diff --git a/lab_site_themes/osu_standard/marine.css b/lab_site_themes/osu_standard/marine.css new file mode 100644 index 0000000..5c97e43 --- /dev/null +++ b/lab_site_themes/osu_standard/marine.css @@ -0,0 +1,242 @@ +/** + * Stylesheet for Marine theme variant for OSU Standard + * + * Created: 8-8-2011 - Paul Lieberman - Central Web Services + * + * Modified: + * +*/ + +html.marine { + background-color: #9AA6B2; +} + +/* Marine backgrounds */ +body.marine { + background-color: #101f2a; +} + +body.seascape { + background-image:url(images/marine_bg_1.png); + background-repeat: repeat-x; +} + +body.icons { + background-image:url(images/marine_bg_2.png); + background-repeat: repeat; +} + +body.waves { + background-image:url(images/marine_bg_3.png); + background-repeat: repeat; +} + + +.marine h1#site-name a{ + color: #61798f; + padding: .1em .2em; +} + +.marine #main h3 { + color: #61798f; +} + +/* Block titles are white on a blue tab */ +.marine h3.title, +.marine #main h2.title, +.marine #main h3.title { + display: inline-block; + color: #fff; + background-color: #4d6c88; + padding: .2em 1em 0 1em; + margin-left: 0; + margin-top: .5em; + margin-bottom: 0; + border-top-left-radius: 6px; + border-top-right-radius: 6px; +} + +/* Other h2 titles are white */ +.marine h2.title { + color: #fff; + background-color: transparent; +} + +.marine .node-type-publications h2.title { + background: transparent !important; +} + +.marine #block-announcement-summary h3.title a { + color: #fff; + background-color: #4d6c88; +} + +/* Other titles and links are blue on white */ +.marine #sidebar-left a, +.marine #sidebar-right a, +.marine #content-area a, +.marine .news-body a, +.marine .field-content a, +.marine .view-footer a, +.marine h1#site-name a, +.marine #main h3 a, +.marine #calendar-cws span.day, +.marine #calendar-cws a, +.marine #announcement_summary_block a, +.marine .view-feature-story.view-display-id-block_1 .views-field-title a, +.marine #main .news-story h3.title, +.marine a.block-config, +.marine #site-map a, +.marine a.block-edit-menu { + color: #61798f; + background-color: #fff; +} + +.marine #calendar-cws span.month { + color: #949494; +} + + +.marine #content-inner { + background-color: transparent; +} + +/* Increase the spacing between content areas and the next titles below */ +.marine #content-area, +.marine #hp-news, +.marine #hp-events { + margin-bottom: 1em; +} + + +/* Hovers are white on blue */ +.marine a:hover, +.marine #content-area a:hover, +.marine #site-name a:hover, +.marine .news-body a:hover, +.marine .field-content a:hover, +.marine .view-footer a:hover, +.marine h1#site-name a:hover, +.marine #main h3 a:hover, +.marine h3.title a:hover, +.marine #calendar-cws a:hover, +.marine #announcement_summary_block a:hover, +.marine .view-feature-story.view-display-id-block_1 .views-field-title a:hover, +.marine .view-feature-story.view-display-id-block_1 .more-link a:hover, +.marine #sidebar-left ul.menu a:hover, +.marine #sidebar-right ul.menu a:hover { + color: #fff !important; + background-color: #4d6c88 !important; +} + +/* Active links are blue on white */ +.marine a:active, +.marine #site-name a:active, +.marine #sidebar-left ul.menu a:active, +.marine #sidebar-right ul.menu a:active, +.marine #sidebar-left ul.menu a.active, +.marine #sidebar-right ul.menu a.active { + color: #4d6c88; +} + +/* Active hover gets white background */ +.marine #sidebar-left ul.menu li.active-trail a:hover, +.marine #sidebar-right ul.menu li.active-trail a:hover { + color: #fff; +} + + +/* List chevron bullets are blue */ +.marine #sidebar-left ul.menu ul a:before, +.marine #sidebar-right ul.menu ul a:before { + color: #4d6c88; + content: "\00BB \0020"; +} + +/* The primary links in the header get blue bottom borders */ +.marine #header ul li a:hover { + color: #fff; + background-color: #4d6c88; + border-bottom: 3px solid #4d6c88; +} + +.marine #header ul > li a.active { + border-bottom: 3px solid #4d6c88; +} + +/* Breadcrub links are white */ +.marine .breadcrumb a { + color: #fff; + background-color: #4d6c88; + padding: .1em .2em; +} + + +/* Footer */ +.marine #ft { + background-image: url(images/marine-footer-slice.jpg); + background-repeat: repeat-x; + color: #000; +} + +.marine #ft a, +.marine #ft h3 { + color: #000; + background: transparent; +} + +.marine #ft a { + color: #000; + text-decoration: underline; +} + +.marine #ft h3.title, +.marine #hp-news .news-story h3.title{ + padding: 0; +} + +.marine #ft h3 a:hover, +.marine #ft a:hover { + text-decoration: none; + background-color: #fff !important; + color: #000 !important; +} + +.marine #ft .content { + background-color: transparent; +} + +.marine #ft div.block.with-block-editing div.edit a:hover { + color: #4d6c88; + background-color: #fff; +} + +.marine #sidebar-left h3.title a { + color: #fff; + background-color: #4d6c88; +} + +.marine #sidebar-left h3.title a:hover { + color: #fff; + background-color: #4d6c88; + text-decoration: underline +} + + +/* Feature Story dots */ + +.marine .view-feature-story .controls li a:hover, +.marine .view-feature-story .controls li.active a { + background-color: #4d6c88; +} + +/* Fix for active hover */ +.marine ul.nice-menu a.active:hover { + color: #4d6c88 !important; + background-color: #eee !important; +} + +/* Fix for exposed filter block */ +.marine div.views-exposed-form input.form-text { + max-width: 200px; +} diff --git a/lab_site_themes/osu_standard/marine.inc b/lab_site_themes/osu_standard/marine.inc new file mode 100644 index 0000000..6d1ae62 --- /dev/null +++ b/lab_site_themes/osu_standard/marine.inc @@ -0,0 +1,20 @@ + array( + 'title' => 'Seascape', + 'bg' => 'marine_bg_1-tn.png', + ), + 'icons' => array( + 'title' => 'Icons', + 'bg' => 'marine_bg_2-tn.png', + ), + 'waves' => array( + 'title' => 'Waves', + 'bg' => 'marine_bg_3-tn.png', + ), + ); + return $styles; +} \ No newline at end of file diff --git a/lab_site_themes/osu_standard/node-faculty_profile.tpl.php b/lab_site_themes/osu_standard/node-faculty_profile.tpl.php new file mode 100644 index 0000000..06c6f3d --- /dev/null +++ b/lab_site_themes/osu_standard/node-faculty_profile.tpl.php @@ -0,0 +1,85 @@ + +
    + + + + +

    + +

    + + + +
    + + + +
    + + + + + +
    + +
    + + +
    + +
    + + + +
    diff --git a/lab_site_themes/osu_standard/node.tpl.php b/lab_site_themes/osu_standard/node.tpl.php new file mode 100644 index 0000000..b21fa8d --- /dev/null +++ b/lab_site_themes/osu_standard/node.tpl.php @@ -0,0 +1,88 @@ + +
    + + + + +

    + +

    + + + +
    + + + +
    + + + + + + +
    + + +
    + + +
    + +
    + + + +
    diff --git a/lab_site_themes/osu_standard/osu_standard.css b/lab_site_themes/osu_standard/osu_standard.css new file mode 100644 index 0000000..349d509 --- /dev/null +++ b/lab_site_themes/osu_standard/osu_standard.css @@ -0,0 +1,1190 @@ +@font-face { + font-family: 'EksjaExtremesRegular'; + src: url(http://oregonstate.edu/osuhomepage/css/fonts/Eksja/Eksja-regular-webfont.eot); + src: local('☺'), url(http://oregonstate.edu/osuhomepage/css/fonts/Eksja/Eksja-regular-webfont.woff) format('woff'), + url(http://oregonstate.edu/osuhomepage/css/fonts/Eksja/Eksja-regular-webfont.ttf) format('truetype'), + url(http://oregonstate.edu/osuhomepage/css/fonts/Eksja/Eksja-regular-webfont.svg#webfont) format('svg'); + font-weight: normal; + font-style: normal; +} +h1,h2,h3,h4,h5,h6,strong,dt { + font-weight:bold; +} +em { + font-style:italic; +} +p,fieldset,table,pre { + margin-bottom:1em; +} +fieldset { + padding-left:0; +} +ul, ol, dl { + margin-left:1em; +} +html { + background-color: #252525; +} +body { + background-color:#eeece8; + font-family:Arial, Helvetica, Verdana, sans-serif; +} + +h1 { + font-family:'EksjaExtremesRegular',Arial, Helvetica, Verdana, sans-serif; + font-size:2em; + font-weight:normal; + margin-bottom:4px; +} +h2, h3, h4, h5, h6 { + font-family:Arial, Helvetica, Verdana, sans-serif; /* repetitive might no need*/ + margin-top:0; +} +h2, h3 { + font-size:1.231em; +} +h2, h4, h6 { + color:#3f3f3f; +} +h2 { + min-height:20px; + margin-bottom:5px; + font-size:1.231em; + vertical-align:bottom; +} + +body.front h2 { + visibility:hidden; + margin-bottom:0; +} + +h4 { + font-size:1.16em; +} +h5 { + color:#000; +} +h5, h6 { + font-size:1em; +} +a { + color: #c34500; + text-decoration:none; +} +a:hover { + color:#fff; + background-color: #c34500; +} +img { + display:block; +} +#content object { + margin:.4em .7em; +} +#content th img { + margin:0 0 0 .3em; +} +hr { + height:0; + border:none; + border-bottom:1px dotted #686868; + clear:both; +} + +/* Tables */ +table { + font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif; + font-size: .93em; + margin: 20px auto; + width: 95%; + text-align: left; + border-collapse: collapse; +} + +table th { + padding: .616em; + border-top: 4px solid #c4beb5; + border-bottom: 1px solid #fff; + color: #fff; + background-color: gray; + font-size: 1em; + font-weight: normal; +} + +table th a { + color: #fff; + text-decoration: underline; +} + +table td { + padding: .616em; + border-color: #aaa; + border-top: 1px solid transparent; + border-bottom: 1px solid; + color :#000; + background-color: #fff; + padding:.3em .5em .2em; +} + +table tr:nth-child(even) td { + background-color: #f2f2f2; +} + +/* first level list */ +ol li { + list-style-type:upper-alpha; +} +ul li { + list-style-type:disc; +} +ul { + padding-left:0; +} + +/* second level list */ +ol ol li, ul ol li { + list-style-type:decimal; +} +ol ul li, ul ul li { + list-style-type:square; +} +ol ol, ul ol, ol ul, ul ul { + margin-left:1.3em; +} + +/* third level list */ +ol ol ol li, ol ul ol li, ul ol ol li, ul ul ol li { + list-style-type:lower-alpha; +} +ol ol ul li, ol ul ul li, ul ol ul li, ul ul ul li { + list-style-type:circle; +} + +/* fourth level list */ +ol ol ol ol li, ol ol ul ol li, ol ul ol ol li, ol ul ul ol li, +ul ol ol ol li, ul ol ul ol li, ul ul ol ol li, ul ul ul ol li { + list-style-type:lower-roman; +} +ol ol ol ul li, ol ol ul ul li, ol ul ol ul li, ol ul ul ul li, +ul ol ol ul li, ul ol ul ul li, ul ul ol ul li, ul ul ul ul li { + list-style-type:disc; +} +ul.menu, ul.menu li { + margin:0; + padding:0; + list-style-type:none; + list-style-image:none; +} +#page { + margin-bottom:3em; +} +#hd { + margin-bottom:1.16em; +} +#hd h1 a:hover { + text-decoration:none; +} + +/**************************************** + ** B. Horizontal Navigation ** +****************************************/ +#header { + min-height: 75px; + background: #fff; + z-index: 10; + background-image: url(images/repeating-header.jpg); + background-position: top left; + background-repeat: repeat-x; +} +#header-inner { + padding-top: 1.16em; +} +#header h3.title { + display: none; +} + +#hd .block { + margin-top: 0; + z-index: 40; /* was 200 - lowered to prevent nice menu from overlapping Search drop-down */ +} + +#header ul, +#header li { + list-style:none; + list-style-image:none; +} +#header ul { + margin-left: 135px; + float: none !important; /* overwrites nice menu issues */ +} + +/* Nice menu fixes and edits */ +ul.nice-menu ul { + top:auto; +} +ul.nice-menu > li, ul.nice-menu > li.menuparent, ul.nice-menu > li.menuparent:hover { + background-color:transparent; +} +ul.nice-menu li li, ul.nice-menu-down li li.menuparent, ul.nice-menu-down li li.menuparent , ul.nice-menu li li a.active { + background-color:#fff !important; +} +ul.nice-menu-down li.over, ul.nice-menu li li a.active { + background-color:transparent !important; +} +/* end nice menu fixes and edits */ + +#header ul > li > ul { + margin-left:0; +} +#header ul li { + float:left; +} +#header ul li a { + display:block; + padding:8px 20px 4px 20px; + border-left:1px solid #e2e2e2; + border-bottom:3px solid #e2e2e2; + -moz-border-radius:0 0 3px 3px; + -webkit-border-radius:0 0 3px 3px; + border-radius:0 0 3px 3px; + font-size:1em; + font-weight:normal; + color:#3f3f3f; + text-decoration:none; +} +#header ul > li a.active { + border-bottom:3px solid #c34500; + background-color:#eee; +} +#header ul.nice-menu li.menuparent a.active { + background: url("/sites/all/modules/nice_menus/arrow-down.png") no-repeat right center #eee; +} +#header ul li a:hover { + border-bottom:3px solid #c34500; + color:#3f3f3f; + background-color:transparent; + text-decoration:none; +} +#header ul li.last a, #header ul > li:last-child { + border-right:1px solid #e2e2e2; +} +#top-horizontal-bar { + margin:0; +} +#top-horizontal-bar-inner { + margin-top:0; + margin-left:.77em; +} +.breadcrumb { + font-size:.77em; +} + +.breadcrumb a { + text-decoration: underline; + color: #000; +} + +.breadcrumb a:hover { + text-decoration:none; + background-color: #fff; +} + +.help, #features, +#pre-content, +#content-area, +#hp-news .block .content, +#hp-events .block .content, +#post-content .block .content, +#sidebar-left .block .content, +#sidebar-right .block .content { + border-top: 5px solid #000; + padding: 10px; + padding-bottom: 1px; +} + + +.block .content { + padding-bottom:10px !important; /* This allows for consistent top and bottom padding for blocks */ +} +#header .block-inner .content { + padding-bottom:0 !important; +} +.front #features, +.front #sidebar-left .block.region-count-1 .content { + border-top:none; +} + + +.help, +#features, +#pre-content, +#hp-news .block .content, +#hp-events .block .content, +#sidebar-left .block .content, +#sidebar-right .block .content { + background-color:#fff; +} + +/* Blocks */ +.block { + margin-top: 25px; +} + +.front .block { + margin-top: 20px; +} + +#sidebar-left .block, +#sidebar-right .block { + margin-bottom:1.539em; +} + + +.front #sidebar-right .block { + margin-top: .616em; +} + + +.front #sidebar-left h3.title { + margin-top: 0; +} + +#content-area.has-features { + margin-top: .616em; +} + +#pre-content .block, +.block.has-header { + margin-top: 0; +} +#features { + margin-bottom:.77em; + padding:5px; +} +#features .block { + margin-top:0; +} +#pre-content { + margin-bottom:1.616em; +} +.field-content h3, +#block-views-Highlights-block_1 h3 { + color: #c34500; +} + + +h3.title { + margin-left: .77em; + margin-top: 4px; + margin-bottom: 0; + padding-bottom: 0; + font-size: 1em; + min-height: 20px; +} + + +.content h3 { + margin-left:0; +} +#sidebar-right .view-content h3, +#block-views-Highlights-block_1 .view-content h3 { + margin-left:0; +} +#block-views-Highlights-block_1 .views-row { + margin-bottom:.75em; + border-bottom:1px dotted #888888; + font-size:.93em; +} +#block-views-Highlights-block_1 div.views-row:last-child { + border-bottom:none; +} +#sidebar-left ul.menu li, +#sidebar-right ul.menu li { + border-top:2px solid #686868; +} +#sidebar-left ul.menu li.first, +#sidebar-right ul.menu li.first, +#sidebar-left ul.menu ul li, +#sidebar-right ul.menu ul li { + border-top:none; +} +#sidebar-left ul.menu a, +#sidebar-right ul.menu a { + display:block; + padding:10px 5px; + color:#686868; + font-size:1.16em; + font-weight:bold; +} +#sidebar-left ul.menu ul a, +#sidebar-right ul.menu ul a { + color:#686868; + font-size:1.08em; + font-weight:bold; + margin-top:2px; + padding-top:1px; + padding-bottom:3px; + padding-left:.5em; + text-indent: -.5em; +} +#sidebar-left ul.menu ul a:before, +#sidebar-right ul.menu ul a:before { + color:#c34500; + content:"\00BB \0020"; +} +#sidebar-left ul.menu ul ul li.first a, +#sidebar-right ul.menu ul ul li.first a { + margin-top:2px; + padding-top:6px; +} +#sidebar-left ul.menu ul li.last a, +#sidebar-right ul.menu ul li.last a { + padding-bottom:8px; +} +#sidebar-left ul.menu ul ul a, +#sidebar-right ul.menu ul ul a { + color:#393939; + font-size:1em; + font-weight:normal; +} +#sidebar-left ul.menu ul ul ul a, +#sidebar-right ul.menu ul ul ul a { + color:#393939; + font-size:.85em; + font-weight:normal; +} +#sidebar-left ul.menu ul ul ul a:before, +#sidebar-right ul.menu ul ul ul a:before { + color:#000; +} +#sidebar-left ul.menu a.active, +#sidebar-right ul.menu a.active { + color:#c34500; +} +#sidebar-left ul.menu li.active-trail a, +#sidebar-right ul.menu li.active-trail a { + background-color:#eeedea; +} +#sidebar-left ul.menu li.active-trail li a, +#sidebar-right ul.menu li.active-trail li a { + background-color:transparent; +} +#sidebar-left ul.menu li.active-trail li.active-trail a, +#sidebar-right ul.menu li.active-trail li.active-trail a { + background-color:#eeedea; +} +#sidebar-left ul.menu li.active-trail li.active-trail li a, +#sidebar-right ul.menu li.active-trail li.active-trail li a { + background-color:transparent; +} +#sidebar-left ul.menu li.active-trail li.active-trail li.active-trail a, +#sidebar-right ul.menu li.active-trail li.active-trail li.active-trail a { + background-color:#eeedea; +} +#sidebar-left ul.menu li.active-trail li.active-trail li.active-trail li a, +#sidebar-right ul.menu li.active-trail li.active-trail li.active-trail li a { + background-color:transparent; + padding-left:30px; +} +#sidebar-left ul.menu li.active-trail li.active-trail li.active-trail li.active-trail a, +#sidebar-right ul.menu li.active-trail li.active-trail li.active-trail li.active-trail a { + background-color:#eeedea; +} +#sidebar-left ul.menu a:hover, +#sidebar-right ul.menu a:hover { + color:#fff; + background-color:#c34500 !important; + text-decoration:none; +} +#sidebar-left ul.menu li a:hover:before, #sidebar-right ul.menu li a:hover:before { + color:#fff; +} +#sidebar-right ul, #content ul, #content ol { + margin:0 0 1em 1em; + padding:0; +} +#sidebar-left ul.menu li.active-trail li.active-trail a, #sidebar-left ul.menu li li a { + padding-left:18px; +} +#sidebar-left ul.menu li.active-trail li.active-trail li a { + padding-left:23px; +} +#content ol { + margin-left:2.5em; +} +#sidebar-right ul li, #content ul li { + margin:0; + padding:0; + padding-left:.85em; + text-indent: -.85em; + list-style:none; + list-style-image:none; + list-style-position:inside; +} +#content div.field-item ul { + padding-bottom:.5em; + border-bottom:1px dotted #CCC; +} +#content ul li:before { + content: "\00BB \0020"; +} +body.section-admin #content ul li:before { + content: ' ' !important; +} +body.section-admin #content ul { + margin-left:0; +} +body.section-admin #content ul li { + padding-left:0; + text-indent: 0; +} +#sidebar-right .content ul.menu li a { + text-indent:0; + display:block; +} +#content .terms ul li:before, #content ul li.jcarousel-item:before { + content: ' ' !important; +} +#content .terms ul { + margin-left:0; +} +#content .terms ul li { + padding-left:.1em; +} +#sidebar-right ul.menu { + margin:0; +} +#content ul.tabs li, +ul.menu li, +#content ul.pager li { + padding-left:0; + text-indent:0; +} +#content ul.tabs li:before, ul.menu li:before, #content ul.pager li:before { + content:''; +} +#post-content { + clear:both; +} +.view-featured-sites .views-row { + border-bottom:1px dotted #000; + margin-bottom:1em; +} +.view-featured-sites .views-row.views-row-last { + border-bottom:none +} +.view-feature-stories .views-row { + clear:left; +} +.view-feature-stories img.imagefield-field_thumbnail { + float:left; + margin-right:.77em; + margin-bottom:.77em; +} +.view .field-content { + width:auto; +} +#hp-news .rss { + float:right; +} +#hp-news .news-story { + margin-bottom:1.5em; + padding-bottom:1em; + clear:both; + overflow:auto; + border-bottom:1px dotted #888; +} +#hp-news div.news-story:last-child { + border:none; +} +#hp-news .news-story .imagefield-field_thumbnail { + float:left; + margin-right:1em; + margin-bottom:.2em; + margin-top:.2em; +} +#hp-news .news-story h3.title { + display:inline; + color:#c34500; + font-size:.93em; + font-family:Arial, Helvetica, sans-serif; + margin:0; + padding:0; +} +#hp-news .news-story .date { + display:inline; + color:#565656; + font-size:.93em; + font-style:italic; +} +#hp-news .news-story .news-body { + font-size:.93em; +} +.view-feature-stories .views-field-title { + font-weight:bold; +} +.view-feature-stories .views-field-created { + font-size:.85em; + color:#666; + margin-bottom:.5em; +} +.bythenumbers { + font-size:.85em; + line-height:1.2em; +} +.bythenumbers .large-number { + display:block; + font-family:Georgia, 'Times New Roman', Times, serif; + color:#787878; + font-size:4em; + line-height:1.2em; +} +.bythenumbers .large-number.first { + margin-top:-.2em; +} +#main .column { + float:left; + margin-right:1%; + padding-right:1%; +} +#main .column.last { + margin-right:0; + padding-right:0; +} +#main .yui-g .column { + width:49%; +} +#main .yui-gb .column { + width:30%; + min-width:200px; +} +#main .yui-gb .column.first{ + background-image:url(../images/dotted-line2.png); + background-position:right top; + background-repeat:no-repeat; + min-height:170px; + padding-right:15px; +} +#main .yui-gb .column.last { + background-image:url(../images/dotted-line2.png); + background-position:left top; + background-repeat:no-repeat; + min-height:170px; + padding-left:10px; +} +#main .yui-gc .column.first, #main .yui-gd .column.last { + width:66%; +} + + +/* Pre Footer full width */ +#pre-footer-100 + #ft { +} + +#pre-footer-100 { + margin: -2em 0 .6em 0; +} + +#pre-footer-100 .content { + background-color: #EEECE8; +} + +/* Footer */ +#ft { + min-width:74.923em; + width:100%; + min-height:148px; + border-top: 3px solid #DBD6D0; + color:#fff; + background:#252525 url(http://oregonstate.edu/osuhomepage/images/footer_gradient.png) left top repeat-x; + text-align:left; + overflow:hidden; +} +#ft-inner { + margin:1.231em auto; + width:74.923em; +} +#ft h2 { + display:none; +} +#ft .block { + float:left; + width:9.31em; + margin:0 1.539em 1.539em 0; +} + +/* Special regions, modify for footer */ +#ft .region-count-6 { + margin-right:0; /* 6th element so it can fit in 1 row */ +} +#ft div.first { + min-height:15em; +} +#ft .specific-contact, +#ft .general-contact, +#ft .social-media { + font-size:.77em; + margin-bottom:1em; + padding-top:1px; +} +#ft .social-media img { + width:17px; + height:17px; + float: left; + margin-top: -.385em; + margin-right: .385em; + margin-bottom: .74em; + margin-left:-2px; +} +#ft .social-media a { + color:#ffffff; + text-decoration:none; + display:block; + clear:left; +} +#ft h3.title { + height:auto; + margin-left:0; + margin-top:0; +} +#ft h3, #ft h3 a { + color:#fff + font-family:Arial, Helvetica, sans-serif; + font-size:.93em; + font-weight:bold; + text-decoration:underline; + text-transform:uppercase; + margin-bottom:1em; +} +#ft h3 a:hover, +#ft a:hover { + text-decoration: none; + background-color: #c34500; +} +#ft ul, #ft li { + margin:0; + padding:0; + list-style:none; + list-style-image:none; +} +#ft li { + line-height:1em; + padding-bottom: .3em; +} +#ft li a { + color:#fff; + font-family:Arial, Helvetica, sans-serif; + font-size:.77em; + text-decoration:none; +} +#ft strong { + font-weight:bold; +} + +#ft a { + color: #fff; + text-decoration: underline; +} + +#ft .content { + background-color: transparent; +} + +#ft div.block.with-block-editing div.edit { + top: -15px; +} + +#ft a.block-config, +#ft a.block-edit-menu { + color: #c34500; +} + +#ft a.block-config:hover, +#ft a.block-edit-menu:hover { + color: #fff; +} + + + +/* VIEWS CODE */ +.views-row { + border-bottom:1px dotted #000; + padding-bottom:.85em; + margin-bottom:1.2em; +} +.views-row-last { + border-bottom:2px solid #000; +} + +/** Feature story additional changes **/ +.view-feature-story .views-row { + clear:left; + overflow:auto; + margin-bottom:1em; +} +.view-feature-story .views-row > div:last-child, body.not-front .view-feature-story .views-row > div:first-child { + padding-bottom:.75em; +} +#sidebar-right .view-feature-story .views-field-field-thumbnail-fid { + margin-bottom:0; + margin-right:.3em; +} + +/* Mini Calendar */ +.minical_content_box table { + margin:.4em; + text-align:center; +} +#sidebar-left .minical_month th, #sidebar-left .minical_month td { + padding:.4em; + margin:1px; + border:1px solid #fff; +} +#sidebar-left .minical_month th { + text-align:center; +} +#sidebar-left .minical_month td { + background-color:#eeeeee; +} +#sidebar-left .minical_month td a { + padding:.15em; + display:block; +} + +/* Block Calendar for Front Page */ +#calendar-cws .event { + border-bottom:1px dotted #000000; + font-family:Arial,Helvetica,Verdana,sans-serif; + clear:both; + margin-bottom:1.4em; + padding-bottom:.5em; + overflow:hidden; +} +#calendar-cws .events div.event:last-child { + border:none; +} +#calendar-cws .date { + float:left; + margin-right:0.385em; +} +#calendar-cws .description { + margin-left:40px; +} +#calendar-cws .description p { + font-style:normal !important; +} +#calendar-cws dl.events-list { + margin:0 0 0 4em; +} +#calendar-cws dl.events-list dd { + margin-left:0; +} +#calendar-cws .date span { + display:block; + font-weight: bold; + margin-top:-.2em; +} +#calendar-cws .day { + color:#949494; + font-size:2.77em; +} +#calendar-cws span.month { + color:#c34500; + font-size:1.5em; + margin-top:-.5em; +} +#calendar-cws .year { + color:#393939; + font-size:1.2em; + margin-top:-.12em; +} +#calendar-cws .description p { + font-size:.93em; +} +#calendar-cws .rss { + float:right; +} +#calendar-cws > a { + display:block; + text-align:center; + font-size: 120%; +} + /* end Calendar Block */ + +/** Images in general */ +#content img { + margin:.4em .7em .4em 0; +} + +/*** Fix for admin link color ***/ +div.view div.views-admin-links li a { + color:#c34500; +} + /* fix for top-hat IMPORTANT, keeps h1 title from bumping into OSU Tag*/ +#osu-top-hat { + float:none; +} + /* end fix */ + + /* FLoats and no border borderless tables to be later put in osu_base */ +.float_left { + float:left; + margin-right:.7em !important; + margin-left:0 !important; +} +.float_right { + float:right; + margin-right:0 !important; + margin-left:.7em !important; +} + table.no_borders th, table.no_borders td, table.no_borders { + border:none !important; +} + /**********************************/ + + /* View Carrousel potential to go on OSU BASE or some modification of this*/ +.jcarousel-skin-grey3 .jcarousel-container-horizontal { + padding:0; +} +.jcarousel-skin-grey3 .jcarousel-container-horizontal .views-field-title { + margin-left:.8em; +} +#content .jcarousel-skin-grey3 .jcarousel-container-horizontal ul li { + text-indent:0; + padding:0; +} +.jcarousel-skin-grey3 .jcarousel-next-horizontal { + right: -8px; + top:90%; +} +.jcarousel-skin-grey3 .jcarousel-prev-horizontal { + left:-18px; + top:90%; +} + +/* Glossary */ +.glossary-links { + background-color:#fff; + border:1px solid #E2E2E2; + -moz-border-radius:8px; + -webkit-border-radius:8px; + border-radius:8px; +} +.glossary-list dl { + margin:.8em 0 0 0; +} +.glossary-list dd { + border-bottom:1px dotted #888; + margin-left:0; + padding-left:.5em; + padding-bottom:.6em; + margin-bottom:.8em; +} +.glossary-list dd:last-child { + border-bottom:none; +} +a.glossary-term { + color:#c34500; + border-bottom:1px dotted #c34500; +} +a.glossary-term:hover { + color:#fff; +} +body.page-glossary table th, body.page-glossary table td { + border:0; +} +body.page-glossary tbody tr:first-child { + border-bottom:1px solid #fff; +} +/** end glossary ***/ + +/** Book Styling **/ +div.book-navigation { + display: block; +} + +body.node-type-book #sidebar-right .content ul li { + padding:0; +} + +#sidebar-right ul.menu li.active-trail li.active-trail li.active-trail a { + padding-left:1em; +} +#sidebar-right ul.menu li.active-trail li.active-trail li.active-trail li a { + padding-left:1.4em; +} +/** end book stylying **/ + +/* Biblio Styling */ +#biblio-header img { + display:inline; + margin:0 .2em 0 0; +} +#biblio-node tr.even td { + background-color:#DEDAD4; +} +#content ul.biblio-export-buttons li{ + border:1px solid #CCC; + display:inline-block; + font-size:85%; + background-color:#E1E1E1; + padding:2px 6px 2px 16px; + margin-bottom:0; + margin-right:.4em; + -moz-border-radius:5px; + -webkit-border-radius:5px; + border-radius:5px; +} +#content ul.biblio-export-buttons li:before { + content:' '; +} +.biblio-category-section { + color:#777; +} +/** end biblio **/ + +/** Anouncement module styling **/ +.announcement_summary_block { + font-size:10px; +} +.announcement_summary { + padding-left:0; +} +.announcement_title { + font-size:12px; +} +/** end anouncement module styling **/ + +/** Systems module styling **/ +html.js fieldset.collapsible legend a { + padding-left:10px; + background-position:0px; +} +fieldset > div { + padding-left:.8em; +} +html.js fieldset.collapsible legend a:hover { + background-color:#c34500; +} + +/* Changed content areas to have a white background */ +#content-area, +.content { + background-color: #fff; +} + +legend { + padding: 0 .2em; +} + +img.osu-standard-background-image-preview { + float: right; + padding-right: 300px; +} + +#osu-top-hat img.tag { + z-index: 300 !important; +} + +/* Increase the spacing between content areas and the next titles below */ +#content-area { + margin-bottom: 1em; +} + +#block-announcement-summary h3.title a, +#sidebar-left h3.title a { + color: #000; +} + +#sidebar-left h3.title a:hover { + color: #000; + background-color: #fff; +} + + +ul.primary li a, +ul.primary li a:hover { + color: #696969; +} + +/* Fix for .content background overwriting header background image */ +#header .content { + background: transparent; +} + + +/* VSO Option */ + +p.vso-standard-header { + float: left; + margin: 1.465em 0 0 0; + padding: .2em 1em; + color: #fff; + background-color: #171717; + border-radius: 6px; + font-size: 12px; + font-weight: bold; +} + +span.students-orange { + color: #c34500; + font-size: 110%; +} + +.vso h1#site-name { + margin-left: .5em; +} + +.vso #header ul { + margin-left: 0; +} + +select { + max-width: 190px; +} + +/* Top-tier */ + +.top-tier #header-inner { + padding-top: 0; +} + +.top-tier h1#site-name { + display: none; +} + +.top-tier #sidebar-right { + margin-left: 1em; + width: 174px; +} + +.top-tier #header ul li a { + padding: .2em 1em; +} + +.top-tier .block { + margin-top: 20px; +} + +/* Fix some home page styles to work in Standard*/ + +#osu-homepage-region-horizontal-navigation h3.horizontal-navigation-sublinks-header { + padding: 0 !important; +} + +#osu-homepage-region-horizontal-navigation h3.horizontal-navigation-sublinks-header a, +#osu-homepage-region-horizontal-navigation ul#horizontal-navigation-sublinks ul li a { + border: none; +} + +#osu-homepage-region-horizontal-navigation ul#horizontal-navigation-sublinks ul li a:hover, +#osu-homepage-region-horizontal-navigation h3.horizontal-navigation-sublinks-header a:hover { + color: #fff !important; + background-color: #c34500 !important; + border-bottom: 1px !important; +} + +#osu-homepage-region-horizontal-navigation .horizontal-navigation-sublinks-header a { + color: #c34500 !important; +} + diff --git a/lab_site_themes/osu_standard/osu_standard.info b/lab_site_themes/osu_standard/osu_standard.info new file mode 100644 index 0000000..a8af7e6 --- /dev/null +++ b/lab_site_themes/osu_standard/osu_standard.info @@ -0,0 +1,69 @@ +name = OSU Standard +description = The Standard theme can be used for any OSU department, institute, program or academic unit. It includes space for rotating feature stories, rotating highlights and space for formatted calendar and news feeds. This theme is a good fit for units investing more time and resources in marketing and communications outreach, and thus requires a higher level of active maintenance. +version = 6.x-1.7.0 +core = 6.x +base theme = osu_drupal_1_11 + +; Stylesheets +stylesheets[all][] = thickbox.css +stylesheets[all][] = feature_stories.css +stylesheets[all][] = osu_standard.css +stylesheets[all][] = marine.css +stylesheets[print][] = print.css +conditional-stylesheets[if IE 6][all][] = ie6.css +conditional-stylesheets[if IE 7][all][] = ie7.css + +; Javascript +scripts[] = js/thickbox-compressed.js +scripts[] = js/feature_stories.js +scripts[] = js/script.js + +; Region Definition +regions[header] = header (menus only) +regions[features] = features +regions[pre_content] = pre content +regions[content] = content +regions[post_content] = post content +regions[right] = middle sidebar +regions[left] = right sidebar +regions[pre_footer_100] = full width above the footer +regions[footer] = footer +regions[hp_news] = news feed (home page only) +regions[hp_events] = events feed (home page only) + +; Theme Settings +; ZEN +settings[zen_block_editing] = 1 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 1 +settings[zen_wireframes] = 0 + +; OSU +settings[vso_option] = 0 +settings[homepage_nav] = 0 +settings[hide_utility] = 0 +settings[hide_book_nav] = 0 +settings[default_variant] = 'standard' + +; Notes on adding variants - PL 8-10-2011 +; You can add additional vairants simply by listing them here and supplying the +; needed css and image files. There is no need to further edit the theme-settings.php +; as long as certain conditions are met. +; 1. Add your variant to the variants array below supplying a short name and a title +; 2. Add an include file that contains a function to return a styles array +; 3. Create a stylesheet for your variant named variant-name.css. Each style class +; will be applied to the body tag so this is what you use for selectors. Add your stylesheet +; to the stylesheets array above. +; +; See existing variants for examples. + +; Theme variants +default_variant = 'standard' +variants[standard] = 'OSU Standard' +variants[marine] = 'Marine Sciences' + + diff --git a/lab_site_themes/osu_standard/osu_standard.info.dist b/lab_site_themes/osu_standard/osu_standard.info.dist new file mode 100644 index 0000000..a0f9d16 --- /dev/null +++ b/lab_site_themes/osu_standard/osu_standard.info.dist @@ -0,0 +1,34 @@ +name = OSU Standard +description = OSU Top-Tier Drupal Theme +version = 1.0 +core = 6.x +base theme = osu_drupal_1_11 + +; STYLESHEETS +stylesheets[all][] = osu_standard.css +stylesheets[print][] = print.css +conditional-stylesheets[if IE 6][all][] = ie6.css +conditional-stylesheets[if IE 7][all][] = ie7.css +conditional-stylesheets[if IE 8][all][] = ie8.css + +; REGION DEFINITION +regions[features] = features +regions[pre_content] = pre content +regions[content] = content +regions[post_content] = post content +regions[right] = middle sidebar +regions[left] = right sidebar + +; ZEN THEME SETTINGS +; Set the default settings to be used in theme-settings.php +settings[zen_block_editing] = 0 +settings[zen_breadcrumb] = yes +settings[zen_breadcrumb_separator] = ' › ' +settings[zen_breadcrumb_home] = 1 +settings[zen_breadcrumb_trailing] = 1 +settings[zen_breadcrumb_title] = 0 +settings[zen_rebuild_registry] = 1 +settings[zen_wireframes] = 0 + + + diff --git a/lab_site_themes/osu_standard/page.tpl.php b/lab_site_themes/osu_standard/page.tpl.php new file mode 100644 index 0000000..b2f705c --- /dev/null +++ b/lab_site_themes/osu_standard/page.tpl.php @@ -0,0 +1,385 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $body_classes: A set of CSS classes for the BODY tag. This contains flags + * indicating the current layout (multiple columns, single column), the current + * path, whether the user is logged in, and so on. + * - $body_classes_array: An array of the body classes. This is easier to + * manipulate then the string in $body_classes. + * + * Site identity: + * - $front_page: The URL of the front page. Use this instead of $base_path, + * when linking to the front page. This includes the language domain or prefix. + * - $logo: The path to the logo image, as defined in theme configuration. + * - $site_name: The name of the site, empty when display has been disabled + * in theme settings. + * - $site_slogan: The slogan of the site, empty when display has been disabled + * in theme settings. + * - $mission: The text of the site mission, empty when display has been disabled + * in theme settings. + * + * Navigation: + * - $primary_links (array): An array containing primary navigation links for the + * site, if they have been configured. + * - $secondary_links (array): An array containing secondary navigation links for + * the site, if they have been configured. + * + * Page content (in order of occurrance in the default page.tpl.php): + * - $left: The HTML for the left sidebar. + * + * - $breadcrumb: The breadcrumb trail for the current page. + * - $title: The page title, for use in the actual HTML content. + * - $help: Dynamic help text, mostly for admin pages. + * - $messages: HTML for status and error messages. Should be displayed prominently. + * - $tabs: Tabs linking to any sub-pages beneath the current page (e.g., the view + * and edit tabs when displaying a node). + * + * - $content: The main content of the current Drupal page. + * + * - $right: The HTML for the right sidebar. + * + * Footer/closing data: + * - $feed_icons: A string of all feed icons for the current page. + * - $footer_message: The footer message as defined in the admin settings. + * - $footer : The footer region. + * - $closure: Final closing markup from any modules that have altered the page. + * This variable should always be output last, after all other dynamic content. + * + * @see template_preprocess() + * @see template_preprocess_page() + */ +?> + + 'http://oregonstate.edu/osuhomepage', // Include path for global resources + ); +?> + + + + + + + <?php echo $head_title; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    > + + +
    +
    + +
    + +
    + +
    + + +
    +
    + + + +
    +
    + + + +
    +
    + +

    + +
    + +
    +
    + +
    +
    + +
    + + + + +
    +
    + +
    + + + +
    + + +
    + +
    + + +
    + + + +
    + +
    +
    + + + + + +
    +
    +
    + +
    + + + +
    +
    + + + +
    +
    + + + + + +
    +
    + + + +
    + +
    +
    + +
    + + + + + + + +
    +
    +
    +

    Contact Info

    +
    +
    Copyright ©  + Oregon State University
    + Disclaimer +
    + +
    + +
    +
    + + +
    + +
    + + + + + diff --git a/lab_site_themes/osu_standard/print.css b/lab_site_themes/osu_standard/print.css new file mode 100644 index 0000000..df0aa35 --- /dev/null +++ b/lab_site_themes/osu_standard/print.css @@ -0,0 +1,38 @@ +body, html { + background-color:#fff; + font-family:Verdana, Arial, Helvetica, sans-serif; + font-size:13pt; +} + +a { + color:#d85a1a; + text-decoration:underline; +} + +#osu-top-hat { + float:none; + overflow:visible; +} + +#header .menu, +#sidebar-right, +#sidebar-left, +#footer { + display:none; +} + +#ft { + border-top:none; +} + +.breadcrumb { + display:none; +} + +#yui-main { + width:85%; + float:none !important; + margin:0 !important; +} + +#doc,#doc2,#doc3,#doc4,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7,#page,#page-inner,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf,.yui-b,.yui-u{margin:0 !important; width:100% !important;} diff --git a/lab_site_themes/osu_standard/screenshot.png b/lab_site_themes/osu_standard/screenshot.png new file mode 100644 index 0000000..4af4f48 Binary files /dev/null and b/lab_site_themes/osu_standard/screenshot.png differ diff --git a/lab_site_themes/osu_standard/svn-commit.tmp b/lab_site_themes/osu_standard/svn-commit.tmp new file mode 100644 index 0000000..0d23acb --- /dev/null +++ b/lab_site_themes/osu_standard/svn-commit.tmp @@ -0,0 +1,4 @@ + +--This line, and those below, will be ignored-- + +A re #13098: initial import diff --git a/lab_site_themes/osu_standard/template.php b/lab_site_themes/osu_standard/template.php new file mode 100644 index 0000000..2536d03 --- /dev/null +++ b/lab_site_themes/osu_standard/template.php @@ -0,0 +1,159 @@ + array( + 'arguments' => array( + 'form' => NULL + ) + ) + ); +} + +/** +* If social media links have been set by an admin user for this theme, this function takes care of displaying them. +* If adding or removing anything work with this and the theme-settings.php file as well. +**/ +function osu_standard_social_media() { + + //these values in $social_media need to match those in theme-settings when for the form creation + $social_media = array('osu_standard_facebook', 'osu_standard_youtube', 'osu_standard_flickr', 'osu_standard_linkedin', 'osu_standard_twitter', 'osu_standard_google'); + + // Handles irregular names - like YouTube instead of Youtube for example. + $name_exceptions = array( + 'linkedin'=>'LinkedIn', + 'youtube' => 'YouTube', + 'google' => 'Google+', + ); + $html = ''; + foreach ($social_media as $value) { + $name = substr($value, 13); + if (!isset($name_exceptions[$name])) { + $full_name = ucfirst($name); + } else { + $full_name = $name_exceptions[$name]; + } + + // Gets the value in the database - currently users are asked to input a link to their social media page + $link = theme_get_setting($value); + if (!empty($link)) { + $html .= ''.$full_name.' logo' .$full_name.''; + } + } + return $html; +} + +/** + * Reads the theme settings and generates the HTML + * to include stylesheets based on the settings + */ +function get_variant_classes() { + // Stylesheets for color schemes + $classes = ''; + $variant = theme_get_setting('variant'); + if( $variant != 'standard') { + $color_scheme = theme_get_setting($variant . '_class'); + $classes = ' ' . $variant . ' ' . $color_scheme; + } + if (theme_get_setting('vso_option')) { + $classes .= ' vso'; + } + if (theme_get_setting('homepage_nav')) { + $classes .= ' top-tier'; + } + return $classes; +} + +/** + * Display the homepage style header menus + */ +function homepage_nav() { + return theme_get_setting('homepage_nav'); +} + +/** + * Get the Google Analytices Tracking code + */ +function google_tracking_code() { + return theme_get_setting('custom_ga_code') ? theme_get_setting('custom_ga_code') : 'UA-4834799-1'; +} + +/** + * Insert some CSS to implement our theme options + * Probably should combine these in the future + */ +function hide_utility_links() { + // CSS to hide the utility links + $output = ''; + if (theme_get_setting('hide_utility')) { + $output = "\n"; + } + return $output; +} + +function hide_book_nav() { + // CSS to hide the book navigation + $output = ''; + if (theme_get_setting('hide_book_nav')){ + $output = "\n"; + } + return $output; +} + +function hide_terms() { + // Hide the taxonomy tems + $oustput = ''; + if (theme_get_setting('hide_terms')) { + $output = "\n"; + } + return $output; +} + + + +/** + * Override theme settings form + * + */ +function osu_standard_system_settings_form($form) { + + // Uncomment to collapse fieldsets + $form_elements = element_children($form); + foreach ($form_elements as $element) { + if ($form[$element]['#type'] == 'fieldset') { //Identify fieldsets and collapse them + $form[$element]['#collapsible'] = TRUE; + // $form[$element]['#collapsed'] = TRUE; + } + } + $form['theme_specific']['#collapsed'] = FALSE; + + // Hide the theme settings from OSU Base that we don't use + unset($form['theme_specific']['osu_start_fieldset_0']); + unset($form['theme_specific']['osu_rotating_header_custom_location']); + unset($form['theme_specific']['osu_rotating_header_directory']); + unset($form['theme_specific']['osu_end_fieldset_0']); + unset($form['theme_specific']['osu_start_fieldset_1']); + unset($form['theme_specific']['osu_rotating_header_type']); + unset($form['theme_specific']['osu_rotating_header_interval']); + unset($form['theme_specific']['osu_rotating_header_single_image']); + unset($form['theme_specific']['osu_rotating_header_image_preview']); + unset($form['theme_specific']['osu_end_fieldset_1']); + unset($form['theme_specific']['osu_start_fieldset_2']); + unset($form['theme_specific']['osu_second_header_type']); + unset($form['theme_specific']['osu_second_rotating_header_type']); + unset($form['theme_specific']['osu_second_rotating_header_interval']); + unset($form['theme_specific']['osu_second_rotating_header_single_image']); + unset($form['theme_specific']['osu_second_rotating_header_image_preview']); + unset($form['theme_specific']['osu_end_fieldset_2']); + + unset($form['theme_specific']['themedev']); // Comment out for theme development + + return drupal_render($form); +} + + diff --git a/lab_site_themes/osu_standard/theme-settings.php b/lab_site_themes/osu_standard/theme-settings.php new file mode 100644 index 0000000..524db44 --- /dev/null +++ b/lab_site_themes/osu_standard/theme-settings.php @@ -0,0 +1,237 @@ +info['default_variant']; + $variants = $themes['osu_standard']->info['variants']; + + // Expose the variants array to Javascript + drupal_add_js(array('osu_standard_variants' => $variants), 'setting'); + + // We need to build an array of background options for each variant + $backgrounds = array(); + $bg_images = array(); + foreach ($variants as $varname => $vartitle) { + if ($varname != $default_variant ) { + $backgrounds[$varname] = array (); + + include_once './' . drupal_get_path('theme', 'osu_standard') . '/' . $varname . '.inc'; + $func = 'ous_standard_' . $varname; + $styles = $func(); + foreach($styles as $class => $style ) { + $title = $style['title']; + $thumb = $style['bg']; + $backgrounds[$varname][$class] = $title; + $bg_images[$class] = $thumb; + } + } + } + + // Expose the bg_images array to Javascript + drupal_add_js(array('osu_standard_bg' => $bg_images), 'setting'); + + // Start the configuration form + $form['osu_settings_start'] = array( + '#type' => 'markup', + '#value' => '
    ', + ); + + $form['osu_standard_options'] = array( + '#type' => 'fieldset', + '#title' => t('OSU Theme options'), + ); + + // Option - Enter custom Google Analytics tracking code + $form['osu_standard_options']['custom_ga_code'] = array( + '#type' => 'textfield', + '#title' => 'Custom Google Analytics Tracking Code', + '#default_value' => $settings['custom_ga_code'], + '#description' => t('Enter a custom Google Analytics Tracking Code, or leave blank to use the default OSU code'), + ); + + // Option - Hide Book Navigation + $form['osu_standard_options']['hide_book_nav'] = array( + '#type' => 'checkbox', + '#title' => 'Hide the book navigation links.', + '#default_value' => $settings['hide_book_nav'], + '#description' => t('Hide the prev, top, and next links at the bottom of a book page.'), + ); + + // Option - Hide Taxonomy Terms + $form['osu_standard_options']['hide_terms'] = array( + '#type' => 'checkbox', + '#title' => 'Hide Taxonomy Tags.', + '#default_value' => $settings['hide_terms'], + '#description' => t('Hide the display of taxonomy tags on all nodes.'), + ); + + // Get current user and display only for user 1 + if ($GLOBALS['user']->uid == 1 ) { + + // Option - Home page navigaion + /* Not yet + $form['osu_standard_options']['homepage_nav'] = array ( + '#type' => 'checkbox', + '#title' => 'Use the Home Page top navigation.', + '#default_value' => $settings['homepage_nav'], + '#description' => t('For top tier sites. Use the home page banner menus'), + ); + */ + + // Option - Hide utiltity links + $form['osu_standard_options']['hide_utility'] = array( + '#type' => 'checkbox', + '#title' => 'Hide utitlity links in Tophat.', + '#default_value' => $settings['hide_utility'], + '#description' => t('Hide the "Calendar, Library, Maps..." links in the top hat'), + ); + + // Option - VSO Branding + $form['osu_standard_options']['vso_option'] = array( + '#type' => 'checkbox', + '#title' => 'Use the VSO branding.', + '#default_value' => $settings['vso_option'], + '#description' => t('Set the appropriate branding for volunteer organizations'), + ); + // End of User 1 only options + } + else { + // Must keep default values for user 1 options when other admin saves the form + $form['osu_standard_options']['hide_utility'] = array( + '#type' => 'hidden', + '#default_value' => $settings['hide_utility'], + ); + $form['osu_standard_options']['vso_option'] = array( + '#type' => 'hidden', + '#default_value' => $settings['vso_option'], + ); + } + + // Option - Color scheme + + $form['osu_standard_options']['variant'] = array( + '#type' => 'select', + '#title' => 'Color Scheme', + '#default_value' => $settings['variant'], + '#options' => $variants, + '#description' => t('Select a theme variant'), + ); + + foreach ($variants as $varname => $vartitle) { + + if ($varname != 'standard' ) { + + + $form['osu_standard_options'][$varname] = array( + '#type' => 'markup', + '#value' => '
    ', + ); + + $form['osu_standard_options'][$varname]['preview'] = array( + '#type' => 'markup', + '#value' => '' + ); + + $form['osu_standard_options'][$varname][$varname . '_class'] = array( + '#type' => 'select', + '#title' => 'Select Background Image', + '#default_value' => $settings[$varname . '_class'], + '#options' => $backgrounds[$varname], + ); + + $form['osu_standard_options'][$varname]['end'] = array( + '#type' => 'markup', + '#value' => '
    ', + ); + } + } + + // Option - Social Media + $form['osu_strandard_social_media'] = array( + '#type' => 'fieldset', + '#title' => t('Social Media Links - Footer'), + ); + $form['osu_strandard_social_media']['osu_standard_facebook'] = array( + '#type' => 'textfield', + '#title' => t('Facebook'), + '#default_value' => $settings['osu_standard_facebook'], + '#size' => 60, + '#maxlength' => 127, + ); + $form['osu_strandard_social_media']['osu_standard_youtube'] = array( + '#type' => 'textfield', + '#title' => t('YouTube'), + '#default_value' => $settings['osu_standard_youtube'], + '#size' => 60, + '#maxlength' => 127, + ); + $form['osu_strandard_social_media']['osu_standard_flickr'] = array( + '#type' => 'textfield', + '#title' => t('Flickr'), + '#default_value' => $settings['osu_standard_flickr'], + '#size' => 60, + '#maxlength' => 127, + ); + $form['osu_strandard_social_media']['osu_standard_linkedin'] = array( + '#type' => 'textfield', + '#title' => t('LinkedIn'), + '#default_value' => $settings['osu_standard_linkedin'], + '#size' => 60, + '#maxlength' => 127, + ); + $form['osu_strandard_social_media']['osu_standard_twitter'] = array( + '#type' => 'textfield', + '#title' => t('Twitter'), + '#default_value' => $settings['osu_standard_twitter'], + '#size' => 60, + '#maxlength' => 127, + ); + $form['osu_strandard_social_media']['osu_standard_google'] = array( + '#type' => 'textfield', + '#title' => t('Google+'), + '#default_value' => $settings['osu_standard_google'], + '#size' => 60, + '#maxlength' => 127, + ); + + $form['osu_settings_end'] = array( + '#type' => 'markup', + '#value' => '
    ', + ); + + // Add the osu_drupal_1_11 header options + $form += osu_drupal_1_11_settings($settings); + + + // Return the form + return $form; +} +?> diff --git a/lab_site_themes/osu_standard/thickbox.css b/lab_site_themes/osu_standard/thickbox.css new file mode 100644 index 0000000..62961ed --- /dev/null +++ b/lab_site_themes/osu_standard/thickbox.css @@ -0,0 +1,163 @@ +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +*{padding: 0; margin: 0;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window a:link {color: #666666;} +#TB_window a:visited {color: #666666;} +#TB_window a:hover {color: #000;} +#TB_window a:active {color: #666666;} +#TB_window a:focus {color: #666666;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_overlay { + position: fixed; + z-index:100; + top: 0px; + left: 0px; + height:100%; + width:100%; +} + +.TB_overlayMacFFBGHack {background: url(../images/macFFBgHack.png) repeat;} +.TB_overlayBG { + background-color:#000; + filter:alpha(opacity=75); + -moz-opacity: 0.75; + opacity: 0.75; +} + +* html #TB_overlay { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_window { + position: fixed; + background: #ffffff; + z-index: 102; + color:#000000; + display:none; + border: 4px solid #525252; + text-align:left; + top:50%; + left:50%; +} + +* html #TB_window { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_window img#TB_Image { + display:block; + margin: 5px 0 0 5px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:7px 10px 5px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; +} + +#TB_title{ + background-color:#e8e8e8; + height:27px; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent.TB_modal{ + padding:15px; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: fixed; + display:none; + height:13px; + width:208px; + z-index:103; + top: 50%; + left: 50%; + margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */ +} + +* html #TB_load { /* ie6 hack */ +position: absolute; +margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); +} + +#TB_HideSelect{ + z-index:99; + position:fixed; + top: 0; + left: 0; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; + height:100%; + width:100%; +} + +* html #TB_HideSelect { /* ie6 hack */ + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +#TB_iframeContent{ + clear:both; + border:none; + margin-bottom:-1px; + margin-top:1px; + _margin-bottom:1px; +} diff --git a/lab_site_themes/osu_standard/views-view-unformatted--feature-story--block-1.tpl.php b/lab_site_themes/osu_standard/views-view-unformatted--feature-story--block-1.tpl.php new file mode 100644 index 0000000..95e9d0b --- /dev/null +++ b/lab_site_themes/osu_standard/views-view-unformatted--feature-story--block-1.tpl.php @@ -0,0 +1,34 @@ + + +

    + + + $row): ?> +
    style="display:none;"> + +  '; + array_push($fs_controls, $fs_row); + ?> +
    + + +
      + +