# HG changeset patch
# User danieleb
# Date 1377188574 -3600
# Node ID b74b41bb73f0f2a4db2598b98f752bb77c709ba5
# Parent 67ce89da90df4d6814aeddf54c1238f104841edc
-- Google analytics module
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/libraries/jquery.cycle/jquery.cycle.all.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/libraries/jquery.cycle/jquery.cycle.all.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,1543 @@
+/*!
+ * jQuery Cycle Plugin (with Transition Definitions)
+ * Examples and documentation at: http://jquery.malsup.com/cycle/
+ * Copyright (c) 2007-2013 M. Alsup
+ * Version: 3.0.3 (11-JUL-2013)
+ * Dual licensed under the MIT and GPL licenses.
+ * http://jquery.malsup.com/license.html
+ * Requires: jQuery v1.7.1 or later
+ */
+;(function($, undefined) {
+"use strict";
+
+var ver = '3.0.3';
+
+function debug(s) {
+ if ($.fn.cycle.debug)
+ log(s);
+}
+function log() {
+ /*global console */
+ if (window.console && console.log)
+ console.log('[cycle] ' + Array.prototype.join.call(arguments,' '));
+}
+$.expr[':'].paused = function(el) {
+ return el.cyclePause;
+};
+
+
+// the options arg can be...
+// a number - indicates an immediate transition should occur to the given slide index
+// a string - 'pause', 'resume', 'toggle', 'next', 'prev', 'stop', 'destroy' or the name of a transition effect (ie, 'fade', 'zoom', etc)
+// an object - properties to control the slideshow
+//
+// the arg2 arg can be...
+// the name of an fx (only used in conjunction with a numeric value for 'options')
+// the value true (only used in first arg == 'resume') and indicates
+// that the resume should occur immediately (not wait for next timeout)
+
+$.fn.cycle = function(options, arg2) {
+ var o = { s: this.selector, c: this.context };
+
+ // in 1.3+ we can fix mistakes with the ready state
+ if (this.length === 0 && options != 'stop') {
+ if (!$.isReady && o.s) {
+ log('DOM not ready, queuing slideshow');
+ $(function() {
+ $(o.s,o.c).cycle(options,arg2);
+ });
+ return this;
+ }
+ // is your DOM ready? http://docs.jquery.com/Tutorials:Introducing_$(document).ready()
+ log('terminating; zero elements found by selector' + ($.isReady ? '' : ' (DOM not ready)'));
+ return this;
+ }
+
+ // iterate the matched nodeset
+ return this.each(function() {
+ var opts = handleArguments(this, options, arg2);
+ if (opts === false)
+ return;
+
+ opts.updateActivePagerLink = opts.updateActivePagerLink || $.fn.cycle.updateActivePagerLink;
+
+ // stop existing slideshow for this container (if there is one)
+ if (this.cycleTimeout)
+ clearTimeout(this.cycleTimeout);
+ this.cycleTimeout = this.cyclePause = 0;
+ this.cycleStop = 0; // issue #108
+
+ var $cont = $(this);
+ var $slides = opts.slideExpr ? $(opts.slideExpr, this) : $cont.children();
+ var els = $slides.get();
+
+ if (els.length < 2) {
+ log('terminating; too few slides: ' + els.length);
+ return;
+ }
+
+ var opts2 = buildOptions($cont, $slides, els, opts, o);
+ if (opts2 === false)
+ return;
+
+ var startTime = opts2.continuous ? 10 : getTimeout(els[opts2.currSlide], els[opts2.nextSlide], opts2, !opts2.backwards);
+
+ // if it's an auto slideshow, kick it off
+ if (startTime) {
+ startTime += (opts2.delay || 0);
+ if (startTime < 10)
+ startTime = 10;
+ debug('first timeout: ' + startTime);
+ this.cycleTimeout = setTimeout(function(){go(els,opts2,0,!opts.backwards);}, startTime);
+ }
+ });
+};
+
+function triggerPause(cont, byHover, onPager) {
+ var opts = $(cont).data('cycle.opts');
+ if (!opts)
+ return;
+ var paused = !!cont.cyclePause;
+ if (paused && opts.paused)
+ opts.paused(cont, opts, byHover, onPager);
+ else if (!paused && opts.resumed)
+ opts.resumed(cont, opts, byHover, onPager);
+}
+
+// process the args that were passed to the plugin fn
+function handleArguments(cont, options, arg2) {
+ if (cont.cycleStop === undefined)
+ cont.cycleStop = 0;
+ if (options === undefined || options === null)
+ options = {};
+ if (options.constructor == String) {
+ switch(options) {
+ case 'destroy':
+ case 'stop':
+ var opts = $(cont).data('cycle.opts');
+ if (!opts)
+ return false;
+ cont.cycleStop++; // callbacks look for change
+ if (cont.cycleTimeout)
+ clearTimeout(cont.cycleTimeout);
+ cont.cycleTimeout = 0;
+ if (opts.elements)
+ $(opts.elements).stop();
+ $(cont).removeData('cycle.opts');
+ if (options == 'destroy')
+ destroy(cont, opts);
+ return false;
+ case 'toggle':
+ cont.cyclePause = (cont.cyclePause === 1) ? 0 : 1;
+ checkInstantResume(cont.cyclePause, arg2, cont);
+ triggerPause(cont);
+ return false;
+ case 'pause':
+ cont.cyclePause = 1;
+ triggerPause(cont);
+ return false;
+ case 'resume':
+ cont.cyclePause = 0;
+ checkInstantResume(false, arg2, cont);
+ triggerPause(cont);
+ return false;
+ case 'prev':
+ case 'next':
+ opts = $(cont).data('cycle.opts');
+ if (!opts) {
+ log('options not found, "prev/next" ignored');
+ return false;
+ }
+ if (typeof arg2 == 'string')
+ opts.oneTimeFx = arg2;
+ $.fn.cycle[options](opts);
+ return false;
+ default:
+ options = { fx: options };
+ }
+ return options;
+ }
+ else if (options.constructor == Number) {
+ // go to the requested slide
+ var num = options;
+ options = $(cont).data('cycle.opts');
+ if (!options) {
+ log('options not found, can not advance slide');
+ return false;
+ }
+ if (num < 0 || num >= options.elements.length) {
+ log('invalid slide index: ' + num);
+ return false;
+ }
+ options.nextSlide = num;
+ if (cont.cycleTimeout) {
+ clearTimeout(cont.cycleTimeout);
+ cont.cycleTimeout = 0;
+ }
+ if (typeof arg2 == 'string')
+ options.oneTimeFx = arg2;
+ go(options.elements, options, 1, num >= options.currSlide);
+ return false;
+ }
+ return options;
+
+ function checkInstantResume(isPaused, arg2, cont) {
+ if (!isPaused && arg2 === true) { // resume now!
+ var options = $(cont).data('cycle.opts');
+ if (!options) {
+ log('options not found, can not resume');
+ return false;
+ }
+ if (cont.cycleTimeout) {
+ clearTimeout(cont.cycleTimeout);
+ cont.cycleTimeout = 0;
+ }
+ go(options.elements, options, 1, !options.backwards);
+ }
+ }
+}
+
+function removeFilter(el, opts) {
+ if (!$.support.opacity && opts.cleartype && el.style.filter) {
+ try { el.style.removeAttribute('filter'); }
+ catch(smother) {} // handle old opera versions
+ }
+}
+
+// unbind event handlers
+function destroy(cont, opts) {
+ if (opts.next)
+ $(opts.next).unbind(opts.prevNextEvent);
+ if (opts.prev)
+ $(opts.prev).unbind(opts.prevNextEvent);
+
+ if (opts.pager || opts.pagerAnchorBuilder)
+ $.each(opts.pagerAnchors || [], function() {
+ this.unbind().remove();
+ });
+ opts.pagerAnchors = null;
+ $(cont).unbind('mouseenter.cycle mouseleave.cycle');
+ if (opts.destroy) // callback
+ opts.destroy(opts);
+}
+
+// one-time initialization
+function buildOptions($cont, $slides, els, options, o) {
+ var startingSlideSpecified;
+ // support metadata plugin (v1.0 and v2.0)
+ var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
+ var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
+ if (meta)
+ opts = $.extend(opts, meta);
+ if (opts.autostop)
+ opts.countdown = opts.autostopCount || els.length;
+
+ var cont = $cont[0];
+ $cont.data('cycle.opts', opts);
+ opts.$cont = $cont;
+ opts.stopCount = cont.cycleStop;
+ opts.elements = els;
+ opts.before = opts.before ? [opts.before] : [];
+ opts.after = opts.after ? [opts.after] : [];
+
+ // push some after callbacks
+ if (!$.support.opacity && opts.cleartype)
+ opts.after.push(function() { removeFilter(this, opts); });
+ if (opts.continuous)
+ opts.after.push(function() { go(els,opts,0,!opts.backwards); });
+
+ saveOriginalOpts(opts);
+
+ // clearType corrections
+ if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
+ clearTypeFix($slides);
+
+ // container requires non-static position so that slides can be position within
+ if ($cont.css('position') == 'static')
+ $cont.css('position', 'relative');
+ if (opts.width)
+ $cont.width(opts.width);
+ if (opts.height && opts.height != 'auto')
+ $cont.height(opts.height);
+
+ if (opts.startingSlide !== undefined) {
+ opts.startingSlide = parseInt(opts.startingSlide,10);
+ if (opts.startingSlide >= els.length || opts.startSlide < 0)
+ opts.startingSlide = 0; // catch bogus input
+ else
+ startingSlideSpecified = true;
+ }
+ else if (opts.backwards)
+ opts.startingSlide = els.length - 1;
+ else
+ opts.startingSlide = 0;
+
+ // if random, mix up the slide array
+ if (opts.random) {
+ opts.randomMap = [];
+ for (var i = 0; i < els.length; i++)
+ opts.randomMap.push(i);
+ opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
+ if (startingSlideSpecified) {
+ // try to find the specified starting slide and if found set start slide index in the map accordingly
+ for ( var cnt = 0; cnt < els.length; cnt++ ) {
+ if ( opts.startingSlide == opts.randomMap[cnt] ) {
+ opts.randomIndex = cnt;
+ }
+ }
+ }
+ else {
+ opts.randomIndex = 1;
+ opts.startingSlide = opts.randomMap[1];
+ }
+ }
+ else if (opts.startingSlide >= els.length)
+ opts.startingSlide = 0; // catch bogus input
+ opts.currSlide = opts.startingSlide || 0;
+ var first = opts.startingSlide;
+
+ // set position and zIndex on all the slides
+ $slides.css({position: 'absolute', top:0, left:0}).hide().each(function(i) {
+ var z;
+ if (opts.backwards)
+ z = first ? i <= first ? els.length + (i-first) : first-i : els.length-i;
+ else
+ z = first ? i >= first ? els.length - (i-first) : first-i : els.length-i;
+ $(this).css('z-index', z);
+ });
+
+ // make sure first slide is visible
+ $(els[first]).css('opacity',1).show(); // opacity bit needed to handle restart use case
+ removeFilter(els[first], opts);
+
+ // stretch slides
+ if (opts.fit) {
+ if (!opts.aspect) {
+ if (opts.width)
+ $slides.width(opts.width);
+ if (opts.height && opts.height != 'auto')
+ $slides.height(opts.height);
+ } else {
+ $slides.each(function(){
+ var $slide = $(this);
+ var ratio = (opts.aspect === true) ? $slide.width()/$slide.height() : opts.aspect;
+ if( opts.width && $slide.width() != opts.width ) {
+ $slide.width( opts.width );
+ $slide.height( opts.width / ratio );
+ }
+
+ if( opts.height && $slide.height() < opts.height ) {
+ $slide.height( opts.height );
+ $slide.width( opts.height * ratio );
+ }
+ });
+ }
+ }
+
+ if (opts.center && ((!opts.fit) || opts.aspect)) {
+ $slides.each(function(){
+ var $slide = $(this);
+ $slide.css({
+ "margin-left": opts.width ?
+ ((opts.width - $slide.width()) / 2) + "px" :
+ 0,
+ "margin-top": opts.height ?
+ ((opts.height - $slide.height()) / 2) + "px" :
+ 0
+ });
+ });
+ }
+
+ if (opts.center && !opts.fit && !opts.slideResize) {
+ $slides.each(function(){
+ var $slide = $(this);
+ $slide.css({
+ "margin-left": opts.width ? ((opts.width - $slide.width()) / 2) + "px" : 0,
+ "margin-top": opts.height ? ((opts.height - $slide.height()) / 2) + "px" : 0
+ });
+ });
+ }
+
+ // stretch container
+ var reshape = (opts.containerResize || opts.containerResizeHeight) && $cont.innerHeight() < 1;
+ if (reshape) { // do this only if container has no size http://tinyurl.com/da2oa9
+ var maxw = 0, maxh = 0;
+ for(var j=0; j < els.length; j++) {
+ var $e = $(els[j]), e = $e[0], w = $e.outerWidth(), h = $e.outerHeight();
+ if (!w) w = e.offsetWidth || e.width || $e.attr('width');
+ if (!h) h = e.offsetHeight || e.height || $e.attr('height');
+ maxw = w > maxw ? w : maxw;
+ maxh = h > maxh ? h : maxh;
+ }
+ if (opts.containerResize && maxw > 0 && maxh > 0)
+ $cont.css({width:maxw+'px',height:maxh+'px'});
+ if (opts.containerResizeHeight && maxh > 0)
+ $cont.css({height:maxh+'px'});
+ }
+
+ var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
+ if (opts.pause)
+ $cont.bind('mouseenter.cycle', function(){
+ pauseFlag = true;
+ this.cyclePause++;
+ triggerPause(cont, true);
+ }).bind('mouseleave.cycle', function(){
+ if (pauseFlag)
+ this.cyclePause--;
+ triggerPause(cont, true);
+ });
+
+ if (supportMultiTransitions(opts) === false)
+ return false;
+
+ // apparently a lot of people use image slideshows without height/width attributes on the images.
+ // Cycle 2.50+ requires the sizing info for every slide; this block tries to deal with that.
+ var requeue = false;
+ options.requeueAttempts = options.requeueAttempts || 0;
+ $slides.each(function() {
+ // try to get height/width of each slide
+ var $el = $(this);
+ this.cycleH = (opts.fit && opts.height) ? opts.height : ($el.height() || this.offsetHeight || this.height || $el.attr('height') || 0);
+ this.cycleW = (opts.fit && opts.width) ? opts.width : ($el.width() || this.offsetWidth || this.width || $el.attr('width') || 0);
+
+ if ( $el.is('img') ) {
+ var loading = (this.cycleH === 0 && this.cycleW === 0 && !this.complete);
+ // don't requeue for images that are still loading but have a valid size
+ if (loading) {
+ if (o.s && opts.requeueOnImageNotLoaded && ++options.requeueAttempts < 100) { // track retry count so we don't loop forever
+ log(options.requeueAttempts,' - img slide not loaded, requeuing slideshow: ', this.src, this.cycleW, this.cycleH);
+ setTimeout(function() {$(o.s,o.c).cycle(options);}, opts.requeueTimeout);
+ requeue = true;
+ return false; // break each loop
+ }
+ else {
+ log('could not determine size of image: '+this.src, this.cycleW, this.cycleH);
+ }
+ }
+ }
+ return true;
+ });
+
+ if (requeue)
+ return false;
+
+ opts.cssBefore = opts.cssBefore || {};
+ opts.cssAfter = opts.cssAfter || {};
+ opts.cssFirst = opts.cssFirst || {};
+ opts.animIn = opts.animIn || {};
+ opts.animOut = opts.animOut || {};
+
+ $slides.not(':eq('+first+')').css(opts.cssBefore);
+ $($slides[first]).css(opts.cssFirst);
+
+ if (opts.timeout) {
+ opts.timeout = parseInt(opts.timeout,10);
+ // ensure that timeout and speed settings are sane
+ if (opts.speed.constructor == String)
+ opts.speed = $.fx.speeds[opts.speed] || parseInt(opts.speed,10);
+ if (!opts.sync)
+ opts.speed = opts.speed / 2;
+
+ var buffer = opts.fx == 'none' ? 0 : opts.fx == 'shuffle' ? 500 : 250;
+ while((opts.timeout - opts.speed) < buffer) // sanitize timeout
+ opts.timeout += opts.speed;
+ }
+ if (opts.easing)
+ opts.easeIn = opts.easeOut = opts.easing;
+ if (!opts.speedIn)
+ opts.speedIn = opts.speed;
+ if (!opts.speedOut)
+ opts.speedOut = opts.speed;
+
+ opts.slideCount = els.length;
+ opts.currSlide = opts.lastSlide = first;
+ if (opts.random) {
+ if (++opts.randomIndex == els.length)
+ opts.randomIndex = 0;
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
+ }
+ else if (opts.backwards)
+ opts.nextSlide = opts.startingSlide === 0 ? (els.length-1) : opts.startingSlide-1;
+ else
+ opts.nextSlide = opts.startingSlide >= (els.length-1) ? 0 : opts.startingSlide+1;
+
+ // run transition init fn
+ if (!opts.multiFx) {
+ var init = $.fn.cycle.transitions[opts.fx];
+ if ($.isFunction(init))
+ init($cont, $slides, opts);
+ else if (opts.fx != 'custom' && !opts.multiFx) {
+ log('unknown transition: ' + opts.fx,'; slideshow terminating');
+ return false;
+ }
+ }
+
+ // fire artificial events
+ var e0 = $slides[first];
+ if (!opts.skipInitializationCallbacks) {
+ if (opts.before.length)
+ opts.before[0].apply(e0, [e0, e0, opts, true]);
+ if (opts.after.length)
+ opts.after[0].apply(e0, [e0, e0, opts, true]);
+ }
+ if (opts.next)
+ $(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});
+ if (opts.prev)
+ $(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});
+ if (opts.pager || opts.pagerAnchorBuilder)
+ buildPager(els,opts);
+
+ exposeAddSlide(opts, els);
+
+ return opts;
+}
+
+// save off original opts so we can restore after clearing state
+function saveOriginalOpts(opts) {
+ opts.original = { before: [], after: [] };
+ opts.original.cssBefore = $.extend({}, opts.cssBefore);
+ opts.original.cssAfter = $.extend({}, opts.cssAfter);
+ opts.original.animIn = $.extend({}, opts.animIn);
+ opts.original.animOut = $.extend({}, opts.animOut);
+ $.each(opts.before, function() { opts.original.before.push(this); });
+ $.each(opts.after, function() { opts.original.after.push(this); });
+}
+
+function supportMultiTransitions(opts) {
+ var i, tx, txs = $.fn.cycle.transitions;
+ // look for multiple effects
+ if (opts.fx.indexOf(',') > 0) {
+ opts.multiFx = true;
+ opts.fxs = opts.fx.replace(/\s*/g,'').split(',');
+ // discard any bogus effect names
+ for (i=0; i < opts.fxs.length; i++) {
+ var fx = opts.fxs[i];
+ tx = txs[fx];
+ if (!tx || !txs.hasOwnProperty(fx) || !$.isFunction(tx)) {
+ log('discarding unknown transition: ',fx);
+ opts.fxs.splice(i,1);
+ i--;
+ }
+ }
+ // if we have an empty list then we threw everything away!
+ if (!opts.fxs.length) {
+ log('No valid transitions named; slideshow terminating.');
+ return false;
+ }
+ }
+ else if (opts.fx == 'all') { // auto-gen the list of transitions
+ opts.multiFx = true;
+ opts.fxs = [];
+ for (var p in txs) {
+ if (txs.hasOwnProperty(p)) {
+ tx = txs[p];
+ if (txs.hasOwnProperty(p) && $.isFunction(tx))
+ opts.fxs.push(p);
+ }
+ }
+ }
+ if (opts.multiFx && opts.randomizeEffects) {
+ // munge the fxs array to make effect selection random
+ var r1 = Math.floor(Math.random() * 20) + 30;
+ for (i = 0; i < r1; i++) {
+ var r2 = Math.floor(Math.random() * opts.fxs.length);
+ opts.fxs.push(opts.fxs.splice(r2,1)[0]);
+ }
+ debug('randomized fx sequence: ',opts.fxs);
+ }
+ return true;
+}
+
+// provide a mechanism for adding slides after the slideshow has started
+function exposeAddSlide(opts, els) {
+ opts.addSlide = function(newSlide, prepend) {
+ var $s = $(newSlide), s = $s[0];
+ if (!opts.autostopCount)
+ opts.countdown++;
+ els[prepend?'unshift':'push'](s);
+ if (opts.els)
+ opts.els[prepend?'unshift':'push'](s); // shuffle needs this
+ opts.slideCount = els.length;
+
+ // add the slide to the random map and resort
+ if (opts.random) {
+ opts.randomMap.push(opts.slideCount-1);
+ opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
+ }
+
+ $s.css('position','absolute');
+ $s[prepend?'prependTo':'appendTo'](opts.$cont);
+
+ if (prepend) {
+ opts.currSlide++;
+ opts.nextSlide++;
+ }
+
+ if (!$.support.opacity && opts.cleartype && !opts.cleartypeNoBg)
+ clearTypeFix($s);
+
+ if (opts.fit && opts.width)
+ $s.width(opts.width);
+ if (opts.fit && opts.height && opts.height != 'auto')
+ $s.height(opts.height);
+ s.cycleH = (opts.fit && opts.height) ? opts.height : $s.height();
+ s.cycleW = (opts.fit && opts.width) ? opts.width : $s.width();
+
+ $s.css(opts.cssBefore);
+
+ if (opts.pager || opts.pagerAnchorBuilder)
+ $.fn.cycle.createPagerAnchor(els.length-1, s, $(opts.pager), els, opts);
+
+ if ($.isFunction(opts.onAddSlide))
+ opts.onAddSlide($s);
+ else
+ $s.hide(); // default behavior
+ };
+}
+
+// reset internal state; we do this on every pass in order to support multiple effects
+$.fn.cycle.resetState = function(opts, fx) {
+ fx = fx || opts.fx;
+ opts.before = []; opts.after = [];
+ opts.cssBefore = $.extend({}, opts.original.cssBefore);
+ opts.cssAfter = $.extend({}, opts.original.cssAfter);
+ opts.animIn = $.extend({}, opts.original.animIn);
+ opts.animOut = $.extend({}, opts.original.animOut);
+ opts.fxFn = null;
+ $.each(opts.original.before, function() { opts.before.push(this); });
+ $.each(opts.original.after, function() { opts.after.push(this); });
+
+ // re-init
+ var init = $.fn.cycle.transitions[fx];
+ if ($.isFunction(init))
+ init(opts.$cont, $(opts.elements), opts);
+};
+
+// this is the main engine fn, it handles the timeouts, callbacks and slide index mgmt
+function go(els, opts, manual, fwd) {
+ var p = opts.$cont[0], curr = els[opts.currSlide], next = els[opts.nextSlide];
+
+ // opts.busy is true if we're in the middle of an animation
+ if (manual && opts.busy && opts.manualTrump) {
+ // let manual transitions requests trump active ones
+ debug('manualTrump in go(), stopping active transition');
+ $(els).stop(true,true);
+ opts.busy = 0;
+ clearTimeout(p.cycleTimeout);
+ }
+
+ // don't begin another timeout-based transition if there is one active
+ if (opts.busy) {
+ debug('transition active, ignoring new tx request');
+ return;
+ }
+
+
+ // stop cycling if we have an outstanding stop request
+ if (p.cycleStop != opts.stopCount || p.cycleTimeout === 0 && !manual)
+ return;
+
+ // check to see if we should stop cycling based on autostop options
+ if (!manual && !p.cyclePause && !opts.bounce &&
+ ((opts.autostop && (--opts.countdown <= 0)) ||
+ (opts.nowrap && !opts.random && opts.nextSlide < opts.currSlide))) {
+ if (opts.end)
+ opts.end(opts);
+ return;
+ }
+
+ // if slideshow is paused, only transition on a manual trigger
+ var changed = false;
+ if ((manual || !p.cyclePause) && (opts.nextSlide != opts.currSlide)) {
+ changed = true;
+ var fx = opts.fx;
+ // keep trying to get the slide size if we don't have it yet
+ curr.cycleH = curr.cycleH || $(curr).height();
+ curr.cycleW = curr.cycleW || $(curr).width();
+ next.cycleH = next.cycleH || $(next).height();
+ next.cycleW = next.cycleW || $(next).width();
+
+ // support multiple transition types
+ if (opts.multiFx) {
+ if (fwd && (opts.lastFx === undefined || ++opts.lastFx >= opts.fxs.length))
+ opts.lastFx = 0;
+ else if (!fwd && (opts.lastFx === undefined || --opts.lastFx < 0))
+ opts.lastFx = opts.fxs.length - 1;
+ fx = opts.fxs[opts.lastFx];
+ }
+
+ // one-time fx overrides apply to: $('div').cycle(3,'zoom');
+ if (opts.oneTimeFx) {
+ fx = opts.oneTimeFx;
+ opts.oneTimeFx = null;
+ }
+
+ $.fn.cycle.resetState(opts, fx);
+
+ // run the before callbacks
+ if (opts.before.length)
+ $.each(opts.before, function(i,o) {
+ if (p.cycleStop != opts.stopCount) return;
+ o.apply(next, [curr, next, opts, fwd]);
+ });
+
+ // stage the after callacks
+ var after = function() {
+ opts.busy = 0;
+ $.each(opts.after, function(i,o) {
+ if (p.cycleStop != opts.stopCount) return;
+ o.apply(next, [curr, next, opts, fwd]);
+ });
+ if (!p.cycleStop) {
+ // queue next transition
+ queueNext();
+ }
+ };
+
+ debug('tx firing('+fx+'); currSlide: ' + opts.currSlide + '; nextSlide: ' + opts.nextSlide);
+
+ // get ready to perform the transition
+ opts.busy = 1;
+ if (opts.fxFn) // fx function provided?
+ opts.fxFn(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
+ else if ($.isFunction($.fn.cycle[opts.fx])) // fx plugin ?
+ $.fn.cycle[opts.fx](curr, next, opts, after, fwd, manual && opts.fastOnEvent);
+ else
+ $.fn.cycle.custom(curr, next, opts, after, fwd, manual && opts.fastOnEvent);
+ }
+ else {
+ queueNext();
+ }
+
+ if (changed || opts.nextSlide == opts.currSlide) {
+ // calculate the next slide
+ var roll;
+ opts.lastSlide = opts.currSlide;
+ if (opts.random) {
+ opts.currSlide = opts.nextSlide;
+ if (++opts.randomIndex == els.length) {
+ opts.randomIndex = 0;
+ opts.randomMap.sort(function(a,b) {return Math.random() - 0.5;});
+ }
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
+ if (opts.nextSlide == opts.currSlide)
+ opts.nextSlide = (opts.currSlide == opts.slideCount - 1) ? 0 : opts.currSlide + 1;
+ }
+ else if (opts.backwards) {
+ roll = (opts.nextSlide - 1) < 0;
+ if (roll && opts.bounce) {
+ opts.backwards = !opts.backwards;
+ opts.nextSlide = 1;
+ opts.currSlide = 0;
+ }
+ else {
+ opts.nextSlide = roll ? (els.length-1) : opts.nextSlide-1;
+ opts.currSlide = roll ? 0 : opts.nextSlide+1;
+ }
+ }
+ else { // sequence
+ roll = (opts.nextSlide + 1) == els.length;
+ if (roll && opts.bounce) {
+ opts.backwards = !opts.backwards;
+ opts.nextSlide = els.length-2;
+ opts.currSlide = els.length-1;
+ }
+ else {
+ opts.nextSlide = roll ? 0 : opts.nextSlide+1;
+ opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
+ }
+ }
+ }
+ if (changed && opts.pager)
+ opts.updateActivePagerLink(opts.pager, opts.currSlide, opts.activePagerClass);
+
+ function queueNext() {
+ // stage the next transition
+ var ms = 0, timeout = opts.timeout;
+ if (opts.timeout && !opts.continuous) {
+ ms = getTimeout(els[opts.currSlide], els[opts.nextSlide], opts, fwd);
+ if (opts.fx == 'shuffle')
+ ms -= opts.speedOut;
+ }
+ else if (opts.continuous && p.cyclePause) // continuous shows work off an after callback, not this timer logic
+ ms = 10;
+ if (ms > 0)
+ p.cycleTimeout = setTimeout(function(){ go(els, opts, 0, !opts.backwards); }, ms);
+ }
+}
+
+// invoked after transition
+$.fn.cycle.updateActivePagerLink = function(pager, currSlide, clsName) {
+ $(pager).each(function() {
+ $(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);
+ });
+};
+
+// calculate timeout value for current transition
+function getTimeout(curr, next, opts, fwd) {
+ if (opts.timeoutFn) {
+ // call user provided calc fn
+ var t = opts.timeoutFn.call(curr,curr,next,opts,fwd);
+ while (opts.fx != 'none' && (t - opts.speed) < 250) // sanitize timeout
+ t += opts.speed;
+ debug('calculated timeout: ' + t + '; speed: ' + opts.speed);
+ if (t !== false)
+ return t;
+ }
+ return opts.timeout;
+}
+
+// expose next/prev function, caller must pass in state
+$.fn.cycle.next = function(opts) { advance(opts,1); };
+$.fn.cycle.prev = function(opts) { advance(opts,0);};
+
+// advance slide forward or back
+function advance(opts, moveForward) {
+ var val = moveForward ? 1 : -1;
+ var els = opts.elements;
+ var p = opts.$cont[0], timeout = p.cycleTimeout;
+ if (timeout) {
+ clearTimeout(timeout);
+ p.cycleTimeout = 0;
+ }
+ if (opts.random && val < 0) {
+ // move back to the previously display slide
+ opts.randomIndex--;
+ if (--opts.randomIndex == -2)
+ opts.randomIndex = els.length-2;
+ else if (opts.randomIndex == -1)
+ opts.randomIndex = els.length-1;
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
+ }
+ else if (opts.random) {
+ opts.nextSlide = opts.randomMap[opts.randomIndex];
+ }
+ else {
+ opts.nextSlide = opts.currSlide + val;
+ if (opts.nextSlide < 0) {
+ if (opts.nowrap) return false;
+ opts.nextSlide = els.length - 1;
+ }
+ else if (opts.nextSlide >= els.length) {
+ if (opts.nowrap) return false;
+ opts.nextSlide = 0;
+ }
+ }
+
+ var cb = opts.onPrevNextEvent || opts.prevNextClick; // prevNextClick is deprecated
+ if ($.isFunction(cb))
+ cb(val > 0, opts.nextSlide, els[opts.nextSlide]);
+ go(els, opts, 1, moveForward);
+ return false;
+}
+
+function buildPager(els, opts) {
+ var $p = $(opts.pager);
+ $.each(els, function(i,o) {
+ $.fn.cycle.createPagerAnchor(i,o,$p,els,opts);
+ });
+ opts.updateActivePagerLink(opts.pager, opts.startingSlide, opts.activePagerClass);
+}
+
+$.fn.cycle.createPagerAnchor = function(i, el, $p, els, opts) {
+ var a;
+ if ($.isFunction(opts.pagerAnchorBuilder)) {
+ a = opts.pagerAnchorBuilder(i,el);
+ debug('pagerAnchorBuilder('+i+', el) returned: ' + a);
+ }
+ else
+ a = ''+(i+1)+'';
+
+ if (!a)
+ return;
+ var $a = $(a);
+ // don't reparent if anchor is in the dom
+ if ($a.parents('body').length === 0) {
+ var arr = [];
+ if ($p.length > 1) {
+ $p.each(function() {
+ var $clone = $a.clone(true);
+ $(this).append($clone);
+ arr.push($clone[0]);
+ });
+ $a = $(arr);
+ }
+ else {
+ $a.appendTo($p);
+ }
+ }
+
+ opts.pagerAnchors = opts.pagerAnchors || [];
+ opts.pagerAnchors.push($a);
+
+ var pagerFn = function(e) {
+ e.preventDefault();
+ opts.nextSlide = i;
+ var p = opts.$cont[0], timeout = p.cycleTimeout;
+ if (timeout) {
+ clearTimeout(timeout);
+ p.cycleTimeout = 0;
+ }
+ var cb = opts.onPagerEvent || opts.pagerClick; // pagerClick is deprecated
+ if ($.isFunction(cb))
+ cb(opts.nextSlide, els[opts.nextSlide]);
+ go(els,opts,1,opts.currSlide < i); // trigger the trans
+// return false; // <== allow bubble
+ };
+
+ if ( /mouseenter|mouseover/i.test(opts.pagerEvent) ) {
+ $a.hover(pagerFn, function(){/* no-op */} );
+ }
+ else {
+ $a.bind(opts.pagerEvent, pagerFn);
+ }
+
+ if ( ! /^click/.test(opts.pagerEvent) && !opts.allowPagerClickBubble)
+ $a.bind('click.cycle', function(){return false;}); // suppress click
+
+ var cont = opts.$cont[0];
+ var pauseFlag = false; // https://github.com/malsup/cycle/issues/44
+ if (opts.pauseOnPagerHover) {
+ $a.hover(
+ function() {
+ pauseFlag = true;
+ cont.cyclePause++;
+ triggerPause(cont,true,true);
+ }, function() {
+ if (pauseFlag)
+ cont.cyclePause--;
+ triggerPause(cont,true,true);
+ }
+ );
+ }
+};
+
+// helper fn to calculate the number of slides between the current and the next
+$.fn.cycle.hopsFromLast = function(opts, fwd) {
+ var hops, l = opts.lastSlide, c = opts.currSlide;
+ if (fwd)
+ hops = c > l ? c - l : opts.slideCount - l;
+ else
+ hops = c < l ? l - c : l + opts.slideCount - c;
+ return hops;
+};
+
+// fix clearType problems in ie6 by setting an explicit bg color
+// (otherwise text slides look horrible during a fade transition)
+function clearTypeFix($slides) {
+ debug('applying clearType background-color hack');
+ function hex(s) {
+ s = parseInt(s,10).toString(16);
+ return s.length < 2 ? '0'+s : s;
+ }
+ function getBg(e) {
+ for ( ; e && e.nodeName.toLowerCase() != 'html'; e = e.parentNode) {
+ var v = $.css(e,'background-color');
+ if (v && v.indexOf('rgb') >= 0 ) {
+ var rgb = v.match(/\d+/g);
+ return '#'+ hex(rgb[0]) + hex(rgb[1]) + hex(rgb[2]);
+ }
+ if (v && v != 'transparent')
+ return v;
+ }
+ return '#ffffff';
+ }
+ $slides.each(function() { $(this).css('background-color', getBg(this)); });
+}
+
+// reset common props before the next transition
+$.fn.cycle.commonReset = function(curr,next,opts,w,h,rev) {
+ $(opts.elements).not(curr).hide();
+ if (typeof opts.cssBefore.opacity == 'undefined')
+ opts.cssBefore.opacity = 1;
+ opts.cssBefore.display = 'block';
+ if (opts.slideResize && w !== false && next.cycleW > 0)
+ opts.cssBefore.width = next.cycleW;
+ if (opts.slideResize && h !== false && next.cycleH > 0)
+ opts.cssBefore.height = next.cycleH;
+ opts.cssAfter = opts.cssAfter || {};
+ opts.cssAfter.display = 'none';
+ $(curr).css('zIndex',opts.slideCount + (rev === true ? 1 : 0));
+ $(next).css('zIndex',opts.slideCount + (rev === true ? 0 : 1));
+};
+
+// the actual fn for effecting a transition
+$.fn.cycle.custom = function(curr, next, opts, cb, fwd, speedOverride) {
+ var $l = $(curr), $n = $(next);
+ var speedIn = opts.speedIn, speedOut = opts.speedOut, easeIn = opts.easeIn, easeOut = opts.easeOut, animInDelay = opts.animInDelay, animOutDelay = opts.animOutDelay;
+ $n.css(opts.cssBefore);
+ if (speedOverride) {
+ if (typeof speedOverride == 'number')
+ speedIn = speedOut = speedOverride;
+ else
+ speedIn = speedOut = 1;
+ easeIn = easeOut = null;
+ }
+ var fn = function() {
+ $n.delay(animInDelay).animate(opts.animIn, speedIn, easeIn, function() {
+ cb();
+ });
+ };
+ $l.delay(animOutDelay).animate(opts.animOut, speedOut, easeOut, function() {
+ $l.css(opts.cssAfter);
+ if (!opts.sync)
+ fn();
+ });
+ if (opts.sync) fn();
+};
+
+// transition definitions - only fade is defined here, transition pack defines the rest
+$.fn.cycle.transitions = {
+ fade: function($cont, $slides, opts) {
+ $slides.not(':eq('+opts.currSlide+')').css('opacity',0);
+ opts.before.push(function(curr,next,opts) {
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.cssBefore.opacity = 0;
+ });
+ opts.animIn = { opacity: 1 };
+ opts.animOut = { opacity: 0 };
+ opts.cssBefore = { top: 0, left: 0 };
+ }
+};
+
+$.fn.cycle.ver = function() { return ver; };
+
+// override these globally if you like (they are all optional)
+$.fn.cycle.defaults = {
+ activePagerClass: 'activeSlide', // class name used for the active pager link
+ after: null, // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
+ allowPagerClickBubble: false, // allows or prevents click event on pager anchors from bubbling
+ animIn: null, // properties that define how the slide animates in
+ animInDelay: 0, // allows delay before next slide transitions in
+ animOut: null, // properties that define how the slide animates out
+ animOutDelay: 0, // allows delay before current slide transitions out
+ aspect: false, // preserve aspect ratio during fit resizing, cropping if necessary (must be used with fit option)
+ autostop: 0, // true to end slideshow after X transitions (where X == slide count)
+ autostopCount: 0, // number of transitions (optionally used with autostop to define X)
+ backwards: false, // true to start slideshow at last slide and move backwards through the stack
+ before: null, // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
+ center: null, // set to true to have cycle add top/left margin to each slide (use with width and height options)
+ cleartype: !$.support.opacity, // true if clearType corrections should be applied (for IE)
+ cleartypeNoBg: false, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides)
+ containerResize: 1, // resize container to fit largest slide
+ containerResizeHeight: 0, // resize containers height to fit the largest slide but leave the width dynamic
+ continuous: 0, // true to start next transition immediately after current one completes
+ cssAfter: null, // properties that defined the state of the slide after transitioning out
+ cssBefore: null, // properties that define the initial state of the slide before transitioning in
+ delay: 0, // additional delay (in ms) for first transition (hint: can be negative)
+ easeIn: null, // easing for "in" transition
+ easeOut: null, // easing for "out" transition
+ easing: null, // easing method for both in and out transitions
+ end: null, // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
+ fastOnEvent: 0, // force fast transitions when triggered manually (via pager or prev/next); value == time in ms
+ fit: 0, // force slides to fit container
+ fx: 'fade', // name of transition effect (or comma separated names, ex: 'fade,scrollUp,shuffle')
+ fxFn: null, // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
+ height: 'auto', // container height (if the 'fit' option is true, the slides will be set to this height as well)
+ manualTrump: true, // causes manual transition to stop an active transition instead of being ignored
+ metaAttr: 'cycle', // data- attribute that holds the option data for the slideshow
+ next: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for next slide
+ nowrap: 0, // true to prevent slideshow from wrapping
+ onPagerEvent: null, // callback fn for pager events: function(zeroBasedSlideIndex, slideElement)
+ onPrevNextEvent: null, // callback fn for prev/next events: function(isNext, zeroBasedSlideIndex, slideElement)
+ pager: null, // element, jQuery object, or jQuery selector string for the element to use as pager container
+ pagerAnchorBuilder: null, // callback fn for building anchor links: function(index, DOMelement)
+ pagerEvent: 'click.cycle', // name of event which drives the pager navigation
+ pause: 0, // true to enable "pause on hover"
+ pauseOnPagerHover: 0, // true to pause when hovering over pager link
+ prev: null, // element, jQuery object, or jQuery selector string for the element to use as event trigger for previous slide
+ prevNextEvent: 'click.cycle',// event which drives the manual transition to the previous or next slide
+ random: 0, // true for random, false for sequence (not applicable to shuffle fx)
+ randomizeEffects: 1, // valid when multiple effects are used; true to make the effect sequence random
+ requeueOnImageNotLoaded: true, // requeue the slideshow if any image slides are not yet loaded
+ requeueTimeout: 250, // ms delay for requeue
+ rev: 0, // causes animations to transition in reverse (for effects that support it such as scrollHorz/scrollVert/shuffle)
+ shuffle: null, // coords for shuffle animation, ex: { top:15, left: 200 }
+ skipInitializationCallbacks: false, // set to true to disable the first before/after callback that occurs prior to any transition
+ slideExpr: null, // expression for selecting slides (if something other than all children is required)
+ slideResize: 1, // force slide width/height to fixed size before every transition
+ speed: 1000, // speed of the transition (any valid fx speed value)
+ speedIn: null, // speed of the 'in' transition
+ speedOut: null, // speed of the 'out' transition
+ startingSlide: undefined,// zero-based index of the first slide to be displayed
+ sync: 1, // true if in/out transitions should occur simultaneously
+ timeout: 4000, // milliseconds between slide transitions (0 to disable auto advance)
+ timeoutFn: null, // callback for determining per-slide timeout value: function(currSlideElement, nextSlideElement, options, forwardFlag)
+ updateActivePagerLink: null,// callback fn invoked to update the active pager link (adds/removes activePagerClass style)
+ width: null // container width (if the 'fit' option is true, the slides will be set to this width as well)
+};
+
+})(jQuery);
+
+
+/*!
+ * jQuery Cycle Plugin Transition Definitions
+ * This script is a plugin for the jQuery Cycle Plugin
+ * Examples and documentation at: http://malsup.com/jquery/cycle/
+ * Copyright (c) 2007-2010 M. Alsup
+ * Version: 2.73
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ */
+(function($) {
+"use strict";
+
+//
+// These functions define slide initialization and properties for the named
+// transitions. To save file size feel free to remove any of these that you
+// don't need.
+//
+$.fn.cycle.transitions.none = function($cont, $slides, opts) {
+ opts.fxFn = function(curr,next,opts,after){
+ $(next).show();
+ $(curr).hide();
+ after();
+ };
+};
+
+// not a cross-fade, fadeout only fades out the top slide
+$.fn.cycle.transitions.fadeout = function($cont, $slides, opts) {
+ $slides.not(':eq('+opts.currSlide+')').css({ display: 'block', 'opacity': 1 });
+ opts.before.push(function(curr,next,opts,w,h,rev) {
+ $(curr).css('zIndex',opts.slideCount + (rev !== true ? 1 : 0));
+ $(next).css('zIndex',opts.slideCount + (rev !== true ? 0 : 1));
+ });
+ opts.animIn.opacity = 1;
+ opts.animOut.opacity = 0;
+ opts.cssBefore.opacity = 1;
+ opts.cssBefore.display = 'block';
+ opts.cssAfter.zIndex = 0;
+};
+
+// scrollUp/Down/Left/Right
+$.fn.cycle.transitions.scrollUp = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden');
+ opts.before.push($.fn.cycle.commonReset);
+ var h = $cont.height();
+ opts.cssBefore.top = h;
+ opts.cssBefore.left = 0;
+ opts.cssFirst.top = 0;
+ opts.animIn.top = 0;
+ opts.animOut.top = -h;
+};
+$.fn.cycle.transitions.scrollDown = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden');
+ opts.before.push($.fn.cycle.commonReset);
+ var h = $cont.height();
+ opts.cssFirst.top = 0;
+ opts.cssBefore.top = -h;
+ opts.cssBefore.left = 0;
+ opts.animIn.top = 0;
+ opts.animOut.top = h;
+};
+$.fn.cycle.transitions.scrollLeft = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden');
+ opts.before.push($.fn.cycle.commonReset);
+ var w = $cont.width();
+ opts.cssFirst.left = 0;
+ opts.cssBefore.left = w;
+ opts.cssBefore.top = 0;
+ opts.animIn.left = 0;
+ opts.animOut.left = 0-w;
+};
+$.fn.cycle.transitions.scrollRight = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden');
+ opts.before.push($.fn.cycle.commonReset);
+ var w = $cont.width();
+ opts.cssFirst.left = 0;
+ opts.cssBefore.left = -w;
+ opts.cssBefore.top = 0;
+ opts.animIn.left = 0;
+ opts.animOut.left = w;
+};
+$.fn.cycle.transitions.scrollHorz = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden').width();
+ opts.before.push(function(curr, next, opts, fwd) {
+ if (opts.rev)
+ fwd = !fwd;
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.cssBefore.left = fwd ? (next.cycleW-1) : (1-next.cycleW);
+ opts.animOut.left = fwd ? -curr.cycleW : curr.cycleW;
+ });
+ opts.cssFirst.left = 0;
+ opts.cssBefore.top = 0;
+ opts.animIn.left = 0;
+ opts.animOut.top = 0;
+};
+$.fn.cycle.transitions.scrollVert = function($cont, $slides, opts) {
+ $cont.css('overflow','hidden');
+ opts.before.push(function(curr, next, opts, fwd) {
+ if (opts.rev)
+ fwd = !fwd;
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.cssBefore.top = fwd ? (1-next.cycleH) : (next.cycleH-1);
+ opts.animOut.top = fwd ? curr.cycleH : -curr.cycleH;
+ });
+ opts.cssFirst.top = 0;
+ opts.cssBefore.left = 0;
+ opts.animIn.top = 0;
+ opts.animOut.left = 0;
+};
+
+// slideX/slideY
+$.fn.cycle.transitions.slideX = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $(opts.elements).not(curr).hide();
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
+ opts.animIn.width = next.cycleW;
+ });
+ opts.cssBefore.left = 0;
+ opts.cssBefore.top = 0;
+ opts.cssBefore.width = 0;
+ opts.animIn.width = 'show';
+ opts.animOut.width = 0;
+};
+$.fn.cycle.transitions.slideY = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $(opts.elements).not(curr).hide();
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
+ opts.animIn.height = next.cycleH;
+ });
+ opts.cssBefore.left = 0;
+ opts.cssBefore.top = 0;
+ opts.cssBefore.height = 0;
+ opts.animIn.height = 'show';
+ opts.animOut.height = 0;
+};
+
+// shuffle
+$.fn.cycle.transitions.shuffle = function($cont, $slides, opts) {
+ var i, w = $cont.css('overflow', 'visible').width();
+ $slides.css({left: 0, top: 0});
+ opts.before.push(function(curr,next,opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
+ });
+ // only adjust speed once!
+ if (!opts.speedAdjusted) {
+ opts.speed = opts.speed / 2; // shuffle has 2 transitions
+ opts.speedAdjusted = true;
+ }
+ opts.random = 0;
+ opts.shuffle = opts.shuffle || {left:-w, top:15};
+ opts.els = [];
+ for (i=0; i < $slides.length; i++)
+ opts.els.push($slides[i]);
+
+ for (i=0; i < opts.currSlide; i++)
+ opts.els.push(opts.els.shift());
+
+ // custom transition fn (hat tip to Benjamin Sterling for this bit of sweetness!)
+ opts.fxFn = function(curr, next, opts, cb, fwd) {
+ if (opts.rev)
+ fwd = !fwd;
+ var $el = fwd ? $(curr) : $(next);
+ $(next).css(opts.cssBefore);
+ var count = opts.slideCount;
+ $el.animate(opts.shuffle, opts.speedIn, opts.easeIn, function() {
+ var hops = $.fn.cycle.hopsFromLast(opts, fwd);
+ for (var k=0; k < hops; k++) {
+ if (fwd)
+ opts.els.push(opts.els.shift());
+ else
+ opts.els.unshift(opts.els.pop());
+ }
+ if (fwd) {
+ for (var i=0, len=opts.els.length; i < len; i++)
+ $(opts.els[i]).css('z-index', len-i+count);
+ }
+ else {
+ var z = $(curr).css('z-index');
+ $el.css('z-index', parseInt(z,10)+1+count);
+ }
+ $el.animate({left:0, top:0}, opts.speedOut, opts.easeOut, function() {
+ $(fwd ? this : curr).hide();
+ if (cb) cb();
+ });
+ });
+ };
+ $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
+};
+
+// turnUp/Down/Left/Right
+$.fn.cycle.transitions.turnUp = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
+ opts.cssBefore.top = next.cycleH;
+ opts.animIn.height = next.cycleH;
+ opts.animOut.width = next.cycleW;
+ });
+ opts.cssFirst.top = 0;
+ opts.cssBefore.left = 0;
+ opts.cssBefore.height = 0;
+ opts.animIn.top = 0;
+ opts.animOut.height = 0;
+};
+$.fn.cycle.transitions.turnDown = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
+ opts.animIn.height = next.cycleH;
+ opts.animOut.top = curr.cycleH;
+ });
+ opts.cssFirst.top = 0;
+ opts.cssBefore.left = 0;
+ opts.cssBefore.top = 0;
+ opts.cssBefore.height = 0;
+ opts.animOut.height = 0;
+};
+$.fn.cycle.transitions.turnLeft = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
+ opts.cssBefore.left = next.cycleW;
+ opts.animIn.width = next.cycleW;
+ });
+ opts.cssBefore.top = 0;
+ opts.cssBefore.width = 0;
+ opts.animIn.left = 0;
+ opts.animOut.width = 0;
+};
+$.fn.cycle.transitions.turnRight = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
+ opts.animIn.width = next.cycleW;
+ opts.animOut.left = curr.cycleW;
+ });
+ $.extend(opts.cssBefore, { top: 0, left: 0, width: 0 });
+ opts.animIn.left = 0;
+ opts.animOut.width = 0;
+};
+
+// zoom
+$.fn.cycle.transitions.zoom = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,false,true);
+ opts.cssBefore.top = next.cycleH/2;
+ opts.cssBefore.left = next.cycleW/2;
+ $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
+ $.extend(opts.animOut, { width: 0, height: 0, top: curr.cycleH/2, left: curr.cycleW/2 });
+ });
+ opts.cssFirst.top = 0;
+ opts.cssFirst.left = 0;
+ opts.cssBefore.width = 0;
+ opts.cssBefore.height = 0;
+};
+
+// fadeZoom
+$.fn.cycle.transitions.fadeZoom = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,false);
+ opts.cssBefore.left = next.cycleW/2;
+ opts.cssBefore.top = next.cycleH/2;
+ $.extend(opts.animIn, { top: 0, left: 0, width: next.cycleW, height: next.cycleH });
+ });
+ opts.cssBefore.width = 0;
+ opts.cssBefore.height = 0;
+ opts.animOut.opacity = 0;
+};
+
+// blindX
+$.fn.cycle.transitions.blindX = function($cont, $slides, opts) {
+ var w = $cont.css('overflow','hidden').width();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.animIn.width = next.cycleW;
+ opts.animOut.left = curr.cycleW;
+ });
+ opts.cssBefore.left = w;
+ opts.cssBefore.top = 0;
+ opts.animIn.left = 0;
+ opts.animOut.left = w;
+};
+// blindY
+$.fn.cycle.transitions.blindY = function($cont, $slides, opts) {
+ var h = $cont.css('overflow','hidden').height();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.animIn.height = next.cycleH;
+ opts.animOut.top = curr.cycleH;
+ });
+ opts.cssBefore.top = h;
+ opts.cssBefore.left = 0;
+ opts.animIn.top = 0;
+ opts.animOut.top = h;
+};
+// blindZ
+$.fn.cycle.transitions.blindZ = function($cont, $slides, opts) {
+ var h = $cont.css('overflow','hidden').height();
+ var w = $cont.width();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.animIn.height = next.cycleH;
+ opts.animOut.top = curr.cycleH;
+ });
+ opts.cssBefore.top = h;
+ opts.cssBefore.left = w;
+ opts.animIn.top = 0;
+ opts.animIn.left = 0;
+ opts.animOut.top = h;
+ opts.animOut.left = w;
+};
+
+// growX - grow horizontally from centered 0 width
+$.fn.cycle.transitions.growX = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,true);
+ opts.cssBefore.left = this.cycleW/2;
+ opts.animIn.left = 0;
+ opts.animIn.width = this.cycleW;
+ opts.animOut.left = 0;
+ });
+ opts.cssBefore.top = 0;
+ opts.cssBefore.width = 0;
+};
+// growY - grow vertically from centered 0 height
+$.fn.cycle.transitions.growY = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,false);
+ opts.cssBefore.top = this.cycleH/2;
+ opts.animIn.top = 0;
+ opts.animIn.height = this.cycleH;
+ opts.animOut.top = 0;
+ });
+ opts.cssBefore.height = 0;
+ opts.cssBefore.left = 0;
+};
+
+// curtainX - squeeze in both edges horizontally
+$.fn.cycle.transitions.curtainX = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,false,true,true);
+ opts.cssBefore.left = next.cycleW/2;
+ opts.animIn.left = 0;
+ opts.animIn.width = this.cycleW;
+ opts.animOut.left = curr.cycleW/2;
+ opts.animOut.width = 0;
+ });
+ opts.cssBefore.top = 0;
+ opts.cssBefore.width = 0;
+};
+// curtainY - squeeze in both edges vertically
+$.fn.cycle.transitions.curtainY = function($cont, $slides, opts) {
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,false,true);
+ opts.cssBefore.top = next.cycleH/2;
+ opts.animIn.top = 0;
+ opts.animIn.height = next.cycleH;
+ opts.animOut.top = curr.cycleH/2;
+ opts.animOut.height = 0;
+ });
+ opts.cssBefore.height = 0;
+ opts.cssBefore.left = 0;
+};
+
+// cover - curr slide covered by next slide
+$.fn.cycle.transitions.cover = function($cont, $slides, opts) {
+ var d = opts.direction || 'left';
+ var w = $cont.css('overflow','hidden').width();
+ var h = $cont.height();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts);
+ opts.cssAfter.display = '';
+ if (d == 'right')
+ opts.cssBefore.left = -w;
+ else if (d == 'up')
+ opts.cssBefore.top = h;
+ else if (d == 'down')
+ opts.cssBefore.top = -h;
+ else
+ opts.cssBefore.left = w;
+ });
+ opts.animIn.left = 0;
+ opts.animIn.top = 0;
+ opts.cssBefore.top = 0;
+ opts.cssBefore.left = 0;
+};
+
+// uncover - curr slide moves off next slide
+$.fn.cycle.transitions.uncover = function($cont, $slides, opts) {
+ var d = opts.direction || 'left';
+ var w = $cont.css('overflow','hidden').width();
+ var h = $cont.height();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
+ if (d == 'right')
+ opts.animOut.left = w;
+ else if (d == 'up')
+ opts.animOut.top = -h;
+ else if (d == 'down')
+ opts.animOut.top = h;
+ else
+ opts.animOut.left = -w;
+ });
+ opts.animIn.left = 0;
+ opts.animIn.top = 0;
+ opts.cssBefore.top = 0;
+ opts.cssBefore.left = 0;
+};
+
+// toss - move top slide and fade away
+$.fn.cycle.transitions.toss = function($cont, $slides, opts) {
+ var w = $cont.css('overflow','visible').width();
+ var h = $cont.height();
+ opts.before.push(function(curr, next, opts) {
+ $.fn.cycle.commonReset(curr,next,opts,true,true,true);
+ // provide default toss settings if animOut not provided
+ if (!opts.animOut.left && !opts.animOut.top)
+ $.extend(opts.animOut, { left: w*2, top: -h/2, opacity: 0 });
+ else
+ opts.animOut.opacity = 0;
+ });
+ opts.cssBefore.left = 0;
+ opts.cssBefore.top = 0;
+ opts.animIn.left = 0;
+};
+
+// wipe - clip animation
+$.fn.cycle.transitions.wipe = function($cont, $slides, opts) {
+ var w = $cont.css('overflow','hidden').width();
+ var h = $cont.height();
+ opts.cssBefore = opts.cssBefore || {};
+ var clip;
+ if (opts.clip) {
+ if (/l2r/.test(opts.clip))
+ clip = 'rect(0px 0px '+h+'px 0px)';
+ else if (/r2l/.test(opts.clip))
+ clip = 'rect(0px '+w+'px '+h+'px '+w+'px)';
+ else if (/t2b/.test(opts.clip))
+ clip = 'rect(0px '+w+'px 0px 0px)';
+ else if (/b2t/.test(opts.clip))
+ clip = 'rect('+h+'px '+w+'px '+h+'px 0px)';
+ else if (/zoom/.test(opts.clip)) {
+ var top = parseInt(h/2,10);
+ var left = parseInt(w/2,10);
+ clip = 'rect('+top+'px '+left+'px '+top+'px '+left+'px)';
+ }
+ }
+
+ opts.cssBefore.clip = opts.cssBefore.clip || clip || 'rect(0px 0px 0px 0px)';
+
+ var d = opts.cssBefore.clip.match(/(\d+)/g);
+ var t = parseInt(d[0],10), r = parseInt(d[1],10), b = parseInt(d[2],10), l = parseInt(d[3],10);
+
+ opts.before.push(function(curr, next, opts) {
+ if (curr == next) return;
+ var $curr = $(curr), $next = $(next);
+ $.fn.cycle.commonReset(curr,next,opts,true,true,false);
+ opts.cssAfter.display = 'block';
+
+ var step = 1, count = parseInt((opts.speedIn / 13),10) - 1;
+ (function f() {
+ var tt = t ? t - parseInt(step * (t/count),10) : 0;
+ var ll = l ? l - parseInt(step * (l/count),10) : 0;
+ var bb = b < h ? b + parseInt(step * ((h-b)/count || 1),10) : h;
+ var rr = r < w ? r + parseInt(step * ((w-r)/count || 1),10) : w;
+ $next.css({ clip: 'rect('+tt+'px '+rr+'px '+bb+'px '+ll+'px)' });
+ (step++ <= count) ? setTimeout(f, 13) : $curr.css('display', 'none');
+ })();
+ });
+ $.extend(opts.cssBefore, { display: 'block', opacity: 1, top: 0, left: 0 });
+ opts.animIn = { left: 0 };
+ opts.animOut = { left: 0 };
+};
+
+})(jQuery);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/libraries/jquery.cycle/jquery.cycle.lite.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/libraries/jquery.cycle/jquery.cycle.lite.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,235 @@
+/*!
+ * jQuery Cycle Lite Plugin
+ * http://malsup.com/jquery/cycle/lite/
+ * Copyright (c) 2008-2012 M. Alsup
+ * Version: 1.7 (20-FEB-2013)
+ * Dual licensed under the MIT and GPL licenses:
+ * http://www.opensource.org/licenses/mit-license.php
+ * http://www.gnu.org/licenses/gpl.html
+ * Requires: jQuery v1.3.2 or later
+ */
+;(function($) {
+"use strict";
+
+var ver = 'Lite-1.7';
+var msie = /MSIE/.test(navigator.userAgent);
+
+$.fn.cycle = function(options) {
+ return this.each(function() {
+ options = options || {};
+
+ if (this.cycleTimeout)
+ clearTimeout(this.cycleTimeout);
+
+ this.cycleTimeout = 0;
+ this.cyclePause = 0;
+
+ var $cont = $(this);
+ var $slides = options.slideExpr ? $(options.slideExpr, this) : $cont.children();
+ var els = $slides.get();
+ if (els.length < 2) {
+ if (window.console)
+ console.log('terminating; too few slides: ' + els.length);
+ return; // don't bother
+ }
+
+ // support metadata plugin (v1.0 and v2.0)
+ var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
+ var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
+ if (meta)
+ opts = $.extend(opts, meta);
+
+ opts.before = opts.before ? [opts.before] : [];
+ opts.after = opts.after ? [opts.after] : [];
+ opts.after.unshift(function(){ opts.busy=0; });
+
+ // allow shorthand overrides of width, height and timeout
+ var cls = this.className;
+ opts.width = parseInt((cls.match(/w:(\d+)/)||[])[1], 10) || opts.width;
+ opts.height = parseInt((cls.match(/h:(\d+)/)||[])[1], 10) || opts.height;
+ opts.timeout = parseInt((cls.match(/t:(\d+)/)||[])[1], 10) || opts.timeout;
+
+ if ($cont.css('position') == 'static')
+ $cont.css('position', 'relative');
+ if (opts.width)
+ $cont.width(opts.width);
+ if (opts.height && opts.height != 'auto')
+ $cont.height(opts.height);
+
+ var first = 0;
+ $slides.css({position: 'absolute', top:0}).each(function(i) {
+ $(this).css('z-index', els.length-i);
+ });
+
+ $(els[first]).css('opacity',1).show(); // opacity bit needed to handle reinit case
+ if (msie)
+ els[first].style.removeAttribute('filter');
+
+ if (opts.fit && opts.width)
+ $slides.width(opts.width);
+ if (opts.fit && opts.height && opts.height != 'auto')
+ $slides.height(opts.height);
+ if (opts.pause)
+ $cont.hover(function(){this.cyclePause=1;}, function(){this.cyclePause=0;});
+
+ var txFn = $.fn.cycle.transitions[opts.fx];
+ if (txFn)
+ txFn($cont, $slides, opts);
+
+ $slides.each(function() {
+ var $el = $(this);
+ this.cycleH = (opts.fit && opts.height) ? opts.height : $el.height();
+ this.cycleW = (opts.fit && opts.width) ? opts.width : $el.width();
+ });
+
+ if (opts.cssFirst)
+ $($slides[first]).css(opts.cssFirst);
+
+ if (opts.timeout) {
+ // ensure that timeout and speed settings are sane
+ if (opts.speed.constructor == String)
+ opts.speed = {slow: 600, fast: 200}[opts.speed] || 400;
+ if (!opts.sync)
+ opts.speed = opts.speed / 2;
+ while((opts.timeout - opts.speed) < 250)
+ opts.timeout += opts.speed;
+ }
+ opts.speedIn = opts.speed;
+ opts.speedOut = opts.speed;
+
+ opts.slideCount = els.length;
+ opts.currSlide = first;
+ opts.nextSlide = 1;
+
+ // fire artificial events
+ var e0 = $slides[first];
+ if (opts.before.length)
+ opts.before[0].apply(e0, [e0, e0, opts, true]);
+ if (opts.after.length > 1)
+ opts.after[1].apply(e0, [e0, e0, opts, true]);
+
+ if (opts.click && !opts.next)
+ opts.next = opts.click;
+ if (opts.next)
+ $(opts.next).unbind('click.cycle').bind('click.cycle', function(){return advance(els,opts,opts.rev?-1:1);});
+ if (opts.prev)
+ $(opts.prev).unbind('click.cycle').bind('click.cycle', function(){return advance(els,opts,opts.rev?1:-1);});
+
+ if (opts.timeout)
+ this.cycleTimeout = setTimeout(function() {
+ go(els,opts,0,!opts.rev);
+ }, opts.timeout + (opts.delay||0));
+ });
+};
+
+function go(els, opts, manual, fwd) {
+ if (opts.busy)
+ return;
+ var p = els[0].parentNode, curr = els[opts.currSlide], next = els[opts.nextSlide];
+ if (p.cycleTimeout === 0 && !manual)
+ return;
+
+ if (manual || !p.cyclePause) {
+ if (opts.before.length)
+ $.each(opts.before, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
+ var after = function() {
+ if (msie)
+ this.style.removeAttribute('filter');
+ $.each(opts.after, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
+ queueNext(opts);
+ };
+
+ if (opts.nextSlide != opts.currSlide) {
+ opts.busy = 1;
+ $.fn.cycle.custom(curr, next, opts, after);
+ }
+ var roll = (opts.nextSlide + 1) == els.length;
+ opts.nextSlide = roll ? 0 : opts.nextSlide+1;
+ opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
+ } else {
+ queueNext(opts);
+ }
+
+ function queueNext(opts) {
+ if (opts.timeout)
+ p.cycleTimeout = setTimeout(function() { go(els,opts,0,!opts.rev); }, opts.timeout);
+ }
+}
+
+// advance slide forward or back
+function advance(els, opts, val) {
+ var p = els[0].parentNode, timeout = p.cycleTimeout;
+ if (timeout) {
+ clearTimeout(timeout);
+ p.cycleTimeout = 0;
+ }
+ opts.nextSlide = opts.currSlide + val;
+ if (opts.nextSlide < 0) {
+ opts.nextSlide = els.length - 1;
+ }
+ else if (opts.nextSlide >= els.length) {
+ opts.nextSlide = 0;
+ }
+ go(els, opts, 1, val>=0);
+ return false;
+}
+
+$.fn.cycle.custom = function(curr, next, opts, cb) {
+ var $l = $(curr), $n = $(next);
+ $n.css(opts.cssBefore);
+ var fn = function() {$n.animate(opts.animIn, opts.speedIn, opts.easeIn, cb);};
+ $l.animate(opts.animOut, opts.speedOut, opts.easeOut, function() {
+ $l.css(opts.cssAfter);
+ if (!opts.sync)
+ fn();
+ });
+ if (opts.sync)
+ fn();
+};
+
+$.fn.cycle.transitions = {
+ fade: function($cont, $slides, opts) {
+ $slides.not(':eq(0)').hide();
+ opts.cssBefore = { opacity: 0, display: 'block' };
+ opts.cssAfter = { display: 'none' };
+ opts.animOut = { opacity: 0 };
+ opts.animIn = { opacity: 1 };
+ },
+ fadeout: function($cont, $slides, opts) {
+ opts.before.push(function(curr,next,opts,fwd) {
+ $(curr).css('zIndex',opts.slideCount + (fwd === true ? 1 : 0));
+ $(next).css('zIndex',opts.slideCount + (fwd === true ? 0 : 1));
+ });
+ $slides.not(':eq(0)').hide();
+ opts.cssBefore = { opacity: 1, display: 'block', zIndex: 1 };
+ opts.cssAfter = { display: 'none', zIndex: 0 };
+ opts.animOut = { opacity: 0 };
+ opts.animIn = { opacity: 1 };
+ }
+};
+
+$.fn.cycle.ver = function() { return ver; };
+
+// @see: http://malsup.com/jquery/cycle/lite/
+$.fn.cycle.defaults = {
+ animIn: {},
+ animOut: {},
+ fx: 'fade',
+ after: null,
+ before: null,
+ cssBefore: {},
+ cssAfter: {},
+ delay: 0,
+ fit: 0,
+ height: 'auto',
+ metaAttr: 'cycle',
+ next: null,
+ pause: false,
+ prev: null,
+ speed: 1000,
+ slideExpr: null,
+ sync: true,
+ timeout: 4000
+};
+
+})(jQuery);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/better_exposed_filters/CHANGELOG.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/better_exposed_filters/CHANGELOG.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,61 @@
+
+Better Exposed Filters change log
+---------------------------------
+
+Better Exposed Filters 7.x-x.x xxxx-xx-xx
+------------------------------------------
+Issue #1784424 by mikeker: Refactored getting existing and default values.
+Issue #1666896 by Staratel: Fixed Filter captions on BEF settings form are empty if filter labels are empty.
+Issue #1798350 by mikeker: Fixed: secondary options were using the filter label instead of ID.
+
+Better Exposed Filters 7.x-3.0-beta2 2012-09-13
+------------------------------------------------
+Issue #975376 by mikeker, gordon: Inital port. Note: only supports Views 3.x as there is no 2.x release planned for D7.
+Issue #1109950 by mikeker, Francois LR: Fixes errors in taxonomy tree
+Issue #1099528 by mikeker: Radio button labels not displayed
+Issue #1128688 by sreynen: Select All/None not working on nested checkboxes
+Issue #1111712 by mikeker: Adds Links as an option for filters
+mikeker: Fixed attributes, select all/none issues
+Issue #1120244 by mikeker: Fixed collapsible filter options
+Issue #1132818 by mikeker: Allows more specific targeting of BEF options based on filter options
+Issue #1162488 by klickreflex: Fixes incorrect HTML in nested displays
+By mikeker: Added datepicker option
+Issue #1194102 by dj1999: Adds BEF options to 'is all of' filters
+Issue #1149254 by aaronbauman: Hides Apply button when exposed filters are set to hidden
+Issue #1227168 by gionnibgud: Adds IDs to select_as_links filter options
+Issue #1260194 by zhuber: Adds toggle functionality to filter links (added --author attribution in a later commit)
+Issue #1099528 by Murz: Fixes incorrect depth of '- Any -' option
+Issue #1241960 by mikeker: Fixes E_STRICT warning
+Issue #1217204 by mikeker: Fixes Undefined index errors when BEF settings page is raised as a standalong page
+Issue #1281348 by mikeker: form.js and collapse.js not being aggregated properly
+Issue #1272694 by samhassell and mikeker: correctly sets form-item classes for wrapper divs
+Issue #1290630 by d.clarke: Removes duplicated IDs from radio buttons
+Issue #1289370 by mikeker: Gets Datepicker working again. Note: needs to be added to behaviors.
+By mikeker: Added/Cleaned up highlight JS, moved datepicker JS to Drupal.behaviors
+Issue #1289370 by ducktape: Adds support for Drupal's default date field and corrects missing JS file
+Issue #1297418 by mikeker: Puts exposed operators inside fieldset
+Issue #1283998 by mikeker: Added token support in description fields
+Issue #1212744 by mikeker: Collapsible option for sort
+Issue #1398048 by mikeker: Rewritable combined sort options
+Issue #1439216 by KeyboardCowboy: Remove duplicate name attributes on checkboxes (W3C validation)
+Issue #1548292 by richard.thomas: Use drupal_add_library() for datepicker option
+Issue #1171952 by mikeker: Added single on/off checkbox support
+Issue #1286378 by m4olivei: Fixes link filter state being list when non-link filter is used
+Issue #1362344 by mikeker, arkz: Adds option to put exposed form elements in a secondary options fieldset.
+
+Better Exposed Filters 6.x-x.x xxxx-xx-xx
+------------------------------------------
+#864614 by OxideInteractive: Fixes extra space in class attributes
+#874978 by vosechu: select_as_checkboxes now respects #default_value
+#812778 by mikeker: Fixes problem with "Show hierarchy in dropdown enabled"
+#811954 by pivica: Fixes duplicate Select All/None links with multiple Behavior executions
+#657148 by mikeker: Adds support for exposed sort manipulation
+#965388 by mikeker: Adds support for collapsible fieldsets
+#965388 by mikeker: Adds support for collapsible fieldsets
+mikeker: Adds nested list display for hierarchical taxonomy filters
+#894312 by kenorb, mikeker: Adds links as a BEF option
+#1006716 by attiks: Corrects
|| |[ \n\r\t\)]))!i", '_recaptcha_replace', $text);
+ $text = drupal_substr($text, 1, -1);
+
+ unset($_recaptcha_mailhide_public_key);
+ unset($_recaptcha_mailhide_private_key);
+ unset($_recaptcha_mailhide_nokey_warn);
+ return $text;
+}
+
+function _filter_recaptcha_mailhide_settings($form, &$form_state, $filter, $format, $defaults, $filters) {
+ _recaptcha_mailhide_load_library();
+ $public = isset($filter->settings['recaptcha_mailhide_public_key']) ? $filter->settings['recaptcha_mailhide_public_key'] : '';
+ $private = isset($filter->settings['recaptcha_mailhide_private_key']) ? $filter->settings['recaptcha_mailhide_private_key'] : '';
+ $settings['recaptcha_mailhide_public_key'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Public Key'),
+ '#default_value' => $public,
+ '#maxlength' => 50,
+ '#description' => t('Your public Mailhide key obtained from reCAPTCHA.', array('@url' => 'https://www.google.com/recaptcha/mailhide/apikey')),
+ );
+ $settings['recaptcha_mailhide_private_key'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Private Key'),
+ '#default_value' => $private,
+ '#maxlength' => 50,
+ '#description' => t('Your private Mailhide key obtained from reCAPTCHA.', array('@url' => 'https://www.google.com/recaptcha/mailhide/apikey')),
+ );
+ return $settings;
+}
+
+function _filter_recaptcha_mailhide_tips($filter, $format, $long = FALSE) {
+ return t('E-Mail addresses are hidden with reCAPTCHA Mailhide.', array('@url' => 'https://www.google.com/recaptcha/mailhide/'));
+}
+
+/**
+ * Private reCAPTCHA function to replace an email regex match
+ */
+function _recaptcha_replace($match) {
+ global $_recaptcha_mailhide_public_key, $_recaptcha_mailhide_private_key, $_recaptcha_mailhide_nokey_warn;
+ // recaptchalib will die if we invoke without setting the keys. Fail gracefully in this case.
+ if (empty($_recaptcha_mailhide_public_key) || empty($_recaptcha_mailhide_private_key) || !function_exists('mcrypt_encrypt')) {
+ if ($_recaptcha_mailhide_nokey_warn != TRUE) {
+ if (!function_exists('mcrypt_encrypt')) {
+ drupal_set_message(t('Addresses cannot be hidden because Mcrypt is not installed.'), 'error');
+ }
+ else {
+ drupal_set_message(t('Addresses cannot be hidden because the administrator has not set the reCAPTCHA Mailhide keys.'), 'error');
+ }
+ $_recaptcha_mailhide_nokey_warn = TRUE;
+ }
+ $email = $match[2];
+ }
+ else {
+ $email = recaptcha_mailhide_html($_recaptcha_mailhide_public_key, $_recaptcha_mailhide_private_key, $match[2]);
+ }
+ return $match[1] . $email . $match[3];
+}
+
+/**
+ * Load the recaptcha library.
+ */
+function _recaptcha_mailhide_load_library() {
+ module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib');
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/LICENSE.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/LICENSE.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 Lesser 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
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,60 @@
+
+Views Slideshow
+===============
+
+The Views Slideshow module is a Views Style Plugin that can be used to output
+Views in a jQuery slideshow.
+
+There are currently 2 modes:
+
+SingleFrame
+
+In SingleFrame mode slideshows are output as single elements and controls can be
+displayed as numbered links or thumbnails of individual fields.
+
+ThumbnailHover
+
+In ThumbnailHover mode slideshows are output as node teasers or full nodes. The
+controls for advancing the slideshow are nodes too.
+
+Further details about each can be found within their respective directories.
+
+
+Requirements
+============
+
+Views 3 is required for this module to be of any use.
+
+
+Description
+===========
+
+This module will create a View type of Slideshow that will display nodes in a
+jQuery slideshow.
+
+Settings are available for fade, timing, mode, and more.
+
+
+Authors/maintainers
+===================
+
+Original Author:
+
+Aaron Winborn (winborn at advomatic dot com)
+http://drupal.org/user/33420
+
+Co-maintainers:
+
+redndahead
+http://drupal.org/user/160320
+
+psynaptic
+http://drupal.org/user/93429
+
+
+Support
+=======
+
+Issues should be posted in the issue queue on drupal.org:
+
+http://drupal.org/project/issues/views_slideshow
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,16 @@
+
+Views Slideshow: Cycle
+============================
+
+The original default slideshow mode for Views Slideshow.
+
+
+Description
+===========
+
+The Views Slideshow: Cycle module adds a Views display for showing rows as items
+in a jQuery slideshow. Rows could be single images, full nodes, fields, or
+whatever else that Views can display.
+
+Controls can be added to control the slideshow. And it also has the ability to
+allow modules to create different pagers for it.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/formoptions.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/formoptions.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,141 @@
+
+/**
+ * @file
+ * Javascript to enhance the views slideshow cycle form options.
+ */
+
+/**
+ * This will set our initial behavior, by starting up each individual slideshow.
+ */
+(function ($) {
+
+ // Since Drupal 7 doesn't support having a field based on one of 3 values of
+ // a select box we need to add our own javascript handling.
+ Drupal.behaviors.viewsSlideshowCycleAmountAllowedVisible = {
+ attach: function (context) {
+
+ // If necessary at start hide the amount allowed visible box.
+ var type = $(":input[name='style_options[views_slideshow_cycle][pause_when_hidden_type]']").val();
+ if (type == 'full') {
+ $(":input[name='style_options[views_slideshow_cycle][amount_allowed_visible]']").parent().hide();
+ }
+
+ // Handle dependency on action advanced checkbox.
+ $(":input[name='style_options[views_slideshow_cycle][action_advanced]']").change(function() {
+ processValues('action_advanced');
+ });
+
+ // Handle dependency on pause when hidden checkbox.
+ $(':input[name="style_options[views_slideshow_cycle][pause_when_hidden]"]').change(function() {
+ processValues('pause_when_hidden');
+ });
+
+ // Handle dependency on pause when hidden type select box.
+ $(":input[name='style_options[views_slideshow_cycle][pause_when_hidden_type]']").change(function() {
+ processValues('pause_when_hidden_type');
+ });
+
+ // Process our dependencies.
+ function processValues(field) {
+ switch (field) {
+ case 'action_advanced':
+ if (!$(':input[name="style_options[views_slideshow_cycle][action_advanced]"]').is(':checked')) {
+ $(":input[name='style_options[views_slideshow_cycle][amount_allowed_visible]']").parent().hide();
+ break;
+ }
+ case 'pause_when_hidden':
+ if (!$(':input[name="style_options[views_slideshow_cycle][pause_when_hidden]"]').is(':checked')) {
+ $(":input[name='style_options[views_slideshow_cycle][amount_allowed_visible]']").parent().hide();
+ break;
+ }
+ case 'pause_when_hidden_type':
+ if ($(":input[name='style_options[views_slideshow_cycle][pause_when_hidden_type]']").val() == 'full') {
+ $(":input[name='style_options[views_slideshow_cycle][amount_allowed_visible]']").parent().hide();
+ }
+ else {
+ $(":input[name='style_options[views_slideshow_cycle][amount_allowed_visible]']").parent().show();
+ }
+ }
+ }
+ }
+ }
+
+ // Manage advanced options
+ Drupal.behaviors.viewsSlideshowCycleOptions = {
+ attach: function (context) {
+ if ($(":input[name='style_options[views_slideshow_cycle][advanced_options]']").length) {
+ $(":input[name='style_options[views_slideshow_cycle][advanced_options]']").parent().hide();
+
+ $(":input[name='style_options[views_slideshow_cycle][advanced_options_entry]']").parent().after(
+ '
'
+ );
+ }
+
+ function viewsSlideshowCycleAdvancedOptionsRemoveEvent() {
+ $('.views-slideshow-cycle-advanced-options-table-remove').unbind().click(function() {
+ var itemID = $(this).attr('id');
+ var uniqueID = itemID.replace('views-slideshow-cycle-advanced-options-table-remove-', '');
+ delete advancedOptions[uniqueID];
+ $('#views-slideshow-cycle-advanced-options-table-row-' + uniqueID).remove();
+ viewsSlideshowCycleAdvancedOptionsSave();
+ return false;
+ });
+ }
+
+ function viewsSlideshowCycleAdvancedOptionsSave() {
+ var advancedOptionsString = JSON.stringify(advancedOptions);
+ $(":input[name='style_options[views_slideshow_cycle][advanced_options]']").val(advancedOptionsString);
+ }
+ }
+ }
+})(jQuery);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/views_slideshow_cycle.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/views_slideshow_cycle.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,576 @@
+
+/**
+ * @file
+ * A simple jQuery Cycle Div Slideshow Rotator.
+ */
+
+/**
+ * This will set our initial behavior, by starting up each individual slideshow.
+ */
+(function ($) {
+ Drupal.behaviors.viewsSlideshowCycle = {
+ attach: function (context) {
+ $('.views_slideshow_cycle_main:not(.viewsSlideshowCycle-processed)', context).addClass('viewsSlideshowCycle-processed').each(function() {
+ var fullId = '#' + $(this).attr('id');
+ var settings = Drupal.settings.viewsSlideshowCycle[fullId];
+ settings.targetId = '#' + $(fullId + " :first").attr('id');
+ settings.slideshowId = settings.targetId.replace('#views_slideshow_cycle_teaser_section_', '');
+ settings.loaded = false;
+
+ settings.opts = {
+ speed:settings.speed,
+ timeout:settings.timeout,
+ delay:settings.delay,
+ sync:settings.sync,
+ random:settings.random,
+ nowrap:settings.nowrap,
+ after:function(curr, next, opts) {
+ // Need to do some special handling on first load.
+ var slideNum = opts.currSlide;
+ if (typeof settings.processedAfter == 'undefined' || !settings.processedAfter) {
+ settings.processedAfter = 1;
+ slideNum = (typeof settings.opts.startingSlide == 'undefined') ? 0 : settings.opts.startingSlide;
+ }
+ Drupal.viewsSlideshow.action({ "action": 'transitionEnd', "slideshowID": settings.slideshowId, "slideNum": slideNum });
+ },
+ before:function(curr, next, opts) {
+ // Remember last slide.
+ if (settings.remember_slide) {
+ createCookie(settings.vss_id, opts.currSlide + 1, settings.remember_slide_days);
+ }
+
+ // Make variable height.
+ if (!settings.fixed_height) {
+ //get the height of the current slide
+ var $ht = $(this).height();
+ //set the container's height to that of the current slide
+ $(this).parent().animate({height: $ht});
+ }
+
+ // Need to do some special handling on first load.
+ var slideNum = opts.nextSlide;
+ if (typeof settings.processedBefore == 'undefined' || !settings.processedBefore) {
+ settings.processedBefore = 1;
+ slideNum = (typeof settings.opts.startingSlide == 'undefined') ? 0 : settings.opts.startingSlide;
+ }
+
+ Drupal.viewsSlideshow.action({ "action": 'transitionBegin', "slideshowID": settings.slideshowId, "slideNum": slideNum });
+ },
+ cleartype:(settings.cleartype)? true : false,
+ cleartypeNoBg:(settings.cleartypenobg)? true : false
+ }
+
+ // Set the starting slide if we are supposed to remember the slide
+ if (settings.remember_slide) {
+ var startSlide = readCookie(settings.vss_id);
+ if (startSlide == null) {
+ startSlide = 0;
+ }
+ settings.opts.startingSlide = startSlide;
+ }
+
+ if (settings.effect == 'none') {
+ settings.opts.speed = 1;
+ }
+ else {
+ settings.opts.fx = settings.effect;
+ }
+
+ // Take starting item from fragment.
+ var hash = location.hash;
+ if (hash) {
+ var hash = hash.replace('#', '');
+ var aHash = hash.split(';');
+ var aHashLen = aHash.length;
+
+ // Loop through all the possible starting points.
+ for (var i = 0; i < aHashLen; i++) {
+ // Split the hash into two parts. One part is the slideshow id the
+ // other is the slide number.
+ var initialInfo = aHash[i].split(':');
+ // The id in the hash should match our slideshow.
+ // The slide number chosen shouldn't be larger than the number of
+ // slides we have.
+ if (settings.slideshowId == initialInfo[0] && settings.num_divs > initialInfo[1]) {
+ settings.opts.startingSlide = parseInt(initialInfo[1]);
+ }
+ }
+ }
+
+ // Pause on hover.
+ if (settings.pause) {
+ var mouseIn = function() {
+ Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": settings.slideshowId });
+ }
+
+ var mouseOut = function() {
+ Drupal.viewsSlideshow.action({ "action": 'play', "slideshowID": settings.slideshowId });
+ }
+
+ if (jQuery.fn.hoverIntent) {
+ $('#views_slideshow_cycle_teaser_section_' + settings.vss_id).hoverIntent(mouseIn, mouseOut);
+ }
+ else {
+ $('#views_slideshow_cycle_teaser_section_' + settings.vss_id).hover(mouseIn, mouseOut);
+ }
+ }
+
+ // Pause on clicking of the slide.
+ if (settings.pause_on_click) {
+ $('#views_slideshow_cycle_teaser_section_' + settings.vss_id).click(function() {
+ Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": settings.slideshowId, "force": true });
+ });
+ }
+
+ if (typeof JSON != 'undefined') {
+ var advancedOptions = JSON.parse(settings.advanced_options);
+ for (var option in advancedOptions) {
+ switch(option) {
+
+ // Standard Options
+ case "activePagerClass":
+ case "allowPagerClickBubble":
+ case "autostop":
+ case "autostopCount":
+ case "backwards":
+ case "bounce":
+ case "cleartype":
+ case "cleartypeNoBg":
+ case "containerResize":
+ case "continuous":
+ case "delay":
+ case "easeIn":
+ case "easeOut":
+ case "easing":
+ case "fastOnEvent":
+ case "fit":
+ case "fx":
+ case "height":
+ case "manualTrump":
+ case "metaAttr":
+ case "next":
+ case "nowrap":
+ case "pager":
+ case "pagerEvent":
+ case "pause":
+ case "pauseOnPagerHover":
+ case "prev":
+ case "prevNextEvent":
+ case "random":
+ case "randomizeEffects":
+ case "requeueOnImageNotLoaded":
+ case "requeueTimeout":
+ case "rev":
+ case "slideExpr":
+ case "slideResize":
+ case "speed":
+ case "speedIn":
+ case "speedOut":
+ case "startingSlide":
+ case "sync":
+ case "timeout":
+ case "width":
+ var optionValue = advancedOptions[option];
+ optionValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(optionValue);
+ settings.opts[option] = optionValue;
+ break;
+
+ // These process options that look like {top:50, bottom:20}
+ case "animIn":
+ case "animOut":
+ case "cssBefore":
+ case "cssAfter":
+ case "shuffle":
+ var cssValue = advancedOptions[option];
+ cssValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(cssValue);
+ settings.opts[option] = eval('(' + cssValue + ')');
+ break;
+
+ // These options have their own functions.
+ case "after":
+ var afterValue = advancedOptions[option];
+ afterValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(afterValue);
+ // transition callback (scope set to element that was shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
+ settings.opts[option] = function(currSlideElement, nextSlideElement, options, forwardFlag) {
+ eval(afterValue);
+ }
+ break;
+
+ case "before":
+ var beforeValue = advancedOptions[option];
+ beforeValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(beforeValue);
+ // transition callback (scope set to element to be shown): function(currSlideElement, nextSlideElement, options, forwardFlag)
+ settings.opts[option] = function(currSlideElement, nextSlideElement, options, forwardFlag) {
+ eval(beforeValue);
+ }
+ break;
+
+ case "end":
+ var endValue = advancedOptions[option];
+ endValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(endValue);
+ // callback invoked when the slideshow terminates (use with autostop or nowrap options): function(options)
+ settings.opts[option] = function(options) {
+ eval(endValue);
+ }
+ break;
+
+ case "fxFn":
+ var fxFnValue = advancedOptions[option];
+ fxFnValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(fxFnValue);
+ // function used to control the transition: function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag)
+ settings.opts[option] = function(currSlideElement, nextSlideElement, options, afterCalback, forwardFlag) {
+ eval(fxFnValue);
+ }
+ break;
+
+ case "onPagerEvent":
+ var onPagerEventValue = advancedOptions[option];
+ onPagerEventValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(onPagerEventValue);
+ settings.opts[option] = function(zeroBasedSlideIndex, slideElement) {
+ eval(onPagerEventValue);
+ }
+ break;
+
+ case "onPrevNextEvent":
+ var onPrevNextEventValue = advancedOptions[option];
+ onPrevNextEventValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(onPrevNextEventValue);
+ settings.opts[option] = function(isNext, zeroBasedSlideIndex, slideElement) {
+ eval(onPrevNextEventValue);
+ }
+ break;
+
+ case "pagerAnchorBuilder":
+ var pagerAnchorBuilderValue = advancedOptions[option];
+ pagerAnchorBuilderValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(pagerAnchorBuilderValue);
+ // callback fn for building anchor links: function(index, DOMelement)
+ settings.opts[option] = function(index, DOMelement) {
+ var returnVal = '';
+ eval(pagerAnchorBuilderValue);
+ return returnVal;
+ }
+ break;
+
+ case "pagerClick":
+ var pagerClickValue = advancedOptions[option];
+ pagerClickValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(pagerClickValue);
+ // callback fn for pager clicks: function(zeroBasedSlideIndex, slideElement)
+ settings.opts[option] = function(zeroBasedSlideIndex, slideElement) {
+ eval(pagerClickValue);
+ }
+ break;
+
+ case "paused":
+ var pausedValue = advancedOptions[option];
+ pausedValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(pausedValue);
+ // undocumented callback when slideshow is paused: function(cont, opts, byHover)
+ settings.opts[option] = function(cont, opts, byHover) {
+ eval(pausedValue);
+ }
+ break;
+
+ case "resumed":
+ var resumedValue = advancedOptions[option];
+ resumedValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(resumedValue);
+ // undocumented callback when slideshow is resumed: function(cont, opts, byHover)
+ settings.opts[option] = function(cont, opts, byHover) {
+ eval(resumedValue);
+ }
+ break;
+
+ case "timeoutFn":
+ var timeoutFnValue = advancedOptions[option];
+ timeoutFnValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(timeoutFnValue);
+ settings.opts[option] = function(currSlideElement, nextSlideElement, options, forwardFlag) {
+ eval(timeoutFnValue);
+ }
+ break;
+
+ case "updateActivePagerLink":
+ var updateActivePagerLinkValue = advancedOptions[option];
+ updateActivePagerLinkValue = Drupal.viewsSlideshowCycle.advancedOptionCleanup(updateActivePagerLinkValue);
+ // callback fn invoked to update the active pager link (adds/removes activePagerClass style)
+ settings.opts[option] = function(pager, currSlideIndex) {
+ eval(updateActivePagerLinkValue);
+ }
+ break;
+ }
+ }
+ }
+
+ // If selected wait for the images to be loaded.
+ // otherwise just load the slideshow.
+ if (settings.wait_for_image_load) {
+ // For IE/Chrome/Opera we if there are images then we need to make
+ // sure the images are loaded before starting the slideshow.
+ settings.totalImages = $(settings.targetId + ' img').length;
+ if (settings.totalImages) {
+ settings.loadedImages = 0;
+
+ // Add a load event for each image.
+ $(settings.targetId + ' img').each(function() {
+ var $imageElement = $(this);
+ $imageElement.bind('load', function () {
+ Drupal.viewsSlideshowCycle.imageWait(fullId);
+ });
+
+ // Removing the source and adding it again will fire the load event.
+ var imgSrc = $imageElement.attr('src');
+ $imageElement.attr('src', '');
+ $imageElement.attr('src', imgSrc);
+ });
+
+ // We need to set a timeout so that the slideshow doesn't wait
+ // indefinitely for all images to load.
+ setTimeout("Drupal.viewsSlideshowCycle.load('" + fullId + "')", settings.wait_for_image_load_timeout);
+ }
+ else {
+ Drupal.viewsSlideshowCycle.load(fullId);
+ }
+ }
+ else {
+ Drupal.viewsSlideshowCycle.load(fullId);
+ }
+ });
+ }
+ };
+
+ Drupal.viewsSlideshowCycle = Drupal.viewsSlideshowCycle || {};
+
+ // Cleanup the values of advanced options.
+ Drupal.viewsSlideshowCycle.advancedOptionCleanup = function(value) {
+ value = $.trim(value);
+ value = value.replace(/\n/g, '');
+ if (!isNaN(parseInt(value))) {
+ value = parseInt(value);
+ }
+ else if (value.toLowerCase() == 'true') {
+ value = true;
+ }
+ else if (value.toLowerCase() == 'false') {
+ value = false;
+ }
+
+ return value;
+ }
+
+ // This checks to see if all the images have been loaded.
+ // If they have then it starts the slideshow.
+ Drupal.viewsSlideshowCycle.imageWait = function(fullId) {
+ if (++Drupal.settings.viewsSlideshowCycle[fullId].loadedImages == Drupal.settings.viewsSlideshowCycle[fullId].totalImages) {
+ Drupal.viewsSlideshowCycle.load(fullId);
+ }
+ };
+
+ // Start the slideshow.
+ Drupal.viewsSlideshowCycle.load = function (fullId) {
+ var settings = Drupal.settings.viewsSlideshowCycle[fullId];
+
+ // Make sure the slideshow isn't already loaded.
+ if (!settings.loaded) {
+ $(settings.targetId).cycle(settings.opts);
+ settings.loaded = true;
+
+ // Start Paused
+ if (settings.start_paused) {
+ Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": settings.slideshowId, "force": true });
+ }
+
+ // Pause if hidden.
+ if (settings.pause_when_hidden) {
+ var checkPause = function(settings) {
+ // If the slideshow is visible and it is paused then resume.
+ // otherwise if the slideshow is not visible and it is not paused then
+ // pause it.
+ var visible = viewsSlideshowCycleIsVisible(settings.targetId, settings.pause_when_hidden_type, settings.amount_allowed_visible);
+ if (visible) {
+ Drupal.viewsSlideshow.action({ "action": 'play', "slideshowID": settings.slideshowId });
+ }
+ else {
+ Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": settings.slideshowId });
+ }
+ }
+
+ // Check when scrolled.
+ $(window).scroll(function() {
+ checkPause(settings);
+ });
+
+ // Check when the window is resized.
+ $(window).resize(function() {
+ checkPause(settings);
+ });
+ }
+ }
+ };
+
+ Drupal.viewsSlideshowCycle.pause = function (options) {
+ $('#views_slideshow_cycle_teaser_section_' + options.slideshowID).cycle('pause');
+ };
+
+ Drupal.viewsSlideshowCycle.play = function (options) {
+ Drupal.settings.viewsSlideshowCycle['#views_slideshow_cycle_main_' + options.slideshowID].paused = false;
+ $('#views_slideshow_cycle_teaser_section_' + options.slideshowID).cycle('resume');
+ };
+
+ Drupal.viewsSlideshowCycle.previousSlide = function (options) {
+ $('#views_slideshow_cycle_teaser_section_' + options.slideshowID).cycle('prev');
+ };
+
+ Drupal.viewsSlideshowCycle.nextSlide = function (options) {
+ $('#views_slideshow_cycle_teaser_section_' + options.slideshowID).cycle('next');
+ };
+
+ Drupal.viewsSlideshowCycle.goToSlide = function (options) {
+ $('#views_slideshow_cycle_teaser_section_' + options.slideshowID).cycle(options.slideNum);
+ };
+
+ // Verify that the value is a number.
+ function IsNumeric(sText) {
+ var ValidChars = "0123456789";
+ var IsNumber=true;
+ var Char;
+
+ for (var i=0; i < sText.length && IsNumber == true; i++) {
+ Char = sText.charAt(i);
+ if (ValidChars.indexOf(Char) == -1) {
+ IsNumber = false;
+ }
+ }
+ return IsNumber;
+ }
+
+ /**
+ * Cookie Handling Functions
+ */
+ function createCookie(name,value,days) {
+ if (days) {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ var expires = "; expires="+date.toGMTString();
+ }
+ else {
+ var expires = "";
+ }
+ document.cookie = name+"="+value+expires+"; path=/";
+ }
+
+ function readCookie(name) {
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+ for(var i=0;i < ca.length;i++) {
+ var c = ca[i];
+ while (c.charAt(0)==' ') c = c.substring(1,c.length);
+ if (c.indexOf(nameEQ) == 0) {
+ return c.substring(nameEQ.length,c.length);
+ }
+ }
+ return null;
+ }
+
+ function eraseCookie(name) {
+ createCookie(name,"",-1);
+ }
+
+ /**
+ * Checks to see if the slide is visible enough.
+ * elem = element to check.
+ * type = The way to calculate how much is visible.
+ * amountVisible = amount that should be visible. Either in percent or px. If
+ * it's not defined then all of the slide must be visible.
+ *
+ * Returns true or false
+ */
+ function viewsSlideshowCycleIsVisible(elem, type, amountVisible) {
+ // Get the top and bottom of the window;
+ var docViewTop = $(window).scrollTop();
+ var docViewBottom = docViewTop + $(window).height();
+ var docViewLeft = $(window).scrollLeft();
+ var docViewRight = docViewLeft + $(window).width();
+
+ // Get the top, bottom, and height of the slide;
+ var elemTop = $(elem).offset().top;
+ var elemHeight = $(elem).height();
+ var elemBottom = elemTop + elemHeight;
+ var elemLeft = $(elem).offset().left;
+ var elemWidth = $(elem).width();
+ var elemRight = elemLeft + elemWidth;
+ var elemArea = elemHeight * elemWidth;
+
+ // Calculate what's hiding in the slide.
+ var missingLeft = 0;
+ var missingRight = 0;
+ var missingTop = 0;
+ var missingBottom = 0;
+
+ // Find out how much of the slide is missing from the left.
+ if (elemLeft < docViewLeft) {
+ missingLeft = docViewLeft - elemLeft;
+ }
+
+ // Find out how much of the slide is missing from the right.
+ if (elemRight > docViewRight) {
+ missingRight = elemRight - docViewRight;
+ }
+
+ // Find out how much of the slide is missing from the top.
+ if (elemTop < docViewTop) {
+ missingTop = docViewTop - elemTop;
+ }
+
+ // Find out how much of the slide is missing from the bottom.
+ if (elemBottom > docViewBottom) {
+ missingBottom = elemBottom - docViewBottom;
+ }
+
+ // If there is no amountVisible defined then check to see if the whole slide
+ // is visible.
+ if (type == 'full') {
+ return ((elemBottom >= docViewTop) && (elemTop <= docViewBottom)
+ && (elemBottom <= docViewBottom) && (elemTop >= docViewTop)
+ && (elemLeft >= docViewLeft) && (elemRight <= docViewRight)
+ && (elemLeft <= docViewRight) && (elemRight >= docViewLeft));
+ }
+ else if(type == 'vertical') {
+ var verticalShowing = elemHeight - missingTop - missingBottom;
+
+ // If user specified a percentage then find out if the current shown percent
+ // is larger than the allowed percent.
+ // Otherwise check to see if the amount of px shown is larger than the
+ // allotted amount.
+ if (amountVisible.indexOf('%')) {
+ return (((verticalShowing/elemHeight)*100) >= parseInt(amountVisible));
+ }
+ else {
+ return (verticalShowing >= parseInt(amountVisible));
+ }
+ }
+ else if(type == 'horizontal') {
+ var horizontalShowing = elemWidth - missingLeft - missingRight;
+
+ // If user specified a percentage then find out if the current shown percent
+ // is larger than the allowed percent.
+ // Otherwise check to see if the amount of px shown is larger than the
+ // allotted amount.
+ if (amountVisible.indexOf('%')) {
+ return (((horizontalShowing/elemWidth)*100) >= parseInt(amountVisible));
+ }
+ else {
+ return (horizontalShowing >= parseInt(amountVisible));
+ }
+ }
+ else if(type == 'area') {
+ var areaShowing = (elemWidth - missingLeft - missingRight) * (elemHeight - missingTop - missingBottom);
+
+ // If user specified a percentage then find out if the current shown percent
+ // is larger than the allowed percent.
+ // Otherwise check to see if the amount of px shown is larger than the
+ // allotted amount.
+ if (amountVisible.indexOf('%')) {
+ return (((areaShowing/elemArea)*100) >= parseInt(amountVisible));
+ }
+ else {
+ return (areaShowing >= parseInt(amountVisible));
+ }
+ }
+ }
+})(jQuery);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame-row-item.tpl.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/theme/views-slideshow-cycle-main-frame-row-item.tpl.php Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,3 @@
+
' . l('Click here to view the documentation for Views Slideshow Cycle.', 'admin/advanced_help/views_slideshow_cycle') . '
';
+ }
+ else {
+ $output = '
' . t('Views Slideshow Cycle help can be found by installing and enabling the !advanced_help', array('!advanced_help' => l('Advanced Help module', 'http://drupal.org/project/advanced_help'))) . '
' . t('You need to install the jQuery cycle plugin. Create a directory in sites/all/libraries called jquery.cycle, and then copy jquery.cycle.all.min.js or jquery.cycle.all.js into it. You can find the plugin at !url.', array('!url' => l('http://malsup.com/jquery/cycle', 'http://malsup.com/jquery/cycle', array('attributes' => array('target' => '_blank'))))) . '
',
+ );
+
+ $form['views_slideshow_cycle']['timeout'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Timer delay'),
+ '#default_value' => $view->options['views_slideshow_cycle']['timeout'],
+ '#description' => t('Amount of time in milliseconds between transitions. Set the value to 0 to not rotate the slideshow automatically.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][transition_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['speed'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Speed'),
+ '#default_value' => $view->options['views_slideshow_cycle']['speed'],
+ '#description' => t('Time in milliseconds that each transition lasts. Numeric only!'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][transition_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['delay'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Initial slide delay offset'),
+ '#default_value' => $view->options['views_slideshow_cycle']['delay'],
+ '#description' => t('Amount of time in milliseconds for the first slide to transition. This number will be added to Timer delay to create the initial delay. For example if Timer delay is 4000 and Initial delay is 2000 then the first slide will change at 6000ms (6 seconds). If Initial delay is -2000 then the first slide will change at 2000ms (2 seconds).'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][transition_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['sync'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Sync'),
+ '#default_value' => $view->options['views_slideshow_cycle']['sync'],
+ '#description' => t('The sync option controls whether the slide transitions occur simultaneously. The default is selected which means that the current slide transitions out as the next slide transitions in. By unselecting this option you can get some interesting twists on your transitions.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][transition_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['random'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Random'),
+ '#description' => t('This option controls the order items are displayed. The default setting, unselected, uses the views ordering. Selected will cause the images to display in a random order.'),
+ '#default_value' => $view->options['views_slideshow_cycle']['random'],
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][transition_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+
+ $form['views_slideshow_cycle']['transition_advanced_wrapper_close'] = array(
+ '#markup' => '
',
+ );
+ $form['views_slideshow_cycle']['pause'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Pause on hover'),
+ '#default_value' => $view->options['views_slideshow_cycle']['pause'],
+ '#description' => t('Pause when hovering on the slideshow image.'),
+ );
+ $form['views_slideshow_cycle']['pause_on_click'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Pause On Click'),
+ '#default_value' => $view->options['views_slideshow_cycle']['pause_on_click'],
+ '#description' => t('Pause when the slide is clicked.'),
+ );
+
+ // Action Advanced Options
+ $form['views_slideshow_cycle']['action_advanced'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('View Action Advanced Options'),
+ '#default_value' => $view->options['views_slideshow_cycle']['action_advanced'],
+ );
+
+ // Need to wrap this so it indents correctly.
+ $form['views_slideshow_cycle']['action_advanced_wrapper'] = array(
+ '#markup' => '
',
+ );
+
+ $form['views_slideshow_cycle']['start_paused'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Start Slideshow Paused'),
+ '#default_value' => $view->options['views_slideshow_cycle']['start_paused'],
+ '#description' => t('Start the slideshow in the paused state.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['remember_slide'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Start On Last Slide Viewed'),
+ '#default_value' => $view->options['views_slideshow_cycle']['remember_slide'],
+ '#description' => t('When the user leaves a page with a slideshow and comes back start them on the last slide viewed.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['remember_slide_days'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Length of Time to Remember Last Slide'),
+ '#default_value' => $view->options['views_slideshow_cycle']['remember_slide_days'],
+ '#description' => t('The number of days to have the site remember the last slide. Default is 1'),
+ '#prefix' => '
',
+ '#suffix' => '
',
+ '#size' => 4,
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ':input[name="style_options[views_slideshow_cycle][remember_slide]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['pause_when_hidden'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Pause When the Slideshow is Not Visible'),
+ '#default_value' => $view->options['views_slideshow_cycle']['pause_when_hidden'],
+ '#description' => t('When the slideshow is scrolled out of view or when a window is resized that hides the slideshow, this will pause the slideshow.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['pause_when_hidden_type'] = array(
+ '#type' => 'select',
+ '#title' => t('How to Calculate Amount of Slide that Needs to be Shown'),
+ '#options' => array(
+ 'full' => t('Entire slide'),
+ 'vertical' => t('Set amount of vertical'),
+ 'horizontal' => t('Set amount of horizontal'),
+ 'area' => t('Set total area of the slide'),
+ ),
+ '#default_value' => $view->options['views_slideshow_cycle']['pause_when_hidden_type'],
+ '#description' => t('Choose how to calculate how much of the slide has to be shown. Entire Slide: All the slide has to be shown. Vertical: Set amount of height that has to be shown. Horizontal: Set amount of width that has to be shown. Area: Set total area that has to be shown.'),
+ '#prefix' => '
',
+ '#suffix' => '
',
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ':input[name="style_options[views_slideshow_cycle][pause_when_hidden]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['amount_allowed_visible'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Amount of Slide Needed to be Shown'),
+ '#default_value' => $view->options['views_slideshow_cycle']['amount_allowed_visible'],
+ '#description' => t("The amount of the slide that needs to be shown to have it rotate. You can set the value in percentage (ex: 50%) or in pixels (ex: 250). The slidehsow will not rotate until it's height/width/total area, depending on the calculation method you have chosen above, is less than the value you have entered in this field."),
+ '#size' => 4,
+ '#process' => array('views_slideshow_cycle_form_options_js'),
+ );
+ $form['views_slideshow_cycle']['nowrap'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('End slideshow after last slide'),
+ '#default_value' => $view->options['views_slideshow_cycle']['nowrap'],
+ '#description' => t('If selected the slideshow will end when it gets to the last slide.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['fixed_height'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Make the slide window height fit the largest slide'),
+ '#default_value' => $view->options['views_slideshow_cycle']['fixed_height'],
+ '#description' => t('If unselected then if the slides are different sizes the height of the slide area will change as the slides change.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['items_per_slide'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Items per slide'),
+ '#default_value' => $view->options['views_slideshow_cycle']['items_per_slide'],
+ '#description' => t('The number of items per slide'),
+ '#size' => 4,
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['wait_for_image_load'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Wait for all the slide images to load'),
+ '#default_value' => $view->options['views_slideshow_cycle']['wait_for_image_load'],
+ '#description' => t('If selected the slideshow will not start unless all the slide images are loaded. This will fix some issues on IE7/IE8/Chrome/Opera.'),
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+ $form['views_slideshow_cycle']['wait_for_image_load_timeout'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Timeout'),
+ '#default_value' => $view->options['views_slideshow_cycle']['wait_for_image_load_timeout'],
+ '#description' => t('How long should it wait until it starts the slideshow anyway. Time is in milliseconds.'),
+ '#prefix' => '
',
+ '#suffix' => '
',
+ '#states' => array(
+ 'visible' => array(
+ ':input[name="style_options[views_slideshow_cycle][action_advanced]"]' => array('checked' => TRUE),
+ ':input[name="style_options[views_slideshow_cycle][wait_for_image_load]"]' => array('checked' => TRUE),
+ ),
+ ),
+ );
+
+ // Need to wrap this so it indents correctly.
+ $form['views_slideshow_cycle']['action_advanced_wrapper_close'] = array(
+ '#markup' => '
',
+ );
+
+ // Internet Explorer Tweaks
+ $form['views_slideshow_cycle']['ie_tweaks'] = array(
+ '#markup' => '
' . t('Internet Explorer Tweaks') . '
',
+ );
+ $form['views_slideshow_cycle']['cleartype'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('ClearType'),
+ '#default_value' => $view->options['views_slideshow_cycle']['cleartype'],
+ '#description' => t('Select if clearType corrections should be applied (for IE). Some background issues could be fixed by unselecting this option.'),
+ );
+ $form['views_slideshow_cycle']['cleartypenobg'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('ClearType Background'),
+ '#default_value' => $view->options['views_slideshow_cycle']['cleartypenobg'],
+ '#description' => t('Select to disable extra cleartype fixing. Unselect to force background color setting on slides)'),
+ );
+
+
+
+
+ // Advanced Options
+ $form['views_slideshow_cycle']['advanced_options_header'] = array(
+ '#markup' => '
' . t('To use the advanced options you need to download json2.js. You can do this by clicking the download button at !url and extract json2.js to sites/all/libraries/json2', array('!url' => l('https://github.com/douglascrockford/JSON-js', 'https://github.com/douglascrockford/JSON-js', array('attributes' => array('target' => '_blank'))))) . '
' . t('You can find a list of all the available options at !url. If one of the options you add uses a function, example fxFn, then you need to only enter what goes inside the function call. The variables that are in the documentation on the jquery cycle site will be available to you.', array('!url' => l('http://malsup.com/jquery/cycle/options.html', 'http://malsup.com/jquery/cycle/options.html'))) . '
',
+ );
+
+ // Get a list of all available skins.
+ $skin_info = $this->views_slideshow_get_skins();
+ foreach ($skin_info as $skin => $info) {
+ $skins[$skin] = $info['name'];
+ }
+ asort($skins);
+
+ // Create the drop down box so users can choose an available skin.
+ $form['slideshow_skin'] = array(
+ '#type' => 'select',
+ '#title' => t('Skin'),
+ '#options' => $skins,
+ '#default_value' => $this->options['slideshow_skin'],
+ '#description' => t('Select the skin to use for this display. Skins allow for easily swappable layouts of things like next/prev links and thumbnails. Note that not all skins support all widgets, so a combination of skins and widgets may lead to unpredictable results in layout.'),
+ );
+
+ /**
+ * Slides
+ */
+ $form['slides_header'] = array(
+ '#markup' => '
',
+ );
+ }
+
+ // Get all widgets that are registered.
+ // If we have widgets then build it's form fields.
+ $widgets = module_invoke_all('views_slideshow_widget_info');
+ if (!empty($widgets)) {
+
+ // Build our weight values by number of widgets
+ $weights = array();
+ for ($i = 1; $i <= count($widgets); $i++) {
+ $weights[$i] = $i;
+ }
+
+ // Loop through our widgets and locations to build our form values for
+ // each widget.
+ foreach ($widgets as $widget_id => $widget_info) {
+ foreach ($location as $location_id => $location_name) {
+ $widget_dependency = 'style_options[widgets][' . $location_id . '][' . $widget_id . ']';
+
+ // Determine if a widget is compatible with a slideshow.
+ $compatible_slideshows = array();
+ foreach ($slideshows as $slideshow_id => $slideshow_info) {
+ $is_compatible = 1;
+ // Check if every required accept value in the widget has a
+ // corresponding calls value in the slideshow.
+ foreach($widget_info['accepts'] as $accept_key => $accept_value) {
+ if (is_array($accept_value) && !empty($accept_value['required']) && !in_array($accept_key, $slideshow_info['calls'])) {
+ $is_compatible = 0;
+ break;
+ }
+ }
+
+ // No need to go through this if it's not compatible.
+ if ($is_compatible) {
+ // Check if every required calls value in the widget has a
+ // corresponding accepts call.
+ foreach($widget_info['calls'] as $calls_key => $calls_value) {
+ if (is_array($calls_value) && !empty($calls_value['required']) && !in_array($calls_key, $slideshow_info['accepts'])) {
+ $is_compatible = 0;
+ break;
+ }
+ }
+ }
+
+ // If it passed all those tests then they are compatible.
+ if ($is_compatible) {
+ $compatible_slideshows[] = $slideshow_id;
+ }
+ }
+
+ // Use Widget Checkbox
+ $form['widgets'][$location_id][$widget_id]['enable'] = array(
+ '#type' => 'checkbox',
+ '#title' => t($widget_info['name']),
+ '#default_value' => $this->options['widgets'][$location_id][$widget_id]['enable'],
+ '#description' => t('Should !name be rendered at the !location of the slides.', array('!name' => $widget_info['name'], '!location' => $location_name)),
+ );
+
+ $form['widgets'][$location_id][$widget_id]['enable']['#dependency']['edit-style-options-slideshow-type'] = !empty($compatible_slideshows) ? $compatible_slideshows : array('none');
+
+ // Need to wrap this so it indents correctly.
+ $form['widgets'][$location_id][$widget_id]['wrapper'] = array(
+ '#markup' => '
',
+ );
+
+ // Widget weight
+ // We check to see if the default value is greater than the number of
+ // widgets just in case a widget has been removed and the form hasn't
+ // hasn't been saved again.
+ $form['widgets'][$location_id][$widget_id]['weight'] = array(
+ '#type' => 'select',
+ '#title' => t('Weight of the !name', array('!name' => $widget_info['name'])),
+ '#default_value' => ($this->options['widgets'][$location_id][$widget_id]['weight'] > count($widgets)) ? count($widgets) : $this->options['widgets'][$location_id][$widget_id]['weight'],
+ '#options' => $weights,
+ '#description' => t('Determines in what order the !name appears. A lower weight will cause the !name to be above higher weight items.', array('!name' => $widget_info['name'])),
+ '#prefix' => '
',
+ );
+ }
+
+ // Run any validation on the form settings.
+ function options_validate(&$form, &$form_state) {
+ module_load_all_includes('views_slideshow.inc');
+
+ $arguments = array(
+ &$form,
+ &$form_state,
+ &$this,
+ );
+
+ // Call all modules that use hook_views_slideshow_options_form_validate
+ foreach (module_implements('views_slideshow_options_form_validate') as $module) {
+ $function = $module . '_views_slideshow_options_form_validate';
+ call_user_func_array($function, $arguments);
+ }
+ }
+
+ // Run any necessary actions on submit.
+ function options_submit(&$form, &$form_state) {
+ module_load_all_includes('views_slideshow.inc');
+
+ $arguments = array(
+ $form,
+ &$form_state,
+ );
+
+ // Call all modules that use hook_views_slideshow_options_form_submit
+ foreach (module_implements('views_slideshow_options_form_submit') as $module) {
+ $function = $module . '_views_slideshow_options_form_submit';
+ call_user_func_array($function, $arguments);
+ }
+
+ // In addition to the skin, we also pre-save the definition that
+ // correspond to it. That lets us avoid a hook lookup on every page.
+ $skins = $this->views_slideshow_get_skins();
+ $form_state['values']['style_options']['skin_info'] = $skins[$form_state['values']['style_options']['slideshow_skin']];
+ }
+
+ /**
+ * Retrieve a list of all available skins in the system.
+ */
+ function views_slideshow_get_skins() {
+ static $skins;
+
+ if (empty($skins)) {
+ $skins = array();
+
+ // Call all modules that use hook_views_slideshow_skin_info
+ foreach (module_implements('views_slideshow_skin_info') as $module) {
+ $skin_items = call_user_func($module . '_views_slideshow_skin_info');
+ if (isset($skin_items) && is_array($skin_items)) {
+ foreach (array_keys($skin_items) as $skin) {
+ // Ensure that the definition is complete, so we don't need lots
+ // of error checking later.
+ $skin_items[$skin] += array(
+ 'class' => 'default',
+ 'name' => t('Untitled skin'),
+ 'module' => $module,
+ 'path' => '',
+ 'stylesheets' => array(),
+ );
+ }
+ $skins = array_merge($skins, $skin_items);
+ }
+ }
+ }
+
+ return $skins;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/LICENSE.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/LICENSE.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,339 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 Lesser 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
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ , 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/README-FIRST.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/README-FIRST.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,91 @@
+WHERE TO START
+--------------
+
+Yay! You opened the correct file first. The first thing that people notice when
+they download the Zen theme is that there are A LOT of files -- way more than
+other themes.
+
+Don't worry! You don't need to learn everything all at once in order to make a
+Drupal theme. Zen will do the bits you haven't learned and patiently wait for
+you to discover the documentation and inline comments about them.
+
+
+WHAT ARE BASE THEMES, SUB-THEMES AND STARTER THEMES?
+----------------------------------------------------
+
+Often the best way to learn a system is to take an existing example and modify
+it to see how it works. One big disadvantage of this learning method is that if
+you break something and the original example worked before you hacked it,
+there's very little incentive for others to help you.
+
+Drupal's theming system has a solution to this problem: parent themes and
+sub-themes. A "sub-theme" will inherit all its HTML markup, CSS, and PHP code
+from its "parent theme" (also called a "base theme".) And with Drupal themes,
+it's easy for a sub-theme to override just the parts of the parent theme it
+wants to modify.
+
+A "starter theme" is a sub-theme designed specifically to be a good starting
+point for developing a custom theme for your website. It is usually paired with
+a base theme.
+
+So how do you create a theme with Zen?
+
+The Zen theme includes the Zen base theme as well as a starter theme called
+"STARTERKIT". 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 and put it in a folder
+outside of the root zen/ folder.
+
+
+SUGGESTED READING
+-----------------
+
+Installation
+ If you don't know how to install a Drupal theme, there is a quick primer later
+ in this document.
+
+Building a theme with Zen
+ See the STARTERKIT/README.txt file for full instructions.
+
+Theme .info file
+ Your sub-theme's .info file holds the basic information about your theme that
+ Drupal needs to know: its name, description, features, template regions, CSS
+ files, and JavaScript. Don't worry about all these lines just yet.
+
+CSS
+ Once you have created your sub-theme, look at the README.txt in your
+ sub-theme's css folder. Don't freak out about all the files in this directory;
+ just read the README.txt file for an explanation.
+
+Templates
+ Now take a look at the README.txt in your sub-theme's templates folder.
+
+
+ONLINE READING
+--------------
+
+Full documentation on the Zen theme can be found in Drupal's Handbook:
+ https://drupal.org/documentation/theme/zen
+
+Excellent documentation on Drupal theming can be found in the Theme Guide:
+ https://drupal.org/theme-guide
+
+
+INSTALLATION
+------------
+
+ 1. Download Zen from https://drupal.org/project/zen
+
+ 2. Unpack the downloaded file, take the entire zen folder and place it in your
+ Drupal installation under sites/all/themes. (Additional installation folders
+ can be used; see https://drupal.org/getting-started/install-contrib/themes
+ for more information.)
+
+ 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 the Appearance page
+ at admin/appearance. You will see the Zen theme listed under the Disabled
+ Themes heading with links on how to create your own sub-theme. You can
+ optionally make Zen the default theme.
+
+ 4. Now build your own sub-theme by reading the STARTERKIT/README.txt file.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,131 @@
+BUILD A THEME WITH ZEN
+----------------------
+
+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 https://drupal.org/node/245802
+
+
+*** IMPORTANT NOTE ***
+*
+* In Drupal 7, the theme system caches which template files and which theme
+* functions should be called. This means that if you add a new theme,
+* preprocess or process 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 https://drupal.org/node/173880#theme-registry
+*
+* Drupal 7 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 7's cache by
+* simply visiting the Appearance page at admin/appearance.
+*
+
+
+ 1. Setup the location for your new sub-theme.
+
+ Copy the STARTERKIT folder out of the zen/ folder and rename it to be your
+ new sub-theme. IMPORTANT: The name of your sub-theme must start with an
+ alphabetic character and can only contain lowercase letters, numbers and
+ underscores.
+
+ 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. To make it easier to
+ upgrade Zen, sub-themes should reside in a folder separate from the base
+ theme.
+
+ 2. Setup the basic information for your sub-theme.
+
+ 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 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 "name = Zen Sub-theme Starter Kit" to "name = Foo"
+ and "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 7 Theme Guide for more info:
+ https://drupal.org/node/171205
+
+ Then, visit your site's Appearance page at admin/appearance to refresh
+ Drupal 7's cache of .info file data.
+
+ 3. Choose your preferred page layout method or grid system.
+
+ By default your new sub-theme is using a responsive layout. If you want a
+ fixed layout for your theme, delete the unneeded "responsive" and
+ "responsive-rtl" css/sass files and edit your sub-theme's styles.css
+ or styles.scss file and replace the reference to "responsive" with
+ "fixed".
+
+ For example, edit foo/sass/styles.scss and change this line:
+ @import "layouts/responsive";
+ to:
+ @import "layouts/fixed";
+
+ Alternatively, if you are more familiar with a different CSS layout method,
+ such as GridSetApp or 960.gs, etc., you can replace the
+ "layouts/responsive" line in your styles.scss file with a line
+ pointing at your choice of layout CSS file.
+
+ Then, visit your site's Appearance page at admin/appearance to refresh
+ Drupal 7's theme cache.
+
+ 4. Edit your sub-theme to use the proper function names.
+
+ 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
+ every occurrence of "STARTERKIT" with "foo".
+
+ It is recommended to use a text editing application with search and
+ "replace all" functionality.
+
+ 5. Set your website's default theme.
+
+ Log in as an administrator on your Drupal site, go to the Appearance page at
+ admin/appearance and click the "Enable and set default" link next to your
+ new sub-theme.
+
+
+Optional steps:
+
+ 6. Modify the markup in Zen core's 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/templates/page.tpl.php to foo/templates/page.tpl.php.
+
+ 7. Modify the markup in Drupal's search form.
+
+ Copy the search-block-form.tpl.php template file from the modules/search/
+ folder and place it in your sub-theme's template folder. And then rebuild
+ the theme registry.
+
+ You can find a full list of Drupal templates that you can override in the
+ templates/README.txt file or https://drupal.org/node/190815
+
+ Why? In Drupal 7 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 template directory and then rebuild the theme registry.
+ See the Drupal 7 Theme Guide for more info: https://drupal.org/node/173880
+
+ 8. Further extend your sub-theme.
+
+ Discover further ways to extend your sub-theme by reading Zen's
+ documentation online at:
+ https://drupal.org/documentation/theme/zen
+ and Drupal 7's Theme Guide online at:
+ https://drupal.org/theme-guide
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/STARTERKIT.info.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/STARTERKIT.info.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,147 @@
+; Drupal's .info files allow themers to easily specify some of the static
+; properties of your theme. Properties such as its name, stylesheets,
+; javascripts, and block regions.
+;
+; Drupal 7 stores a cache of the data in this .info files. If you modify any
+; lines in this file, you MUST refresh Drupal 7's cache by simply visiting the
+; Appearance page at admin/appearance.
+
+
+
+; The name, description and screenshot used for this theme on the Appearance
+; page at admin/appearance.
+
+screenshot = screenshot.png
+name = Zen Sub-theme Starter Kit
+description = Read the online docs or the included README.txt on how to create a theme with Zen.
+
+
+
+; This theme is compatible with Drupal 7 core. And it is a sub-theme of Zen.
+
+core = 7.x
+base theme = zen
+
+
+
+; This section controls the CSS files for your theme. There are 3 different
+; things you can do with a "stylesheets" line:
+; - Add a new stylesheet for your theme.
+; - Override a module's stylesheet. If the stylesheet you are adding uses the
+; same filename as a stylesheet from a Drupal core or contrib module, your CSS
+; file will be used instead of the module's file.
+; - Remove a module's stylesheet. If you specify the name of a Drupal core or
+; contrib module's stylesheets, Drupal will remove that stylesheet if you do
+; NOT include a file with that name with your theme.
+;
+; stylesheets[MEDIA][] = FILE
+;
+; The "FILE" is the name of the stylesheet to add/override/remove.
+; The "MEDIA" in the first set of brackets is a media type or a media query.
+; Typical CSS media types include "all", "screen", "print", and "handheld". A
+; typical media query is "screen and (max-width: 320px)".
+;
+; CSS2.1 media types: http://www.w3.org/TR/CSS21/media.html#media-types
+; CSS3 media queries: http://www.w3.org/TR/css3-mediaqueries/
+
+; First we remove the system's menu and message styling since Zen has its own.
+stylesheets[all][] = system.menus.css
+stylesheets[all][] = system.messages.css
+stylesheets[all][] = system.theme.css
+
+; Then we add our own stylesheet.
+stylesheets[all][] = css/styles.css
+
+; Built-in conditional stylesheet support has been removed from Zen 7.x-5.x.
+; Instead, Zen now adds conditional-comment-included classes to the html
+; element, such as .lt-ie9, .lt-ie8, .lt-ie7. More information on this
+; technique can be found at:
+; http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
+;
+; If you still wish to use conditional stylesheets, you must install the
+; conditional stylesheets module: https://drupal.org/project/conditional_styles
+;stylesheets-conditional[lte IE 8][all][] = css/ie8.css
+
+
+
+; Optionally add some JavaScripts to your theme.
+
+;scripts[] = js/script.js
+
+
+
+; This section lists the regions defined in Zen's default page.tpl.php and
+; maintenance-page.tpl.php files. The name in brackets is the machine name of
+; the region. The text after the equals sign is a descriptive text used on the
+; admin/structure/blocks page.
+;
+; In the page.tpl, the contents of the region are output with a
+; $page['MACHINE-NAME'] variable and, in the maintenance-page.tpl, the region is
+; output with a $MACHINE-NAME variable. For example, with this line in the .info
+; file:
+; regions[header_top] = Header top
+; You'll use this variable in page.tpl.php:
+;
+; And you'll use this variable in maintenance-page.tpl.php:
+;
+
+regions[header] = Header
+regions[navigation] = Navigation bar
+regions[highlighted] = Highlighted
+regions[help] = Help
+regions[content] = Content
+regions[sidebar_first] = First sidebar
+regions[sidebar_second] = Second sidebar
+regions[footer] = Footer
+regions[bottom] = Page bottom
+
+; The page_top and page_bottom regions are hidden, which means they will not
+; show up on the blocks administration page. But they are required in order for
+; the html.tpl.php to work properly, so do not delete them.
+
+regions[page_top] = Page top
+regions[page_bottom] = Page bottom
+
+
+
+; 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/appearance 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 7 Theme Guide for more info:
+; https://drupal.org/node/171205#features
+
+features[] = logo
+features[] = name
+features[] = slogan
+features[] = node_user_picture
+features[] = comment_user_picture
+features[] = favicon
+features[] = main_menu
+features[] = secondary_menu
+
+
+
+; Set the default values of settings on the theme-settings.php form.
+
+settings[zen_breadcrumb] = yes
+settings[zen_breadcrumb_separator] = ' › '
+settings[zen_breadcrumb_home] = 1
+settings[zen_breadcrumb_trailing] = 0
+settings[zen_breadcrumb_title] = 0
+settings[zen_skip_link_anchor] = main-menu
+settings[zen_skip_link_text] = Jump to navigation
+settings[zen_html5_respond_meta][] = respond
+settings[zen_html5_respond_meta][] = html5
+settings[zen_html5_respond_meta][] = meta
+settings[zen_rebuild_registry] = 1
+settings[zen_wireframes] = 0
+
+; To make this sub-theme an admin theme with shortcut links next to titles,
+; uncomment the line below.
+
+;settings[shortcut_module_link] = 1
+
+; To add a Panels layout (which can also be used by Display Suite), uncomment
+; the line below and see the documentation at: https://drupal.org/node/495654
+;plugins[panels][layouts] = panels-layouts
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/config.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/config.rb Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,56 @@
+#
+# This file is only needed for Compass/Sass integration. If you are not using
+# Compass, you may safely ignore or delete this file.
+#
+# If you'd like to learn more about Sass and Compass, see the sass/README.txt
+# file for more information.
+#
+
+
+# Change this to :production when ready to deploy the CSS to the live server.
+environment = :development
+#environment = :production
+
+# In development, we can turn on the FireSass-compatible debug_info.
+firesass = false
+#firesass = true
+
+
+# Location of the theme's resources.
+css_dir = "css"
+sass_dir = "sass"
+extensions_dir = "sass-extensions"
+images_dir = "images"
+javascripts_dir = "js"
+
+
+# Require any additional compass plugins installed on your system.
+#require 'ninesixty'
+#require 'zen-grids'
+
+# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
+# included with a module by uncommenting and modifying one of the lines below:
+#add_import_path "../../../default/modules/FOO"
+#add_import_path "../../../all/modules/FOO"
+#add_import_path "../../../../modules/FOO"
+
+
+##
+## You probably don't need to edit anything below this.
+##
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+output_style = (environment == :development) ? :expanded : :compressed
+
+# To enable relative paths to assets via compass helper functions. Since Drupal
+# themes can be installed in multiple locations, we don't need to worry about
+# the absolute path to the theme from the server root.
+relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+# line_comments = false
+
+# Pass options to sass. For development, we turn on the FireSass-compatible
+# debug_info if the firesass config variable above is true.
+sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,154 @@
+ZEN'S STYLESHEETS
+-----------------
+
+Don't panic!
+
+There are 11 CSS files in this sub-theme, but it's not as bad as it first seems:
+- There are 5 CSS files whose names end in "-rtl.css". Those are CSS files
+ needed to style content written in Right-to-Left languages, such as Arabic and
+ Hebrew. If your website doesn't use such languages, you can safely delete all
+ of those CSS files.
+- There are 2 example layout stylesheets inside the "layouts" folder,
+ "responsive.css" and "fixed.css", but only one of them is used at any time.
+- One is just a print stylesheet!
+
+That leaves just 4 CSS files!
+- styles.css
+- normalize.css
+- layouts/responsive.css
+- components/misc.css
+
+Now go look in the styles.css file. That file simply includes (via @import) the
+other files. It also shows how the files in your sub-theme can be categorized
+with the SMACSS technique. http://smacss.com
+
+
+Why not just one stylesheet?
+
+- For performance reasons you should always have all of your CSS in a single
+ file to minimize the number of HTTP requests the user's browser needs to do.
+ Fortunately, Drupal has a "Aggregate and compress CSS" feature that will
+ automatically combine all the CSS files from its modules and themes into one
+ file. You can turn on that feature under "Bandwidth Optimization" on the page:
+ Administration > Configuration > Development > Performance
+ So Drupal allows us (if we want) to use more than one stylesheet file, but
+ still serves all the styles in one file to our users.
+- When developing a site using a single stylesheet, it can become unwieldy to
+ scroll and find the place you need to edit. As a deadline becomes imminent,
+ developers often start stuffing new styles at the bottom of the stylesheet,
+ completely destroying any stylesheet organization.
+- Instead of one monolithic stylesheet, Zen sub-themes' CSS files are organized
+ into several smaller stylesheets. Once you learn the organization (described
+ below) it becomes easier to find the right place to add new styles.
+- Stylesheets are added in the order specified in the styles.css file. The
+ default order of the stylesheets is designed to allow CSS authors to use the
+ lowest specificity possible to achieve the required styling, with more general
+ stylesheets being added first and more specific stylesheets added later.
+
+
+ORDER AND PURPOSE OF DEFAULT STYLESHEETS
+----------------------------------------
+
+First off, if you find you don't like this organization of stylesheets, you are
+free to change it; simply edit the @import declarations in your sub-theme's
+styles.css file. This structure was crafted based on several years of experience
+theming Drupal websites.
+
+- styles.css:
+ This is the only CSS file listed in your sub-theme's .info file. Its purpose
+ is to @include all the other stylesheets in your sub-theme. When CSS
+ aggregation is off, this file will be loaded by web browsers first before they
+ begin to load the @include'd stylesheets; this results in a delay to load all
+ the stylesheets, a serious front-end performance problem. However, it does
+ make it easy to debug your website during development. To remove this
+ performance problem, turn on Drupal's CSS aggregation after development is
+ completed. See the note above about "Bandwidth Optimization".
+
+- normalize.css:
+ This is the place where you should set the default styling for all HTML
+ elements and standardize the styling across browsers. If you prefer a specific
+ HTML reset method, feel free to use it instead of normalize; just make sure
+ you set all the styles for all HTML elements after you reset them. In SMACSS,
+ this file contains all the "base rules". http://smacss.com/book/type-base
+
+- layouts/responsive.css:
+ Zen's default layout is based on the Zen Grids layout method. Despite the
+ name, it is an independent project from the Zen theme. Zen Grids is an
+ intuitive, flexible grid system that leverages the natural source order of
+ your content to make it easier to create fluid responsive designs. You can
+ learn more about Zen Grids at http://zengrids.com
+
+ The responsive.css file is used by default, but these files are
+ designed to be easily replaced. If you are more familiar with a different CSS
+ layout method, such as GridSetApp, 960.gs, etc., you can replace the default
+ layout with your choice of layout CSS file.
+
+ In SMACSS, this file contains the "layout rules".
+ http://smacss.com/book/type-layout
+
+- layouts/fixed.css:
+ This layout is based on the Zen Grids layout method, but uses a fixed pixel
+ width. It is not included by default in your theme's .info file, but is
+ provided as an option.
+
+ In SMACSS, this file contains the "layout rules".
+ http://smacss.com/book/type-layout
+
+- components/misc.css:
+ This file contains some common component styles needed for Drupal, such as:
+ - Tabs: contains actual styling for Drupal tabs, a common Drupal element that
+ is often neglected by site designers. Zen provides some basic styling which
+ you are free to use or to rip out and replace.
+ - Various page elements: page styling for the markup in page.tpl.php.
+ - Blocks: styling for the markup in block.tpl.php.
+ - Menus: styling for your site's menus.
+ - Comments: styling for the markup in comment-wrapper.tpl.php and
+ comments.tpl.php.
+ - forms: styling for the markup in various Drupal forms.
+ - fields: styling for the markup produced by theme_field().
+
+ In SMACSS, this file contains "module rules". You can add additional files
+ if you'd like to further refine your stylesheet organization. Just add them
+ to the styles.css file. http://smacss.com/book/type-layout
+
+- print.css:
+ The print styles for all markup.
+
+ In SMACSS, this file contains a media query state that overrides modular
+ styles. This means it most closely related to "module rules".
+ http://smacss.com/book/type-module
+
+In these stylesheets, we have included just the classes and IDs needed to apply
+a minimum amount of styling. To learn many more useful Drupal core selectors,
+check Zen's online documentation: https://drupal.org/node/1707736
+
+
+STYLES FOR INTERNET EXPLORER
+----------------------------
+
+Zen allows IE-specific styles using a method first described by Paul Irish at:
+http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
+
+If you look at Zen's templates/html.tpl.php file, you will see the HTML tag that
+will be used by your site. Using Microsoft's conditional comment syntax,
+different HTML tags will be used for different versions of Internet Explorer.
+
+For example, IE6 will see the HTML tag that has these classes: lt-ie7 lt-ie8
+lt-ie9. If you need to write an IE6-specific rule, you can simply prefix the
+selector with ".lt-ie7 " (should be read as "less than IE 7"). To write a rule
+that applies to both IE6 and IE7, use ".lt-ie8 ":
+ .someRule { /* Styles for all browsers */ }
+ .lt-ie8 .someRule { /* Styles for IE6 and IE7 only. */ }
+
+Many CSS authors prefer using IE "conditional stylesheets", which are
+stylesheets added via conditional comments. If you would prefer that method, you
+should check out the Conditional Stylesheets module:
+https://drupal.org/project/conditional_styles
+
+
+DRUPAL CORE'S STYLESHEETS
+-------------------------
+
+Note: Many of Zen's styles are overriding Drupal's core stylesheets, so if you
+remove a declaration from them, the styles may still not be what you want since
+Drupal's core stylesheets are still styling the element.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/components/misc-rtl.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/components/misc-rtl.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,142 @@
+/**
+ * @file
+ * RTL companion for the modular-styles.css file.
+ */
+
+/**
+ * Branding header.
+ */
+
+/* Wrapping link for logo. */
+.header__logo {
+ float: right;
+}
+
+/* The secondary menu (login, etc.) */
+.header__secondary-menu {
+ float: left;
+}
+
+/**
+ * Navigation bar.
+ */
+
+/* Main menu and secondary menu links and menu block links. */
+#navigation .links,
+#navigation .menu {
+ text-align: right;
+}
+#navigation .links li,
+#navigation .menu li {
+ /* A simple method to get navigation links to appear in one line. */
+ float: right;
+ padding: 0 0 0 10px;
+}
+
+/**
+ * Messages.
+ */
+.messages,
+.messages--status,
+.messages--warning,
+.messages--error {
+ padding: 10px 50px 10px 10px;
+ background-position: 99% 8px;
+}
+
+/**
+ * Tabs.
+ */
+.tabs-primary__tab,
+.tabs-secondary__tab,
+.tabs-secondary__tab.is-active {
+ float: right;
+}
+
+/**
+ * Inline styles.
+ */
+
+/* List of links */
+.inline li {
+ /* Bug in Safari causes display: inline to fail. */
+ display: inline-block;
+ padding: 0 0 0 1em;
+}
+
+/* The inline field label used by the Fences.module */
+span.field-label {
+ padding: 0 0 0 1em;
+}
+
+/**
+ * "More" links.
+ */
+.more-link {
+ text-align: left;
+}
+.more-help-link {
+ text-align: left;
+}
+.more-help-link a {
+ background-position: 100% 50%;
+ padding: 1px 20px 1px 0;
+}
+
+/**
+ * Menus.
+ */
+.menu__item.is-collapsed {
+ list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');
+ *list-style-image: url('../../images/menu-collapsed-rtl.png');
+}
+
+/**
+ * Comments.
+ */
+
+/* Nested comments are indented. */
+.indented {
+ margin-left: 0;
+ margin-right: 30px;
+}
+
+/**
+ * Forms.
+ */
+
+/* Drupal's default login form block */
+#user-login-form {
+ text-align: right;
+}
+html.js #user-login-form li.openid-link,
+#user-login-form li.openid-link {
+ /* Un-do some of the padding on the ul list. */
+ margin-left: 0;
+ margin-right: -20px;
+}
+
+/*
+ * Drupal admin tables.
+ */
+form th {
+ text-align: right;
+ padding-left: 1em;
+ padding-right: 0;
+}
+
+/**
+ * Collapsible fieldsets.
+ *
+ * @see collapse.js
+ */
+html.js .collapsible .fieldset-legend {
+ background-position: 98% 75%;
+ padding-left: 0;
+ padding-right: 15px;
+}
+html.js .collapsed .fieldset-legend {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');
+ *background-image: url('../../images/menu-collapsed-rtl.png');
+ background-position: 98% 50%;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/components/misc.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/components/misc.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,758 @@
+/**
+ * @file
+ * SMACSS Modules
+ *
+ * Adds modular sets of styles.
+ *
+ * Additional useful selectors can be found in Zen's online documentation.
+ * https://drupal.org/node/1707736
+ */
+
+/**
+ * Wireframes.
+ */
+.with-wireframes #header,
+.with-wireframes #main,
+.with-wireframes #content,
+.with-wireframes #navigation,
+.with-wireframes .region-sidebar-first,
+.with-wireframes .region-sidebar-second,
+.with-wireframes #footer,
+.with-wireframes .region-bottom {
+ outline: 1px solid #ccc;
+}
+.lt-ie8 .with-wireframes #header,
+.lt-ie8 .with-wireframes #main,
+.lt-ie8 .with-wireframes #content,
+.lt-ie8 .with-wireframes #navigation,
+.lt-ie8 .with-wireframes .region-sidebar-first,
+.lt-ie8 .with-wireframes .region-sidebar-second,
+.lt-ie8 .with-wireframes #footer,
+.lt-ie8 .with-wireframes .region-bottom {
+ /* IE6/7 do not support the outline property. */
+ border: 1px solid #ccc;
+}
+
+/**
+ * Accessibility features.
+ */
+
+/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
+.element-invisible,
+.element-focusable,
+#navigation .block-menu .block__title,
+#navigation .block-menu-block .block__title {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px 1px 1px 1px);
+ clip: rect(1px, 1px, 1px, 1px);
+}
+
+/* Turns off the element-invisible effect. */
+.element-focusable:active,
+.element-focusable:focus {
+ position: static !important;
+ clip: auto;
+ height: auto;
+ width: auto;
+ overflow: auto;
+}
+
+/*
+ * The skip-link link will be completely hidden until a user tabs to the link.
+ */
+#skip-link {
+ margin: 0;
+}
+#skip-link a,
+#skip-link a:visited {
+ display: block;
+ width: 100%;
+ padding: 2px 0 3px 0;
+ text-align: center;
+ background-color: #666;
+ color: #fff;
+}
+
+/**
+ * Branding header.
+ */
+
+/* Wrapping link for logo. */
+.header__logo {
+ float: left; /* LTR */
+ margin: 0;
+ padding: 0;
+}
+
+/* Logo image. */
+.header__logo-image {
+ vertical-align: bottom;
+}
+
+/* Wrapper for website name and slogan. */
+.header__name-and-slogan {
+ float: left;
+}
+
+/* The name of the website. */
+.header__site-name {
+ margin: 0;
+ font-size: 2em;
+ line-height: 1.5em;
+}
+
+/* The link around the name of the website. */
+.header__site-link:link,
+.header__site-link:visited {
+ color: #000;
+ text-decoration: none;
+}
+.header__site-link:hover,
+.header__site-link:focus {
+ text-decoration: underline;
+}
+
+/* The slogan (or tagline) of a website. */
+.header__site-slogan {
+ margin: 0;
+}
+
+/* The secondary menu (login, etc.) */
+.header__secondary-menu {
+ float: right; /* LTR */
+}
+
+/* Wrapper for any blocks placed in the header region. */
+.header__region {
+ /* Clear the logo. */
+ clear: both;
+}
+
+/**
+ * Navigation bar.
+ */
+#navigation {
+ /* Sometimes you want to prevent overlapping with main div. */
+ /* overflow: hidden; */
+}
+#navigation .block {
+ margin-bottom: 0;
+}
+
+/* Main menu and secondary menu links and menu block links. */
+#navigation .links,
+#navigation .menu {
+ margin: 0;
+ padding: 0;
+ text-align: left; /* LTR */
+}
+#navigation .links li,
+#navigation .menu li {
+ /* A simple method to get navigation links to appear in one line. */
+ float: left; /* LTR */
+ padding: 0 10px 0 0; /* LTR */
+ list-style-type: none;
+ list-style-image: none;
+}
+
+/**
+ * Breadcrumb navigation.
+ */
+.breadcrumb ol {
+ margin: 0;
+ padding: 0;
+}
+.breadcrumb li {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+
+/**
+ * Titles.
+ */
+.page__title, /* The title of the page. */
+.node__title, /* Title of a piece of content when it is given in a list of content. */
+.block__title, /* Block title. */
+.comments__title, /* Comment section heading. */
+.comments__form-title, /* Comment form heading. */
+.comment__title { /* Comment title. */
+ margin: 0;
+}
+
+/**
+ * Messages.
+ */
+.messages,
+.messages--status,
+.messages--warning,
+.messages--error {
+ margin: 1.5em 0;
+ padding: 10px 10px 10px 50px; /* LTR */
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAD6UlEQVR42s2WX0xbVRzH3YwmC4k+GF/0ZS/S267/bmnX9nL7bwstZlnbjTDYyoC5GCbB0ZW5pdJCe6swbLFA6bpWIGuRMWVjKGP+21QW3SZBSAjGh4XEaTZTH82Cm/3ztS2xs7mw4KLRk3xyzj33/H6fe5Pz7zEA/yr/vUDukj9FH6drqTaqT8EoPs/UV+nX6TD1BlUh9AqLHlmgPKLcRHmoCOWmElK/FOKTYpS8UwLJkASiUyLI3pKhlClN0g46qj+qL/pbArlbrlO1q25JeiSgR2iYJ8ywXLSg/qP6LNl2ro8+Q4MMkKCd9K2t3q3KdQnkXXIF5aISkgEJzONm1F2qW52pDJN1MI2bUBIuAdVOJWSMTPNQgX6/vkjVpvpREpag6oMqWCYta1IzbsHh9ga0RJtzY8URMdRO9U/KSuWmNQUqh2pY3CtG+fvlqJyofMAFNrZAE+7e/RWR4X4cD9tgOGsA2U2CdtMDqwqyMyIzQ5KKqAKmcyaYxkzYd3YvjGNGFtXRPRj58DT+LOemRrFnrBLyITmUDmUyO/NYgu2d26ukHVJo3tXAMGpAs+cQmh0NeClan30uwN7TgnQ6nRd4r3thOGOAJqYB2UVC79AfZAnKHGUxQa8A2tNaNLW/jKvXv8Dyb8s4yryKA4O10A3roIvpUB+swTdz1/LJZ27PQBvT5lBH1RD4BChzlQ2wBNtc22aE/ULQgzRCl4P5BPcT93GMOYz9wb2QhCRgAq35d8u/L2PXe7tADVGgBlcQ+AXQtmlvsP/gzbJZvp8PMkJCFBYh8m0knyiVSsHe0YIGZz1+/uVOvt8z7QGvnwf+ST5EIRHIUyR4fh50rbp5lsDcYR4ReAXgBrng9q/Qfa0bfy035r7Ot2dvz4IX4IEIEAXwvDzscOw4zxJUd1YfEXlE4Aa4BQHMlwzSSBeI7iXvoTxWDqKPYCFsFaKmr+YVliB0JfS89DVpiuhlB9k/tSOZTuYFvq98yI7L0/MAsVWcGp0bfW61hbahwltxSeARsIKyWKesSKQSWIwvYkvvllwfx88pgOvhwthu/AzAxlVX8vz385tLbaVxwpcLZtEw0QDjsBGctzksiE4CimZFfHp++oWHbnbuUfdB0komMgHsRN1r0MWBsEmYODF5onY92/UTwcvBxuzXcN1ccHycVSn2FaPYWwzCQUDWKIt7z3utAJ5c74Hz+OLSomynY+cVfiM/xW3JiDyZpB3FuZrj4oCwE+Ad4qWMjPHjpTtL0mzMoxyZz9yM39Q7Y85Ok930icqm+k59TL2wm9l90dZv8y/8sPAigGf/iUN/Q4anM2zOsdLe+L+4VfwBVVjDs2rTYx0AAAAASUVORK5CYII=');
+ *background-image: url('../../images/message-24-ok.png');
+ background-position: 8px 8px; /* LTR */
+ background-repeat: no-repeat;
+ border: 1px solid #be7;
+}
+.messages--warning {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACuElEQVRIiWP4//8/Ay0xSYqntTpnT252zqeJBf0Njhsykrz/pyd6/e9vcNpGVQv6q2wlm0qc/r0+IPD/3UG+/61l9v9mdrjIUc2C7hqHUzc3S///eZwBjO9tF/vfWe1wjioWTKixVm8otPn38wQT3IKfxxn/t5Va/utpsNSg2ILWcttrNzdJgQ3+dpQRjEHs+9tE/zeXWt+gyILOamuTqlxrsOtPLub+7+emBsSq/88v5wL7oqHQ9H9nmbkF2RbUF1rev7lJEuziuU3i/90ddcB4UZsoJC62ifyvK7R4QJYFrcUGrmUZ5v9hYb9hosh/bzcDMN42VRgeF9W5hv8bi/XdSbagKtfs2c1NEvCIPbaQ/7+/pwkYn17Ki0hR24T/l2eZPCfJgsZ83dCiNOP/yCnn7iau/8G+5mD8aBsHSoqqyNL9X5erHUm0BcVpRm9ubhZHMoTh/4eDzP/DA23+RwTZ/P96hAlF7t5Wof8FyfpvibKgNk8noyDZ4D9quofg1Bjr/1kJlhjiIF+Upmn/r83RzCJoQXaC3qcbm8SwGMLwvybP/H8jMGlik7u7VeB/Zqz2J7wWVGdr1uTG62J1PQgfWST1/+hiCaxyIF8UJqv9r8hQrcVpQVqkzrcbG0WwGvB2H/P/lnx5MAaxsam5vYn3f2KY+jesFpSlqfZnxWjidP2OGWL/g/0swBjExu4Lhv958Ur/i5KU+lEsCA1lYI4JUv95bZ0gTo2Pt3P+z0myBmMQG5e6mxu4/kf4Kf8EmQm3oCRNebKrvSawIGPBqRG9sMOp5hjjfwdrlf/58bKT4RaUpWvtcLZV/39iscD/H0AFP46jYwYiMeP/44u4/9tbKQODSXUH3II9G7v18hI0n8YGKv+IDVT6joxj/BVx4mgcOCde/SnITPRUJAHEGlTCEkQV19TAAN8FC67hZdFXAAAAAElFTkSuQmCC');
+ *background-image: url('../../images/message-24-warning.png');
+ border-color: #ed5;
+}
+.messages--error {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACpElEQVR42rWWTUgbQRiGQ0Tx4MWDeFM8eBA9iKAoggiCoCiiIiL4L3oQV1CJB0UEf6iRYFpK7UniTw9VSqL2kvQsVDBpSZrtRo35czVNW3oprRf17exSl4yzu1ikAy9h59vvedhkMrMGAGoxknAk2w8MJ/WosXThiZkZt9jdLeglPjn5ATc3mhJNuNjbK0QbG3ExMICL/n6IfX0gcxB7ekDAELu6IHZ2IlJbi1hLS1BLogmPtbUhMTv7oMSamzUlqnByMxLT0/8STQkDj9TV4ZLj5OysrODl8jIu5Gs68dFR7JG6dWkJ0fFx+TpSX89IDMnwcHU1yKec12Yz3rlc4HkeLwjkXJpPip3U3+7vIx6P4ymph4eG5PlwTQ0lMdytlmBxMWKtrXLeT0zA5XTibvj9fjxfXETkb/3N/Dz2dneVuiTZtliU/rPSUsQ5ziuxZYG03IIlJdKKUPJjdRUAKMmzuTnskB/VYbdTtd9HR4g2NCi9Z2VliDY1BSnBaUEBzsrLqXyzWCiQ9HU5HA4afniIUFWV0hOqqMBpURErOM7NxWlhIZOvCwvA7S3Uxq+DA5AnZ3pO8vJYQSArC8c5Oeqx2Rj4udeLQH6+6v2B7GxW8DkjA0JmJpONwUHY7XZGIAgCzCYTeJUewmIFfqMRfEoKlQ2yJbza2oLWcLvdeDI2hk/3+iQWKzAYkJzNjg5srq9TwJ9OJ76YTNScx+ORJT66X1/grKyEbW2NgfPp6XKd/JMZySrHaQsSU1Oe+0/w3WpVgyu5HBlR6lc+H8gioevDwz6JrWwV5+3txyoSFk5DcOX1MnCyJ4Vwfb1zt1UY9SR8aioDpuppaVpwZbPTl+hHF04dOKzk8XBF8DgJC3/woU/W/EciOtELOWi8DDwp//215Q+p7kiKh2lQSAAAAABJRU5ErkJggg==');
+ *background-image: url('../../images/message-24-error.png');
+ border-color: #ed541d;
+}
+.messages__list {
+ margin: 0;
+}
+.messages__item {
+ list-style-image: none;
+}
+
+/* Core/module installation error messages. */
+.messages--error p.error {
+ color: #333;
+}
+
+/* System status report. */
+.ok,
+.messages--status {
+ background-color: #f8fff0;
+ color: #234600;
+}
+.warning,
+.messages--warning {
+ background-color: #fffce5;
+ color: #840;
+}
+.error,
+.messages--error {
+ background-color: #fef5f1;
+ color: #8c2e0b;
+}
+
+/**
+ * Tabs.
+ */
+
+/* Basic positioning styles shared by primary and secondary tabs. */
+.tabs-primary,
+.tabs-secondary {
+ overflow: hidden;
+ *zoom: 1;
+ background-image: -webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(100%, #bbbbbb), color-stop(100%, transparent));
+ background-image: -webkit-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
+ background-image: -moz-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
+ background-image: -o-linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
+ background-image: linear-gradient(bottom, #bbbbbb 1px, transparent 1px);
+ /* IE 9 and earlier don't understand gradients. */
+ list-style: none;
+ border-bottom: 1px solid #bbbbbb \0/ie;
+ margin: 1.5em 0;
+ padding: 0 2px;
+ white-space: nowrap;
+}
+.tabs-primary__tab,
+.tabs-secondary__tab,
+.tabs-secondary__tab.is-active {
+ float: left; /* LTR */
+ margin: 0 3px;
+}
+a.tabs-primary__tab-link,
+a.tabs-secondary__tab-link {
+ border: 1px solid #e9e9e9;
+ border-right: 0;
+ border-bottom: 0;
+ display: block;
+ line-height: 1.5em;
+ text-decoration: none;
+}
+
+/* Primary tabs. */
+.tabs-primary__tab,
+.tabs-primary__tab.is-active {
+ -moz-border-radius-topleft: 4px;
+ -webkit-border-top-left-radius: 4px;
+ border-top-left-radius: 4px;
+ -moz-border-radius-topright: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-right-radius: 4px;
+ text-shadow: 1px 1px 0 white;
+ border: 1px solid #bbbbbb;
+ border-bottom-color: transparent;
+ /* IE 9 and earlier don't understand gradients. */
+ border-bottom: 0 \0/ie;
+}
+.is-active.tabs-primary__tab {
+ border-bottom-color: white;
+}
+a.tabs-primary__tab-link,
+a.tabs-primary__tab-link.is-active {
+ -moz-border-radius-topleft: 4px;
+ -webkit-border-top-left-radius: 4px;
+ border-top-left-radius: 4px;
+ -moz-border-radius-topright: 4px;
+ -webkit-border-top-right-radius: 4px;
+ border-top-right-radius: 4px;
+ -webkit-transition: background-color 0.3s;
+ -moz-transition: background-color 0.3s;
+ -o-transition: background-color 0.3s;
+ transition: background-color 0.3s;
+ color: #333;
+ background-color: #dedede;
+ letter-spacing: 1px;
+ padding: 0 1em;
+ text-align: center;
+}
+a.tabs-primary__tab-link:hover,
+a.tabs-primary__tab-link:focus {
+ background-color: #e9e9e9;
+ border-color: #f2f2f2;
+}
+a.tabs-primary__tab-link:active,
+a.tabs-primary__tab-link.is-active {
+ background-color: transparent;
+ *zoom: 1;
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#00E9E9E9');
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, rgba(233, 233, 233, 0)));
+ background-image: -webkit-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
+ background-image: -moz-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
+ background-image: -o-linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
+ background-image: linear-gradient(#e9e9e9, rgba(233, 233, 233, 0));
+ border-color: #fff;
+}
+
+/* Secondary tabs. */
+.tabs-secondary {
+ font-size: .9em;
+ /* Collapse bottom margin of ul.primary. */
+ margin-top: -1.5em;
+}
+.tabs-secondary__tab,
+.tabs-secondary__tab.is-active {
+ margin: 0.75em 3px;
+}
+a.tabs-secondary__tab-link,
+a.tabs-secondary__tab-link.is-active {
+ -webkit-border-radius: 0.75em;
+ -moz-border-radius: 0.75em;
+ -ms-border-radius: 0.75em;
+ -o-border-radius: 0.75em;
+ border-radius: 0.75em;
+ -webkit-transition: background-color 0.3s;
+ -moz-transition: background-color 0.3s;
+ -o-transition: background-color 0.3s;
+ transition: background-color 0.3s;
+ text-shadow: 1px 1px 0 white;
+ background-color: #f2f2f2;
+ color: #666;
+ padding: 0 .5em;
+}
+a.tabs-secondary__tab-link:hover,
+a.tabs-secondary__tab-link:focus {
+ background-color: #dedede;
+ border-color: #999;
+ color: #333;
+}
+a.tabs-secondary__tab-link:active,
+a.tabs-secondary__tab-link.is-active {
+ text-shadow: 1px 1px 0 #333333;
+ background-color: #666;
+ border-color: #000;
+ color: #fff;
+}
+
+/**
+ * Inline styles.
+ */
+
+/* List of links generated by theme_links(). */
+.inline {
+ display: inline;
+ padding: 0;
+}
+.inline li {
+ display: inline;
+ list-style-type: none;
+ padding: 0 1em 0 0; /* LTR */
+}
+
+/* The inline field label used by the Fences module. */
+span.field-label {
+ padding: 0 1em 0 0; /* LTR */
+}
+
+/**
+ * "More" links.
+ */
+.more-link {
+ text-align: right; /* LTR */
+}
+.more-help-link {
+ text-align: right; /* LTR */
+}
+.more-help-link a {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7UlEQVR42qWTPQqDQBCFcwSPkCNITpAj5AjeIm1uYpkyR7Cy2Mot7OwsBAsRwUKwmOwLGRle3EIy8PyBfZ/z3J2TiPylz8VWWZZpUB40BonRKyizaxkA88MYYiqCEgv4MTvnZJom0VqWRbz3FlJZgLYtqmEY1Lg9r+sKsIXcLSC3AC019H0vqLquLeC5AfiHYSGkcdAJimKIBQiJ4+CO92OAtm0FNc8zOjkMwE5Q63FAtbeg6zpAYvG8BWR7i5qmQYwY4MIHqYhE2DOPQWcGJBQF2XU72ZzyUeZ5GCNt5/hybJgYdAXsq5sOEE/jG6dC5IOqCXTmAAAAAElFTkSuQmCC');
+ *background-image: url('../../images/help.png');
+ background-position: 0 50%; /* LTR */
+ background-repeat: no-repeat;
+ padding: 1px 0 1px 20px; /* LTR */
+}
+
+/**
+ * Pager.
+ */
+
+/* A list of page numbers when more than 1 page of content is available. */
+.pager {
+ clear: both;
+ padding: 0;
+ text-align: center;
+}
+
+.pager-item, /* A list item containing a page number in the list of pages. */
+.pager-first, /* The first page's list item. */
+.pager-previous, /* The previous page's list item. */
+.pager-next, /* The next page's list item. */
+.pager-last, /* The last page's list item. */
+.pager-ellipsis, /* A concatenation of several list items using an ellipsis. */
+.pager-current { /* The current page's list item. */
+ display: inline;
+ padding: 0 0.5em;
+ list-style-type: none;
+ background-image: none;
+}
+.pager-current {
+ font-weight: bold;
+}
+
+/**
+ * Blocks.
+ */
+
+/* Block wrapper. */
+.block {
+ margin-bottom: 1.5em;
+}
+
+/**
+ * Menus.
+ */
+.menu__item.is-leaf {
+ list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAD1BMVEX///+/v7+Li4sAAADAwMBFvsw8AAAAAXRSTlMAQObYZgAAAB1JREFUCFtjYAADYwMGBmYVZSDhKAwkFJWhYiAAAB2+Aa/9ugeaAAAAAElFTkSuQmCC');
+ *list-style-image: url('../../images/menu-leaf.png');
+ list-style-type: square;
+}
+.menu__item.is-expanded {
+ list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
+ *list-style-image: url('../../images/menu-expanded.png');
+ list-style-type: circle;
+}
+.menu__item.is-collapsed {
+ list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */
+ *list-style-image: url('../../images/menu-collapsed.png'); /* LTR */
+ list-style-type: disc;
+}
+
+/* The active item in a Drupal menu. */
+.menu a.active {
+ color: #000;
+}
+
+/**
+ * Marker.
+ */
+
+/* The "new" or "updated" marker. */
+.new,
+.update {
+ color: #c00;
+ /* Remove background highlighting from in normalize. */
+ background-color: transparent;
+}
+
+/**
+ * Unpublished note.
+ */
+
+/* The word "Unpublished" displayed underneath the content. */
+.unpublished {
+ height: 0;
+ overflow: visible;
+ /* Remove background highlighting from in normalize. */
+ background-color: transparent;
+ 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;
+ /* A very nice CSS3 property. */
+ word-wrap: break-word;
+}
+.lt-ie8 .node-unpublished > *,
+.lt-ie8 .comment-unpublished > * {
+ /* Otherwise these elements will appear below the "Unpublished" text. */
+ position: relative;
+}
+
+/**
+ * Comments.
+ */
+
+/* Wrapper for the list of comments and its title. */
+.comments {
+ margin: 1.5em 0;
+}
+
+/* Preview of the comment before submitting new or updated comment. */
+.comment-preview {
+ /* Drupal core will use a #ffffea background. See #1110842. */
+ background-color: #ffffea;
+}
+
+/* Wrapper for a single comment. */
+.comment {
+ /* Comment's permalink wrapper. */
+}
+.comment .permalink {
+ text-transform: uppercase;
+ font-size: 75%;
+}
+
+/* Nested comments are indented. */
+.indented {
+ /* Drupal core uses a 25px left margin. */
+ margin-left: 30px; /* LTR */
+}
+
+/**
+ * Forms.
+ */
+
+/* Wrapper for a form element (or group of form elements) and its label. */
+.form-item {
+ margin: 1.5em 0;
+}
+
+/* Pack groups of checkboxes and radio buttons closer together. */
+.form-checkboxes .form-item,
+.form-radios .form-item {
+ /* Drupal core uses "0.4em 0". */
+ margin: 0;
+}
+
+/* Form items in a table. */
+tr.odd .form-item,
+tr.even .form-item {
+ margin: 0;
+}
+
+/* Highlight the form elements that caused a form submission error. */
+.form-item input.error,
+.form-item textarea.error,
+.form-item select.error {
+ border: 1px solid #c00;
+}
+
+/* The descriptive help text (separate from the label). */
+.form-item .description {
+ font-size: 0.85em;
+}
+.form-type-radio .description,
+.form-type-checkbox .description {
+ margin-left: 2.4em;
+}
+
+/* The part of the label that indicates a required field. */
+.form-required {
+ color: #c00;
+}
+
+/* Labels for radios and checkboxes. */
+label.option {
+ display: inline;
+ font-weight: normal;
+}
+
+/* Buttons used by contrib modules like Media. */
+a.button {
+ -webkit-appearance: button;
+ -moz-appearance: button;
+ appearance: button;
+}
+
+/* Password confirmation. */
+.password-parent,
+.confirm-parent {
+ margin: 0;
+}
+
+/* Drupal's default login form block. */
+#user-login-form {
+ text-align: left; /* LTR */
+}
+
+/**
+ * OpenID
+ *
+ * The default styling for the OpenID login link seems to assume Garland's
+ * styling of list items.
+ */
+
+/* OpenID creates a new ul above the login form's links. */
+.openid-links {
+ /* Position OpenID's ul next to the rest of the links. */
+ margin-bottom: 0;
+}
+
+/* The "Log in using OpenID" and "Cancel OpenID login" links. */
+.openid-link,
+.user-link {
+ margin-top: 1.5em;
+}
+html.js #user-login-form li.openid-link,
+#user-login-form li.openid-link {
+ /* Un-do some of the padding on the ul list. */
+ margin-left: -20px; /* LTR */
+}
+#user-login ul {
+ margin: 1.5em 0;
+}
+
+/**
+ * Drupal admin tables.
+ */
+form th {
+ text-align: left; /* LTR */
+ padding-right: 1em; /* LTR */
+ border-bottom: 3px solid #ccc;
+}
+form tbody {
+ border-top: 1px solid #ccc;
+}
+form table ul {
+ margin: 0;
+}
+tr.even,
+tr.odd {
+ background-color: #eee;
+ border-bottom: 1px solid #ccc;
+ padding: 0.1em 0.6em;
+}
+tr.even {
+ background-color: #fff;
+}
+.lt-ie8 tr.even th,
+.lt-ie8 tr.even td,
+.lt-ie8 tr.odd th,
+.lt-ie8 tr.odd td {
+ /* IE doesn't display borders on table rows. */
+ border-bottom: 1px solid #ccc;
+}
+
+/* Markup generated by theme_tablesort_indicator(). */
+td.active {
+ background-color: #ddd;
+}
+
+/* Center checkboxes inside table cell. */
+td.checkbox,
+th.checkbox {
+ text-align: center;
+}
+
+/* Drupal core wrongly puts this in system.menus.css. Since we override that, add it back. */
+td.menu-disabled {
+ background: #ccc;
+}
+
+/**
+ * Autocomplete.
+ *
+ * @see autocomplete.js
+ */
+
+/* Suggestion list. */
+#autocomplete .selected {
+ background: #0072b9;
+ color: #fff;
+}
+
+/**
+ * Collapsible fieldsets.
+ *
+ * @see collapse.js
+ */
+html.js .collapsible .fieldset-legend {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');
+ *background-image: url('../../images/menu-expanded.png');
+ background-position: 5px 65%; /* LTR */
+ background-repeat: no-repeat;
+ padding-left: 15px; /* LTR */
+}
+html.js .collapsed .fieldset-legend {
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC'); /* LTR */
+ *background-image: url('../../images/menu-collapsed.png'); /* LTR */
+ background-position: 5px 50%; /* LTR */
+}
+.fieldset-legend .summary {
+ color: #999;
+ font-size: 0.9em;
+ margin-left: 0.5em;
+}
+
+/**
+ * TableDrag behavior.
+ *
+ * @see tabledrag.js
+ */
+tr.drag {
+ background-color: #fffff0;
+}
+tr.drag-previous {
+ background-color: #ffd;
+}
+.tabledrag-toggle-weight {
+ font-size: 0.9em;
+}
+
+/**
+ * TableSelect behavior.
+ *
+ * @see tableselect.js
+ */
+tr.selected td {
+ background: #ffc;
+}
+
+/**
+ * Progress bar.
+ *
+ * @see progress.js
+ */
+.progress {
+ font-weight: bold;
+}
+.progress .bar {
+ background: #ccc;
+ border-color: #666;
+ margin: 0 0.2em;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ -ms-border-radius: 3px;
+ -o-border-radius: 3px;
+ border-radius: 3px;
+}
+.progress .filled {
+ background-color: #0072b9;
+ background-image: url('../../images/progress.gif');
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/layouts/fixed-rtl.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/layouts/fixed-rtl.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,72 @@
+/**
+ * @file
+ * RTL companion for the layout-fixed-width.css file.
+ */
+
+/**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+/* Span 4 columns, starting in 2nd column from right. */
+.sidebar-first #content {
+ float: right;
+ width: 764px;
+ margin-right: 196px;
+ margin-left: -980px;
+}
+
+/* Span 1 column, starting in 1st column from right. */
+.sidebar-first .region-sidebar-first {
+ float: right;
+ width: 176px;
+ margin-right: 0px;
+ margin-left: -196px;
+}
+
+/**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+/* Span 4 columns, starting in 1st column from right. */
+.sidebar-second #content {
+ float: right;
+ width: 764px;
+ margin-right: 0px;
+ margin-left: -784px;
+}
+
+/* Span 1 column, starting in 5th column from right. */
+.sidebar-second .region-sidebar-second {
+ float: right;
+ width: 176px;
+ margin-right: 784px;
+ margin-left: -980px;
+}
+
+/**
+ * The layout when there are two sidebars.
+ */
+
+/* Span 3 columns, starting in 2nd column from right. */
+.two-sidebars #content {
+ float: right;
+ width: 568px;
+ margin-right: 196px;
+ margin-left: -784px;
+}
+
+/* Span 1 column, starting in 1st column from right. */
+.two-sidebars .region-sidebar-first {
+ float: right;
+ width: 176px;
+ margin-right: 0px;
+ margin-left: -196px;
+}
+
+/* Span 1 column, starting in 5th column from right. */
+.two-sidebars .region-sidebar-second {
+ float: right;
+ width: 176px;
+ margin-right: 784px;
+ margin-left: -980px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/layouts/fixed.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/layouts/fixed.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,145 @@
+/**
+ * @file
+ * Positioning for a fixed-width, desktop-centric layout.
+ *
+ * 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 uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+/**
+ * Center the page.
+ *
+ * If you want to make the page a fixed width and centered in the viewport,
+ * this is the standards-compliant way to do that.
+ */
+#page,
+.region-bottom {
+ margin-left: auto;
+ margin-right: auto;
+ width: 980px;
+}
+
+/* Apply the shared properties of grid items in a single, efficient ruleset. */
+#header,
+#content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ padding-left: 10px;
+ padding-right: 10px;
+ border-left: 0 !important;
+ border-right: 0 !important;
+ word-wrap: break-word;
+ *behavior: url("/path/to/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+}
+
+/* Containers for grid items and flow items. */
+#header,
+#main,
+#footer {
+ *position: relative;
+ *zoom: 1;
+}
+#header:before,
+#header:after,
+#main:before,
+#main:after,
+#footer:before,
+#footer:after {
+ content: "";
+ display: table;
+}
+#header:after,
+#main:after,
+#footer:after {
+ clear: both;
+}
+
+/* Navigation bar */
+#main {
+ /* Move all the children of #main down to make room. */
+ padding-top: 3em;
+ position: relative;
+}
+#navigation {
+ /* Move the navbar up inside #main's padding. */
+ position: absolute;
+ top: 0;
+ height: 3em;
+ width: 960px;
+}
+
+/**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+/* Span 4 columns, starting in 2nd column from left. */
+.sidebar-first #content {
+ float: left;
+ width: 764px;
+ margin-left: 196px;
+ margin-right: -980px;
+}
+
+/* Span 1 column, starting in 1st column from left. */
+.sidebar-first .region-sidebar-first {
+ float: left;
+ width: 176px;
+ margin-left: 0px;
+ margin-right: -196px;
+}
+
+/**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+/* Span 4 columns, starting in 1st column from left. */
+.sidebar-second #content {
+ float: left;
+ width: 764px;
+ margin-left: 0px;
+ margin-right: -784px;
+}
+
+/* Span 1 column, starting in 5th column from left. */
+.sidebar-second .region-sidebar-second {
+ float: left;
+ width: 176px;
+ margin-left: 784px;
+ margin-right: -980px;
+}
+
+/**
+ * The layout when there are two sidebars.
+ */
+
+/* Span 3 columns, starting in 2nd column from left. */
+.two-sidebars #content {
+ float: left;
+ width: 568px;
+ margin-left: 196px;
+ margin-right: -784px;
+}
+
+/* Span 1 column, starting in 1st column from left. */
+.two-sidebars .region-sidebar-first {
+ float: left;
+ width: 176px;
+ margin-left: 0px;
+ margin-right: -196px;
+}
+
+/* Span 1 column, starting in 5th column from left. */
+.two-sidebars .region-sidebar-second {
+ float: left;
+ width: 176px;
+ margin-left: 784px;
+ margin-right: -980px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/layouts/responsive-rtl.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/layouts/responsive-rtl.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,195 @@
+/**
+ * @file
+ * RTL companion for the layout-responsive.css file.
+ */
+
+/**
+ * Use 3 grid columns for smaller screens.
+ */
+@media all and (min-width: 480px) and (max-width: 959px) {
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ /* Span 2 columns, starting in 2nd column from right. */
+ .sidebar-first #content {
+ float: right;
+ width: 66.66667%;
+ margin-right: 33.33333%;
+ margin-left: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from right. */
+ .sidebar-first .region-sidebar-first {
+ float: right;
+ width: 33.33333%;
+ margin-right: 0%;
+ margin-left: -33.33333%;
+ }
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ /* Span 2 columns, starting in 1st column from right. */
+ .sidebar-second #content {
+ float: right;
+ width: 66.66667%;
+ margin-right: 0%;
+ margin-left: -66.66667%;
+ }
+
+ /* Span 1 column, starting in 3rd column from right. */
+ .sidebar-second .region-sidebar-second {
+ float: right;
+ width: 33.33333%;
+ margin-right: 66.66667%;
+ margin-left: -100%;
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+
+ /* Span 2 columns, starting in 2nd column from right. */
+ .two-sidebars #content {
+ float: right;
+ width: 66.66667%;
+ margin-right: 33.33333%;
+ margin-left: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from right. */
+ .two-sidebars .region-sidebar-first {
+ float: right;
+ width: 33.33333%;
+ margin-right: 0%;
+ margin-left: -33.33333%;
+ }
+
+ /* Start a new row and span all 3 columns. */
+ .two-sidebars .region-sidebar-second {
+ float: right;
+ width: 100%;
+ margin-right: 0%;
+ margin-left: -100%;
+ padding-left: 0;
+ padding-right: 0;
+ clear: right;
+ }
+
+ /* Apply the shared properties of grid items in a single, efficient ruleset. */
+ .two-sidebars .region-sidebar-second .block {
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/path/to/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+ }
+
+ /* Span 1 column, starting in the 1st column from right. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n+1) {
+ float: right;
+ width: 33.33333%;
+ margin-right: 0%;
+ margin-left: -33.33333%;
+ clear: right;
+ }
+
+ /* Span 1 column, starting in the 2nd column from right. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n+2) {
+ float: right;
+ width: 33.33333%;
+ margin-right: 33.33333%;
+ margin-left: -66.66667%;
+ }
+
+ /* Span 1 column, starting in the 3rd column from right. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n) {
+ float: right;
+ width: 33.33333%;
+ margin-right: 66.66667%;
+ margin-left: -100%;
+ }
+}
+
+/**
+ * Use 5 grid columns for larger screens.
+ */
+@media all and (min-width: 960px) {
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ /* Span 4 columns, starting in 2nd column from right. */
+ .sidebar-first #content {
+ float: right;
+ width: 80%;
+ margin-right: 20%;
+ margin-left: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from right. */
+ .sidebar-first .region-sidebar-first {
+ float: right;
+ width: 20%;
+ margin-right: 0%;
+ margin-left: -20%;
+ }
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ /* Span 4 columns, starting in 1st column from right. */
+ .sidebar-second #content {
+ float: right;
+ width: 80%;
+ margin-right: 0%;
+ margin-left: -80%;
+ }
+
+ /* Span 1 column, starting in 5th column from right. */
+ .sidebar-second .region-sidebar-second {
+ float: right;
+ width: 20%;
+ margin-right: 80%;
+ margin-left: -100%;
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+
+ /* Span 3 columns, starting in 2nd column from right. */
+ .two-sidebars #content {
+ float: right;
+ width: 60%;
+ margin-right: 20%;
+ margin-left: -80%;
+ }
+
+ /* Span 1 column, starting in 1st column from right. */
+ .two-sidebars .region-sidebar-first {
+ float: right;
+ width: 20%;
+ margin-right: 0%;
+ margin-left: -20%;
+ }
+
+ /* Span 1 column, starting in 5th column from right. */
+ .two-sidebars .region-sidebar-second {
+ float: right;
+ width: 20%;
+ margin-right: 80%;
+ margin-left: -100%;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/layouts/responsive.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/layouts/responsive.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,271 @@
+/**
+ * @file
+ * Positioning for a responsive layout.
+ *
+ * Define CSS classes to create a fluid grid layout with optional sidebars
+ * depending on whether blocks are placed in the left or right sidebars.
+ *
+ * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+/**
+ * Center the page.
+ *
+ * For screen sizes larger than 1200px, prevent excessively long lines of text
+ * by setting a max-width.
+ */
+#page,
+.region-bottom {
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1200px;
+}
+
+/* Apply the shared properties of grid items in a single, efficient ruleset. */
+#header,
+#content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/path/to/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+}
+
+/* Containers for grid items and flow items. */
+#header,
+#main,
+#footer {
+ *position: relative;
+ *zoom: 1;
+}
+#header:before,
+#header:after,
+#main:before,
+#main:after,
+#footer:before,
+#footer:after {
+ content: "";
+ display: table;
+}
+#header:after,
+#main:after,
+#footer:after {
+ clear: both;
+}
+
+/* Navigation bar */
+@media all and (min-width: 480px) {
+ #main {
+ /* Move all the children of #main down to make room. */
+ padding-top: 3em;
+ position: relative;
+ }
+ #navigation {
+ /* Move the navbar up inside #main's padding. */
+ position: absolute;
+ top: 0;
+ height: 3em;
+ width: 100%;
+ }
+}
+
+/**
+ * Use 3 grid columns for smaller screens.
+ */
+@media all and (min-width: 480px) and (max-width: 959px) {
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ /* Span 2 columns, starting in 2nd column from left. */
+ .sidebar-first #content {
+ float: left;
+ width: 66.66667%;
+ margin-left: 33.33333%;
+ margin-right: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .sidebar-first .region-sidebar-first {
+ float: left;
+ width: 33.33333%;
+ margin-left: 0%;
+ margin-right: -33.33333%;
+ }
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ /* Span 2 columns, starting in 1st column from left. */
+ .sidebar-second #content {
+ float: left;
+ width: 66.66667%;
+ margin-left: 0%;
+ margin-right: -66.66667%;
+ }
+
+ /* Span 1 column, starting in 3rd column from left. */
+ .sidebar-second .region-sidebar-second {
+ float: left;
+ width: 33.33333%;
+ margin-left: 66.66667%;
+ margin-right: -100%;
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+
+ /* Span 2 columns, starting in 2nd column from left. */
+ .two-sidebars #content {
+ float: left;
+ width: 66.66667%;
+ margin-left: 33.33333%;
+ margin-right: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .two-sidebars .region-sidebar-first {
+ float: left;
+ width: 33.33333%;
+ margin-left: 0%;
+ margin-right: -33.33333%;
+ }
+
+ /* Start a new row and span all 3 columns. */
+ .two-sidebars .region-sidebar-second {
+ float: left;
+ width: 100%;
+ margin-left: 0%;
+ margin-right: -100%;
+ padding-left: 0;
+ padding-right: 0;
+ clear: left;
+ }
+
+ /* Apply the shared properties of grid items in a single, efficient ruleset. */
+ .two-sidebars .region-sidebar-second .block {
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/path/to/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+ }
+
+ /* Span 1 column, starting in the 1st column from left. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n+1) {
+ float: left;
+ width: 33.33333%;
+ margin-left: 0%;
+ margin-right: -33.33333%;
+ clear: left;
+ }
+
+ /* Span 1 column, starting in the 2nd column from left. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n+2) {
+ float: left;
+ width: 33.33333%;
+ margin-left: 33.33333%;
+ margin-right: -66.66667%;
+ }
+
+ /* Span 1 column, starting in the 3rd column from left. */
+ .two-sidebars .region-sidebar-second .block:nth-child(3n) {
+ float: left;
+ width: 33.33333%;
+ margin-left: 66.66667%;
+ margin-right: -100%;
+ }
+}
+
+/**
+ * Use 5 grid columns for larger screens.
+ */
+@media all and (min-width: 960px) {
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ /* Span 4 columns, starting in 2nd column from left. */
+ .sidebar-first #content {
+ float: left;
+ width: 80%;
+ margin-left: 20%;
+ margin-right: -100%;
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .sidebar-first .region-sidebar-first {
+ float: left;
+ width: 20%;
+ margin-left: 0%;
+ margin-right: -20%;
+ }
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ /* Span 4 columns, starting in 1st column from left. */
+ .sidebar-second #content {
+ float: left;
+ width: 80%;
+ margin-left: 0%;
+ margin-right: -80%;
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .sidebar-second .region-sidebar-second {
+ float: left;
+ width: 20%;
+ margin-left: 80%;
+ margin-right: -100%;
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+
+ /* Span 3 columns, starting in 2nd column from left. */
+ .two-sidebars #content {
+ float: left;
+ width: 60%;
+ margin-left: 20%;
+ margin-right: -80%;
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .two-sidebars .region-sidebar-first {
+ float: left;
+ width: 20%;
+ margin-left: 0%;
+ margin-right: -20%;
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .two-sidebars .region-sidebar-second {
+ float: left;
+ width: 20%;
+ margin-left: 80%;
+ margin-right: -100%;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/normalize-rtl.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/normalize-rtl.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * Normalize-rtl.scss is the RTL language extension of normalize.scss
+ */
+
+/**
+ * Lists
+ */
+dd {
+ margin: 0 30px 0 0;
+}
+
+/* Address paddings set differently in IE 6/7. */
+menu,
+ol,
+ul {
+ padding: 0 30px 0 0;
+}
+
+/**
+ * Forms
+ */
+legend {
+ /* Correct alignment displayed oddly in IE 6/7. */
+ *margin-left: 0;
+ *margin-right: -7px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/normalize.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/normalize.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,555 @@
+/**
+ * @file
+ * Normalize.css is intended to be used as an alternative to CSS resets.
+ *
+ * This file is a slight fork of these original sources:
+ * - normalize.css v2.1.2 | MIT License | git.io/normalize
+ * - normalize.scss v2.1.2 | MIT/GPLv2 License | bit.ly/normalize-with-compass
+ *
+ * It's suggested that you read the normalize.scss file and customise it to meet
+ * your needs, rather then including the file in your project and overriding the
+ * defaults later in your CSS.
+ * @see http://nicolasgallagher.com/about-normalize-css/
+ *
+ * Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
+ * @see http://snook.ca/archives/html_and_css/no_css_reset/
+ */
+
+/**
+ * HTML5 display definitions
+ */
+
+/* Correct `block` display not defined in IE 8/9. */
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+main,
+nav,
+section,
+summary {
+ display: block;
+}
+
+/* Correct `inline-block` display not defined in IE 8/9. */
+audio,
+canvas,
+video {
+ display: inline-block;
+ *display: inline;
+ *zoom: 1;
+}
+
+/**
+ * Prevent modern browsers from displaying `audio` without controls.
+ * Remove excess height in iOS 5 devices.
+ */
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/* Address styling not present in IE 8/9. */
+[hidden] {
+ display: none;
+}
+
+/**
+ * Base
+ *
+ * Instead of relying on the fonts that are available on a user's computer, you
+ * can use web fonts which, like images, are resources downloaded to the user's
+ * browser. Because of the bandwidth and rendering resources required, web fonts
+ * should be used with care.
+ *
+ * Numerous resources for web fonts can be found on Google. Here are a few
+ * websites where you can find Open Source fonts to download:
+ * - http://www.fontsquirrel.com/fontface
+ * - http://www.theleagueofmoveabletype.com
+ *
+ * In order to use these fonts, you will need to convert them into formats
+ * suitable for web fonts. We recommend the free-to-use Font Squirrel's
+ * Font-Face Generator:
+ * http://www.fontsquirrel.com/fontface/generator
+ *
+ * The following is an example @font-face declaration. This font can then be
+ * used in any ruleset using a property like this: font-family: Example, serif;
+ */
+
+/*
+@font-face {
+ font-family: 'Example';
+ src: url('../fonts/example.eot');
+ src: url('../fonts/example.eot?iefix') format('eot'),
+ url('../fonts/example.woff') format('woff'),
+ url('../fonts/example.ttf') format('truetype'),
+ url('../fonts/example.svg#webfontOkOndcij') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+*/
+
+/**
+ * 1. Set default font family to sans-serif.
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * user zoom.
+ * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
+ * `em` units.
+ */
+html {
+ font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif; /* 1 */
+
+ /* Delete all but one of the following font-size declarations: */
+
+ /* Use a 12px base font size. 16px x 75% = 12px */
+ font-size: 75%; /* 3 */
+ /* Use a 14px base font size. 16px x .875 = 14px */
+ font-size: 87.5%; /* 3 */
+ /* Use a 16px base font size. */
+ font-size: 100%; /* 3 */
+
+ -ms-text-size-adjust: 100%; /* 2 */
+ -webkit-text-size-adjust: 100%; /* 2 */
+
+ /* Establish a vertical rhythm. */
+ line-height: 1.5em;
+}
+
+/* Address `font-family` inconsistency between `textarea` and other form elements. */
+button,
+input,
+select,
+textarea {
+ /**
+ * The following font family declarations are available on most computers.
+ *
+ * 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, serif or
+ * monospace) 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, "DejaVu Serif", serif;
+ * font-family: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
+ * font-family: Georgia, "Times New Roman", "DejaVu Serif", serif;
+ *
+ * font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
+ * font-family: Tahoma, Verdana, "DejaVu Sans", sans-serif;
+ * font-family: Helvetica, Arial, "Nimbus Sans L", sans-serif;
+ * font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
+ *
+ * font-family: "Courier New", "DejaVu Sans Mono", monospace;
+ */
+ font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
+}
+
+/* Remove default margin. */
+body {
+ margin: 0;
+ 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 {
+}
+
+/* Address `outline` inconsistency between Chrome and other browsers. */
+a:focus {
+ outline: thin dotted;
+}
+
+/* Improve readability when focused and also mouse hovered in all browsers. */
+a:active,
+a:hover {
+ outline: 0;
+}
+
+/**
+ * Typography
+ *
+ * To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins
+ * so that the line height of our base font becomes the basic unit of vertical
+ * measurement. We use multiples of that unit to set the top and bottom margins
+ * for our block level elements and to set the line heights of any fonts.
+ * For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
+ */
+
+/* Set 1 unit of vertical rhythm on the top and bottom margin. */
+p,
+pre {
+ margin: 1.5em 0;
+}
+blockquote {
+ /* Also indent the quote on both sides. */
+ margin: 1.5em 30px;
+}
+
+/**
+ * Address variable `h1` font-size and margin within `section` and `article`
+ * contexts in Firefox 4+, Safari 5, and Chrome.
+ */
+h1 {
+ /* Set the font-size and line-height while keeping a proper vertical rhythm. */
+ font-size: 2em;
+ line-height: 1.5em; /* 3rem / 2em = 1.5em */
+ /* Set 1 unit of vertical rhythm on the top and bottom margins. */
+ margin-top: 0.75em; /* 1.5rem / 2em = .75em */
+ margin-bottom: 0.75em;
+}
+h2 {
+ font-size: 1.5em;
+ line-height: 2em; /* 3rem / 1.5em = 2em */
+ margin-top: 1em; /* 1.5rem / 1.5em = 1em */
+ margin-bottom: 1em;
+}
+h3 {
+ font-size: 1.17em;
+ line-height: 1.28205em; /* 1.5rem / 1.17em = 1.28205em */
+ margin-top: 1.28205em;
+ margin-bottom: 1.28205em;
+}
+h4 {
+ font-size: 1em;
+ line-height: 1.5em; /* 1.5rem / 1em = 1.5em */
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+}
+h5 {
+ font-size: 0.83em;
+ line-height: 1.80723em; /* 1.5rem / 0.83em = 1.80723em */
+ margin-top: 1.80723em;
+ margin-bottom: 1.80723em;
+}
+h6 {
+ font-size: 0.67em;
+ line-height: 2.23881em; /* 1.5rem / 0.67em = 2.23881em */
+ margin-top: 2.23881em;
+ margin-bottom: 2.23881em;
+}
+
+/* Address styling not present in IE 8/9, Safari 5, and Chrome. */
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+/* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
+b,
+strong {
+ font-weight: bold;
+}
+
+/* Address styling not present in Safari 5 and Chrome. */
+dfn {
+ font-style: italic;
+}
+
+/* Address differences between Firefox and other browsers. */
+hr {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+ border: 1px solid #666;
+ padding-bottom: -1px;
+ margin: 1.5em 0;
+}
+
+/* Address styling not present in IE 8/9. */
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/* Correct font family set oddly in Safari 5 and Chrome. */
+code,
+kbd,
+pre,
+samp,
+tt,
+var {
+ font-family: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
+ _font-family: 'courier new', monospace;
+ font-size: 1em;
+ line-height: 1.5em;
+}
+
+/* Improve readability of pre-formatted text in all browsers. */
+pre {
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
+/* Set consistent quote types. */
+q {
+ quotes: "\201C" "\201D" "\2018" "\2019";
+}
+
+/* Address inconsistent and variable font size in all browsers. */
+small {
+ font-size: 80%;
+}
+
+/* Prevent `sub` and `sup` affecting `line-height` in all browsers. */
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ top: -0.5em;
+}
+sub {
+ bottom: -0.25em;
+}
+
+/**
+ * Lists
+ */
+dl,
+menu,
+ol,
+ul {
+ /* Address margins set differently in IE 6/7. */
+ margin: 1.5em 0;
+}
+ol ol,
+ol ul,
+ul ol,
+ul ul {
+ /* Turn off margins on nested lists. */
+ margin: 0;
+}
+dd {
+ margin: 0 0 0 30px; /* LTR */
+}
+
+/* Address paddings set differently in IE 6/7. */
+menu,
+ol,
+ul {
+ padding: 0 0 0 30px; /* LTR */
+}
+
+/* Correct list images handled incorrectly in IE 7. */
+nav ul,
+nav ol {
+ list-style: none;
+ list-style-image: none;
+}
+
+/**
+ * Embedded content and figures
+ *
+ * @todo Look into adding responsive embedded video.
+ */
+img {
+ /* Remove border when inside `a` element in IE 8/9. */
+ border: 0;
+ /* Improve image quality when scaled in IE 7. */
+ -ms-interpolation-mode: bicubic;
+
+ /* Suppress the space beneath the baseline */
+ /* vertical-align: bottom; */
+
+ /* Responsive images */
+ max-width: 100%;
+ height: auto;
+ /* Correct IE 8 not scaling image height when resized. */
+ width: auto;
+}
+
+/* Correct overflow displayed oddly in IE 9. */
+svg:not(:root) {
+ overflow: hidden;
+}
+
+/* Address margin not present in IE 8/9 and Safari 5. */
+figure {
+ margin: 0;
+}
+
+/**
+ * Forms
+ */
+
+/* Correct margin displayed oddly in IE 6/7. */
+form {
+ margin: 0;
+}
+
+/* Define consistent border, margin, and padding. */
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.5em 0.625em 1em;
+}
+
+/**
+ * 1. Correct `color` not being inherited in IE 8/9.
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
+ * 3. Correct alignment displayed oddly in IE 6/7.
+ */
+legend {
+ border: 0; /* 1 */
+ padding: 0; /* 2 */
+ *margin-left: -7px; /* 3 */ /* LTR */
+}
+
+/**
+ * 1. Correct font family not being inherited in all browsers.
+ * 2. Correct font size not being inherited in all browsers.
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
+ * 4. Improve appearance and consistency with IE 6/7.
+ * 5. Keep form elements constrained in their containers.
+ */
+button,
+input,
+select,
+textarea {
+ font-family: inherit; /* 1 */
+ font-size: 100%; /* 2 */
+ margin: 0; /* 3 */
+ vertical-align: baseline; /* 4 */
+ *vertical-align: middle; /* 4 */
+ max-width: 100%; /* 5 */
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box; /* 5 */
+}
+
+/**
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
+ * the UA stylesheet.
+ */
+button,
+input {
+ line-height: normal;
+}
+
+/**
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * All other form control elements do not inherit `text-transform` values.
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
+ */
+button,
+select {
+ text-transform: none;
+}
+
+/**
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+ * and `video` controls.
+ * 2. Correct inability to style clickable `input` types in iOS.
+ * 3. Improve usability and consistency of cursor style between image-type
+ * `input` and others.
+ * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
+ * Known issue: inner spacing remains in IE 6.
+ */
+button,
+html input[type="button"], /* 1 */
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button; /* 2 */
+ cursor: pointer; /* 3 */
+ *overflow: visible; /* 4 */
+}
+
+/**
+ * Re-set default cursor for disabled elements.
+ */
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+
+/**
+ * 1. Address box sizing set to `content-box` in IE 8/9.
+ * 2. Remove excess padding in IE 8/9.
+ * 3. Remove excess padding in IE 7.
+ * Known issue: excess padding remains in IE 6.
+ */
+input[type="checkbox"],
+input[type="radio"] {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box; /* 1 */
+ padding: 0; /* 2 */
+ *height: 13px; /* 3 */
+ *width: 13px; /* 3 */
+}
+
+/**
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
+ * (include `-moz` to future-proof).
+ */
+input[type="search"] {
+ -webkit-appearance: textfield; /* 1 */
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box; /* 2 */
+}
+
+/**
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
+ * on OS X.
+ */
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/* Remove inner padding and border in Firefox 4+. */
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/**
+ * 1. Remove default vertical scrollbar in IE 8/9.
+ * 2. Improve readability and alignment in all browsers.
+ */
+textarea {
+ overflow: auto; /* 1 */
+ vertical-align: top; /* 2 */
+}
+
+/* Drupal-style form labels. */
+label {
+ display: block;
+ font-weight: bold;
+}
+
+/**
+ * Tables
+ */
+table {
+ /* Remove most spacing between table cells. */
+ border-collapse: collapse;
+ border-spacing: 0;
+ /* Prevent cramped-looking tables */
+ /* width: 100%; */
+ /* Add vertical rhythm margins. */
+ margin-top: 1.5em;
+ margin-bottom: 1.5em;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/print.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/print.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,80 @@
+/**
+ * @file
+ * Print styling
+ *
+ * We provide some sane print styling for Drupal using Zen's layout method.
+ */
+
+/**
+ * By importing this CSS file as media "all", we allow this print file to be
+ * aggregated with other stylesheets, for improved front-end performance.
+ */
+@media print {
+
+ /* Underline all links. */
+ a:link,
+ a:visited {
+ text-decoration: underline !important;
+ }
+
+ /* Don't underline header. */
+ a:link.header__site-link,
+ a:visited.header__site-link {
+ text-decoration: none !important;
+ }
+
+ /* Add visible URL after links. */
+ #content a[href]:after {
+ content: " (" attr(href) ")";
+ font-weight: normal;
+ font-size: 16px;
+ }
+
+ /* Only display useful links. */
+ #content a[href^="javascript:"]:after,
+ #content a[href^="#"]:after {
+ content: "";
+ }
+
+ /* Add visible title after abbreviations. */
+ #content abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+
+ /* Un-float the content. */
+ #content {
+ float: none !important;
+ width: 100% !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ /* Turn off any background colors or images. */
+ body,
+ #page,
+ #main,
+ #content {
+ color: #000;
+ background-color: transparent !important;
+ background-image: none !important;
+ }
+
+ /* Hide sidebars and nav elements. */
+ #skip-link,
+ #toolbar,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .breadcrumb,
+ .tabs,
+ .action-links,
+ .links,
+ .book-navigation,
+ .forum-topic-navigation,
+ .pager,
+ .feed-icons {
+ visibility: hidden;
+ display: none;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/styles-rtl.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/styles-rtl.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,17 @@
+/**
+ * @file
+ * RTL companion for the styles.css file.
+ */
+
+/* HTML element (SMACSS base) rules */
+@import "normalize-rtl.css";
+
+/* Layout rules */
+@import "layouts/responsive-rtl.css";
+
+/* Component (SMACSS module) rules */
+@import "components/misc-rtl.css";
+
+/* SMACSS theme rules */
+/* @import "theme-A-rtl.css"; */
+/* @import "theme-B-rtl.css"; */
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/css/styles.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/css/styles.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,22 @@
+/**
+ * @file
+ * Styles are organized using the SMACSS technique. @see http://smacss.com/book/
+ *
+ * When you turn on CSS aggregation at admin/config/development/performance, all
+ * of these @include files will be combined into a single file.
+ */
+
+/* HTML element (SMACSS base) rules */
+@import "normalize.css";
+
+/* Layout rules */
+@import "layouts/responsive.css";
+
+/* Component (SMACSS module) rules */
+@import "components/misc.css";
+/* Optionally, add your own components here. */
+@import "print.css";
+
+/* SMACSS theme rules */
+/* @import "theme-A.css"; */
+/* @import "theme-B.css"; */
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/favicon.ico
Binary file sites/all/themes/zen/STARTERKIT/favicon.ico has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images-source/screenshot.psd
Binary file sites/all/themes/zen/STARTERKIT/images-source/screenshot.psd has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/help.png
Binary file sites/all/themes/zen/STARTERKIT/images/help.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/menu-collapsed-rtl.png
Binary file sites/all/themes/zen/STARTERKIT/images/menu-collapsed-rtl.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/menu-collapsed.png
Binary file sites/all/themes/zen/STARTERKIT/images/menu-collapsed.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/menu-expanded.png
Binary file sites/all/themes/zen/STARTERKIT/images/menu-expanded.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/menu-leaf.png
Binary file sites/all/themes/zen/STARTERKIT/images/menu-leaf.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/message-24-error.png
Binary file sites/all/themes/zen/STARTERKIT/images/message-24-error.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/message-24-ok.png
Binary file sites/all/themes/zen/STARTERKIT/images/message-24-ok.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/message-24-warning.png
Binary file sites/all/themes/zen/STARTERKIT/images/message-24-warning.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/images/progress.gif
Binary file sites/all/themes/zen/STARTERKIT/images/progress.gif has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/js/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/js/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,14 @@
+Your theme can add JavaScript files in two ways:
+
+1. To add a JavaScript file to all pages on your website, edit your sub-theme's
+ .info file and add a line like this one:
+
+ scripts[] = js/my-jquery-script.js
+
+2. To add a JavaScript file depending on a certain condition, you can add it
+ using some PHP code in a preprocess function:
+
+ drupal_add_js(drupal_get_path('theme', 'THEME_NAME') . '/js/my-jquery-script.js', array('group' => JS_THEME));
+
+ For the full documentation of drupal_add_js(), see:
+ http://api.drupal.org/api/function/drupal_add_js
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/js/script.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/js/script.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * A JavaScript file for the theme.
+ *
+ * In order for this JavaScript to be loaded on pages, see the instructions in
+ * the README.txt next to this file.
+ */
+
+// JavaScript should be made compatible with libraries other than jQuery by
+// wrapping it with an "anonymous closure". See:
+// - https://drupal.org/node/1446420
+// - http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth
+(function ($, Drupal, window, document, undefined) {
+
+
+// To understand behaviors, see https://drupal.org/node/756722#behaviors
+Drupal.behaviors.my_custom_behavior = {
+ attach: function(context, settings) {
+
+ // Place your code here.
+
+ }
+};
+
+
+})(jQuery, Drupal, this, this.document);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/logo.png
Binary file sites/all/themes/zen/STARTERKIT/logo.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/DO_NOT_MODIFY
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/DO_NOT_MODIFY Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,17 @@
+This is a copy of the "zen-grids" extension.
+
+It now overrides the original which was found here:
+
+/Library/Ruby/Gems/1.8/gems/zen-grids-1.4
+
+Unpacking an extension is useful when you need to easily peruse the
+extension's source. You might find yourself tempted to change the
+stylesheets here. If you do this, you'll find it harder to take
+updates from the original author. Sometimes this seems like a good
+idea at the time, but in a few months, you'll probably regret it.
+
+In the future, if you take an update of this framework, you'll need to run
+
+ compass unpack zen-grids
+
+again or remove this unpacked extension.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/LICENSE.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/LICENSE.txt Thu Aug 22 17:22:54 2013 +0100
@@ -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 -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,88 @@
+ABOUT zen-grids
+---------------
+
+Zen Grids is an intuitive, flexible grid system that leverages the natural
+source order of your content to make it easier to create fluid responsive
+designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied
+to an infinite number of layouts, including responsive, adaptive, fluid and
+fixed-width layouts.
+
+More information can be found at http://zengrids.com
+
+
+USAGE
+-----
+
+Here's a simple example: a content column with a sidebar on each side, aligned
+to a 12 column grid.
+
+ @import "zen";
+
+ $zen-gutter-width: 40px; // Set the gutter size. A half-gutter is used on
+ // each side of each column.
+
+ .container {
+ @include zen-grid-container(); // Define the container for your grid items.
+ }
+
+ $zen-column-count: 12; // Set the number of grid columns to use in this media
+ // query. You'll likely want a different grid for
+ // different screen sizes.
+
+ @media all and (min-width: 50em) {
+ .sidebar1 {
+ @include zen-grid-item(3, 1); // Span 3 columns starting in 1st column.
+ }
+ .content {
+ @include zen-grid-item(6, 4); // Span 6 columns starting in 4th column.
+ }
+ .sidebar2 {
+ @include zen-grid-item(3, 10); // Span 3 columns starting in 10th column.
+ }
+ }
+
+Within the .container element, the .sidebar1, .sidebar2 and .content elements
+can be in any order.
+
+Zen Grids has built-in support for the Box-sizing Polyfill which adds
+"box-sizing: border-box" support to IE7 and earlier.
+
+- Download the polyfill at https://github.com/Schepp/box-sizing-polyfill
+- Place the boxsizing.htc file in your website.
+- Set Zen Grids' $box-sizing-polyfill-path variable to the absolute path to the
+ boxsizing.htc file on your website. For example:
+ $box-sizing-polyfill-path: "/scripts/polyfills/boxsizing.htc";
+
+
+INSTALLATION
+------------
+
+Zen grids is distributed as a Ruby Gem. On your computer, simply run:
+
+ sudo gem install zen-grids
+
+If you are using Compass (and you should!) then you can add it to an existing
+project by editing the project's configuration file, config.rb, and adding this
+line:
+
+ require 'zen-grids'
+
+You can then start using Zen Grids in your Sass files. Just add this line to one
+of your .sass or .scss files and start creating!
+
+ @import "zen";
+
+
+REQUIREMENTS
+------------
+
+- Sass 3.2 or later
+
+For the zen/background module only:
+- Compass 0.12 or later
+
+
+LICENSE
+-------
+
+Available under the GPL v2 license. See LICENSE.txt.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/lib/zen-grids.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/lib/zen-grids.rb Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,3 @@
+require 'compass'
+extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
+Compass::Frameworks.register('zen-grids', :path => extension_path)
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/_zen.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/_zen.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,3 @@
+// Import the partial for Zen Grids.
+
+@import "zen/grids";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/zen/_background.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/zen/_background.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,155 @@
+@import "grids";
+@import "compass/css3/images";
+
+
+// Specify the color of the background grid.
+$zen-grid-color : #ffdede !default;
+
+// Specify which set of numbers to display with the background grid. Can be set
+// to: both, top, or none.
+$zen-grid-numbers : both !default;
+
+// Create an image set of 25 numbers for the grid using data URIs. Users who are
+// crazy enough to use a 26-column grid or larger are free to extend this set.
+$zen-grid-number-images : () !default;
+
+// If the set is empty, add our default set of 25.
+@if length($zen-grid-number-images) == 0 {
+ // The number 1.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII='));
+ // The number 2.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdBJREFUeNqslL9LQlEUx3367AdamdCQaVjQ0uAQBS+hxbVBhEcESoOG/0SDS9HakDYGEU0huLa1GW4tGtkkURBlQRn4LPseOBdej0u+ygsffByvH98995zj6Ha7DqIfizyKkCmKYv1eBaPAB4ZpP3gDz/zZ+Y1wAEyBeTAH/OATPIBrUAP3oG0VOiRHVli2nslkTmu12pNhGF2iUqncxePxI3yngwDv7SkcAstYeSEy02w229FodB97NN77TeiU5NYDJlOp1KII5HK5y2QyWaZnr9frxvMSv6HH+mOZkPI3EgwGfSJQr9db5g2hUGiMZW47wg/QUlXVMAd1XQ+I50aj8cI3bUhrx5JD+ucI2ADb4DASiZyZ80j5pTzLcigTOlkaBqtgp1gs3ghZqVS6QmyTTm73lkXpTIBEOp0umm9Y07QDxFdkF/KTcBAsgC3k61UI8/n8BWJJrlOnXaEo7BQJhKxarTYR2+OiDnM1OOwWtkbFS0cUwlgsdo74MdgFa2AauOwIqW8ThUKhLOsUIpvNnmBPlIdGz06h1fH7/a6/jDDZtKEjz/ClzFrfAuudpw1d0C03wo/jS2HpOM9Da3tRd1CnPNodX/+a2H0XfgkwAIVYVeQ1/9a6AAAAAElFTkSuQmCC'));
+ // The number 3.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe5JREFUeNqslM1LAkEYxnX7lL62CAmTwENkhyKwDkZg185dgvDQwS7RUQkvkRfzKNQfIF5CukjRJelk4EWwDmVUEJinaNlSMLPWnhdmYFvWGqiFH44z8z7zzjPvjKXZbFqI//hIx8rFrFarfkwCNiCDPtABNFADKngFH6KC1BgEE2ASOEE3E1DALbgCZfBuFLSYbJmC51wu1046nb5pNBpNTrFYVEKh0DHGV8AoW/xXQTsFJJPJC72YHq/Xu485Xrb4N0HJxFvybsjtdtt5Rzwev04kEvf8v9/v97CFbcbgdhPBT/AmSZLGOxRFaRgyoa22scP7VbACih6PZ5cdzAjoSqVS03xCoVB4wM8zLWxaOwYPaZEBMAXWI5HIud6/TCZTQv82mBX18MfP5/M5Y7HYAprDlLlIhpTdPNgEe+AQHOVyuSeeJZUT+taAQyRDuhnufD6/heANsBwOh8ey2ewTn+BwOPrZCXcYg80EycMeTdNa2lGpVN5ZNWgiglQitWq1Wtd3yrLcydvlclll1VAX8ZAehCUYf9rqpgQCgQPMWQS9IlePtuyiCxGNRs9UVa1zoVKpVA0GgycYWwVjrLiFnq9OFjADxlkm5NcLuAOX4NHstWklyEVlBvfvjb2HL8xri8iW//Ri/7vglwADAMZnRpCsTg8QAAAAAElFTkSuQmCC'));
+ // The number 4.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAW5JREFUeNqslDFLw0AYhpOaSFuiDjqViiUKVhACDpJCQycX/TVChCz+Evf8ALtlCGZyCW6uOiR4QusgSgtmiO/BBZJ4l1qSg4dwd19e7vvuvU9K01SiNDGojpyJybLMi9kEu2AHqGwtAZ/gA/ysI6iAPjgHx6DD1pfgGTwCUhaUKlLeBheO49wnSZLmwfotGPJSblWUZAscmKY55Ox1ciUoDJGgwmrXm0wmg3UuRiTYpWK2bY80TVN93yd1BWm6/fF4fEgnQRDM6ggW0iWELKbT6byOYCFdz/OIwJ9d3sW0BOn2LMvS6cR13TeBpfaZ4f96p+TDI3ATRdF32X8ZcRx/IeYa6P/x4YbIY7kfZZEXeYL0rS7wFIUdg+0tWWxxj/OW98AZOM0ag2EYgzAMr7IAVVXv8PHAA5jnU1Y4B6Cd5Am8sJvU2+32ZSnmHbyy2JUnLOzTGwcjcMLqVtltVgnyemJlP5Sa7tiNC/4KMAAbxb+98QKR2gAAAABJRU5ErkJggg=='));
+ // The number 5.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc5JREFUeNqslM9KAlEUxp0xzSTNDHMoCiIKKRChXbgIAldKEK5y4Up9A5dufAMRRB8gwnW7lkV/EBcR0WzaBMEQFRNFlkNO34E7MU23msyBHzNz58x373fOPdeh67qDGMRFOkOccQEMg3EwBlyW7xp4AHega/2ZJ0gCM2AFLIARy/cOkMEJuAZvX5ZpsRwEyUajsa9pms4jn89vI2bVOhnpiJwVkt2JcDg82U8eeZZpEqd5IJPJHDebzVtmj3J3BBReDsU/LoAEn1keSazXl2AikQghd0mw2Wq10vF4nAo2DTx9CWaz2XnjORaLSYVCYR2Pc8BnR5BsdURR/NgO1Wr1rFKpnBvvkUiEChYCXjtFobx0U6nUHu4XxgSlUmnZCJAkycfEXHYE3dQh7XY7HY1Gp2igXC63e72e1Y2T55BnmQI9ZgG/3+/Fu5OTGltVfqFelWX5xhgIBAJuc4CiKI+4PbG+dvzWeqNgLZfL7XzXevV6/QAxG9RRVi2eIFmbBVvFYnEXK703hFRVfa3Vaoe0k8Aiy/cnQcEQEwTBWhjauEvsxAmyicjmJTgFVyw9uh1BYwf4KYXsVBFYu6nsPOyaxX6y/K8TW3QM+HoXYACXiuXQRCn2XAAAAABJRU5ErkJggg=='));
+ // The number 6.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcZJREFUeNqslLFLw0AUxpPWKNZag6igqYKgCA61dhScHbV0URwcCo7+DV1K5y6FTlIcdQl0dhKkdBAHsaJ1MBQdJEZNKmnQ+B3cQZte2wx98OPIu5ePe+/dO8F1XYEwDCM6I332yd4EkOkaBA74BB/AJhq8n3g2ChbAGlgBs9T3A57BDXgBTfDXdUxPygGwCPbT6fR5tVp9dRzHZRQKhWvsHYMNevIOLZ4gCdpOJpOn7ULtlMvlO8QcgnmvYICTbogEplKpTeYolUpPmUzmln3H4/ElLFO0DII3PV79IuFwOMQchmG0stlsXZIklRCNRs/gfqc1HSgogTFFUSaZIxaLyZqm7SDd3UqlsgVB0kwLtLh3x1PDZXCCZrz1qqGqqg+IOfJbwy5DDev5fP6efScSCQXLnLfLvVLuMlJDXdcdTmmCfgRJ/r+8KfBjPEFyErvRaHwPGl2/o0c692WaZpM5ZFnuuG+WZdm0y46fLg+clGKxeIWYPTDjZ/TYLB9gli9qtZrOhNAcO5fLXdIrs+qdFKIjMjFRFL3TQq7GOv1xmnbUBI+AjKHmfcL6CbL6Ruh7OE5CaH0NSotXPmHYL3ZAGLL9CzAANR4i5o9tHM8AAAAASUVORK5CYII='));
+ // The number 7.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbBJREFUeNqslL1Kw1AUx5O2ih8BsWoRAw6SgAHJKvQFunWqQ18gs5Oj4DP4DuLomqWTjhVEKYVapDRBrdXUqtU2avyfelNCbGwTvfDj9N5L/j1f9/CO43C0eJ7n/rIGOgGCk2ABzIEJ73fgDbTAI7DHEYwDEWyCdTDtEfwAFrgAp6DpF+z/GGy+FwmkNU07sG3b8WMYxhPut8GaP2QiFiFXFMqMLxU/lT2LQl4FW2AX7IPDUqnUIg/r9foz9jtAHtdDytMNOAZH4EQUxY4sy1QgrlKp3MNQ2N1hDiYCIuuBa/BCBcrn8yvuBTy9hSHR12Efjsoh5WpRVdWBYLFYNFmlIwlSxecVRUm5B4VC4QrmgfVjKEG6E0BSkqQkHVSrVatWq1Eq2izXoQSnSCybzcqCIPRbpFwuN1m4HfZqQglS/lKZTEZyD0zTtNiz6/4WVtCaBUvI37J7oOv6Jcwd85Abt7HdP9qgxrYsq0cNTRb7PaAOc2TU06PzRC6XE938NRqNNvOOmvozyMGg8RXzTByFvVsqyDk4Y20Tah76Z2KcNXKLtcx7FMF/ndiRBb8EGABjzN026ymFhAAAAABJRU5ErkJggg=='));
+ // The number 8.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAahJREFUeNqslLFOwlAUhi0IGpGUoEMTjYnGmLgYEhhN4+qkzpo48Qg8gimMTMDI5hO4GJ3UgUkXOhgGJCYYI5bYRKBD/Y85JeXmokW8ycdtzz39ezn/7VFc152hoSjKzLSDtJQfBCNABQkwz7EBsJjBJIJRsAp2wCYLh4ANHsE9eBJFv7XoxxPlEQZr4DiXy120Wi3bcRyXsCyrbxjGNa1xTjiIYAzo2Wz23BMSoTXk7IFFUTAkqS3VazmVSq17gWq12igWi6Z3r+v6NiYNLIgPywQVMY6/OlIrVVXn2LRQEME+6DabzVcvkEgkov6Eer3+jOkN9KRnR1LDXWCYpvku1q9Wq71g7YxzYkFMWQJHpVLpbpwp5XL5FjmHnPurKfRWLZPJDE0hQ/ympNPpDUwrIC4+PCsRDHPBhye90+k4/gRN0+J8ZCJBTHF9TDxkO6TdfNq23fcCyWRyZCftdvuDP0MniMvUDPYLhcLlOFMqlcoNcg5kpsgEaddkyEk+n78Sv2VyH2unYIubyNTdpgEeuNv0/LWeph92+dqdpMH+e8f+k+CXAAMABxE8L2GVSOsAAAAASUVORK5CYII='));
+ // The number 9.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaVJREFUeNqslEFLAkEUx910N8tclk5FEEQUGB3qC0gXbx70WBie9CP4FfTq3Q/QTYPFU/UFOiQh5EEI1iAsWLZ0Q1tq+7+YCVtG19KBH8O+2f0xs/PeC7iuGyDmMcgTmrBOayrQwBKQwABY4AU44z4SDQVsgD2wA1aZkERtcAsewLtwm54jB8EmOCkUCnqr1TIdx3GJTqfTL5VKl1jLgC3vhr49AuEKOMrlcmdc5AXSC7yTZDv/JVwQHHcZrMXj8RgPVKtVo1wu3/HnVCp1yHaoej8WCWWSqqoa5gHDMGzTNH8uIRKJLLKTKNMIKSZHo9GwT5ZIDF/hTEOUNh+UDr1eb8ADmqYpswhJ9Nztdp8w71Igm81uTysUHfmNkjafz5/rut4even/Cimx6RaD6XT6WpZlnWg0Gpa3Jhi+Qqrb9Xq9nkESH4NkpVKJjb5g2/YQU19UeqJ/SPk2aDabj4lEYl/0D2u12g2me/A6TS2HWBWcFovFK8uyhn+pZYnLJEnydhtqEAes21BVfPp1m0lCLtUYykhKje2H47rNTB177qX3JcAAagDd/y1YjuwAAAAASUVORK5CYII='));
+ // The number 10.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdZJREFUeNrclD9IAlEcxzW7tLiyrCXrgoiGaInIIQKhwc0xkCYDcXYVDRqaGp2dXASpKYgGlxBbcmvJqCPKSCE4PbMyr7q+D35P5Lj+EC714MO73+/33vfen9/7WSxdblYTXx8YJli8TtjJ1w908Ahq1L9+JsjEJsEimAU2IINrMEI+F3gH9+ASnIM70DIKjYMlsOHxeFK1Wu1F0zQ9GAzuw7cVCoX2isWiwnyMQqFQhm8XsXUwRT9vr3ICrIFttHy1Wm3xiYFAIO/z+bLcNhIOhzOYtwoGmVgPMeT1ej0YsBmNRldEURT433Rdt0F0mtupVEpOJBJn3Pb7/QvoJCByQXYe9VwuVxAEYQdbPDLekiRJA/wbR9FSFEXjttvtHqLV2bmgTgd8DHLpdPrUKOh0OoVvMsXGL7iXnOyGymCM0uDXrafbif1PBFVV1b4I6x38TLBUKj112i6Xq33rjUajyTr+9Hq/rR5W61smk7lCfs4wOxKJzHXGkWYn6G7Ag9kK2daeOx0Oh0PJZrP5eDx+IMtylfsrlcpjLBY7TCaT7K1fgCezasMKxDKYpzL1TBXFWG3YPJVi7CHc8i2bla9R9jiAQCtWTeohm9ekeqjSuD/SPgQYANoDxDJkiCZZAAAAAElFTkSuQmCC'));
+ // The number 11.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWxJREFUeNrslE1LhEAYx9eXlcK2jQgTRDwYRC90iL5EdOwQdBBP3foEnTr2DcQP0KE+RUHHgm5GRoTpqfcVLMXd/hNjjKJshz3soQd+jPMf53FmfObfao04uAZdBNNghj73wCvIQadG/wKDpoTkxXmwDJaADO7BNfgECxX9EjyAtJqoDebAKtgGh57nPWdZNnAc5wL9PWCxuuu65+hv0hX/BM8k7IJ1sGXbtoVJ+6ZpzpKBJEnINjcsy9ph9TRNJ+gRtNntFTEJjDAMDxRF6bBLz/NcCIJgV1VVedhPYVeYkLPQNO3IMIzjOI6zYkAQhFzX9RPop6w+LOE7uAJnURTd+L7/8rsNUSQHHkJ/ZPWm8iiCfPmJTARvpdriuD6a+C91yI+6sP8TjmFCsUYj5RPzPJ8XgiRJxBRI/WU1eo/OabQvcqdXwBpQqWXdgjswBRYresltmuxLpg5C2j69RR/UBLoVveSH4x/fAgwA+s1/zoQYuDcAAAAASUVORK5CYII='));
+ // The number 12.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmJJREFUeNrMlM+LUlEUx5/Oe9KkjVOUyZhKM22mQhdRDC5atJidmOZOBXHhxj+goIW6khauDP+AUHctWiS4CYJQw2hoaOGURGU6QY3OkGXjr9f30rnOwxxGokUXPtx7z333vHvu+d4jCP+4qabYRLAAFmn8jdCQbR7I4DvYpX5wmEPm4Cy4CFaBFnwAH8FJsAJOgRH4At6CKvgMekpHEjgNLoNbIF6tVnf6/b6cTqdLmMdCodBD2FrMxqhUKtsul+sB1rxgafJwzNk6uB0MBh8pNyaTydd2u/0xnytpt9s9h8NxH/vWwDEeokD3Ym00GncNBsMJ5Z9kWVYHAoHzfB6NRjdrtdqPbDa7ptPpJJ/Pd7VYLD6h8H+q6bsuuyuTyXTParXmOp1OX+nUYrFo+Zg5U66ZzWY93TW7NoE73AMvwdNms7mFTa1x1lSqkSiKA6UTr9e7xMf1en2PMt1XhswmX0GDpHCQdlHseTyePE3P2Gw2k9vttvD1TCbzAt02OR2f8NCmVquH6N6DV6AZi8VW+Fo+n39TKpU2MPwE9mdyiJBlksRxSGfV6XQuMzu750QiwZKxBVok9nHIRzUm6oV4PL7ODblcbqNcLj/D8B0lVZjphKPRaI7pNJVK3TAajVrK9G4kEilRmJLyYEc6HAwGGgj7gt/vt3EbnG3SY7gCrgEjmJv5hBD2MhMxtxUKhet4KT5wJxwO34TpHBWPP+6QyadDmf39yCVpX6/Xa/62fDHVXwI2CmNIGRSoysxPfN+lavOcNDycVr60VPe0VKa6ivcuTYmIvZSdyfL1/7ZfAgwAPr/v4RS2v5YAAAAASUVORK5CYII='));
+ // The number 13.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAl9JREFUeNrUlM+LUlEUx98z3zRTNiMVkTq4C4xkFpWCFBqu20ghRYrt+gsUkZK0hbh00WqEcGPgzhhatIgUJTAEaTEaTRA4ziym/DGazficZ98b58arnJBo04UP991z7j0ev/fcIwj/eIhTbHNATzD/AHwFC+AEkIBCti7YBePDArJgy+AiOAeOgC3QBifJN08BmO09WActMPo1kAFcBndtNlum2+3uy7I88fl8L0wm05N8Pv+OrTmNRqMdCoXWsP8WMKmTE8lwEzzCKHU6nRE/6PV6X6fT6Q11MDUOh+Mxzjkoc0FDLDqdThs23A+Hw1d0Op2kTt9qtS7x71QqVc9kMh/42u/3X8J0hjT+HowJvFssFt9IkpQMBAKvfro1UVQ0Go3C1+12W4YcP/SaTCYiac1iCVpmAzugDIbZbHYBGVzjB7Ra7Z7dbn9Kf+k0OJrL5Va4v1arfcT0GezxDAW6oW3QBF/UGSLgEFMD1OPxuAGyXPd4PGbmKxQKm6urq+t05kAd8K+Gy+VaTiaTV3nmMwUcj8fHMFnA+Wg0ug2d16rV6ifut1gsZiq547MGnK9UKrfxV++BG5FIxFwqlXa432g0LtINSzMFxC1qFEU5dF+/3x+RfsrMGvZ6PVm91uv1c/y71Wqx99wH+7xs/tw9RPGgXC5vud1uppMQi8VW1H7Ub53e+3DaeSb+A/XTQqE/g+1hIpF4yd83o9lsDoLB4HP47gAzFfdv3cZA7/ICCc1a1AbV51nqQDrSq0e+t2CTd5tp7esUWKJbk+nggH5AT3sEehld8svCfzO+CTAAQZUW1CtBkesAAAAASUVORK5CYII='));
+ // The number 14.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgdJREFUeNrMlLtPIlEUxmFYdxlh1zeaABkT3Oj6IrFiC4FQammMsTGUNBZ0JBsLS/8FSgvspYKCBBsbNLEwYsSYjcBsIj7QiUZGmP2OuWMmehWMW+xNfrkz95755p7HPSbTPx5mzton8A10sucbcAk00A06QBuzVUEVnIMaT5AE+sEo+AFs4ATsgQbwgmEgMvs7sA+2gWwUoj/2gnEwB1bz+fy5qqpaPB7fwvsCmI/FYpu0ZgTrK2BEFxLYTG5MgdlwOLwEsWWPx0PumWq1mhWTEwz5fL4RTohEQwgeXdQXpVKp9MvhcHzlfGQHXYFAYLBZUgRDLH47nc41SZISiqKouoGmaRTnL9FodMJut7dlMhm5FUHK1C7Ilsvlw0KhcKEbNBoNC2Xd7/dL9J7NZs9aEaQTVUAJXBkN6vX6Y8KCwaAky/JtMpmstCL46qATRiKR7+RuOp3mufsZtOuJEVqp/lAo1EdzIpEoc7bpErhZpTxl+c2BcqEaNaVSqenne8VicdHlch0w4Yrw0bvLqkB8l8tms1lrsnfHEtvcZYvF8uB2u9fxqFDwvV7vYC6Xm9X34e4GplNwzROkvyiCINSf7pUo3rDLfwwcVqt15tk3f1gDqfK6DWVqDEyCASpDcAR22Cl6wE/WiURet+G1LxvrhTbWsqqsH96zwPcYeuKLfvj/j78CDACe8KXB21214gAAAABJRU5ErkJggg=='));
+ // The number 15.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAi5JREFUeNqslE1rGlEUhp2ZjDFKrLGkKK2LIgUhG03iIqm4aMFVoVC7KS4sUhT/QJduXHWpuOvKjYI/QRCCEJIqGtpa2kWyaNNQoV8m1qZ1yEzfG84Ng5mkE/DAw9yPmXfOOffcI1qmbDMGa1bgIgTwh9bngDzxrgIOwXcwNhJkYrfAMrgDJPCT9twkqrdj8AG8AgfgRC/kBavgaTgcLg8Gg7+KomiJRKJRKBR22NiIdDpdwTfr/GcihbUI7oKH+Xz+Wb1ef+JwOKynMSmK3ev1uq+SQybqjEaj4Uaj8fx/H8Dj7Vqt9o3CY7nbAn2eQyamgqNms9mWZflFMpncMOkME/xNeRyTzqmgBr6CTdCsVCpvLlOJxWKLSMMD8Kjdbj+ORCIrWL4JbFzQQn/4AvbB6DJBRODn42Aw6MlkMvcxvA3m9YIXmiAIqiRJZ+VQKpXeFovFd3weCARu0KHaLyrsc4LxeJzV2Q7l7TiXyy3xfY/HM09isilBTdPEVqt1LxQKMU8sKKuOqqqTkUk8WtGMoF7A6XTaMZcMTlw1Jcis1+sd8rHL5bLq9/r9/hCPX3SvTeXwBAV/wE9Xf8rMut3uHh6fwdBIUKFCPTObzfajXC53fD7fMJVKrfv9/gW2PhqNxtVqtZPNZl9i+p4LChOCrEGsgSW67Ex8F3wEC9SB3HQILEzm3WvwidqcJhi0r+vgGpUB73dHYJZ65Bw5wi7DgPbHdOOmb+K0Bf8JMABAPsyYlTRVAQAAAABJRU5ErkJggg=='));
+ // The number 16.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAiZJREFUeNrUlE9IG0EUxmPXtdpC3P5RUhtSpBU8RQiUQj2UHILHXgs95BAwwUsOOQa8padACSS5mEvwFKQFaS4lhxIQJAQaRcSDbsVspC0tMUZjcLdt+r3wRraLaIReHPix896++Wbmzcyz2f5z6zvHNwDugWG2D0ET9AMF3AYSMPjfATgFHasg9QeBC3jAE/bvgF2egHwjPGkbfAEVUAUn4I95VQ/BNJiNRCIfDcPoELDTYD4QCCyVy+Wvwk+k0+lVigdTvPJuo62Mg1fgTTab3TAPgu+9z+crmH1m8vn8JmJegwdCcAg8TSQSy+cNwL8PmUxmR9job0ej0TVh12q1I8TMgUckdoOT+zMcDudkWX6bTCY3rKdkt9tl0W80GnosFlMRu0w4nc5FGs857Qr+AvuA8vG5UqloVkGXy3VL9N1ut6Jp2gxW97JUKj2HIKWsBXQhaGPjB/guSZJ+0T3zer1jDoejewAej2cklUq9QPc+p+5MsOeGQ1OR7y1hQ5Rux6g45SsLUg7r9bphcct82a8ueFnrSbBarZ5cEtIRT6+/F8Fms3m2RUVRBsz/Wq3WKZ+y0augkcvldv1+/2MyxFe0YrG4xW/5yLrl3zQTLmvbIvitUCishEKhd6qqHphWpsfj8U/BYHAB5iZXpH+qjcQF4hmY5HvV5mqzB+6ACXCXY4/BNlgHmihhfRfUQtlU82j2m1wPh3gh9AAajG67Nu2vAAMABvAJLzvmvhMAAAAASUVORK5CYII='));
+ // The number 17.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAglJREFUeNrUlE1LQkEUhm/qtQ/tu6ggxMIgbKUkkYJrF0I7wZUt+g39AVetWwVu2rjwF4gglBAhLQQXSghhEmX0gYVlddPbe+LcmG6JGW0aeJg75555Z+acmSNJf9x62tjNYIQhnyYwAVnnp4A7cANe2gmS2CxwgwVgBE+gnxFbAxTBITgHql5oBiyDdY/Hs1ur1Z4VRVHD4fA+9d/h9Xq34e/iE0gG4eiTwAfWotHoRiqVClssFlpEajab5nYxw78+dH2alontNBjy+/2edDq9qZ9kNBpfZFne4TiNxWKxlUgk4uDfdMxX0BJ3SIP7TCZzhIlbcN4TBWGro8uCDMXK5/NNkL1eryvZbPYMn4+cuA9BWuUKHNCkeDye1+8Q3SVl02azyQ6Hg7Iv5XK5C3TXpK0lxCTMo0nkQKs/fBMuitNAKBRa1AyFQoEWueVsS3rBTu392tjt9nHNUC6X6f7VREFDF4K0wzGn0zmlGRKJxDHv8Ok3grTDUZfLRXdVqlarD5VK5ZJfymtXgqqqkl9/MBict1qt78+vVCqJx1W7Emy1WiQyFAgE5jRbsViscoYfRd8fCeI19FL2xfglk8kTLgqNToLKFyeDgWLU43a7pzVbPp8/5YQ8dypfFPRVsMSJaPDRFL6jg5zVAleZCzGG7coX3bVhrn8Kx0nlBcyc1U918P+0NwEGAAJMv5rEne+7AAAAAElFTkSuQmCC'));
+ // The number 18.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAihJREFUeNrUlDGPElEQx5c791yRkw16itFYGCxOY4FIjMEQw2cwIYQCGwoqKhIKC4PxiAUFHYkVDRhLC0uj5GgwErVgC91G1GCMwHoQdTe6/ucy77K34sElNr7kx2Nm9s2bNzPvSdI/Hp4ZuhWgMmT/CraAwjqFvzPBmDH/5pCcnQaXwDmwDHTwDqyBEPCDJTABb8BLtptuRyfBZXAzGo3Wx+PxD8uy7Ewm8wi624VC4XG/35+QjiB7uVx+AlsanOHNd6I8BW6AOxibo9HIFAuTyeRmKpV6JmQ32Wz2AdZdBz6JQyeOxOPxKD64VSwWYz6fTxa72ba9HIlE1oRcr9f1arWqCRnr1jEFgVc4/EWJb7Vaz2VZvocjPt2rijjqrlz5/f6DmGT2tf1jg8+gDVqNRuP1rjbweGxd1ydCVlV1xWnv9XofMH0B32cFcBFsOHNEOYTuoaZpI3f+Op3OJ9jugmvgsIhw3liqVCrnQ6GQ6jaEw+HjtVqNCnJM9OdchyiKJxaLnRAyFcRZFBTsLHfJKskH9nu1hsOh5ZSDweAqt4y86JH3NRaK0DCMnagCgYDstA0Ggy2+htZCDtE2P9vt9sdEIkFXU8rn8+tOe7fbpbv+nh+QPxzSLt+cCkVRhqVSqev1eo10On0FOdtuj+l0ajabzRe5XO4+RE04dL82FMVVcAEcYudv93htKLpXbKfGtmc9X0d5kcwRG3PeQ4P/29J/MX4LMABVRPc2xeNx/wAAAABJRU5ErkJggg=='));
+ // The number 19.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgVJREFUeNrMlDFoGlEYxzV6SQ6DmnQpFEJCEkjWQsmQOZsObhUKbgWHICKIW8AhOAhFkE4OcXCIg1pySyAZsqSUQBQlwUEIagRLU+uJh4mmsf8n3wv2uIYDM/TBj7vv+97737vvfe8zGF54GDV80+AVsJEtgw6YAXYg0ro70Kb4QEuQvc+CRfAWrJK/AqpgHqyBBZorU6wIbkBfvas3YAt8DAQCR4PBYMiA/RnsBoNBqVwut7i/Xq93I5HICWIfwDIwczEzOd6DvWQyWeKLSDDjdrtPx33jQPQYcxy089FgOXkXi8W+aC1A7DCRSFS4nU6nq9Fo9Irb2PVPzNkBS0xsihJ66/P5DgRB+BSPx0vqU7JarQJ/r9VqSqvVejoEi8XCDmuO0jYSfAAN8BVc5PP5ulrQZrMJOqrFyAUNdEI/wHeTydSfpA7NeibJsvz0i3a7fXpSwYdGoyFzw+PxrDw3eUqHYM/v959JklThjmw2W5tEcDRcLtc5qkBiFAqFtio8JHQJiplMZhs15wYO1OTGeFBRlHs8uvzq6cnhEDv65XQ6NXOYy+XyeFxTA/lL8Df7IH6ppxJshsPhoiiKHa/Xu4VCHp1ys9lUUqnUt1AotA/zkguOdxsTNYhNsE5XskcdhRX7a+o27FY8/qvbGJ/phQJdS5lyJFI/5HWo2Q////FHgAEA1kIAAe0AP5kAAAAASUVORK5CYII='));
+ // The number 20.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnJJREFUeNrUlM+LUlEUx31m2S/DkRZqmpUVDU0UEhgDLjIwi1mKEhEtzNA/QBducicuRYg2LkRaRG2UaBbhuBahRUZpZJRGCoU6qfNDK/ue4dx4DOW4aNOFD+8+v+d9vffcc65C8Y+HJJvvAVqG5t9BH/TAOlCCQ6zvAxMwZH3I8b8NyeAouABOgYNgE3wCb0GTY06zrgM/wRfwDtTAZzAiMxU4Dm7F4/GVXq+3OR6PJ0Qul6tZLJYEtNsg5Pf7n1Sr1Y7Qy+VyC789hnaDF7SLDOfA9UQi8VwEyiED6A/cbnf+TzoRCAQeIeYy0Ii8HHM6nQsimTabbSWZTL6hudVqnfP5fAsej2de6JlMpi50GktLS5QqM6VKybnR6PV6jQioVCpr8pODqcZsNh8Q70jLqNPpjMW70WikRdH3ajL8QQcgSdJEbuL1ei1iXiqVulqtVrVDtVD+JAr6Bl6bTKYYnkeAPhqNnjUYDPspst1uDwuFQgt/OD9LHZLhKnjBx34OLIZCIasISKfTr6jOtu9gmiHlogsoR+pUKnUJ+dzKV71e78ZisRIX8UxDyU/a3km73b4YDAYvCjESiSxzYXdmNVXyKvXgDAr7qhCy2Ww1n8+/57Ya9fv90RSfiUDFWz2B1VxzOBxU7YpWq7WGg6GWMoG9dIKNRmMgd9DpdLvFfDAYbNBDtB6d7J1isfjhb50A/aHL5VreoVOucC1uVfjdWq32dYrhfXAPu3gq7+VmszkIh8PPoN0UvSzxzXGeS+Yw51Q+1vlG+ch9L24biUuOtJd8M40kNpDfc8pthmP+kBpALYujbzf4PlzluP9g/BJgABvhUfuxyjKwAAAAAElFTkSuQmCC'));
+ // The number 21.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAk1JREFUeNrMlM+LUlEUx53X0yztl1RYo0lCAzOBULaYXLgMQswkiTQDUXDjP9BOXQmz1o3LQINqYRvBTYsIlCQGZmWN/YIwImacKXNq3vzoe+BcuSPlm0WLDnx49917+N5z7j33GAz/2KbG/lVwFBwHh8Au+AHW+Ls15kPj76APfpG/LGgC02AOXAA2sAO+gmXQASssRD6zwALeg1fgI9iUIyWxO6lU6kmn01nVNG2XaLfbn0Oh0AOs3QN+cAvk4bNC6+Vy+Tn+r/NGIzODq7CSEJLp9/ubXq/3IXwWEonEU3nDYrH4EvO3wSlxZgYO/Uw8Hr8idshms0vdbndYqVTmrVarMRqNemq1WtBut1smXYoind8Rh8MxCpvEZEe32212Op2PXC7X48FgoOkJboOhqqp7HCORyFkx7vV6dCHv8P2AzVb/JihSppJ4HQgEFvCdoQvyeDzT4XD4nHBE6m0SBM5JKQvBDfAWfOPS8OVyOb9wqtfrb5rN5iKGn8Dp/QhSvQ05UlMymZwNBoNuWqDzKhQKzygDLuCd/QiKi6F05vL5/DUxWa1WF1ut1gtO16z39BSpsE+SWKlUuiFKA4e/lslkmvysjGMBTIzwIEXn8/nmY7HYJbEIsSXeyMubf9ETFREeFoVNRSwWG42GH6/hLrifTqdvYsrBkeoKkm3ZbLYDOhlRnQ4URdkeHbzJ9JM7jia3Lzrs8+AyPQpuXbJtcLehmz4GLgI7P4hludtMSZdCoie41xn/ENk616nKncXCJbQu90PDf2+/BRgAl2Xhjy3s2ZYAAAAASUVORK5CYII='));
+ // The number 22.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAh1JREFUeNrMlL9LW1EUx1+SF3+QtOoLHdQkaFsdHEIoL/gM6JDVIQhBGhIKJiUghf4BdciiOAUcmnQsiHQqwazdskWyiZCURjqE0oLUtLS14Etrv6ecWy7ifXbo0AsfcnO/9553z497NO0fD5c018FNMAqGwQX4Bj7xr3aN3pcNDoBJMAdmgAF+ghPwBrwFbnBXobfBB3AujJKx+/l8/mW73T61bfuCaDab75PJ5C60R+Cxg54CE+KCQ2ABoyw2yvR6vfNoNLpPqPR4PP4UNiyyRW74wHg2mzVFMIvF4mEmk2nQ3O/3e6HNEiod8xjf0Kdz/G4Eg8FRcaDT6ZzJmQuHwz75/2U9FAqN8MW8dMMf4EzXdVvelEqlJsS82+1+gd530D9zpn/bIMsR8ABsgueRSOSVHCfTNPewvqHSKf6UB86HJuI4BZbBVrVaPRaba7Xaa6ytc9BV+kPyXK5rmtwCK7lcripn0LKsZ1hf4g+q9EW+1J8xCO6RW4jHV3GgXC4fYC0D7gDTQZ9kTzW5sLO0QWxutVo9rO1w0c6DNQd9iqtFE4VtUXGSC+JAIpGoY52SsQ2exGKxXQd9laoLeDR+lyuVSqVx1Usg0ul0vVQqHan0QqHwAjbi1DSE333DMDyqluR2u/uBQMD1t+2LXJ7mpNzm1iSP7+CU54ZCp25DCXrnkoyOcb/zXjpg8yGNjV2l00v5KNrX/z1+CTAAejWU4TBFD08AAAAASUVORK5CYII='));
+ // The number 23.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAArdJREFUeNrUlF1oklEYx9W5r9rERYXYmpX2gfTFGojRMLwoCroKZhBCQYayu4ZejMCQhngTiNVdiAwqpBtX9EEybwxGw1gNlvbFyGwXlpjKalra/4nnxJvMrrrphd/7nnP+5zzvOc/Hkcn+8SOXtDuAmqH2d1AGRbACOlnrBe2gDr6yXuL5vw2SgQGwH2wHPWzkA3gF8mAD2AH6QRcbKIDXYAHkQJWMKcFWYPf7/dPFYnGlVqs1iFgsltHpdAFoo/SlvtCIdDpd8Hg896CfApvEBvvA8UAg8Fg6WboI+o1wOLywmk6YzeZrmGOmnSvwUoEtVqt1t3Dm4ODgdDAYfEltvV7fZ7PZdhqNxvVCJy0SibwVfbvdfgCfjaBbyf7r1Wg0vWLC/Pz8sjRyBoOhRy6XN0S/UCjUpHqj0aCjtgEFGfxBAZAuoGdkZEQn2qlU6v3ExMRDDpaGIh6NRvcKfW5ubhGfz+Ab9ekoR8AYuAJujo+PPxf+yWazFYxdBCfAeZ/P90Tqv3g8nsW4FwwJH34Bz8AjMEt/crlcevF3+Iq0j6CyWiJbLJZ+BPQQb6xTjNP56YhnQqHQbFOEL9POwAVwFdwBd2dmZvLS9MLYWaBVsME15HuTyXTQ6XQOib8gxx5wcqvgxzEsHgUn4ZKBZDKZF/O0Wi1lSjdVkIITmxy9C4l9VEyanJxMT01NvUOTItpVr9cVreq3XC5XObh1MrYWbMNujg0PD1P5yZaWlpaxizdcZqS3l0qlP1JFrVZ3iHYulyty3VO5/iqZc4lEYrFVJUC/5fV6n7bSHQ7Hbcw5zGkl20xOz2Qyn/5i8Dq41FzrlFJut/s+tNN8ubRRhq8D+8AeDr2yyUV0RdHxs+xrcRvVOeVIe8HBq8rZgIrvOopUs/NrvLDCurgvZVwZRdZrsv/i+SnAALSEnerTo5c3AAAAAElFTkSuQmCC'));
+ // The number 24.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApBJREFUeNqslE9oknEYx/X1D6Vmf122TSFXxryUwQrr0GFsktQQBgl2S+gUIYg0BPFiFw8SHUKiBV12CzEk6CINOiUviyQwNoKUShjZFkrLd86+jzy/YTI97Qcf3vf3e573eZ+/P0m1z0vb864BBnAEmHi/BTbAJtgGB8BRYAY60AZN1qHntjBIwhHgBGfBKf4ZGVoDH8FPMAouAgc4CFqgxvJPrN9dJ8BNj8fzpFAofFUUpUNUq9VGNBp9DdltcBkEl5aWZCEnZFn+hvM7YLw31EnwgAz0KgsWFhZeQX4PPOzXKRaL5OF9cJqMSZyXk6FQaMpqtRrpMJvNVmw225tGo6HQfn5+fgqPc16v97zQGbQkzp/Z4XBYxGGlUmnWajXFZDKRTAUjh6gYgUDgDO2Rlh/DDHYrpdfrt3rOO7FYzC425XKZqqifmZkZJ69LpdLGsLb5A74g+c/BewqfPEaubgil5eXl9enpaQuFS+mo1+vKMA+pv6hS78BbUE0kEg6RK4TeTCaTq8FgcIzDXR9gh5yTJD5ocXO27Hb7sXA4fEFoplKpD/TT2dnZUQo3k8nslb/DwMK9uRv6BLiby+U+i5agnsTZY7fb/XKvdhLk83lq6ls0HMJDGqXJubm5az6fj6ZFRd5EIpEij19nWKu0220tj6tO4vhpUpwI77pQWlxcXFtZWSFD1p2dHcMwgxqNhurQAN1iUWNf9fv9LwaFlE6nS9B5Bh6Bp/F4XO6blAS4Aoxa9lDtcrnMgzwwGAy/uQsop2NGo3Fit7yS1OYu+U4tqOaC0GBfovHqrRQv6tNVIPNHI6zr5Hvgv9tGzR/pwXEuv67PoMLX0i/wl+VCV+q/D/f7wlZJ+23wnwADAHUlUxtyWY3RAAAAAElFTkSuQmCC'));
+ // The number 25.
+ $zen-grid-number-images : append($zen-grid-number-images, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsVJREFUeNrMlF9IU3EUx3fvbrNcW8ucjP6NXMlKZkGBIfOhF6MRBiFbMCoIGdqDL409CK4HH8Zg9KIkPgSC5YsgzYIwMCGkGLJIJrJBE8tqPlRbJZpbbX2PnB9choseeujC597f75xzz+/3O+f8jkbzjx9JNdYBE0Pjn+A7yIES2MPsKPNRAF/BZ5CXVM4Og1PgGNgNNsF78AZsABvrdpU5JF0SxMAHEijgCLgaCoWe5XK5zUKhUCKi0WjKarVGoPMPDw/PCnk5Pp9vDDYttJiMlwEcD4fD1/x+/zm9Xq8TS7tcroapqakbGJ4wm82Wv42jFdycm5vLiBUdDsd0JBJZFHOPxzM7Pj6+LOZut/sl/nkEHoJ7oBPUA63M8TNYLBaDWCGRSKyrV7TZbIZSqSRts5lfYJ3jmAdFmYWbkiSV1JbYhVWMY7FYVq1va2szY6cXwWWcrMPpdJ6G+ADYSfpasgG3wB0w1tvbOy+Ot7KysgbZ/YmJiXSlpIyOjs7D5gqoU7iGXoGPwEHZ6u7utondjIyMvCadoih5IRscHEwUi0W5p6enkeZ2u70OHzOoVrgws0APqgYGBs4injTWpNPpbF9f33PSt7e3P8V3kUO0EQwGG8UCHP9qKnqFZTQ52tzc3NLV1XVGGAYCgSf4vKNCj8fjHU1NTftJ3t/fH6cdliVIC2SZC5tqzI7CPi+0iEtycnJyibNXpXZgNBqrMdduk/EtIzpePXZzobW1la6fJpPJrCMxdOUOUlFT4hYWFrLiT5PJpFN7Wl1dpTu/xuHbSnfnzMzMcqUsQv/A6/VOV9LTtYTNJbCPHB4CvlQq9ekPDu+C2zjF42Qy+UXI6d4PDQ29gO46aKBLQtVfA05yydRyTMu7CR3/LdjLHaeGk0DHTIN5Tt4PiR0YuQ9Sa5Ir9LtvlByVncQJy7E+z33zP39+CzAA8EmJ9NTdgeQAAAAASUVORK5CYII='));
+}
+
+
+//
+// Add a grid to an element's background.
+// @see http://zengrids.com/help/#zen-grid-background
+//
+@mixin zen-grid-background(
+ $column-count : $zen-column-count,
+ $gutter-width : $zen-gutter-width,
+ $grid-width : $zen-grid-width,
+ $grid-color : $zen-grid-color,
+ $grid-numbers : $zen-grid-numbers,
+ $reverse-all-floats : $zen-reverse-all-floats
+) {
+
+ // The CSS3 Gradient syntax doesn't allow for calc() to be used in color
+ // stops, so we can't express the columns as 20% + 10px. Instead we are going
+ // to divide all our columns in half and into 2 groups: one group for the left
+ // halves of the columns and one group for the right halves. Then we'll use
+ // background position to shift the left halves over to the right by a half
+ // gutter width and shift the right halves over to the left by a half gutter
+ // width and just let the two sets of gradients overlap in the middle. Easy.
+
+ $bg-images : ();
+ $left-half-gradient : ();
+ $right-half-gradient : ();
+
+ // Calculate half of the unit width.
+ $half-unit-width : zen-unit-width(2 * $column-count, $grid-width);
+
+ // Determine the float direction.
+ $dir : left;
+ @if $reverse-all-floats {
+ $dir : zen-direction-flip($dir);
+ }
+
+ @for $count from 1 through $column-count {
+ // First add the grid numbers to the background images list.
+ $position: (2 * $count - 1) * $half-unit-width;
+ $reverse-count: $column-count + 1 - $count;
+
+ @if $dir == left {
+ @if $grid-numbers == both or $grid-numbers == top {
+ $bg-images : append($bg-images, nth($zen-grid-number-images, $count) $position top no-repeat, comma);
+ }
+ @if $grid-numbers == both {
+ $bg-images : append($bg-images, nth($zen-grid-number-images, $reverse-count) $position bottom no-repeat, comma);
+ }
+ }
+ @else {
+ @if $grid-numbers == both {
+ $bg-images : append($bg-images, nth($zen-grid-number-images, $count) $position bottom no-repeat, comma);
+ }
+ @if $grid-numbers == both or $grid-numbers == top {
+ $bg-images : append($bg-images, nth($zen-grid-number-images, $reverse-count) $position top no-repeat, comma);
+ }
+ }
+
+ // Next, build the color stops for the left halves of the column gradients.
+ @if $count > 1 {
+ $stop: (2 * $count - 2) * $half-unit-width;
+ $left-half-gradient: append($left-half-gradient, transparent $stop, comma);
+ $left-half-gradient: append($left-half-gradient, $grid-color $stop, comma);
+ }
+
+ $stop: (2 * $count - 1) * $half-unit-width;
+ $left-half-gradient: append($left-half-gradient, $grid-color $stop, comma);
+ $left-half-gradient: append($left-half-gradient, transparent $stop, comma);
+
+ // Next, build the color stops for the right halves of the column gradients.
+ $right-half-gradient: append($right-half-gradient, transparent $stop, comma);
+ $right-half-gradient: append($right-half-gradient, $grid-color $stop, comma);
+
+ @if $count < $column-count {
+ $stop: (2 * $count) * $half-unit-width;
+ $right-half-gradient: append($right-half-gradient, $grid-color $stop, comma);
+ $right-half-gradient: append($right-half-gradient, transparent $stop, comma);
+ }
+ }
+
+ // Last, add the gradient halves to the background images list.
+ $bg-images : append($bg-images, linear-gradient(left, $left-half-gradient) zen-half-gutter($gutter-width) top no-repeat, comma);
+ $bg-images : append($bg-images, linear-gradient(left, $right-half-gradient) (-(zen-half-gutter($gutter-width))) top no-repeat, comma);
+
+ // Apply the full list of background images.
+ @include background($bg-images);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/zen/_grids.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/stylesheets/zen/_grids.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,364 @@
+//
+// Mixins for the Zen Grids system.
+//
+
+
+// Specify the number of columns in the grid. @see http://zengrids.com/help/#zen-column-count
+$zen-column-count : 1 !default;
+
+// Specify the width of the gutters (as padding). @see http://zengrids.com/help/#zen-gutter-width
+$zen-gutter-width : 20px !default;
+
+// @see http://zengrids.com/help/#zen-auto-include-item-base
+$zen-auto-include-item-base : true !default;
+$zen-auto-include-flow-item-base : true !default;
+
+// Specify the width of the entire grid. @see http://zengrids.com/help/#zen-grid-width
+$zen-grid-width : 100% !default;
+
+// The box-sizing polyfill for IE6/7 requires an absolute path. @see http://zengrids.com/help/#box-sizing-polyfill-path
+$box-sizing-polyfill-path : "" !default;
+
+// Specify the CSS3 box-sizing method. @see http://zengrids.com/help/#zen-box-sizing
+$zen-box-sizing : border-box !default;
+
+// @see http://zengrids.com/help/#legacy-support-for-ie7
+$legacy-support-for-ie7 : false !default;
+$legacy-support-for-ie6 : false !default;
+
+// Specify the default floating direction for zen's mixins. @see http://zengrids.com/help/#zen-float-direction
+$zen-float-direction : left !default;
+
+// Reverse the floating direction in all zen's mixins. @see http://zengrids.com/help/#zen-reverse-all-floats
+$zen-reverse-all-floats : false !default;
+
+
+//
+// Apply this to the grid container element.
+// @see http://zengrids.com/help/#zen-grid-container
+//
+@mixin zen-grid-container {
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ *position: relative; // @TODO: This is a pre-IE8 line of code; don't remember why its needed.
+ }
+ // We use the "micro clearfix", instead of Compass' clearfix or pie-clearfix.
+ &:before,
+ &:after {
+ content: "";
+ display: table;
+ }
+ &:after {
+ clear: both;
+ }
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ *zoom: 1;
+ }
+}
+
+//
+// Apply this to any grid item that is also a grid container element for a
+// nested grid. @see http://zengrids.com/help/#zen-nested-container
+//
+@mixin zen-nested-container {
+ padding: {
+ left: 0;
+ right: 0;
+ }
+}
+
+//
+// Apply this to each grid item. @see http://zengrids.com/help/#zen-grid-item
+//
+@mixin zen-grid-item(
+ $column-span,
+ $column-position,
+ $float-direction : $zen-float-direction,
+ $column-count : $zen-column-count,
+ $gutter-width : $zen-gutter-width,
+ $grid-width : $zen-grid-width,
+ $box-sizing : $zen-box-sizing,
+ $reverse-all-floats : $zen-reverse-all-floats,
+ $auto-include-item-base : $zen-auto-include-item-base
+) {
+
+ // Calculate the unit width.
+ $unit-width: zen-unit-width($column-count, $grid-width);
+
+ // Calculate the item's width.
+ $width: zen-grid-item-width($column-span, $column-count, $gutter-width, $grid-width, $box-sizing);
+
+ // Determine the float direction and its reverse.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ $rev: zen-direction-flip($dir);
+
+ float: $dir;
+ width: $width;
+ margin: {
+ #{$dir}: ($column-position - 1) * $unit-width;
+ #{$rev}: (1 - $column-position - $column-span) * $unit-width;
+ }
+
+ // Auto-apply the unit base mixin.
+ @if $auto-include-item-base {
+ @include zen-grid-item-base($gutter-width, $box-sizing);
+ }
+}
+
+//
+// Applies a standard set of properites to all grid items in the layout.
+// @see http://zengrids.com/help/#zen-grid-item-base
+//
+@mixin zen-grid-item-base(
+ $gutter-width : $zen-gutter-width,
+ $box-sizing : $zen-box-sizing,
+ $flow-direction : $zen-float-direction,
+ $reverse-all-flows : $zen-reverse-all-floats
+) {
+
+ $dir: $flow-direction;
+ @if $reverse-all-flows {
+ $dir: zen-direction-flip($dir);
+ }
+
+ padding: {
+ left: zen-half-gutter($gutter-width, left, $dir);
+ right: zen-half-gutter($gutter-width, right, $dir);
+ }
+ // Specify the border-box properties.
+ @if $box-sizing == border-box {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+ // Prevent left/right borders since they'll break the layout with content-box.
+ @if $box-sizing == content-box {
+ border: {
+ left: 0 !important;
+ right: 0 !important;
+ }
+ }
+ // Prevent overflowing content from being hidden beneath other grid items.
+ word-wrap: break-word; // A very nice CSS3 property.
+
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ @if $box-sizing == border-box and $box-sizing-polyfill-path == "" {
+ @warn "IE legacy support is on, but $box-sizing is set to #{$box-sizing} and the $box-sizing-polyfill-path is empty.";
+ }
+ @if $box-sizing-polyfill-path != "" {
+ *behavior: url($box-sizing-polyfill-path);
+ }
+ @if $legacy-support-for-ie6 {
+ _display: inline; // Display inline or double your floated margin! [1]
+ _overflow: hidden; // Prevent overflowing content from breaking the layout.
+ _overflow-y: visible; // In IE6, overflow visible is broken [2]
+ // 1. http://www.positioniseverything.net/explorer/doubled-margin.html
+ // 2. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B
+ }
+ }
+}
+
+//
+// Apply this to grid items that need to be cleared below other grid items.
+// @see http://zengrids.com/help/#zen-clear
+//
+@mixin zen-clear(
+ $float-direction : $zen-float-direction,
+ $reverse-all-floats : $zen-reverse-all-floats
+) {
+ // Determine the float direction.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ clear: $dir;
+}
+
+//
+// Apply this to flow items that need to be floated.
+// @see http://zengrids.com/help/#zen-float
+//
+@mixin zen-float(
+ $float-direction : $zen-float-direction,
+ $reverse-all-floats : $zen-reverse-all-floats
+) {
+ // Determine the float direction.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ float: $dir;
+}
+
+//
+// Apply this to an HTML item that is in the normal flow of a document to help
+// align it to the grid. @see http://zengrids.com/help/#zen-float
+//
+@mixin zen-grid-flow-item(
+ $column-span,
+ $parent-column-count : false,
+ $alpha-gutter : false,
+ $omega-gutter : true,
+ $flow-direction : $zen-float-direction,
+ $column-count : $zen-column-count,
+ $gutter-width : $zen-gutter-width,
+ $grid-width : $zen-grid-width,
+ $box-sizing : $zen-box-sizing,
+ $reverse-all-flows : $zen-reverse-all-floats,
+ $auto-include-flow-item-base : $zen-auto-include-flow-item-base
+) {
+
+ $columns: $column-count;
+ @if unit($grid-width) == "%" {
+ @if $parent-column-count == false {
+ @warn "For responsive layouts with a percentage-based grid width, you must set the $parent-column-count to the number of columns that the parent element spans.";
+ }
+ @else {
+ $columns: $parent-column-count;
+ }
+ }
+
+ $dir: $flow-direction;
+ @if $reverse-all-flows {
+ $dir: zen-direction-flip($dir);
+ }
+ $rev: zen-direction-flip($dir);
+
+ // Auto-apply the unit base mixin.
+ @if $auto-include-flow-item-base {
+ @include zen-grid-item-base($gutter-width, $box-sizing);
+ }
+
+ // Calculate the item's width.
+ $width: zen-grid-item-width($column-span, $columns, $gutter-width, $grid-width, $box-sizing);
+
+ @if unit($grid-width) == "%" {
+ // Our percentage $width is off if the parent has $gutter-width padding.
+ // Calculate an adjusted gutter to fix the width.
+ $adjusted-gutter: ($columns - $column-span) * $gutter-width / $columns;
+
+ width: $width;
+
+ // Ensure the HTML item either has a full gutter or no gutter on each side.
+ padding-#{$dir}: 0;
+ @if $alpha-gutter {
+ margin-#{$dir}: $gutter-width;
+ }
+ padding-#{$rev}: $adjusted-gutter;
+ @if $omega-gutter {
+ margin-#{$rev}: $gutter-width - $adjusted-gutter;
+ }
+ @else {
+ margin-#{$rev}: -($adjusted-gutter);
+ }
+ }
+ @else {
+ @if $alpha-gutter and $omega-gutter {
+ width: $width;
+ @if $gutter-width != 0 {
+ margin: {
+ #{$dir}: zen-half-gutter($gutter-width, left, $dir);
+ #{$rev}: zen-half-gutter($gutter-width, right, $dir);
+ }
+ }
+ }
+ @else if not $alpha-gutter and not $omega-gutter {
+ width: if($box-sizing == border-box, ($width - $gutter-width), $width);
+ @if $gutter-width != 0 {
+ padding: {
+ left: 0;
+ right: 0;
+ }
+ }
+ }
+ @else {
+ width: $width;
+ @if $omega-gutter {
+ padding-#{$dir}: 0;
+ padding-#{$rev}: $gutter-width;
+ }
+ @else {
+ padding-#{$dir}: $gutter-width;
+ padding-#{$rev}: 0;
+ }
+ }
+ }
+}
+
+
+//
+// Helper functions for the Zen mixins.
+//
+
+// Returns a half gutter width. @see http://zengrids.com/help/#zen-half-gutter
+@function zen-half-gutter(
+ $gutter-width : $zen-gutter-width,
+ $gutter-side : $zen-float-direction,
+ $flow-direction : $zen-float-direction
+) {
+ $half-gutter: $gutter-width / 2;
+ // Special handling in case gutter has an odd number of pixels.
+ @if unit($gutter-width) == "px" {
+ @if $gutter-side == $flow-direction {
+ @return floor($half-gutter);
+ }
+ @else {
+ @return ceil($half-gutter);
+ }
+ }
+ @return $half-gutter;
+}
+
+// Calculates the unit width of a column. @see http://zengrids.com/help/#zen-unit-width
+@function zen-unit-width(
+ $column-count : $zen-column-count,
+ $grid-width : $zen-grid-width
+) {
+ $unit-width: $grid-width / $column-count;
+ @if unit($unit-width) == "px" and floor($unit-width) != ceil($unit-width) {
+ @warn "You may experience rounding errors as the grid width, #{$grid-width}, does not divide evenly into #{$column-count} columns.";
+ }
+ @return $unit-width;
+}
+
+// Calculates the width of a grid item that spans the specified number of columns.
+// @see http://zengrids.com/help/#zen-grid-item-width
+@function zen-grid-item-width(
+ $column-span,
+ $column-count : $zen-column-count,
+ $gutter-width : $zen-gutter-width,
+ $grid-width : $zen-grid-width,
+ $box-sizing : $zen-box-sizing
+) {
+ $width: $column-span * zen-unit-width($column-count, $grid-width);
+ @if $box-sizing == content-box {
+ @if not comparable($width, $gutter-width) {
+ $units-gutter: unit($gutter-width);
+ $units-grid: unit($grid-width);
+ @warn "The layout cannot be calculated correctly; when using box-sizing: content-box, the units of the gutter (#{$units-gutter} did not match the units of the grid width (#{$units-grid}).";
+ }
+ $width: $width - $gutter-width;
+ }
+ @return $width;
+}
+
+// Returns the opposite direction, given "left" or "right".
+// @see http://zengrids.com/help/#zen-direction-flip
+@function zen-direction-flip(
+ $dir
+) {
+ @if $dir == left {
+ @return right;
+ }
+ @else if $dir == right {
+ @return left;
+ }
+ @else if $dir == none or $dir == both {
+ @return $dir;
+ }
+ @warn "Invalid direction passed to zen-direction-flip().";
+ @return both;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_init.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_init.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,21 @@
+//
+// @file
+// This file sets up all our variables and load all the modules we need for all
+// generated CSS in this project. To use it, simply: @import "init";
+//
+
+// Legacy browser variables for Compass.
+$legacy-support-for-ie6 : false;
+$legacy-support-for-ie7 : false;
+
+// Set up Zen Grids.
+$zen-column-count : 1;
+$zen-gutter-width : 20px;
+$zen-auto-include-item-base : false;
+
+//
+// Import our modules.
+//
+@import "zen";
+@import "zen/background";
+@import "visually-hidden";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_layout.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_layout.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,117 @@
+/**
+ * @file
+ * Layout styles.
+ *
+ * We use example breakpoints of 444px, 666px, 777px, 999px and 1111px. The
+ * right breakpoints to use for your site depend on your content.
+ */
+
+.centered {
+ @include zen-grid-background();
+ padding: {
+ top: 1.5em;
+ bottom: 1.5em;
+ }
+ margin: {
+ left: auto;
+ right: auto;
+ }
+ max-width: 1111px;
+}
+
+/* Set the shared properties for all grid items. */
+%grid-item,
+.grid-item {
+ @include zen-grid-item-base();
+}
+
+/* Set the container for our grid items. */
+.main {
+ @include zen-grid-container();
+}
+
+/* Horizontal navigation bar */
+@media all and (min-width: 444px) {
+ $zen-column-count: 1;
+ $navbar-height: 5em;
+
+ .main {
+ padding-top: $navbar-height;
+ }
+ .grid-item__menu {
+ @include zen-grid-item(1, 1);
+ margin-top: -$navbar-height;
+ height: $navbar-height;
+ }
+}
+
+@media all and (min-width: 444px) and (max-width: 665px) {
+ $zen-column-count: 2;
+
+ .centered {
+ @include zen-grid-background();
+ }
+ .grid-item__content {
+ @include zen-grid-item(2, 1);
+ }
+ .grid-item__aside1 {
+ @include zen-clear(); // Clear left-floated elements (.grid-item__content)
+ @include zen-grid-item(1, 1);
+ }
+ .grid-item__aside2 {
+ @include zen-grid-item(1, 2);
+ }
+}
+
+@media all and (min-width: 666px) and (max-width: 776px) {
+ $zen-column-count: 3;
+
+ .centered {
+ @include zen-grid-background();
+ }
+ .grid-item__content {
+ @include zen-grid-item(2, 1);
+ }
+ .grid-item__aside1 {
+ @include zen-grid-item(1, 1, right); // Position from the right
+ }
+ .grid-item__aside2 {
+ @include zen-clear(); // Clear left-floated elements (.grid-item__content)
+ @include zen-grid-item(2, 1);
+ }
+}
+
+@media all and (min-width: 777px) and (max-width: 998px) {
+ $zen-column-count: 3;
+
+ .centered {
+ @include zen-grid-background();
+ }
+ .grid-item__content {
+ @include zen-grid-item(2, 1);
+ }
+ .grid-item__aside1 {
+ @include zen-grid-item(1, 1, right); // Position from the right
+ }
+ .grid-item__aside2 {
+ @include zen-clear(right); // Clear right-floated elements (.grid-item__aside1)
+ @include zen-grid-item(1, 1, right);
+ }
+}
+
+@media all and (min-width: 999px) {
+ $zen-column-count: 5;
+
+ .centered {
+ @include zen-grid-background();
+ }
+ .grid-item__content {
+ @include zen-grid-item(3, 2);
+ }
+ .grid-item__aside1 {
+ @include zen-grid-item(1, 1);
+ }
+ .grid-item__aside2 {
+ @include zen-grid-item(1, 5);
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_modules.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_modules.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,78 @@
+/**
+ * @file
+ * Modular styles.
+ */
+
+
+html {
+ font-size: 16px;
+ line-height: 1.5em;
+}
+
+p {
+ margin: {
+ top: 1.5em;
+ bottom: 1.5em;
+ }
+}
+
+/* Skip link styling */
+.skip-link {
+ margin: 0;
+}
+.skip-link__link,
+.skip-link__link:visited {
+ display: block;
+ width: 100%;
+ padding: 2px 0 3px 0;
+ text-align: center;
+ background-color: #666;
+ color: #fff;
+}
+/* The skip-link link will be completely hidden until a user tabs to the link. */
+@media all and (min-width: 444px) {
+ .skip-link__link {
+ @include visually-focusable();
+ }
+}
+
+/* Set a consistent padding around all containers */
+.header,
+.footer {
+ @extend %grid-item;
+}
+.grid-item,
+.footer {
+ padding-top: 1.5em;
+}
+
+/* Source-order meta info */
+header {
+ h1,
+ h2 {
+ display: inline;
+ }
+ p {
+ display: inline;
+ text-transform: uppercase;
+ font-size: 0.8em;
+ color: #c00;
+ }
+}
+
+.pull-quote {
+ $font-size: 1.2em;
+
+ @include zen-float();
+ @include zen-grid-flow-item(1, 2);
+ @media all and (min-width: 999px) {
+ @include zen-grid-flow-item(1, 3);
+ }
+ margin: {
+ top: 1em*(1.5em/$font-size);
+ }
+ font-size: $font-size;
+ line-height: 1em*(1.5em/$font-size);
+ font-weight: bold;
+ font-style: italic;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_visually-hidden.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/_visually-hidden.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,51 @@
+//
+// @file
+// Accessibility features.
+//
+
+// As defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
+@mixin visually-hidden {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ clip: rect(1px 1px 1px 1px); // IE6 and IE7 use the wrong syntax.
+ }
+ clip: rect(1px, 1px, 1px, 1px);
+}
+
+// Turns off the visually-hidden effect.
+@mixin visually-hidden-off {
+ position: static !important;
+ clip: auto;
+ height: auto;
+ width: auto;
+ overflow: auto;
+}
+
+// Makes an element visually hidden, except when it receives focus.
+@mixin visually-focusable {
+ @include visually-hidden();
+
+ &:active,
+ &:focus {
+ @include visually-hidden-off();
+ }
+}
+
+// Placeholder styles for use with @extend.
+%visually-hidden {
+ @include visually-hidden();
+}
+%visually-hidden-off {
+ @include visually-hidden-off();
+}
+%visually-focusable {
+ @extend %visually-hidden;
+
+ &:active,
+ &:focus {
+ @extend %visually-hidden-off;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/example.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/example.html Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,71 @@
+
+
+
+
+ Zen Grids: sample usage
+
+
+
+
+
Alice did not quite know what to say to this: so she helped herself to some tea and bread-and-butter, and then turned to the Dormouse, and repeated her question. ‘Why did they live at the bottom of a well?’
+
The Dormouse again took a minute or two to think about it, and then said, ‘It was a treacle-well.’
+
‘There’s no such thing!’ Alice was beginning very angrily, but the Hatter and the March Hare went ‘Sh! sh!’ and the Dormouse sulkily remarked, ‘If you can’t be civil, you’d better finish the story for yourself.’
+
‘No, please go on!’ Alice said very humbly; ‘I won’t interrupt again. I dare say there may be ONE.’
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/manifest.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/manifest.rb Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,24 @@
+description "The Zen Grids system."
+
+stylesheet '_init.scss', :media => 'all'
+stylesheet '_layout.scss', :media => 'all'
+stylesheet '_modules.scss', :media => 'all'
+stylesheet '_visually-hidden.scss', :media => 'all'
+stylesheet 'styles.scss', :media => 'all'
+
+html 'example.html'
+
+help %Q{
+Zen Grids is an intuitive, flexible grid system that leverages the natural source order of your content to make it easier to create fluid responsive designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied to an infinite number of layouts, including responsive, adaptive, fluid and fixed-width layouts. To learn more, visit:
+
+ http://zengrids.com
+}
+
+welcome_message %Q{
+You rock! The Zen Grids system is now installed on your computer. Go check out
+how to use the system at:
+
+ http://zengrids.com
+
+It's easy!
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/styles.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/project/styles.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,6 @@
+// Import the initialization partial.
+@import "init";
+
+// Aggregate all the stylesheets into one file.
+@import "layout";
+@import "modules";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,16 @@
+UNIT TESTS FOR ZEN GRIDS
+------------------------
+
+To run the unit tests for Zen Grids:
+
+1. Create a "tests" Compass project using the unit-tests pattern:
+
+ compass create tests -r zen-grids --using=zen-grids/unit-tests
+
+2. From inside the "tests" project, compare the compiled stylesheets to the
+ previous unit test results in the test-results directory:
+
+ diff -r test-results/ stylesheets/
+
+ If the unit tests were successful, the above command should report no
+ differences.
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/manifest.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/manifest.rb Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,39 @@
+description "Unit tests for the Zen Grids system."
+
+stylesheet 'sass/function-zen-direction-flip.scss', :media => 'all', :to => 'function-zen-direction-flip.scss'
+stylesheet 'sass/function-zen-grid-item-width.scss', :media => 'all', :to => 'function-zen-grid-item-width.scss'
+stylesheet 'sass/function-zen-half-gutter.scss', :media => 'all', :to => 'function-zen-half-gutter.scss'
+stylesheet 'sass/function-zen-unit-width.scss', :media => 'all', :to => 'function-zen-unit-width.scss'
+stylesheet 'sass/zen-clear.scss', :media => 'all', :to => 'zen-clear.scss'
+stylesheet 'sass/zen-float.scss', :media => 'all', :to => 'zen-float.scss'
+stylesheet 'sass/zen-grid-background.scss', :media => 'all', :to => 'zen-grid-background.scss'
+stylesheet 'sass/zen-grid-container.scss', :media => 'all', :to => 'zen-grid-container.scss'
+stylesheet 'sass/zen-grid-flow-item.scss', :media => 'all', :to => 'zen-grid-flow-item.scss'
+stylesheet 'sass/zen-grid-item-base.scss', :media => 'all', :to => 'zen-grid-item-base.scss'
+stylesheet 'sass/zen-grid-item.scss', :media => 'all', :to => 'zen-grid-item.scss'
+stylesheet 'sass/zen-nested-container.scss', :media => 'all', :to => 'zen-nested-container.scss'
+
+file 'test-results/function-zen-direction-flip.css'
+file 'test-results/function-zen-grid-item-width.css'
+file 'test-results/function-zen-half-gutter.css'
+file 'test-results/function-zen-unit-width.css'
+file 'test-results/zen-clear.css'
+file 'test-results/zen-float.css'
+file 'test-results/zen-grid-background.css'
+file 'test-results/zen-grid-container.css'
+file 'test-results/zen-grid-flow-item.css'
+file 'test-results/zen-grid-item-base.css'
+file 'test-results/zen-grid-item.css'
+file 'test-results/zen-nested-container.css'
+
+file 'README.txt'
+
+help %Q{
+To run the unit tests, simply run "compass compile" and compare the generated
+CSS to those in the results directory.
+ diff -r results css
+}
+
+welcome_message %Q{
+You rock! The unit tests for the Zen Grids system are now installed.
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,23 @@
+/**
+ * @file
+ * Test zen-direction-flip()
+ */
+
+@import "zen";
+
+#test-zen-direction-flip {
+ /* Test zen-direction-flip(left) */
+ float: zen-direction-flip(left);
+
+ /* Test zen-direction-flip(right) */
+ float: zen-direction-flip(right);
+
+ /* Test zen-direction-flip(both) */
+ float: zen-direction-flip(both);
+
+ /* Test zen-direction-flip(none) */
+ float: zen-direction-flip(none);
+
+ /* Test zen-direction-flip(invalid) */
+ float: zen-direction-flip(invalid);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,38 @@
+/**
+ * @file
+ * Test zen-grid-item-width()
+ */
+
+@import "zen";
+
+#test-zen-grid-item-width {
+ /* Test zen-grid-item-width(1) with default $zen-column-count: 1 */
+ width: zen-grid-item-width(1);
+
+ /* Test zen-grid-item-width(2) with $zen-column-count: 5 */
+ $zen-column-count: 5;
+ width: zen-grid-item-width(2);
+ $zen-column-count: 1;
+
+ /* Test zen-grid-item-width(2, 5) */
+ width: zen-grid-item-width(2, 5);
+
+ /* Test zen-grid-item-width(1) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-grid-item-width(1);
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-item-width(2, 5) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-grid-item-width(2, 5);
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-item-width(2, 5, $grid-width: 1000px) */
+ width: zen-grid-item-width(2, 5, $grid-width: 1000px);
+
+ /* Test zen-grid-item-width(2, 5, $grid-width: 1000px, $box-sizing: content-box) */
+ width: zen-grid-item-width(2, 5, $grid-width: 1000px, $box-sizing: content-box);
+
+ /* Test zen-grid-item-width(2, 5, $gutter-width: 10px, $grid-width: 1000px, $box-sizing: content-box) */
+ width: zen-grid-item-width(2, 5, $gutter-width: 10px, $grid-width: 1000px, $box-sizing: content-box);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * Test zen-half-gutter()
+ */
+
+@import "zen";
+
+#test-zen-half-gutter {
+ /* Test zen-half-gutter() with default $zen-gutter-width: 20px */
+ padding-left: zen-half-gutter();
+
+ /* Test zen-half-gutter() with $zen-gutter-width: 30px */
+ $zen-gutter-width: 30px;
+ padding-left: zen-half-gutter();
+
+ /* Test zen-half-gutter(10em) */
+ padding-left: zen-half-gutter(10em);
+
+ /* Test zen-half-gutter(11em) */
+ padding-left: zen-half-gutter(11em);
+
+ /* Test zen-half-gutter(10px) */
+ padding-left: zen-half-gutter(10px);
+
+ /* Test zen-half-gutter(11px) */
+ padding-left: zen-half-gutter(11px);
+
+ /* Test zen-half-gutter(11px, right) */
+ padding-left: zen-half-gutter(11px, right);
+
+ /* Test zen-half-gutter(11px) with $zen-float-direction: right */
+ $zen-float-direction: right;
+ padding-left: zen-half-gutter(11px);
+
+ /* Test zen-half-gutter(11px, left) with $zen-float-direction: right */
+ padding-left: zen-half-gutter(11px, left);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,32 @@
+/**
+ * @file
+ * Test zen-unit-width()
+ */
+
+@import "zen";
+
+#test-zen-unit-width {
+ /* Test zen-unit-width() with default $zen-column-count: 1 */
+ width: zen-unit-width();
+
+ /* Test zen-unit-width() with $zen-column-count: 5 */
+ $zen-column-count: 5;
+ width: zen-unit-width();
+ $zen-column-count: 1;
+
+ /* Test zen-unit-width(5) */
+ width: zen-unit-width(5);
+
+ /* Test zen-unit-width() with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-unit-width();
+ $zen-grid-width: 100%;
+
+ /* Test zen-unit-width(5) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-unit-width(5);
+ $zen-grid-width: 100%;
+
+ /* Test zen-unit-width(5, 100px) */
+ width: zen-unit-width(5, 100px);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * Test zen-clear()
+ */
+
+@import "zen";
+
+#test-zen-clear {
+ /* Test zen-clear() */
+ @include zen-clear();
+
+ /* Test zen-clear() with $zen-float-direction: right */
+ $zen-float-direction: right;
+ @include zen-clear();
+ $zen-float-direction: left;
+
+ /* Test zen-clear(left) */
+ @include zen-clear(left);
+
+ /* Test zen-clear(left, $reverse-all-floats: TRUE) */
+ @include zen-clear(left, $reverse-all-floats: TRUE);
+
+ /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
+ $zen-reverse-all-floats: TRUE;
+ @include zen-clear(left);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * Test zen-float()
+ */
+
+@import "zen";
+
+#test-zen-float {
+ /* Test zen-float() */
+ @include zen-float();
+
+ /* Test zen-float() with $zen-float-direction: right */
+ $zen-float-direction: right;
+ @include zen-float();
+ $zen-float-direction: left;
+
+ /* Test zen-float(left) */
+ @include zen-float(left);
+
+ /* Test zen-float(left, $reverse-all-floats: TRUE) */
+ @include zen-float(left, $reverse-all-floats: TRUE);
+
+ /* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
+ $zen-reverse-all-floats: TRUE;
+ @include zen-float(left);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-background.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-background.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,69 @@
+/**
+ * @file
+ * Test zen-grid-background()
+ */
+
+@import "zen/background";
+
+#test-zen-grid-background {
+ /* Test zen-grid-background() with 1 column grid and 20px gutter */
+ $zen-grid-numbers: top;
+ @include zen-grid-background();
+ $zen-grid-numbers: both;
+
+ // Turn off numbers for all other tests.
+ $zen-grid-numbers: none;
+
+ /* Test zen-grid-background() with 12 column grid and 20px gutter */
+ $zen-column-count: 12;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+
+ /* Test zen-grid-background(), 5 column grid, 10% gutter and black grid color */
+ $zen-column-count: 5;
+ $zen-gutter-width: 10%;
+ $zen-grid-color: #000;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-grid-color: rgba(#ffdede, 0.8);
+
+ /* Test zen-grid-background() with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-background(), 5 column grid and 10% gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 10%;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-background() with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-background() with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ $zen-grid-width: 1000px;
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-background();
+ $zen-grid-width: 100%;
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-background() with all 24 grid numbers */
+ $zen-column-count: 24;
+ @include zen-grid-background();
+ $zen-column-count: 1;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * Test zen-grid-container()
+ */
+
+@import "zen";
+
+#test-zen-grid-container {
+ /* Test zen-grid-container() */
+ @include zen-grid-container();
+}
+
+#test-zen-grid-container-2 {
+ /* Test zen-grid-container() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-grid-container();
+ $legacy-support-for-ie7: false;
+}
+
+#test-zen-grid-container-3 {
+ /* Test zen-grid-container() with $legacy-support-for-ie6: true */
+ $legacy-support-for-ie6: true;
+ $legacy-support-for-ie7: true;
+ @include zen-grid-container();
+ $legacy-support-for-ie6: false;
+ $legacy-support-for-ie7: false;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,81 @@
+/**
+ * @file
+ * Test zen-grid-flow-item()
+ */
+
+@import "zen";
+
+#test-zen-grid-flow-item {
+ /* Test zen-grid-flow-item(1) without setting $column-count */
+ @include zen-grid-flow-item(1);
+
+ /* Test zen-grid-flow-item(1, 4) with 20px gutter */
+ @include zen-grid-flow-item(1, 4);
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter and $zen-grid-width: 1000px */
+ $zen-column-count: 5;
+ $zen-grid-width: 1000px;
+ @include zen-grid-flow-item(1);
+ $zen-column-count: 1;
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px, $alpha-gutter: true and $omega-gutter: false */
+ $zen-column-count: 5;
+ $zen-grid-width: 1000px;
+ @include zen-grid-flow-item(1, $alpha-gutter: true, $omega-gutter: false);
+ $zen-column-count: 1;
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px and $omega-gutter: false */
+ $zen-column-count: 5;
+ $zen-grid-width: 1000px;
+ @include zen-grid-flow-item(1, $omega-gutter: false);
+ $zen-column-count: 1;
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-float-direction: right */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4, $alpha-gutter: true);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4, $omega-gutter: false);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
+ @include zen-grid-flow-item(3, 4, $alpha-gutter: true);
+
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
+ @include zen-grid-flow-item(3, 4, $omega-gutter: false);
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-flow-item(1, 4, $alpha-gutter: true);
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
+ $zen-gutter-width: 10%;
+ $zen-box-sizing: content-box;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+ $zen-box-sizing: border-box;
+
+ /* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
+ $zen-auto-include-flow-item-base: false;
+ @include zen-grid-flow-item(1, 4);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,54 @@
+/**
+ * @file
+ * Test zen-grid-item-base()
+ */
+
+@import "zen";
+
+#test-zen-grid-item-base {
+ /* Test zen-grid-item-base() */
+ @include zen-grid-item-base();
+
+ /* Test zen-grid-item-base() with $zen-box-sizing: content-box */
+ $zen-box-sizing: content-box;
+ @include zen-grid-item-base();
+ $zen-box-sizing: border-box;
+
+ /* Test zen-grid-item-base() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-grid-item-base();
+ $legacy-support-for-ie7: false;
+
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie7: true */
+ $box-sizing-polyfill-path: "/boxsizing.htc";
+ $legacy-support-for-ie7: true;
+ @include zen-grid-item-base();
+ $box-sizing-polyfill-path: "";
+ $legacy-support-for-ie7: false;
+
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie6: true */
+ $box-sizing-polyfill-path: "/boxsizing.htc";
+ $legacy-support-for-ie6: true;
+ @include zen-grid-item-base();
+ $box-sizing-polyfill-path: "";
+ $legacy-support-for-ie6: false;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px */
+ $zen-gutter-width: 15px;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-float-direction: right */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-reverse-all-floats: true */
+ $zen-gutter-width: 15px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,73 @@
+/**
+ * @file
+ * Test zen-grid-item()
+ */
+
+@import "zen";
+
+#test-zen-grid-item {
+ /* Test zen-grid-item(6, 4) with 12 column grid and 20px gutter */
+ $zen-column-count: 12;
+ @include zen-grid-item(6, 4);
+ $zen-column-count: 1;
+
+ /* Test zen-grid-item(3, 3) with box-sizing: content-box, 5 column grid and 10% gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 10%;
+ $zen-box-sizing: content-box;
+ @include zen-grid-item(3, 3);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-box-sizing: border-box;
+
+ /* Turn off $zen-auto-include-item-base */
+ $zen-auto-include-item-base: false;
+
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3, right);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item(3, 3);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item(3, 3, right);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-item(3, 2.5) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 2.5);
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-item(3, 3) with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ $zen-grid-width: 1000px;
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3);
+ $zen-grid-width: 100%;
+ $zen-column-count: 1;
+ $zen-gutter-width: 20px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * Test zen-nested-container()
+ */
+
+@import "zen";
+
+#test-zen-nested-container {
+ /* Test zen-nested-container() */
+ @include zen-nested-container();
+}
+
+#test-zen-nested-container-2 {
+ /* Test zen-nested-container() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-nested-container();
+ $legacy-support-for-ie7: false;
+}
+
+#test-zen-nested-container-3 {
+ /* Test zen-nested-container() with $legacy-support-for-ie6: true */
+ $legacy-support-for-ie6: true;
+ $legacy-support-for-ie7: true;
+ @include zen-nested-container();
+ $legacy-support-for-ie6: false;
+ $legacy-support-for-ie7: false;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,16 @@
+/**
+ * @file
+ * Test zen-direction-flip()
+ */
+#test-zen-direction-flip {
+ /* Test zen-direction-flip(left) */
+ float: right;
+ /* Test zen-direction-flip(right) */
+ float: left;
+ /* Test zen-direction-flip(both) */
+ float: both;
+ /* Test zen-direction-flip(none) */
+ float: none;
+ /* Test zen-direction-flip(invalid) */
+ float: both;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,22 @@
+/**
+ * @file
+ * Test zen-grid-item-width()
+ */
+#test-zen-grid-item-width {
+ /* Test zen-grid-item-width(1) with default $zen-column-count: 1 */
+ width: 100%;
+ /* Test zen-grid-item-width(2) with $zen-column-count: 5 */
+ width: 40%;
+ /* Test zen-grid-item-width(2, 5) */
+ width: 40%;
+ /* Test zen-grid-item-width(1) with $zen-grid-width: 100px */
+ width: 100px;
+ /* Test zen-grid-item-width(2, 5) with $zen-grid-width: 100px */
+ width: 40px;
+ /* Test zen-grid-item-width(2, 5, $grid-width: 1000px) */
+ width: 400px;
+ /* Test zen-grid-item-width(2, 5, $grid-width: 1000px, $box-sizing: content-box) */
+ width: 380px;
+ /* Test zen-grid-item-width(2, 5, $gutter-width: 10px, $grid-width: 1000px, $box-sizing: content-box) */
+ width: 390px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,24 @@
+/**
+ * @file
+ * Test zen-half-gutter()
+ */
+#test-zen-half-gutter {
+ /* Test zen-half-gutter() with default $zen-gutter-width: 20px */
+ padding-left: 10px;
+ /* Test zen-half-gutter() with $zen-gutter-width: 30px */
+ padding-left: 15px;
+ /* Test zen-half-gutter(10em) */
+ padding-left: 5em;
+ /* Test zen-half-gutter(11em) */
+ padding-left: 5.5em;
+ /* Test zen-half-gutter(10px) */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px) */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px, right) */
+ padding-left: 6px;
+ /* Test zen-half-gutter(11px) with $zen-float-direction: right */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px, left) with $zen-float-direction: right */
+ padding-left: 6px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,18 @@
+/**
+ * @file
+ * Test zen-unit-width()
+ */
+#test-zen-unit-width {
+ /* Test zen-unit-width() with default $zen-column-count: 1 */
+ width: 100%;
+ /* Test zen-unit-width() with $zen-column-count: 5 */
+ width: 20%;
+ /* Test zen-unit-width(5) */
+ width: 20%;
+ /* Test zen-unit-width() with $zen-grid-width: 100px */
+ width: 100px;
+ /* Test zen-unit-width(5) with $zen-grid-width: 100px */
+ width: 20px;
+ /* Test zen-unit-width(5, 100px) */
+ width: 20px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,16 @@
+/**
+ * @file
+ * Test zen-clear()
+ */
+#test-zen-clear {
+ /* Test zen-clear() */
+ clear: left;
+ /* Test zen-clear() with $zen-float-direction: right */
+ clear: right;
+ /* Test zen-clear(left) */
+ clear: left;
+ /* Test zen-clear(left, $reverse-all-floats: TRUE) */
+ clear: right;
+ /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
+ clear: right;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,16 @@
+/**
+ * @file
+ * Test zen-float()
+ */
+#test-zen-float {
+ /* Test zen-float() */
+ float: left;
+ /* Test zen-float() with $zen-float-direction: right */
+ float: right;
+ /* Test zen-float(left) */
+ float: left;
+ /* Test zen-float(left, $reverse-all-floats: TRUE) */
+ float: right;
+ /* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
+ float: right;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-background.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-background.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,54 @@
+/**
+ * @file
+ * Test zen-grid-background()
+ */
+#test-zen-grid-background {
+ /* Test zen-grid-background() with 1 column grid and 20px gutter */
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII=") 50% top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(50%, #ffdede), color-stop(50%, transparent)) 10px top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(50%, transparent), color-stop(50%, #ffdede)) -10px top no-repeat;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII=") 50% top no-repeat, -webkit-linear-gradient(left, #ffdede 50%, transparent 50%) 10px top no-repeat, -webkit-linear-gradient(left, transparent 50%, #ffdede 50%) -10px top no-repeat;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII=") 50% top no-repeat, -moz-linear-gradient(left, #ffdede 50%, transparent 50%) 10px top no-repeat, -moz-linear-gradient(left, transparent 50%, #ffdede 50%) -10px top no-repeat;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII=") 50% top no-repeat, -o-linear-gradient(left, #ffdede 50%, transparent 50%) 10px top no-repeat, -o-linear-gradient(left, transparent 50%, #ffdede 50%) -10px top no-repeat;
+ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARVJREFUeNpi/P//PwMMMDIyMpALYOawEKEWpIYPiAWg7M9A/B6If4LMwaaYkGHiQKwFxJpAzA3E94H4LBA/BOJfWJ0Kw0iAFYhFgFgHiIOBuPHGjRtvf//+/X/WrFmHgHxPqIsxzGHC4TJ+IDYCYu+EhIQ4oGG5ysrKQiCJX79+cQApXqilDMR6mROI5Z8+fVotJibGS0rk4HLhd1AYSUtLd8rLyy/78uXLb0oN/AjE54D44LNnz27euXPnHaUGglz0BoifAvEHaniZbDBq4BA0EJR8vjAxMf2FCbCxsf2AljhYEzsjgfIQlKe1gVgPiCWAGGTwbWylDcwcQgayQIssASj9D5qLMMpDYg0kucSmeqQABBgAsyJrV7MArsMAAAAASUVORK5CYII=") 50% top no-repeat, linear-gradient(left, #ffdede 50%, transparent 50%) 10px top no-repeat, linear-gradient(left, transparent 50%, #ffdede 50%) -10px top no-repeat;
+ /* Test zen-grid-background() with 12 column grid and 20px gutter */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(4.16667%, #ffdede), color-stop(4.16667%, transparent), color-stop(8.33333%, transparent), color-stop(8.33333%, #ffdede), color-stop(12.5%, #ffdede), color-stop(12.5%, transparent), color-stop(16.66667%, transparent), color-stop(16.66667%, #ffdede), color-stop(20.83333%, #ffdede), color-stop(20.83333%, transparent), color-stop(25%, transparent), color-stop(25%, #ffdede), color-stop(29.16667%, #ffdede), color-stop(29.16667%, transparent), color-stop(33.33333%, transparent), color-stop(33.33333%, #ffdede), color-stop(37.5%, #ffdede), color-stop(37.5%, transparent), color-stop(41.66667%, transparent), color-stop(41.66667%, #ffdede), color-stop(45.83333%, #ffdede), color-stop(45.83333%, transparent), color-stop(50%, transparent), color-stop(50%, #ffdede), color-stop(54.16667%, #ffdede), color-stop(54.16667%, transparent), color-stop(58.33333%, transparent), color-stop(58.33333%, #ffdede), color-stop(62.5%, #ffdede), color-stop(62.5%, transparent), color-stop(66.66667%, transparent), color-stop(66.66667%, #ffdede), color-stop(70.83333%, #ffdede), color-stop(70.83333%, transparent), color-stop(75%, transparent), color-stop(75%, #ffdede), color-stop(79.16667%, #ffdede), color-stop(79.16667%, transparent), color-stop(83.33333%, transparent), color-stop(83.33333%, #ffdede), color-stop(87.5%, #ffdede), color-stop(87.5%, transparent), color-stop(91.66667%, transparent), color-stop(91.66667%, #ffdede), color-stop(95.83333%, #ffdede), color-stop(95.83333%, transparent)) 10px top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(4.16667%, transparent), color-stop(4.16667%, #ffdede), color-stop(8.33333%, #ffdede), color-stop(8.33333%, transparent), color-stop(12.5%, transparent), color-stop(12.5%, #ffdede), color-stop(16.66667%, #ffdede), color-stop(16.66667%, transparent), color-stop(20.83333%, transparent), color-stop(20.83333%, #ffdede), color-stop(25%, #ffdede), color-stop(25%, transparent), color-stop(29.16667%, transparent), color-stop(29.16667%, #ffdede), color-stop(33.33333%, #ffdede), color-stop(33.33333%, transparent), color-stop(37.5%, transparent), color-stop(37.5%, #ffdede), color-stop(41.66667%, #ffdede), color-stop(41.66667%, transparent), color-stop(45.83333%, transparent), color-stop(45.83333%, #ffdede), color-stop(50%, #ffdede), color-stop(50%, transparent), color-stop(54.16667%, transparent), color-stop(54.16667%, #ffdede), color-stop(58.33333%, #ffdede), color-stop(58.33333%, transparent), color-stop(62.5%, transparent), color-stop(62.5%, #ffdede), color-stop(66.66667%, #ffdede), color-stop(66.66667%, transparent), color-stop(70.83333%, transparent), color-stop(70.83333%, #ffdede), color-stop(75%, #ffdede), color-stop(75%, transparent), color-stop(79.16667%, transparent), color-stop(79.16667%, #ffdede), color-stop(83.33333%, #ffdede), color-stop(83.33333%, transparent), color-stop(87.5%, transparent), color-stop(87.5%, #ffdede), color-stop(91.66667%, #ffdede), color-stop(91.66667%, transparent), color-stop(95.83333%, transparent), color-stop(95.83333%, #ffdede)) -10px top no-repeat;
+ background: -webkit-linear-gradient(left, #ffdede 4.16667%, transparent 4.16667%, transparent 8.33333%, #ffdede 8.33333%, #ffdede 12.5%, transparent 12.5%, transparent 16.66667%, #ffdede 16.66667%, #ffdede 20.83333%, transparent 20.83333%, transparent 25%, #ffdede 25%, #ffdede 29.16667%, transparent 29.16667%, transparent 33.33333%, #ffdede 33.33333%, #ffdede 37.5%, transparent 37.5%, transparent 41.66667%, #ffdede 41.66667%, #ffdede 45.83333%, transparent 45.83333%, transparent 50%, #ffdede 50%, #ffdede 54.16667%, transparent 54.16667%, transparent 58.33333%, #ffdede 58.33333%, #ffdede 62.5%, transparent 62.5%, transparent 66.66667%, #ffdede 66.66667%, #ffdede 70.83333%, transparent 70.83333%, transparent 75%, #ffdede 75%, #ffdede 79.16667%, transparent 79.16667%, transparent 83.33333%, #ffdede 83.33333%, #ffdede 87.5%, transparent 87.5%, transparent 91.66667%, #ffdede 91.66667%, #ffdede 95.83333%, transparent 95.83333%) 10px top no-repeat, -webkit-linear-gradient(left, transparent 4.16667%, #ffdede 4.16667%, #ffdede 8.33333%, transparent 8.33333%, transparent 12.5%, #ffdede 12.5%, #ffdede 16.66667%, transparent 16.66667%, transparent 20.83333%, #ffdede 20.83333%, #ffdede 25%, transparent 25%, transparent 29.16667%, #ffdede 29.16667%, #ffdede 33.33333%, transparent 33.33333%, transparent 37.5%, #ffdede 37.5%, #ffdede 41.66667%, transparent 41.66667%, transparent 45.83333%, #ffdede 45.83333%, #ffdede 50%, transparent 50%, transparent 54.16667%, #ffdede 54.16667%, #ffdede 58.33333%, transparent 58.33333%, transparent 62.5%, #ffdede 62.5%, #ffdede 66.66667%, transparent 66.66667%, transparent 70.83333%, #ffdede 70.83333%, #ffdede 75%, transparent 75%, transparent 79.16667%, #ffdede 79.16667%, #ffdede 83.33333%, transparent 83.33333%, transparent 87.5%, #ffdede 87.5%, #ffdede 91.66667%, transparent 91.66667%, transparent 95.83333%, #ffdede 95.83333%) -10px top no-repeat;
+ background: -moz-linear-gradient(left, #ffdede 4.16667%, transparent 4.16667%, transparent 8.33333%, #ffdede 8.33333%, #ffdede 12.5%, transparent 12.5%, transparent 16.66667%, #ffdede 16.66667%, #ffdede 20.83333%, transparent 20.83333%, transparent 25%, #ffdede 25%, #ffdede 29.16667%, transparent 29.16667%, transparent 33.33333%, #ffdede 33.33333%, #ffdede 37.5%, transparent 37.5%, transparent 41.66667%, #ffdede 41.66667%, #ffdede 45.83333%, transparent 45.83333%, transparent 50%, #ffdede 50%, #ffdede 54.16667%, transparent 54.16667%, transparent 58.33333%, #ffdede 58.33333%, #ffdede 62.5%, transparent 62.5%, transparent 66.66667%, #ffdede 66.66667%, #ffdede 70.83333%, transparent 70.83333%, transparent 75%, #ffdede 75%, #ffdede 79.16667%, transparent 79.16667%, transparent 83.33333%, #ffdede 83.33333%, #ffdede 87.5%, transparent 87.5%, transparent 91.66667%, #ffdede 91.66667%, #ffdede 95.83333%, transparent 95.83333%) 10px top no-repeat, -moz-linear-gradient(left, transparent 4.16667%, #ffdede 4.16667%, #ffdede 8.33333%, transparent 8.33333%, transparent 12.5%, #ffdede 12.5%, #ffdede 16.66667%, transparent 16.66667%, transparent 20.83333%, #ffdede 20.83333%, #ffdede 25%, transparent 25%, transparent 29.16667%, #ffdede 29.16667%, #ffdede 33.33333%, transparent 33.33333%, transparent 37.5%, #ffdede 37.5%, #ffdede 41.66667%, transparent 41.66667%, transparent 45.83333%, #ffdede 45.83333%, #ffdede 50%, transparent 50%, transparent 54.16667%, #ffdede 54.16667%, #ffdede 58.33333%, transparent 58.33333%, transparent 62.5%, #ffdede 62.5%, #ffdede 66.66667%, transparent 66.66667%, transparent 70.83333%, #ffdede 70.83333%, #ffdede 75%, transparent 75%, transparent 79.16667%, #ffdede 79.16667%, #ffdede 83.33333%, transparent 83.33333%, transparent 87.5%, #ffdede 87.5%, #ffdede 91.66667%, transparent 91.66667%, transparent 95.83333%, #ffdede 95.83333%) -10px top no-repeat;
+ background: -o-linear-gradient(left, #ffdede 4.16667%, transparent 4.16667%, transparent 8.33333%, #ffdede 8.33333%, #ffdede 12.5%, transparent 12.5%, transparent 16.66667%, #ffdede 16.66667%, #ffdede 20.83333%, transparent 20.83333%, transparent 25%, #ffdede 25%, #ffdede 29.16667%, transparent 29.16667%, transparent 33.33333%, #ffdede 33.33333%, #ffdede 37.5%, transparent 37.5%, transparent 41.66667%, #ffdede 41.66667%, #ffdede 45.83333%, transparent 45.83333%, transparent 50%, #ffdede 50%, #ffdede 54.16667%, transparent 54.16667%, transparent 58.33333%, #ffdede 58.33333%, #ffdede 62.5%, transparent 62.5%, transparent 66.66667%, #ffdede 66.66667%, #ffdede 70.83333%, transparent 70.83333%, transparent 75%, #ffdede 75%, #ffdede 79.16667%, transparent 79.16667%, transparent 83.33333%, #ffdede 83.33333%, #ffdede 87.5%, transparent 87.5%, transparent 91.66667%, #ffdede 91.66667%, #ffdede 95.83333%, transparent 95.83333%) 10px top no-repeat, -o-linear-gradient(left, transparent 4.16667%, #ffdede 4.16667%, #ffdede 8.33333%, transparent 8.33333%, transparent 12.5%, #ffdede 12.5%, #ffdede 16.66667%, transparent 16.66667%, transparent 20.83333%, #ffdede 20.83333%, #ffdede 25%, transparent 25%, transparent 29.16667%, #ffdede 29.16667%, #ffdede 33.33333%, transparent 33.33333%, transparent 37.5%, #ffdede 37.5%, #ffdede 41.66667%, transparent 41.66667%, transparent 45.83333%, #ffdede 45.83333%, #ffdede 50%, transparent 50%, transparent 54.16667%, #ffdede 54.16667%, #ffdede 58.33333%, transparent 58.33333%, transparent 62.5%, #ffdede 62.5%, #ffdede 66.66667%, transparent 66.66667%, transparent 70.83333%, #ffdede 70.83333%, #ffdede 75%, transparent 75%, transparent 79.16667%, #ffdede 79.16667%, #ffdede 83.33333%, transparent 83.33333%, transparent 87.5%, #ffdede 87.5%, #ffdede 91.66667%, transparent 91.66667%, transparent 95.83333%, #ffdede 95.83333%) -10px top no-repeat;
+ background: linear-gradient(left, #ffdede 4.16667%, transparent 4.16667%, transparent 8.33333%, #ffdede 8.33333%, #ffdede 12.5%, transparent 12.5%, transparent 16.66667%, #ffdede 16.66667%, #ffdede 20.83333%, transparent 20.83333%, transparent 25%, #ffdede 25%, #ffdede 29.16667%, transparent 29.16667%, transparent 33.33333%, #ffdede 33.33333%, #ffdede 37.5%, transparent 37.5%, transparent 41.66667%, #ffdede 41.66667%, #ffdede 45.83333%, transparent 45.83333%, transparent 50%, #ffdede 50%, #ffdede 54.16667%, transparent 54.16667%, transparent 58.33333%, #ffdede 58.33333%, #ffdede 62.5%, transparent 62.5%, transparent 66.66667%, #ffdede 66.66667%, #ffdede 70.83333%, transparent 70.83333%, transparent 75%, #ffdede 75%, #ffdede 79.16667%, transparent 79.16667%, transparent 83.33333%, #ffdede 83.33333%, #ffdede 87.5%, transparent 87.5%, transparent 91.66667%, #ffdede 91.66667%, #ffdede 95.83333%, transparent 95.83333%) 10px top no-repeat, linear-gradient(left, transparent 4.16667%, #ffdede 4.16667%, #ffdede 8.33333%, transparent 8.33333%, transparent 12.5%, #ffdede 12.5%, #ffdede 16.66667%, transparent 16.66667%, transparent 20.83333%, #ffdede 20.83333%, #ffdede 25%, transparent 25%, transparent 29.16667%, #ffdede 29.16667%, #ffdede 33.33333%, transparent 33.33333%, transparent 37.5%, #ffdede 37.5%, #ffdede 41.66667%, transparent 41.66667%, transparent 45.83333%, #ffdede 45.83333%, #ffdede 50%, transparent 50%, transparent 54.16667%, #ffdede 54.16667%, #ffdede 58.33333%, transparent 58.33333%, transparent 62.5%, #ffdede 62.5%, #ffdede 66.66667%, transparent 66.66667%, transparent 70.83333%, #ffdede 70.83333%, #ffdede 75%, transparent 75%, transparent 79.16667%, #ffdede 79.16667%, #ffdede 83.33333%, transparent 83.33333%, transparent 87.5%, #ffdede 87.5%, #ffdede 91.66667%, transparent 91.66667%, transparent 95.83333%, #ffdede 95.83333%) -10px top no-repeat;
+ /* Test zen-grid-background(), 5 column grid, 10% gutter and black grid color */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, #000000), color-stop(10%, transparent), color-stop(20%, transparent), color-stop(20%, #000000), color-stop(30%, #000000), color-stop(30%, transparent), color-stop(40%, transparent), color-stop(40%, #000000), color-stop(50%, #000000), color-stop(50%, transparent), color-stop(60%, transparent), color-stop(60%, #000000), color-stop(70%, #000000), color-stop(70%, transparent), color-stop(80%, transparent), color-stop(80%, #000000), color-stop(90%, #000000), color-stop(90%, transparent)) 5% top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, transparent), color-stop(10%, #000000), color-stop(20%, #000000), color-stop(20%, transparent), color-stop(30%, transparent), color-stop(30%, #000000), color-stop(40%, #000000), color-stop(40%, transparent), color-stop(50%, transparent), color-stop(50%, #000000), color-stop(60%, #000000), color-stop(60%, transparent), color-stop(70%, transparent), color-stop(70%, #000000), color-stop(80%, #000000), color-stop(80%, transparent), color-stop(90%, transparent), color-stop(90%, #000000)) -5% top no-repeat;
+ background: -webkit-linear-gradient(left, #000000 10%, transparent 10%, transparent 20%, #000000 20%, #000000 30%, transparent 30%, transparent 40%, #000000 40%, #000000 50%, transparent 50%, transparent 60%, #000000 60%, #000000 70%, transparent 70%, transparent 80%, #000000 80%, #000000 90%, transparent 90%) 5% top no-repeat, -webkit-linear-gradient(left, transparent 10%, #000000 10%, #000000 20%, transparent 20%, transparent 30%, #000000 30%, #000000 40%, transparent 40%, transparent 50%, #000000 50%, #000000 60%, transparent 60%, transparent 70%, #000000 70%, #000000 80%, transparent 80%, transparent 90%, #000000 90%) -5% top no-repeat;
+ background: -moz-linear-gradient(left, #000000 10%, transparent 10%, transparent 20%, #000000 20%, #000000 30%, transparent 30%, transparent 40%, #000000 40%, #000000 50%, transparent 50%, transparent 60%, #000000 60%, #000000 70%, transparent 70%, transparent 80%, #000000 80%, #000000 90%, transparent 90%) 5% top no-repeat, -moz-linear-gradient(left, transparent 10%, #000000 10%, #000000 20%, transparent 20%, transparent 30%, #000000 30%, #000000 40%, transparent 40%, transparent 50%, #000000 50%, #000000 60%, transparent 60%, transparent 70%, #000000 70%, #000000 80%, transparent 80%, transparent 90%, #000000 90%) -5% top no-repeat;
+ background: -o-linear-gradient(left, #000000 10%, transparent 10%, transparent 20%, #000000 20%, #000000 30%, transparent 30%, transparent 40%, #000000 40%, #000000 50%, transparent 50%, transparent 60%, #000000 60%, #000000 70%, transparent 70%, transparent 80%, #000000 80%, #000000 90%, transparent 90%) 5% top no-repeat, -o-linear-gradient(left, transparent 10%, #000000 10%, #000000 20%, transparent 20%, transparent 30%, #000000 30%, #000000 40%, transparent 40%, transparent 50%, #000000 50%, #000000 60%, transparent 60%, transparent 70%, #000000 70%, #000000 80%, transparent 80%, transparent 90%, #000000 90%) -5% top no-repeat;
+ background: linear-gradient(left, #000000 10%, transparent 10%, transparent 20%, #000000 20%, #000000 30%, transparent 30%, transparent 40%, #000000 40%, #000000 50%, transparent 50%, transparent 60%, #000000 60%, #000000 70%, transparent 70%, transparent 80%, #000000 80%, #000000 90%, transparent 90%) 5% top no-repeat, linear-gradient(left, transparent 10%, #000000 10%, #000000 20%, transparent 20%, transparent 30%, #000000 30%, #000000 40%, transparent 40%, transparent 50%, #000000 50%, #000000 60%, transparent 60%, transparent 70%, #000000 70%, #000000 80%, transparent 80%, transparent 90%, #000000 90%) -5% top no-repeat;
+ /* Test zen-grid-background() with 5 column grid and 40px gutter */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(10%, transparent), color-stop(20%, transparent), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(30%, transparent), color-stop(40%, transparent), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(50%, transparent), color-stop(60%, transparent), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(70%, transparent), color-stop(80%, transparent), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(90%, rgba(255, 222, 222, 0.8)), color-stop(90%, transparent)) 20px top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, transparent), color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(20%, transparent), color-stop(30%, transparent), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(40%, transparent), color-stop(50%, transparent), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(60%, transparent), color-stop(70%, transparent), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(80%, transparent), color-stop(90%, transparent), color-stop(90%, rgba(255, 222, 222, 0.8))) -20px top no-repeat;
+ background: -webkit-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -webkit-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: -moz-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -moz-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: -o-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -o-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ /* Test zen-grid-background(), 5 column grid and 10% gutter and $zen-reverse-all-floats */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(10%, transparent), color-stop(20%, transparent), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(30%, transparent), color-stop(40%, transparent), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(50%, transparent), color-stop(60%, transparent), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(70%, transparent), color-stop(80%, transparent), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(90%, rgba(255, 222, 222, 0.8)), color-stop(90%, transparent)) 5% top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, transparent), color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(20%, transparent), color-stop(30%, transparent), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(40%, transparent), color-stop(50%, transparent), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(60%, transparent), color-stop(70%, transparent), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(80%, transparent), color-stop(90%, transparent), color-stop(90%, rgba(255, 222, 222, 0.8))) -5% top no-repeat;
+ background: -webkit-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 5% top no-repeat, -webkit-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -5% top no-repeat;
+ background: -moz-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 5% top no-repeat, -moz-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -5% top no-repeat;
+ background: -o-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 5% top no-repeat, -o-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -5% top no-repeat;
+ background: linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 5% top no-repeat, linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -5% top no-repeat;
+ /* Test zen-grid-background() with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(10%, transparent), color-stop(20%, transparent), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(30%, transparent), color-stop(40%, transparent), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(50%, transparent), color-stop(60%, transparent), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(70%, transparent), color-stop(80%, transparent), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(90%, rgba(255, 222, 222, 0.8)), color-stop(90%, transparent)) 20px top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(10%, transparent), color-stop(10%, rgba(255, 222, 222, 0.8)), color-stop(20%, rgba(255, 222, 222, 0.8)), color-stop(20%, transparent), color-stop(30%, transparent), color-stop(30%, rgba(255, 222, 222, 0.8)), color-stop(40%, rgba(255, 222, 222, 0.8)), color-stop(40%, transparent), color-stop(50%, transparent), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(60%, rgba(255, 222, 222, 0.8)), color-stop(60%, transparent), color-stop(70%, transparent), color-stop(70%, rgba(255, 222, 222, 0.8)), color-stop(80%, rgba(255, 222, 222, 0.8)), color-stop(80%, transparent), color-stop(90%, transparent), color-stop(90%, rgba(255, 222, 222, 0.8))) -20px top no-repeat;
+ background: -webkit-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -webkit-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: -moz-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -moz-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: -o-linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, -o-linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ background: linear-gradient(left, rgba(255, 222, 222, 0.8) 10%, transparent 10%, transparent 20%, rgba(255, 222, 222, 0.8) 20%, rgba(255, 222, 222, 0.8) 30%, transparent 30%, transparent 40%, rgba(255, 222, 222, 0.8) 40%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 60%, rgba(255, 222, 222, 0.8) 60%, rgba(255, 222, 222, 0.8) 70%, transparent 70%, transparent 80%, rgba(255, 222, 222, 0.8) 80%, rgba(255, 222, 222, 0.8) 90%, transparent 90%) 20px top no-repeat, linear-gradient(left, transparent 10%, rgba(255, 222, 222, 0.8) 10%, rgba(255, 222, 222, 0.8) 20%, transparent 20%, transparent 30%, rgba(255, 222, 222, 0.8) 30%, rgba(255, 222, 222, 0.8) 40%, transparent 40%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 60%, transparent 60%, transparent 70%, rgba(255, 222, 222, 0.8) 70%, rgba(255, 222, 222, 0.8) 80%, transparent 80%, transparent 90%, rgba(255, 222, 222, 0.8) 90%) -20px top no-repeat;
+ /* Test zen-grid-background() with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ background: -webkit-gradient(linear, 0% 50%, 900 50%, color-stop(11.11111%, rgba(255, 222, 222, 0.8)), color-stop(11.11111%, transparent), color-stop(22.22222%, transparent), color-stop(22.22222%, rgba(255, 222, 222, 0.8)), color-stop(33.33333%, rgba(255, 222, 222, 0.8)), color-stop(33.33333%, transparent), color-stop(44.44444%, transparent), color-stop(44.44444%, rgba(255, 222, 222, 0.8)), color-stop(55.55556%, rgba(255, 222, 222, 0.8)), color-stop(55.55556%, transparent), color-stop(66.66667%, transparent), color-stop(66.66667%, rgba(255, 222, 222, 0.8)), color-stop(77.77778%, rgba(255, 222, 222, 0.8)), color-stop(77.77778%, transparent), color-stop(88.88889%, transparent), color-stop(88.88889%, rgba(255, 222, 222, 0.8)), color-stop(100%, rgba(255, 222, 222, 0.8)), color-stop(100%, transparent)) 20px top no-repeat, -webkit-gradient(linear, 0% 50%, 900 50%, color-stop(11.11111%, transparent), color-stop(11.11111%, rgba(255, 222, 222, 0.8)), color-stop(22.22222%, rgba(255, 222, 222, 0.8)), color-stop(22.22222%, transparent), color-stop(33.33333%, transparent), color-stop(33.33333%, rgba(255, 222, 222, 0.8)), color-stop(44.44444%, rgba(255, 222, 222, 0.8)), color-stop(44.44444%, transparent), color-stop(55.55556%, transparent), color-stop(55.55556%, rgba(255, 222, 222, 0.8)), color-stop(66.66667%, rgba(255, 222, 222, 0.8)), color-stop(66.66667%, transparent), color-stop(77.77778%, transparent), color-stop(77.77778%, rgba(255, 222, 222, 0.8)), color-stop(88.88889%, rgba(255, 222, 222, 0.8)), color-stop(88.88889%, transparent), color-stop(100%, transparent), color-stop(100%, rgba(255, 222, 222, 0.8))) -20px top no-repeat;
+ background: -webkit-linear-gradient(left, rgba(255, 222, 222, 0.8) 100px, transparent 100px, transparent 200px, rgba(255, 222, 222, 0.8) 200px, rgba(255, 222, 222, 0.8) 300px, transparent 300px, transparent 400px, rgba(255, 222, 222, 0.8) 400px, rgba(255, 222, 222, 0.8) 500px, transparent 500px, transparent 600px, rgba(255, 222, 222, 0.8) 600px, rgba(255, 222, 222, 0.8) 700px, transparent 700px, transparent 800px, rgba(255, 222, 222, 0.8) 800px, rgba(255, 222, 222, 0.8) 900px, transparent 900px) 20px top no-repeat, -webkit-linear-gradient(left, transparent 100px, rgba(255, 222, 222, 0.8) 100px, rgba(255, 222, 222, 0.8) 200px, transparent 200px, transparent 300px, rgba(255, 222, 222, 0.8) 300px, rgba(255, 222, 222, 0.8) 400px, transparent 400px, transparent 500px, rgba(255, 222, 222, 0.8) 500px, rgba(255, 222, 222, 0.8) 600px, transparent 600px, transparent 700px, rgba(255, 222, 222, 0.8) 700px, rgba(255, 222, 222, 0.8) 800px, transparent 800px, transparent 900px, rgba(255, 222, 222, 0.8) 900px) -20px top no-repeat;
+ background: -moz-linear-gradient(left, rgba(255, 222, 222, 0.8) 100px, transparent 100px, transparent 200px, rgba(255, 222, 222, 0.8) 200px, rgba(255, 222, 222, 0.8) 300px, transparent 300px, transparent 400px, rgba(255, 222, 222, 0.8) 400px, rgba(255, 222, 222, 0.8) 500px, transparent 500px, transparent 600px, rgba(255, 222, 222, 0.8) 600px, rgba(255, 222, 222, 0.8) 700px, transparent 700px, transparent 800px, rgba(255, 222, 222, 0.8) 800px, rgba(255, 222, 222, 0.8) 900px, transparent 900px) 20px top no-repeat, -moz-linear-gradient(left, transparent 100px, rgba(255, 222, 222, 0.8) 100px, rgba(255, 222, 222, 0.8) 200px, transparent 200px, transparent 300px, rgba(255, 222, 222, 0.8) 300px, rgba(255, 222, 222, 0.8) 400px, transparent 400px, transparent 500px, rgba(255, 222, 222, 0.8) 500px, rgba(255, 222, 222, 0.8) 600px, transparent 600px, transparent 700px, rgba(255, 222, 222, 0.8) 700px, rgba(255, 222, 222, 0.8) 800px, transparent 800px, transparent 900px, rgba(255, 222, 222, 0.8) 900px) -20px top no-repeat;
+ background: -o-linear-gradient(left, rgba(255, 222, 222, 0.8) 100px, transparent 100px, transparent 200px, rgba(255, 222, 222, 0.8) 200px, rgba(255, 222, 222, 0.8) 300px, transparent 300px, transparent 400px, rgba(255, 222, 222, 0.8) 400px, rgba(255, 222, 222, 0.8) 500px, transparent 500px, transparent 600px, rgba(255, 222, 222, 0.8) 600px, rgba(255, 222, 222, 0.8) 700px, transparent 700px, transparent 800px, rgba(255, 222, 222, 0.8) 800px, rgba(255, 222, 222, 0.8) 900px, transparent 900px) 20px top no-repeat, -o-linear-gradient(left, transparent 100px, rgba(255, 222, 222, 0.8) 100px, rgba(255, 222, 222, 0.8) 200px, transparent 200px, transparent 300px, rgba(255, 222, 222, 0.8) 300px, rgba(255, 222, 222, 0.8) 400px, transparent 400px, transparent 500px, rgba(255, 222, 222, 0.8) 500px, rgba(255, 222, 222, 0.8) 600px, transparent 600px, transparent 700px, rgba(255, 222, 222, 0.8) 700px, rgba(255, 222, 222, 0.8) 800px, transparent 800px, transparent 900px, rgba(255, 222, 222, 0.8) 900px) -20px top no-repeat;
+ background: linear-gradient(left, rgba(255, 222, 222, 0.8) 100px, transparent 100px, transparent 200px, rgba(255, 222, 222, 0.8) 200px, rgba(255, 222, 222, 0.8) 300px, transparent 300px, transparent 400px, rgba(255, 222, 222, 0.8) 400px, rgba(255, 222, 222, 0.8) 500px, transparent 500px, transparent 600px, rgba(255, 222, 222, 0.8) 600px, rgba(255, 222, 222, 0.8) 700px, transparent 700px, transparent 800px, rgba(255, 222, 222, 0.8) 800px, rgba(255, 222, 222, 0.8) 900px, transparent 900px) 20px top no-repeat, linear-gradient(left, transparent 100px, rgba(255, 222, 222, 0.8) 100px, rgba(255, 222, 222, 0.8) 200px, transparent 200px, transparent 300px, rgba(255, 222, 222, 0.8) 300px, rgba(255, 222, 222, 0.8) 400px, transparent 400px, transparent 500px, rgba(255, 222, 222, 0.8) 500px, rgba(255, 222, 222, 0.8) 600px, transparent 600px, transparent 700px, rgba(255, 222, 222, 0.8) 700px, rgba(255, 222, 222, 0.8) 800px, transparent 800px, transparent 900px, rgba(255, 222, 222, 0.8) 900px) -20px top no-repeat;
+ /* Test zen-grid-background() with all 24 grid numbers */
+ background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(2.08333%, rgba(255, 222, 222, 0.8)), color-stop(2.08333%, transparent), color-stop(4.16667%, transparent), color-stop(4.16667%, rgba(255, 222, 222, 0.8)), color-stop(6.25%, rgba(255, 222, 222, 0.8)), color-stop(6.25%, transparent), color-stop(8.33333%, transparent), color-stop(8.33333%, rgba(255, 222, 222, 0.8)), color-stop(10.41667%, rgba(255, 222, 222, 0.8)), color-stop(10.41667%, transparent), color-stop(12.5%, transparent), color-stop(12.5%, rgba(255, 222, 222, 0.8)), color-stop(14.58333%, rgba(255, 222, 222, 0.8)), color-stop(14.58333%, transparent), color-stop(16.66667%, transparent), color-stop(16.66667%, rgba(255, 222, 222, 0.8)), color-stop(18.75%, rgba(255, 222, 222, 0.8)), color-stop(18.75%, transparent), color-stop(20.83333%, transparent), color-stop(20.83333%, rgba(255, 222, 222, 0.8)), color-stop(22.91667%, rgba(255, 222, 222, 0.8)), color-stop(22.91667%, transparent), color-stop(25%, transparent), color-stop(25%, rgba(255, 222, 222, 0.8)), color-stop(27.08333%, rgba(255, 222, 222, 0.8)), color-stop(27.08333%, transparent), color-stop(29.16667%, transparent), color-stop(29.16667%, rgba(255, 222, 222, 0.8)), color-stop(31.25%, rgba(255, 222, 222, 0.8)), color-stop(31.25%, transparent), color-stop(33.33333%, transparent), color-stop(33.33333%, rgba(255, 222, 222, 0.8)), color-stop(35.41667%, rgba(255, 222, 222, 0.8)), color-stop(35.41667%, transparent), color-stop(37.5%, transparent), color-stop(37.5%, rgba(255, 222, 222, 0.8)), color-stop(39.58333%, rgba(255, 222, 222, 0.8)), color-stop(39.58333%, transparent), color-stop(41.66667%, transparent), color-stop(41.66667%, rgba(255, 222, 222, 0.8)), color-stop(43.75%, rgba(255, 222, 222, 0.8)), color-stop(43.75%, transparent), color-stop(45.83333%, transparent), color-stop(45.83333%, rgba(255, 222, 222, 0.8)), color-stop(47.91667%, rgba(255, 222, 222, 0.8)), color-stop(47.91667%, transparent), color-stop(50%, transparent), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(52.08333%, rgba(255, 222, 222, 0.8)), color-stop(52.08333%, transparent), color-stop(54.16667%, transparent), color-stop(54.16667%, rgba(255, 222, 222, 0.8)), color-stop(56.25%, rgba(255, 222, 222, 0.8)), color-stop(56.25%, transparent), color-stop(58.33333%, transparent), color-stop(58.33333%, rgba(255, 222, 222, 0.8)), color-stop(60.41667%, rgba(255, 222, 222, 0.8)), color-stop(60.41667%, transparent), color-stop(62.5%, transparent), color-stop(62.5%, rgba(255, 222, 222, 0.8)), color-stop(64.58333%, rgba(255, 222, 222, 0.8)), color-stop(64.58333%, transparent), color-stop(66.66667%, transparent), color-stop(66.66667%, rgba(255, 222, 222, 0.8)), color-stop(68.75%, rgba(255, 222, 222, 0.8)), color-stop(68.75%, transparent), color-stop(70.83333%, transparent), color-stop(70.83333%, rgba(255, 222, 222, 0.8)), color-stop(72.91667%, rgba(255, 222, 222, 0.8)), color-stop(72.91667%, transparent), color-stop(75%, transparent), color-stop(75%, rgba(255, 222, 222, 0.8)), color-stop(77.08333%, rgba(255, 222, 222, 0.8)), color-stop(77.08333%, transparent), color-stop(79.16667%, transparent), color-stop(79.16667%, rgba(255, 222, 222, 0.8)), color-stop(81.25%, rgba(255, 222, 222, 0.8)), color-stop(81.25%, transparent), color-stop(83.33333%, transparent), color-stop(83.33333%, rgba(255, 222, 222, 0.8)), color-stop(85.41667%, rgba(255, 222, 222, 0.8)), color-stop(85.41667%, transparent), color-stop(87.5%, transparent), color-stop(87.5%, rgba(255, 222, 222, 0.8)), color-stop(89.58333%, rgba(255, 222, 222, 0.8)), color-stop(89.58333%, transparent), color-stop(91.66667%, transparent), color-stop(91.66667%, rgba(255, 222, 222, 0.8)), color-stop(93.75%, rgba(255, 222, 222, 0.8)), color-stop(93.75%, transparent), color-stop(95.83333%, transparent), color-stop(95.83333%, rgba(255, 222, 222, 0.8)), color-stop(97.91667%, rgba(255, 222, 222, 0.8)), color-stop(97.91667%, transparent)) 10px top no-repeat, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(2.08333%, transparent), color-stop(2.08333%, rgba(255, 222, 222, 0.8)), color-stop(4.16667%, rgba(255, 222, 222, 0.8)), color-stop(4.16667%, transparent), color-stop(6.25%, transparent), color-stop(6.25%, rgba(255, 222, 222, 0.8)), color-stop(8.33333%, rgba(255, 222, 222, 0.8)), color-stop(8.33333%, transparent), color-stop(10.41667%, transparent), color-stop(10.41667%, rgba(255, 222, 222, 0.8)), color-stop(12.5%, rgba(255, 222, 222, 0.8)), color-stop(12.5%, transparent), color-stop(14.58333%, transparent), color-stop(14.58333%, rgba(255, 222, 222, 0.8)), color-stop(16.66667%, rgba(255, 222, 222, 0.8)), color-stop(16.66667%, transparent), color-stop(18.75%, transparent), color-stop(18.75%, rgba(255, 222, 222, 0.8)), color-stop(20.83333%, rgba(255, 222, 222, 0.8)), color-stop(20.83333%, transparent), color-stop(22.91667%, transparent), color-stop(22.91667%, rgba(255, 222, 222, 0.8)), color-stop(25%, rgba(255, 222, 222, 0.8)), color-stop(25%, transparent), color-stop(27.08333%, transparent), color-stop(27.08333%, rgba(255, 222, 222, 0.8)), color-stop(29.16667%, rgba(255, 222, 222, 0.8)), color-stop(29.16667%, transparent), color-stop(31.25%, transparent), color-stop(31.25%, rgba(255, 222, 222, 0.8)), color-stop(33.33333%, rgba(255, 222, 222, 0.8)), color-stop(33.33333%, transparent), color-stop(35.41667%, transparent), color-stop(35.41667%, rgba(255, 222, 222, 0.8)), color-stop(37.5%, rgba(255, 222, 222, 0.8)), color-stop(37.5%, transparent), color-stop(39.58333%, transparent), color-stop(39.58333%, rgba(255, 222, 222, 0.8)), color-stop(41.66667%, rgba(255, 222, 222, 0.8)), color-stop(41.66667%, transparent), color-stop(43.75%, transparent), color-stop(43.75%, rgba(255, 222, 222, 0.8)), color-stop(45.83333%, rgba(255, 222, 222, 0.8)), color-stop(45.83333%, transparent), color-stop(47.91667%, transparent), color-stop(47.91667%, rgba(255, 222, 222, 0.8)), color-stop(50%, rgba(255, 222, 222, 0.8)), color-stop(50%, transparent), color-stop(52.08333%, transparent), color-stop(52.08333%, rgba(255, 222, 222, 0.8)), color-stop(54.16667%, rgba(255, 222, 222, 0.8)), color-stop(54.16667%, transparent), color-stop(56.25%, transparent), color-stop(56.25%, rgba(255, 222, 222, 0.8)), color-stop(58.33333%, rgba(255, 222, 222, 0.8)), color-stop(58.33333%, transparent), color-stop(60.41667%, transparent), color-stop(60.41667%, rgba(255, 222, 222, 0.8)), color-stop(62.5%, rgba(255, 222, 222, 0.8)), color-stop(62.5%, transparent), color-stop(64.58333%, transparent), color-stop(64.58333%, rgba(255, 222, 222, 0.8)), color-stop(66.66667%, rgba(255, 222, 222, 0.8)), color-stop(66.66667%, transparent), color-stop(68.75%, transparent), color-stop(68.75%, rgba(255, 222, 222, 0.8)), color-stop(70.83333%, rgba(255, 222, 222, 0.8)), color-stop(70.83333%, transparent), color-stop(72.91667%, transparent), color-stop(72.91667%, rgba(255, 222, 222, 0.8)), color-stop(75%, rgba(255, 222, 222, 0.8)), color-stop(75%, transparent), color-stop(77.08333%, transparent), color-stop(77.08333%, rgba(255, 222, 222, 0.8)), color-stop(79.16667%, rgba(255, 222, 222, 0.8)), color-stop(79.16667%, transparent), color-stop(81.25%, transparent), color-stop(81.25%, rgba(255, 222, 222, 0.8)), color-stop(83.33333%, rgba(255, 222, 222, 0.8)), color-stop(83.33333%, transparent), color-stop(85.41667%, transparent), color-stop(85.41667%, rgba(255, 222, 222, 0.8)), color-stop(87.5%, rgba(255, 222, 222, 0.8)), color-stop(87.5%, transparent), color-stop(89.58333%, transparent), color-stop(89.58333%, rgba(255, 222, 222, 0.8)), color-stop(91.66667%, rgba(255, 222, 222, 0.8)), color-stop(91.66667%, transparent), color-stop(93.75%, transparent), color-stop(93.75%, rgba(255, 222, 222, 0.8)), color-stop(95.83333%, rgba(255, 222, 222, 0.8)), color-stop(95.83333%, transparent), color-stop(97.91667%, transparent), color-stop(97.91667%, rgba(255, 222, 222, 0.8))) -10px top no-repeat;
+ background: -webkit-linear-gradient(left, rgba(255, 222, 222, 0.8) 2.08333%, transparent 2.08333%, transparent 4.16667%, rgba(255, 222, 222, 0.8) 4.16667%, rgba(255, 222, 222, 0.8) 6.25%, transparent 6.25%, transparent 8.33333%, rgba(255, 222, 222, 0.8) 8.33333%, rgba(255, 222, 222, 0.8) 10.41667%, transparent 10.41667%, transparent 12.5%, rgba(255, 222, 222, 0.8) 12.5%, rgba(255, 222, 222, 0.8) 14.58333%, transparent 14.58333%, transparent 16.66667%, rgba(255, 222, 222, 0.8) 16.66667%, rgba(255, 222, 222, 0.8) 18.75%, transparent 18.75%, transparent 20.83333%, rgba(255, 222, 222, 0.8) 20.83333%, rgba(255, 222, 222, 0.8) 22.91667%, transparent 22.91667%, transparent 25%, rgba(255, 222, 222, 0.8) 25%, rgba(255, 222, 222, 0.8) 27.08333%, transparent 27.08333%, transparent 29.16667%, rgba(255, 222, 222, 0.8) 29.16667%, rgba(255, 222, 222, 0.8) 31.25%, transparent 31.25%, transparent 33.33333%, rgba(255, 222, 222, 0.8) 33.33333%, rgba(255, 222, 222, 0.8) 35.41667%, transparent 35.41667%, transparent 37.5%, rgba(255, 222, 222, 0.8) 37.5%, rgba(255, 222, 222, 0.8) 39.58333%, transparent 39.58333%, transparent 41.66667%, rgba(255, 222, 222, 0.8) 41.66667%, rgba(255, 222, 222, 0.8) 43.75%, transparent 43.75%, transparent 45.83333%, rgba(255, 222, 222, 0.8) 45.83333%, rgba(255, 222, 222, 0.8) 47.91667%, transparent 47.91667%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 52.08333%, transparent 52.08333%, transparent 54.16667%, rgba(255, 222, 222, 0.8) 54.16667%, rgba(255, 222, 222, 0.8) 56.25%, transparent 56.25%, transparent 58.33333%, rgba(255, 222, 222, 0.8) 58.33333%, rgba(255, 222, 222, 0.8) 60.41667%, transparent 60.41667%, transparent 62.5%, rgba(255, 222, 222, 0.8) 62.5%, rgba(255, 222, 222, 0.8) 64.58333%, transparent 64.58333%, transparent 66.66667%, rgba(255, 222, 222, 0.8) 66.66667%, rgba(255, 222, 222, 0.8) 68.75%, transparent 68.75%, transparent 70.83333%, rgba(255, 222, 222, 0.8) 70.83333%, rgba(255, 222, 222, 0.8) 72.91667%, transparent 72.91667%, transparent 75%, rgba(255, 222, 222, 0.8) 75%, rgba(255, 222, 222, 0.8) 77.08333%, transparent 77.08333%, transparent 79.16667%, rgba(255, 222, 222, 0.8) 79.16667%, rgba(255, 222, 222, 0.8) 81.25%, transparent 81.25%, transparent 83.33333%, rgba(255, 222, 222, 0.8) 83.33333%, rgba(255, 222, 222, 0.8) 85.41667%, transparent 85.41667%, transparent 87.5%, rgba(255, 222, 222, 0.8) 87.5%, rgba(255, 222, 222, 0.8) 89.58333%, transparent 89.58333%, transparent 91.66667%, rgba(255, 222, 222, 0.8) 91.66667%, rgba(255, 222, 222, 0.8) 93.75%, transparent 93.75%, transparent 95.83333%, rgba(255, 222, 222, 0.8) 95.83333%, rgba(255, 222, 222, 0.8) 97.91667%, transparent 97.91667%) 10px top no-repeat, -webkit-linear-gradient(left, transparent 2.08333%, rgba(255, 222, 222, 0.8) 2.08333%, rgba(255, 222, 222, 0.8) 4.16667%, transparent 4.16667%, transparent 6.25%, rgba(255, 222, 222, 0.8) 6.25%, rgba(255, 222, 222, 0.8) 8.33333%, transparent 8.33333%, transparent 10.41667%, rgba(255, 222, 222, 0.8) 10.41667%, rgba(255, 222, 222, 0.8) 12.5%, transparent 12.5%, transparent 14.58333%, rgba(255, 222, 222, 0.8) 14.58333%, rgba(255, 222, 222, 0.8) 16.66667%, transparent 16.66667%, transparent 18.75%, rgba(255, 222, 222, 0.8) 18.75%, rgba(255, 222, 222, 0.8) 20.83333%, transparent 20.83333%, transparent 22.91667%, rgba(255, 222, 222, 0.8) 22.91667%, rgba(255, 222, 222, 0.8) 25%, transparent 25%, transparent 27.08333%, rgba(255, 222, 222, 0.8) 27.08333%, rgba(255, 222, 222, 0.8) 29.16667%, transparent 29.16667%, transparent 31.25%, rgba(255, 222, 222, 0.8) 31.25%, rgba(255, 222, 222, 0.8) 33.33333%, transparent 33.33333%, transparent 35.41667%, rgba(255, 222, 222, 0.8) 35.41667%, rgba(255, 222, 222, 0.8) 37.5%, transparent 37.5%, transparent 39.58333%, rgba(255, 222, 222, 0.8) 39.58333%, rgba(255, 222, 222, 0.8) 41.66667%, transparent 41.66667%, transparent 43.75%, rgba(255, 222, 222, 0.8) 43.75%, rgba(255, 222, 222, 0.8) 45.83333%, transparent 45.83333%, transparent 47.91667%, rgba(255, 222, 222, 0.8) 47.91667%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 52.08333%, rgba(255, 222, 222, 0.8) 52.08333%, rgba(255, 222, 222, 0.8) 54.16667%, transparent 54.16667%, transparent 56.25%, rgba(255, 222, 222, 0.8) 56.25%, rgba(255, 222, 222, 0.8) 58.33333%, transparent 58.33333%, transparent 60.41667%, rgba(255, 222, 222, 0.8) 60.41667%, rgba(255, 222, 222, 0.8) 62.5%, transparent 62.5%, transparent 64.58333%, rgba(255, 222, 222, 0.8) 64.58333%, rgba(255, 222, 222, 0.8) 66.66667%, transparent 66.66667%, transparent 68.75%, rgba(255, 222, 222, 0.8) 68.75%, rgba(255, 222, 222, 0.8) 70.83333%, transparent 70.83333%, transparent 72.91667%, rgba(255, 222, 222, 0.8) 72.91667%, rgba(255, 222, 222, 0.8) 75%, transparent 75%, transparent 77.08333%, rgba(255, 222, 222, 0.8) 77.08333%, rgba(255, 222, 222, 0.8) 79.16667%, transparent 79.16667%, transparent 81.25%, rgba(255, 222, 222, 0.8) 81.25%, rgba(255, 222, 222, 0.8) 83.33333%, transparent 83.33333%, transparent 85.41667%, rgba(255, 222, 222, 0.8) 85.41667%, rgba(255, 222, 222, 0.8) 87.5%, transparent 87.5%, transparent 89.58333%, rgba(255, 222, 222, 0.8) 89.58333%, rgba(255, 222, 222, 0.8) 91.66667%, transparent 91.66667%, transparent 93.75%, rgba(255, 222, 222, 0.8) 93.75%, rgba(255, 222, 222, 0.8) 95.83333%, transparent 95.83333%, transparent 97.91667%, rgba(255, 222, 222, 0.8) 97.91667%) -10px top no-repeat;
+ background: -moz-linear-gradient(left, rgba(255, 222, 222, 0.8) 2.08333%, transparent 2.08333%, transparent 4.16667%, rgba(255, 222, 222, 0.8) 4.16667%, rgba(255, 222, 222, 0.8) 6.25%, transparent 6.25%, transparent 8.33333%, rgba(255, 222, 222, 0.8) 8.33333%, rgba(255, 222, 222, 0.8) 10.41667%, transparent 10.41667%, transparent 12.5%, rgba(255, 222, 222, 0.8) 12.5%, rgba(255, 222, 222, 0.8) 14.58333%, transparent 14.58333%, transparent 16.66667%, rgba(255, 222, 222, 0.8) 16.66667%, rgba(255, 222, 222, 0.8) 18.75%, transparent 18.75%, transparent 20.83333%, rgba(255, 222, 222, 0.8) 20.83333%, rgba(255, 222, 222, 0.8) 22.91667%, transparent 22.91667%, transparent 25%, rgba(255, 222, 222, 0.8) 25%, rgba(255, 222, 222, 0.8) 27.08333%, transparent 27.08333%, transparent 29.16667%, rgba(255, 222, 222, 0.8) 29.16667%, rgba(255, 222, 222, 0.8) 31.25%, transparent 31.25%, transparent 33.33333%, rgba(255, 222, 222, 0.8) 33.33333%, rgba(255, 222, 222, 0.8) 35.41667%, transparent 35.41667%, transparent 37.5%, rgba(255, 222, 222, 0.8) 37.5%, rgba(255, 222, 222, 0.8) 39.58333%, transparent 39.58333%, transparent 41.66667%, rgba(255, 222, 222, 0.8) 41.66667%, rgba(255, 222, 222, 0.8) 43.75%, transparent 43.75%, transparent 45.83333%, rgba(255, 222, 222, 0.8) 45.83333%, rgba(255, 222, 222, 0.8) 47.91667%, transparent 47.91667%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 52.08333%, transparent 52.08333%, transparent 54.16667%, rgba(255, 222, 222, 0.8) 54.16667%, rgba(255, 222, 222, 0.8) 56.25%, transparent 56.25%, transparent 58.33333%, rgba(255, 222, 222, 0.8) 58.33333%, rgba(255, 222, 222, 0.8) 60.41667%, transparent 60.41667%, transparent 62.5%, rgba(255, 222, 222, 0.8) 62.5%, rgba(255, 222, 222, 0.8) 64.58333%, transparent 64.58333%, transparent 66.66667%, rgba(255, 222, 222, 0.8) 66.66667%, rgba(255, 222, 222, 0.8) 68.75%, transparent 68.75%, transparent 70.83333%, rgba(255, 222, 222, 0.8) 70.83333%, rgba(255, 222, 222, 0.8) 72.91667%, transparent 72.91667%, transparent 75%, rgba(255, 222, 222, 0.8) 75%, rgba(255, 222, 222, 0.8) 77.08333%, transparent 77.08333%, transparent 79.16667%, rgba(255, 222, 222, 0.8) 79.16667%, rgba(255, 222, 222, 0.8) 81.25%, transparent 81.25%, transparent 83.33333%, rgba(255, 222, 222, 0.8) 83.33333%, rgba(255, 222, 222, 0.8) 85.41667%, transparent 85.41667%, transparent 87.5%, rgba(255, 222, 222, 0.8) 87.5%, rgba(255, 222, 222, 0.8) 89.58333%, transparent 89.58333%, transparent 91.66667%, rgba(255, 222, 222, 0.8) 91.66667%, rgba(255, 222, 222, 0.8) 93.75%, transparent 93.75%, transparent 95.83333%, rgba(255, 222, 222, 0.8) 95.83333%, rgba(255, 222, 222, 0.8) 97.91667%, transparent 97.91667%) 10px top no-repeat, -moz-linear-gradient(left, transparent 2.08333%, rgba(255, 222, 222, 0.8) 2.08333%, rgba(255, 222, 222, 0.8) 4.16667%, transparent 4.16667%, transparent 6.25%, rgba(255, 222, 222, 0.8) 6.25%, rgba(255, 222, 222, 0.8) 8.33333%, transparent 8.33333%, transparent 10.41667%, rgba(255, 222, 222, 0.8) 10.41667%, rgba(255, 222, 222, 0.8) 12.5%, transparent 12.5%, transparent 14.58333%, rgba(255, 222, 222, 0.8) 14.58333%, rgba(255, 222, 222, 0.8) 16.66667%, transparent 16.66667%, transparent 18.75%, rgba(255, 222, 222, 0.8) 18.75%, rgba(255, 222, 222, 0.8) 20.83333%, transparent 20.83333%, transparent 22.91667%, rgba(255, 222, 222, 0.8) 22.91667%, rgba(255, 222, 222, 0.8) 25%, transparent 25%, transparent 27.08333%, rgba(255, 222, 222, 0.8) 27.08333%, rgba(255, 222, 222, 0.8) 29.16667%, transparent 29.16667%, transparent 31.25%, rgba(255, 222, 222, 0.8) 31.25%, rgba(255, 222, 222, 0.8) 33.33333%, transparent 33.33333%, transparent 35.41667%, rgba(255, 222, 222, 0.8) 35.41667%, rgba(255, 222, 222, 0.8) 37.5%, transparent 37.5%, transparent 39.58333%, rgba(255, 222, 222, 0.8) 39.58333%, rgba(255, 222, 222, 0.8) 41.66667%, transparent 41.66667%, transparent 43.75%, rgba(255, 222, 222, 0.8) 43.75%, rgba(255, 222, 222, 0.8) 45.83333%, transparent 45.83333%, transparent 47.91667%, rgba(255, 222, 222, 0.8) 47.91667%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 52.08333%, rgba(255, 222, 222, 0.8) 52.08333%, rgba(255, 222, 222, 0.8) 54.16667%, transparent 54.16667%, transparent 56.25%, rgba(255, 222, 222, 0.8) 56.25%, rgba(255, 222, 222, 0.8) 58.33333%, transparent 58.33333%, transparent 60.41667%, rgba(255, 222, 222, 0.8) 60.41667%, rgba(255, 222, 222, 0.8) 62.5%, transparent 62.5%, transparent 64.58333%, rgba(255, 222, 222, 0.8) 64.58333%, rgba(255, 222, 222, 0.8) 66.66667%, transparent 66.66667%, transparent 68.75%, rgba(255, 222, 222, 0.8) 68.75%, rgba(255, 222, 222, 0.8) 70.83333%, transparent 70.83333%, transparent 72.91667%, rgba(255, 222, 222, 0.8) 72.91667%, rgba(255, 222, 222, 0.8) 75%, transparent 75%, transparent 77.08333%, rgba(255, 222, 222, 0.8) 77.08333%, rgba(255, 222, 222, 0.8) 79.16667%, transparent 79.16667%, transparent 81.25%, rgba(255, 222, 222, 0.8) 81.25%, rgba(255, 222, 222, 0.8) 83.33333%, transparent 83.33333%, transparent 85.41667%, rgba(255, 222, 222, 0.8) 85.41667%, rgba(255, 222, 222, 0.8) 87.5%, transparent 87.5%, transparent 89.58333%, rgba(255, 222, 222, 0.8) 89.58333%, rgba(255, 222, 222, 0.8) 91.66667%, transparent 91.66667%, transparent 93.75%, rgba(255, 222, 222, 0.8) 93.75%, rgba(255, 222, 222, 0.8) 95.83333%, transparent 95.83333%, transparent 97.91667%, rgba(255, 222, 222, 0.8) 97.91667%) -10px top no-repeat;
+ background: -o-linear-gradient(left, rgba(255, 222, 222, 0.8) 2.08333%, transparent 2.08333%, transparent 4.16667%, rgba(255, 222, 222, 0.8) 4.16667%, rgba(255, 222, 222, 0.8) 6.25%, transparent 6.25%, transparent 8.33333%, rgba(255, 222, 222, 0.8) 8.33333%, rgba(255, 222, 222, 0.8) 10.41667%, transparent 10.41667%, transparent 12.5%, rgba(255, 222, 222, 0.8) 12.5%, rgba(255, 222, 222, 0.8) 14.58333%, transparent 14.58333%, transparent 16.66667%, rgba(255, 222, 222, 0.8) 16.66667%, rgba(255, 222, 222, 0.8) 18.75%, transparent 18.75%, transparent 20.83333%, rgba(255, 222, 222, 0.8) 20.83333%, rgba(255, 222, 222, 0.8) 22.91667%, transparent 22.91667%, transparent 25%, rgba(255, 222, 222, 0.8) 25%, rgba(255, 222, 222, 0.8) 27.08333%, transparent 27.08333%, transparent 29.16667%, rgba(255, 222, 222, 0.8) 29.16667%, rgba(255, 222, 222, 0.8) 31.25%, transparent 31.25%, transparent 33.33333%, rgba(255, 222, 222, 0.8) 33.33333%, rgba(255, 222, 222, 0.8) 35.41667%, transparent 35.41667%, transparent 37.5%, rgba(255, 222, 222, 0.8) 37.5%, rgba(255, 222, 222, 0.8) 39.58333%, transparent 39.58333%, transparent 41.66667%, rgba(255, 222, 222, 0.8) 41.66667%, rgba(255, 222, 222, 0.8) 43.75%, transparent 43.75%, transparent 45.83333%, rgba(255, 222, 222, 0.8) 45.83333%, rgba(255, 222, 222, 0.8) 47.91667%, transparent 47.91667%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 52.08333%, transparent 52.08333%, transparent 54.16667%, rgba(255, 222, 222, 0.8) 54.16667%, rgba(255, 222, 222, 0.8) 56.25%, transparent 56.25%, transparent 58.33333%, rgba(255, 222, 222, 0.8) 58.33333%, rgba(255, 222, 222, 0.8) 60.41667%, transparent 60.41667%, transparent 62.5%, rgba(255, 222, 222, 0.8) 62.5%, rgba(255, 222, 222, 0.8) 64.58333%, transparent 64.58333%, transparent 66.66667%, rgba(255, 222, 222, 0.8) 66.66667%, rgba(255, 222, 222, 0.8) 68.75%, transparent 68.75%, transparent 70.83333%, rgba(255, 222, 222, 0.8) 70.83333%, rgba(255, 222, 222, 0.8) 72.91667%, transparent 72.91667%, transparent 75%, rgba(255, 222, 222, 0.8) 75%, rgba(255, 222, 222, 0.8) 77.08333%, transparent 77.08333%, transparent 79.16667%, rgba(255, 222, 222, 0.8) 79.16667%, rgba(255, 222, 222, 0.8) 81.25%, transparent 81.25%, transparent 83.33333%, rgba(255, 222, 222, 0.8) 83.33333%, rgba(255, 222, 222, 0.8) 85.41667%, transparent 85.41667%, transparent 87.5%, rgba(255, 222, 222, 0.8) 87.5%, rgba(255, 222, 222, 0.8) 89.58333%, transparent 89.58333%, transparent 91.66667%, rgba(255, 222, 222, 0.8) 91.66667%, rgba(255, 222, 222, 0.8) 93.75%, transparent 93.75%, transparent 95.83333%, rgba(255, 222, 222, 0.8) 95.83333%, rgba(255, 222, 222, 0.8) 97.91667%, transparent 97.91667%) 10px top no-repeat, -o-linear-gradient(left, transparent 2.08333%, rgba(255, 222, 222, 0.8) 2.08333%, rgba(255, 222, 222, 0.8) 4.16667%, transparent 4.16667%, transparent 6.25%, rgba(255, 222, 222, 0.8) 6.25%, rgba(255, 222, 222, 0.8) 8.33333%, transparent 8.33333%, transparent 10.41667%, rgba(255, 222, 222, 0.8) 10.41667%, rgba(255, 222, 222, 0.8) 12.5%, transparent 12.5%, transparent 14.58333%, rgba(255, 222, 222, 0.8) 14.58333%, rgba(255, 222, 222, 0.8) 16.66667%, transparent 16.66667%, transparent 18.75%, rgba(255, 222, 222, 0.8) 18.75%, rgba(255, 222, 222, 0.8) 20.83333%, transparent 20.83333%, transparent 22.91667%, rgba(255, 222, 222, 0.8) 22.91667%, rgba(255, 222, 222, 0.8) 25%, transparent 25%, transparent 27.08333%, rgba(255, 222, 222, 0.8) 27.08333%, rgba(255, 222, 222, 0.8) 29.16667%, transparent 29.16667%, transparent 31.25%, rgba(255, 222, 222, 0.8) 31.25%, rgba(255, 222, 222, 0.8) 33.33333%, transparent 33.33333%, transparent 35.41667%, rgba(255, 222, 222, 0.8) 35.41667%, rgba(255, 222, 222, 0.8) 37.5%, transparent 37.5%, transparent 39.58333%, rgba(255, 222, 222, 0.8) 39.58333%, rgba(255, 222, 222, 0.8) 41.66667%, transparent 41.66667%, transparent 43.75%, rgba(255, 222, 222, 0.8) 43.75%, rgba(255, 222, 222, 0.8) 45.83333%, transparent 45.83333%, transparent 47.91667%, rgba(255, 222, 222, 0.8) 47.91667%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 52.08333%, rgba(255, 222, 222, 0.8) 52.08333%, rgba(255, 222, 222, 0.8) 54.16667%, transparent 54.16667%, transparent 56.25%, rgba(255, 222, 222, 0.8) 56.25%, rgba(255, 222, 222, 0.8) 58.33333%, transparent 58.33333%, transparent 60.41667%, rgba(255, 222, 222, 0.8) 60.41667%, rgba(255, 222, 222, 0.8) 62.5%, transparent 62.5%, transparent 64.58333%, rgba(255, 222, 222, 0.8) 64.58333%, rgba(255, 222, 222, 0.8) 66.66667%, transparent 66.66667%, transparent 68.75%, rgba(255, 222, 222, 0.8) 68.75%, rgba(255, 222, 222, 0.8) 70.83333%, transparent 70.83333%, transparent 72.91667%, rgba(255, 222, 222, 0.8) 72.91667%, rgba(255, 222, 222, 0.8) 75%, transparent 75%, transparent 77.08333%, rgba(255, 222, 222, 0.8) 77.08333%, rgba(255, 222, 222, 0.8) 79.16667%, transparent 79.16667%, transparent 81.25%, rgba(255, 222, 222, 0.8) 81.25%, rgba(255, 222, 222, 0.8) 83.33333%, transparent 83.33333%, transparent 85.41667%, rgba(255, 222, 222, 0.8) 85.41667%, rgba(255, 222, 222, 0.8) 87.5%, transparent 87.5%, transparent 89.58333%, rgba(255, 222, 222, 0.8) 89.58333%, rgba(255, 222, 222, 0.8) 91.66667%, transparent 91.66667%, transparent 93.75%, rgba(255, 222, 222, 0.8) 93.75%, rgba(255, 222, 222, 0.8) 95.83333%, transparent 95.83333%, transparent 97.91667%, rgba(255, 222, 222, 0.8) 97.91667%) -10px top no-repeat;
+ background: linear-gradient(left, rgba(255, 222, 222, 0.8) 2.08333%, transparent 2.08333%, transparent 4.16667%, rgba(255, 222, 222, 0.8) 4.16667%, rgba(255, 222, 222, 0.8) 6.25%, transparent 6.25%, transparent 8.33333%, rgba(255, 222, 222, 0.8) 8.33333%, rgba(255, 222, 222, 0.8) 10.41667%, transparent 10.41667%, transparent 12.5%, rgba(255, 222, 222, 0.8) 12.5%, rgba(255, 222, 222, 0.8) 14.58333%, transparent 14.58333%, transparent 16.66667%, rgba(255, 222, 222, 0.8) 16.66667%, rgba(255, 222, 222, 0.8) 18.75%, transparent 18.75%, transparent 20.83333%, rgba(255, 222, 222, 0.8) 20.83333%, rgba(255, 222, 222, 0.8) 22.91667%, transparent 22.91667%, transparent 25%, rgba(255, 222, 222, 0.8) 25%, rgba(255, 222, 222, 0.8) 27.08333%, transparent 27.08333%, transparent 29.16667%, rgba(255, 222, 222, 0.8) 29.16667%, rgba(255, 222, 222, 0.8) 31.25%, transparent 31.25%, transparent 33.33333%, rgba(255, 222, 222, 0.8) 33.33333%, rgba(255, 222, 222, 0.8) 35.41667%, transparent 35.41667%, transparent 37.5%, rgba(255, 222, 222, 0.8) 37.5%, rgba(255, 222, 222, 0.8) 39.58333%, transparent 39.58333%, transparent 41.66667%, rgba(255, 222, 222, 0.8) 41.66667%, rgba(255, 222, 222, 0.8) 43.75%, transparent 43.75%, transparent 45.83333%, rgba(255, 222, 222, 0.8) 45.83333%, rgba(255, 222, 222, 0.8) 47.91667%, transparent 47.91667%, transparent 50%, rgba(255, 222, 222, 0.8) 50%, rgba(255, 222, 222, 0.8) 52.08333%, transparent 52.08333%, transparent 54.16667%, rgba(255, 222, 222, 0.8) 54.16667%, rgba(255, 222, 222, 0.8) 56.25%, transparent 56.25%, transparent 58.33333%, rgba(255, 222, 222, 0.8) 58.33333%, rgba(255, 222, 222, 0.8) 60.41667%, transparent 60.41667%, transparent 62.5%, rgba(255, 222, 222, 0.8) 62.5%, rgba(255, 222, 222, 0.8) 64.58333%, transparent 64.58333%, transparent 66.66667%, rgba(255, 222, 222, 0.8) 66.66667%, rgba(255, 222, 222, 0.8) 68.75%, transparent 68.75%, transparent 70.83333%, rgba(255, 222, 222, 0.8) 70.83333%, rgba(255, 222, 222, 0.8) 72.91667%, transparent 72.91667%, transparent 75%, rgba(255, 222, 222, 0.8) 75%, rgba(255, 222, 222, 0.8) 77.08333%, transparent 77.08333%, transparent 79.16667%, rgba(255, 222, 222, 0.8) 79.16667%, rgba(255, 222, 222, 0.8) 81.25%, transparent 81.25%, transparent 83.33333%, rgba(255, 222, 222, 0.8) 83.33333%, rgba(255, 222, 222, 0.8) 85.41667%, transparent 85.41667%, transparent 87.5%, rgba(255, 222, 222, 0.8) 87.5%, rgba(255, 222, 222, 0.8) 89.58333%, transparent 89.58333%, transparent 91.66667%, rgba(255, 222, 222, 0.8) 91.66667%, rgba(255, 222, 222, 0.8) 93.75%, transparent 93.75%, transparent 95.83333%, rgba(255, 222, 222, 0.8) 95.83333%, rgba(255, 222, 222, 0.8) 97.91667%, transparent 97.91667%) 10px top no-repeat, linear-gradient(left, transparent 2.08333%, rgba(255, 222, 222, 0.8) 2.08333%, rgba(255, 222, 222, 0.8) 4.16667%, transparent 4.16667%, transparent 6.25%, rgba(255, 222, 222, 0.8) 6.25%, rgba(255, 222, 222, 0.8) 8.33333%, transparent 8.33333%, transparent 10.41667%, rgba(255, 222, 222, 0.8) 10.41667%, rgba(255, 222, 222, 0.8) 12.5%, transparent 12.5%, transparent 14.58333%, rgba(255, 222, 222, 0.8) 14.58333%, rgba(255, 222, 222, 0.8) 16.66667%, transparent 16.66667%, transparent 18.75%, rgba(255, 222, 222, 0.8) 18.75%, rgba(255, 222, 222, 0.8) 20.83333%, transparent 20.83333%, transparent 22.91667%, rgba(255, 222, 222, 0.8) 22.91667%, rgba(255, 222, 222, 0.8) 25%, transparent 25%, transparent 27.08333%, rgba(255, 222, 222, 0.8) 27.08333%, rgba(255, 222, 222, 0.8) 29.16667%, transparent 29.16667%, transparent 31.25%, rgba(255, 222, 222, 0.8) 31.25%, rgba(255, 222, 222, 0.8) 33.33333%, transparent 33.33333%, transparent 35.41667%, rgba(255, 222, 222, 0.8) 35.41667%, rgba(255, 222, 222, 0.8) 37.5%, transparent 37.5%, transparent 39.58333%, rgba(255, 222, 222, 0.8) 39.58333%, rgba(255, 222, 222, 0.8) 41.66667%, transparent 41.66667%, transparent 43.75%, rgba(255, 222, 222, 0.8) 43.75%, rgba(255, 222, 222, 0.8) 45.83333%, transparent 45.83333%, transparent 47.91667%, rgba(255, 222, 222, 0.8) 47.91667%, rgba(255, 222, 222, 0.8) 50%, transparent 50%, transparent 52.08333%, rgba(255, 222, 222, 0.8) 52.08333%, rgba(255, 222, 222, 0.8) 54.16667%, transparent 54.16667%, transparent 56.25%, rgba(255, 222, 222, 0.8) 56.25%, rgba(255, 222, 222, 0.8) 58.33333%, transparent 58.33333%, transparent 60.41667%, rgba(255, 222, 222, 0.8) 60.41667%, rgba(255, 222, 222, 0.8) 62.5%, transparent 62.5%, transparent 64.58333%, rgba(255, 222, 222, 0.8) 64.58333%, rgba(255, 222, 222, 0.8) 66.66667%, transparent 66.66667%, transparent 68.75%, rgba(255, 222, 222, 0.8) 68.75%, rgba(255, 222, 222, 0.8) 70.83333%, transparent 70.83333%, transparent 72.91667%, rgba(255, 222, 222, 0.8) 72.91667%, rgba(255, 222, 222, 0.8) 75%, transparent 75%, transparent 77.08333%, rgba(255, 222, 222, 0.8) 77.08333%, rgba(255, 222, 222, 0.8) 79.16667%, transparent 79.16667%, transparent 81.25%, rgba(255, 222, 222, 0.8) 81.25%, rgba(255, 222, 222, 0.8) 83.33333%, transparent 83.33333%, transparent 85.41667%, rgba(255, 222, 222, 0.8) 85.41667%, rgba(255, 222, 222, 0.8) 87.5%, transparent 87.5%, transparent 89.58333%, rgba(255, 222, 222, 0.8) 89.58333%, rgba(255, 222, 222, 0.8) 91.66667%, transparent 91.66667%, transparent 93.75%, rgba(255, 222, 222, 0.8) 93.75%, rgba(255, 222, 222, 0.8) 95.83333%, transparent 95.83333%, transparent 97.91667%, rgba(255, 222, 222, 0.8) 97.91667%) -10px top no-repeat;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,40 @@
+/**
+ * @file
+ * Test zen-grid-container()
+ */
+#test-zen-grid-container {
+ /* Test zen-grid-container() */
+}
+#test-zen-grid-container:before, #test-zen-grid-container:after {
+ content: "";
+ display: table;
+}
+#test-zen-grid-container:after {
+ clear: both;
+}
+
+#test-zen-grid-container-2 {
+ /* Test zen-grid-container() with $legacy-support-for-ie7: true */
+ *position: relative;
+ *zoom: 1;
+}
+#test-zen-grid-container-2:before, #test-zen-grid-container-2:after {
+ content: "";
+ display: table;
+}
+#test-zen-grid-container-2:after {
+ clear: both;
+}
+
+#test-zen-grid-container-3 {
+ /* Test zen-grid-container() with $legacy-support-for-ie6: true */
+ *position: relative;
+ *zoom: 1;
+}
+#test-zen-grid-container-3:before, #test-zen-grid-container-3:after {
+ content: "";
+ display: table;
+}
+#test-zen-grid-container-3:after {
+ clear: both;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,165 @@
+/**
+ * @file
+ * Test zen-grid-flow-item()
+ */
+#test-zen-grid-flow-item {
+ /* Test zen-grid-flow-item(1) without setting $column-count */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 100%;
+ padding-left: 0;
+ padding-right: 0px;
+ margin-right: 20px;
+ /* Test zen-grid-flow-item(1, 4) with 20px gutter */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-left: 0;
+ padding-right: 15px;
+ margin-right: 5px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter */
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-left: 0;
+ padding-right: 11.25px;
+ margin-right: 3.75px;
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter and $zen-grid-width: 1000px */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 200px;
+ padding-left: 0;
+ padding-right: 20px;
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px, $alpha-gutter: true and $omega-gutter: false */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 200px;
+ padding-left: 20px;
+ padding-right: 0;
+ /* Test zen-grid-flow-item(1) with 5 columns, 20px gutter, $zen-grid-width: 1000px and $omega-gutter: false */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 180px;
+ padding-left: 0;
+ padding-right: 0;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-float-direction: right */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-right: 0;
+ padding-left: 11.25px;
+ margin-left: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-left: 0;
+ margin-left: 15px;
+ padding-right: 11.25px;
+ margin-right: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-left: 0;
+ padding-right: 11.25px;
+ margin-right: -11.25px;
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 75%;
+ padding-left: 0;
+ margin-left: 20px;
+ padding-right: 5px;
+ margin-right: 15px;
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 75%;
+ padding-left: 0;
+ padding-right: 5px;
+ margin-right: -5px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ width: 25%;
+ padding-right: 0;
+ margin-right: 15px;
+ padding-left: 11.25px;
+ margin-left: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
+ padding-left: 5%;
+ padding-right: 5%;
+ border-left: 0 !important;
+ border-right: 0 !important;
+ word-wrap: break-word;
+ width: 15%;
+ padding-left: 0;
+ padding-right: 7.5%;
+ margin-right: 2.5%;
+ /* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
+ width: 25%;
+ padding-left: 0;
+ padding-right: 15px;
+ margin-right: 5px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,73 @@
+/**
+ * @file
+ * Test zen-grid-item-base()
+ */
+#test-zen-grid-item-base {
+ /* Test zen-grid-item-base() */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-box-sizing: content-box */
+ padding-left: 10px;
+ padding-right: 10px;
+ border-left: 0 !important;
+ border-right: 0 !important;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $legacy-support-for-ie7: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie7: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/boxsizing.htc");
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie6: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px */
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-float-direction: right */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-reverse-all-floats: true */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,59 @@
+/**
+ * @file
+ * Test zen-grid-item()
+ */
+#test-zen-grid-item {
+ /* Test zen-grid-item(6, 4) with 12 column grid and 20px gutter */
+ float: left;
+ width: 50%;
+ margin-left: 25%;
+ margin-right: -75%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item(3, 3) with box-sizing: content-box, 5 column grid and 10% gutter */
+ float: left;
+ width: 50%;
+ margin-left: 40%;
+ margin-right: -100%;
+ padding-left: 5%;
+ padding-right: 5%;
+ border-left: 0 !important;
+ border-right: 0 !important;
+ word-wrap: break-word;
+ /* Turn off $zen-auto-include-item-base */
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter */
+ float: left;
+ width: 60%;
+ margin-left: 40%;
+ margin-right: -100%;
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter */
+ float: right;
+ width: 60%;
+ margin-right: 40%;
+ margin-left: -100%;
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ float: right;
+ width: 60%;
+ margin-right: 40%;
+ margin-left: -100%;
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ float: left;
+ width: 60%;
+ margin-left: 40%;
+ margin-right: -100%;
+ /* Test zen-grid-item(3, 2.5) with 5 column grid and 40px gutter */
+ float: left;
+ width: 60%;
+ margin-left: 30%;
+ margin-right: -90%;
+ /* Test zen-grid-item(3, 3) with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ float: left;
+ width: 600px;
+ margin-left: 400px;
+ margin-right: -1000px;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,21 @@
+/**
+ * @file
+ * Test zen-nested-container()
+ */
+#test-zen-nested-container {
+ /* Test zen-nested-container() */
+ padding-left: 0;
+ padding-right: 0;
+}
+
+#test-zen-nested-container-2 {
+ /* Test zen-nested-container() with $legacy-support-for-ie7: true */
+ padding-left: 0;
+ padding-right: 0;
+}
+
+#test-zen-nested-container-3 {
+ /* Test zen-nested-container() with $legacy-support-for-ie6: true */
+ padding-left: 0;
+ padding-right: 0;
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/zen-grids.gemspec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass-extensions/zen-grids/zen-grids.gemspec Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,63 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = 'zen-grids'
+
+ s.summary = %q{A Compass plugin for Zen Grids, a fluid responsive grid system}
+ s.description = %q{Zen Grids is an intuitive, flexible grid system that leverages the natural source order of your content to make it easier to create fluid responsive designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied to an infinite number of layouts, including responsive, adaptive, fluid and fixed-width layouts.}
+
+ s.homepage = 'http://zengrids.com'
+ s.license = 'GPL-2'
+ s.rubyforge_project =
+
+ s.version = '1.4'
+ s.date = '2013-04-02'
+
+ s.authors = ['John Albin Wilkins']
+ s.email = 'virtually.johnalbin@gmail.com'
+
+ s.add_runtime_dependency('sass', ">= 3.1")
+
+ s.files = %w[
+ LICENSE.txt
+ README.txt
+ lib/zen-grids.rb
+ stylesheets/_zen.scss
+ stylesheets/zen/_background.scss
+ stylesheets/zen/_grids.scss
+ templates/project/_init.scss
+ templates/project/_layout.scss
+ templates/project/_modules.scss
+ templates/project/_visually-hidden.scss
+ templates/project/example.html
+ templates/project/manifest.rb
+ templates/project/styles.scss
+ templates/unit-tests/manifest.rb
+ templates/unit-tests/README.txt
+ templates/unit-tests/sass/function-zen-direction-flip.scss
+ templates/unit-tests/sass/function-zen-grid-item-width.scss
+ templates/unit-tests/sass/function-zen-half-gutter.scss
+ templates/unit-tests/sass/function-zen-unit-width.scss
+ templates/unit-tests/sass/zen-clear.scss
+ templates/unit-tests/sass/zen-float.scss
+ templates/unit-tests/sass/zen-grid-background.scss
+ templates/unit-tests/sass/zen-grid-container.scss
+ templates/unit-tests/sass/zen-grid-flow-item.scss
+ templates/unit-tests/sass/zen-grid-item-base.scss
+ templates/unit-tests/sass/zen-grid-item.scss
+ templates/unit-tests/sass/zen-nested-container.scss
+ templates/unit-tests/test-results/function-zen-direction-flip.css
+ templates/unit-tests/test-results/function-zen-grid-item-width.css
+ templates/unit-tests/test-results/function-zen-half-gutter.css
+ templates/unit-tests/test-results/function-zen-unit-width.css
+ templates/unit-tests/test-results/zen-clear.css
+ templates/unit-tests/test-results/zen-float.css
+ templates/unit-tests/test-results/zen-grid-background.css
+ templates/unit-tests/test-results/zen-grid-container.css
+ templates/unit-tests/test-results/zen-grid-flow-item.css
+ templates/unit-tests/test-results/zen-grid-item-base.css
+ templates/unit-tests/test-results/zen-grid-item.css
+ templates/unit-tests/test-results/zen-nested-container.css
+ zen-grids.gemspec
+ ]
+end
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,58 @@
+ABOUT SASS AND COMPASS
+----------------------
+
+This directory includes Sass versions of Zen's CSS files. (If you are wondering
+how these Sass files are organized, read the css/README.txt file.)
+
+Sass is a language that is just normal CSS plus some extra features, like
+variables, nested rules, math, mixins, etc. If your stylesheets are written in
+Sass, helper applications can convert them to standard CSS so that you can
+include the CSS in the normal ways with your theme.
+
+To learn more about Sass, visit: http://sass-lang.com
+
+Compass is a helper library for Sass. It includes libraries of shared mixins, a
+package manager to add additional extension libraries, and an executable that
+can easily convert Sass files into CSS.
+
+To learn more about Compass, visit: http://compass-style.org
+
+
+DEVELOPING WITH SASS AND COMPASS
+--------------------------------
+
+To automatically generate the CSS versions of the scss while you are doing theme
+development, you'll need to tell Compass to "watch" the sass directory so that
+any time a .scss file is changed it will automatically place a generated CSS
+file into your sub-theme's css directory:
+
+ compass watch
+
+ If you are already in the root of your sub-theme's directory, you can simply
+ type: compass watch
+
+While using generated CSS with Firebug, the line numbers it reports will be
+wrong since it will be showing the generated CSS file's line numbers and not the
+line numbers of the source Sass files. To correct this problem, you can install
+the FireSass plug-in into Firefox and then edit your sub-theme's config.rb file
+to set: firesass = true
+ https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/
+
+
+MOVING YOUR CSS TO PRODUCTION
+-----------------------------
+
+Once you have finished your sub-theme development and are ready to move your CSS
+files to your production server, you'll need to tell sass to update all your CSS
+files and to compress them (to improve performance). Note: the Compass command
+will only generate CSS for .scss files that have recently changed; in order to
+force it to regenerate all the CSS files, you can use the Compass' clean command
+to delete all the generated CSS files.
+
+- Delete all CSS files by running: compass clean
+- Edit the config.rb file in your theme's directory and uncomment this line by
+ deleting the "#" from the beginning:
+ #environment = :production
+- Regenerate all the CSS files by running: compass compile
+
+And don't forget to turn on Drupal's CSS aggregation. :-)
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/_init.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/_init.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,126 @@
+//
+// Initialization partial
+//
+// To make it easier to use all variables and mixins in any Sass file in this
+// theme, each .scss file has a @import "init" declaration. And this _init.scss
+// file is in charge of importing all the other partials needed for the theme.
+//
+// This initialization partial is organized in this way:
+// - First we set any shared Sass variables.
+// - Next we import Compass plug-ins (Sass mixin libraries).
+// - Last we define our custom mixins for this theme.
+//
+
+
+// =============================================================================
+// Variables
+// =============================================================================
+
+//
+// Legacy IE support
+//
+// These variables are used by many mixins to add additional CSS to support
+// specific versions of IE or specific vendor prefixes.
+//
+// IE6-7 don't support box-sizing: border-box. We can fix this in 1 of 3 ways:
+// - Drop support for IE 6/7. :-) Set $legacy-support-for-ie6
+// and $legacy-support-for-ie7 to false.
+// - (Preferred) Install the box-sizing polyfill and set the variable below to
+// the absolute path URL to the boxsizing.htc file.
+// @see https://github.com/Schepp/box-sizing-polyfill
+// $box-sizing-polyfill-path: "/path/to/boxsizing.htc";
+// - Use the same CSS unit for grid and gutter width in resonsive-sidebars.scss
+// (use px for both or use % for both) and set the box-sizing variable to content-box.
+//
+// Zen does not require special handling for IE8 or later. But Compass uses that
+// variable for a couple edge cases. We include it for completeness sake. See
+// the documentation at http://compass-style.org/reference/compass/support/
+$legacy-support-for-ie6: false;
+$legacy-support-for-ie7: false;
+$legacy-support-for-ie8: true;
+
+
+//
+// Font faces, stacks and sizes.
+//
+
+// Compass' vertical_rhythm extension is a powerful tool to set up a vertical
+// rhythm for your entire page. You can see some of its mixins and functions in
+// use in the normalize.scss file.
+// @see http://compass-style.org/reference/compass/typography/vertical_rhythm/
+
+$base-font-size: 16px; // The font size set on the root html element.
+$base-line-height: 24px; // This line-height determines the basic unit of vertical rhythm.
+
+$h1-font-size: 2 * $base-font-size;
+$h2-font-size: 1.5 * $base-font-size;
+$h3-font-size: 1.17 * $base-font-size;
+$h4-font-size: 1 * $base-font-size;
+$h5-font-size: 0.83 * $base-font-size;
+$h6-font-size: 0.67 * $base-font-size;
+
+// The following font family declarations are based on the Microsoft core web
+// fonts which are common fonts available on most computer systems. The DejaVu
+// and Nimbus Sans fonts are commonly available on Linux systems where the MS
+// fonts are less common. Tahoma and Helvetica are also widely available.
+//
+// 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, serif or
+// monospace) hints at what type of font to use if the web browser doesn't
+// find any of the fonts in the list.
+
+// First, let's create some font stacks.
+$times-new-roman: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
+$times: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
+$georgia: Georgia, "Times New Roman", "DejaVu Serif", serif;
+
+$verdana: Verdana, Tahoma, "DejaVu Sans", sans-serif;
+$tahoma: Tahoma, Verdana, "DejaVu Sans", sans-serif;
+$helvetica: Helvetica, Arial, "Nimbus Sans L", sans-serif;
+$arial: Arial, Helvetica, "Nimbus Sans L", sans-serif;
+
+// For an explanation of why "sans-serif" is at the end of this list, see
+// http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
+$courier: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
+
+// Now create some variables for the font stacks we want to use on this site.
+$base-font-family: $verdana; // The font family set on the html element.
+$font-body: $verdana;
+$font-monospace: $courier;
+
+
+//
+// Colors, etc.
+//
+
+// The amount lists, blockquotes and comments are indented.
+$indent-amount: 30px;
+
+// The height of the navigation container.
+$nav-height: 3em;
+
+// Tab styling.
+$tabs-container-bg: #fff;
+$tabs-border: #bbb;
+
+
+// =============================================================================
+// Partials to be shared with all .scss files.
+// =============================================================================
+
+// Add Compass' IE and vendor prefix support variables.
+@import "compass/support";
+// Better than Drupal's clearfix.
+@import "compass/utilities/general/clearfix";
+// See http://compass-style.org/help/tutorials/spriting/
+@import "compass/utilities/sprites";
+// Use one CSS3 mixin instead of multiple vendor prefixes.
+@import "compass/css3";
+// Helps set up a vertical rhythm.
+@import "compass/typography/vertical_rhythm";
+// Add the Zen Grids responsive layout mixins.
+@import "zen";
+
+// Now we add our custom helper mixins.
+@import "mixins";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/_mixins.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/_mixins.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,37 @@
+// @file
+// Custom sass mixins
+//
+// Define the custom mixins for your project here.
+// http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#defining_a_mixin
+
+// Makes an element visually hidden, but accessible.
+// @see http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
+@mixin element-invisible {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ clip: rect(1px 1px 1px 1px); // IE6 and IE7 use the wrong syntax.
+ }
+ clip: rect(1px, 1px, 1px, 1px);
+}
+
+// Turns off the element-invisible effect.
+@mixin element-invisible-off {
+ position: static !important;
+ clip: auto;
+ height: auto;
+ width: auto;
+ overflow: auto;
+}
+
+// Makes an element visually hidden by default, but visible when focused.
+@mixin element-focusable {
+ @include element-invisible;
+
+ &:active,
+ &:focus {
+ @include element-invisible-off;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/_normalize-rtl.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/_normalize-rtl.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,29 @@
+/**
+ * @file
+ * Normalize-rtl.scss is the RTL language extension of normalize.scss
+ */
+
+/**
+ * Lists
+ */
+dd {
+ margin: 0 $indent-amount 0 0;
+}
+
+/* Address paddings set differently in IE 6/7. */
+menu,
+ol,
+ul {
+ padding: 0 $indent-amount 0 0;
+}
+
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ /**
+ * Forms
+ */
+ legend {
+ /* Correct alignment displayed oddly in IE 6/7. */
+ *margin-left: 0;
+ *margin-right: -7px;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/_normalize.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/_normalize.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,545 @@
+/**
+ * @file
+ * Normalize.css is intended to be used as an alternative to CSS resets.
+ *
+ * This file is a slight fork of these original sources:
+ * - normalize.css v2.1.2 | MIT License | git.io/normalize
+ * - normalize.scss v2.1.2 | MIT/GPLv2 License | bit.ly/normalize-with-compass
+ *
+ * It's suggested that you read the normalize.scss file and customise it to meet
+ * your needs, rather then including the file in your project and overriding the
+ * defaults later in your CSS.
+ * @see http://nicolasgallagher.com/about-normalize-css/
+ *
+ * Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
+ * @see http://snook.ca/archives/html_and_css/no_css_reset/
+ */
+
+/**
+ * HTML5 display definitions
+ */
+
+/* Correct `block` display not defined in IE 8/9. */
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+main,
+nav,
+section,
+summary {
+ display: block;
+}
+
+/* Correct `inline-block` display not defined in IE 8/9. */
+audio,
+canvas,
+video {
+ display: inline-block;
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *display: inline;
+ *zoom: 1;
+ }
+}
+
+/**
+ * Prevent modern browsers from displaying `audio` without controls.
+ * Remove excess height in iOS 5 devices.
+ */
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/* Address styling not present in IE 8/9. */
+[hidden] {
+ display: none;
+}
+
+/**
+ * Base
+ *
+ * Instead of relying on the fonts that are available on a user's computer, you
+ * can use web fonts which, like images, are resources downloaded to the user's
+ * browser. Because of the bandwidth and rendering resources required, web fonts
+ * should be used with care.
+ *
+ * Numerous resources for web fonts can be found on Google. Here are a few
+ * websites where you can find Open Source fonts to download:
+ * - http://www.fontsquirrel.com/fontface
+ * - http://www.theleagueofmoveabletype.com
+ *
+ * In order to use these fonts, you will need to convert them into formats
+ * suitable for web fonts. We recommend the free-to-use Font Squirrel's
+ * Font-Face Generator:
+ * http://www.fontsquirrel.com/fontface/generator
+ *
+ * The following is an example @font-face declaration. This font can then be
+ * used in any ruleset using a property like this: font-family: Example, serif;
+ *
+ * Since we're using Sass, you'll need to declare your font faces here, then you
+ * can add them to the font variables in the _base.scss partial.
+ */
+/*
+@font-face {
+ font-family: 'Example';
+ src: url('../fonts/example.eot');
+ src: url('../fonts/example.eot?iefix') format('eot'),
+ url('../fonts/example.woff') format('woff'),
+ url('../fonts/example.ttf') format('truetype'),
+ url('../fonts/example.svg#webfontOkOndcij') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+*/
+
+/**
+ * 1. Set default font family to sans-serif.
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * user zoom.
+ * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
+ * `em` units.
+ */
+html {
+ font-family: $base-font-family; /* 1 */
+ font-size: 100% * ($base-font-size / 16px); /* 3 */
+ -ms-text-size-adjust: 100%; /* 2 */
+ -webkit-text-size-adjust: 100%; /* 2 */
+ // Establish a vertical rhythm unit using $base-line-height.
+ @include adjust-leading-to(1);
+}
+
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ /* Address `font-family` inconsistency between `textarea` and other form elements. */
+ button,
+ input,
+ select,
+ textarea {
+ font-family: $base-font-family;
+ }
+}
+
+/* Remove default margin. */
+body {
+ margin: 0;
+ 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 {
+}
+
+/* Address `outline` inconsistency between Chrome and other browsers. */
+a:focus {
+ outline: thin dotted;
+}
+
+/* Improve readability when focused and also mouse hovered in all browsers. */
+a:active,
+a:hover {
+ outline: 0;
+}
+
+/**
+ * Typography
+ *
+ * To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins
+ * so that the line height of our base font becomes the basic unit of vertical
+ * measurement. We use multiples of that unit to set the top and bottom margins
+ * for our block level elements and to set the line heights of any fonts.
+ * For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
+ */
+
+/* Set 1 unit of vertical rhythm on the top and bottom margin. */
+p,
+pre {
+ margin: rhythm(1) 0;
+}
+blockquote {
+ /* Also indent the quote on both sides. */
+ margin: rhythm(1) $indent-amount;
+}
+
+/**
+ * Address variable `h1` font-size and margin within `section` and `article`
+ * contexts in Firefox 4+, Safari 5, and Chrome.
+ */
+h1 {
+ /* Set the font-size and line-height while keeping a proper vertical rhythm. */
+ @include adjust-font-size-to( $h1-font-size );
+
+ /* Set 1 unit of vertical rhythm on the top and bottom margins. */
+ @include leader(1, $h1-font-size);
+ @include trailer(1, $h1-font-size);
+}
+h2 {
+ @include adjust-font-size-to( $h2-font-size );
+ @include leader(1, $h2-font-size);
+ @include trailer(1, $h2-font-size);
+}
+h3 {
+ @include adjust-font-size-to( $h3-font-size );
+ @include leader(1, $h3-font-size);
+ @include trailer(1, $h3-font-size);
+}
+h4 {
+ @include adjust-font-size-to( $h4-font-size );
+ @include leader(1, $h4-font-size);
+ @include trailer(1, $h4-font-size);
+}
+h5 {
+ @include adjust-font-size-to( $h5-font-size );
+ @include leader(1, $h5-font-size);
+ @include trailer(1, $h5-font-size);
+}
+h6 {
+ @include adjust-font-size-to( $h6-font-size );
+ @include leader(1, $h6-font-size);
+ @include trailer(1, $h6-font-size);
+}
+
+/* Address styling not present in IE 8/9, Safari 5, and Chrome. */
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+/* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
+b,
+strong {
+ font-weight: bold;
+}
+
+/* Address styling not present in Safari 5 and Chrome. */
+dfn {
+ font-style: italic;
+}
+
+/* Address differences between Firefox and other browsers. */
+hr {
+ @include box-sizing(content-box);
+ height: 0;
+ border: 1px solid #666;
+ padding-bottom: -1px;
+ margin: rhythm(1) 0;
+}
+
+/* Address styling not present in IE 8/9. */
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/* Correct font family set oddly in Safari 5 and Chrome. */
+code,
+kbd,
+pre,
+samp,
+tt,
+var {
+ font-family: $font-monospace; // The value of $font-monospace ends with ", serif".
+ @if $legacy-support-for-ie6 {
+ _font-family: 'courier new', monospace;
+ }
+ @include adjust-font-size-to( $base-font-size );
+}
+
+/* Improve readability of pre-formatted text in all browsers. */
+pre {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+ }
+ @else {
+ white-space: pre-wrap;
+ }
+}
+
+/* Set consistent quote types. */
+q {
+ quotes: "\201C" "\201D" "\2018" "\2019";
+}
+
+/* Address inconsistent and variable font size in all browsers. */
+small {
+ font-size: 80%;
+}
+
+/* Prevent `sub` and `sup` affecting `line-height` in all browsers. */
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ top: -0.5em;
+}
+sub {
+ bottom: -0.25em;
+}
+
+/**
+ * Lists
+ */
+dl,
+menu,
+ol,
+ul {
+ /* Address margins set differently in IE 6/7. */
+ margin: rhythm(1) 0;
+}
+ol,
+ul {
+ ol,
+ ul {
+ /* Turn off margins on nested lists. */
+ margin: 0;
+ }
+}
+dd {
+ margin: 0 0 0 $indent-amount; /* LTR */
+}
+
+/* Address paddings set differently in IE 6/7. */
+menu,
+ol,
+ul {
+ padding: 0 0 0 $indent-amount; /* LTR */
+}
+
+@if $legacy-support-for-ie7 {
+ /* Correct list images handled incorrectly in IE 7. */
+ nav ul,
+ nav ol {
+ list-style: none;
+ list-style-image: none;
+ }
+}
+
+/**
+ * Embedded content and figures
+ *
+ * @todo Look into adding responsive embedded video.
+ */
+img {
+ /* Remove border when inside `a` element in IE 8/9. */
+ border: 0;
+ @if $legacy-support-for-ie7 {
+ /* Improve image quality when scaled in IE 7. */
+ -ms-interpolation-mode: bicubic;
+ }
+
+ /* Suppress the space beneath the baseline */
+ /* vertical-align: bottom; */
+
+ /* Responsive images */
+ max-width: 100%;
+ height: auto;
+ @if $legacy-support-for-ie8 {
+ /* Correct IE 8 not scaling image height when resized. */
+ width: auto;
+ }
+}
+
+/* Correct overflow displayed oddly in IE 9. */
+svg:not(:root) {
+ overflow: hidden;
+}
+
+/* Address margin not present in IE 8/9 and Safari 5. */
+figure {
+ margin: 0;
+}
+
+/**
+ * Forms
+ */
+
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ /* Correct margin displayed oddly in IE 6/7. */
+ form {
+ margin: 0;
+ }
+}
+
+/* Define consistent border, margin, and padding. */
+fieldset {
+ margin: 0 2px;
+ /* Apply borders and padding that keep the vertical rhythm. */
+ border-color: #c0c0c0;
+ @include apply-side-rhythm-border(top, $width: 1px, $lines: 0.35);
+ @include apply-side-rhythm-border(bottom, $width: 1px, $lines: 0.65);
+ @include apply-side-rhythm-border(left, $width: 1px, $lines: 0.65);
+ @include apply-side-rhythm-border(right, $width: 1px, $lines: 0.65);
+}
+
+/**
+ * 1. Correct `color` not being inherited in IE 8/9.
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
+ * 3. Correct alignment displayed oddly in IE 6/7.
+ */
+legend {
+ border: 0; /* 1 */
+ padding: 0; /* 2 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *margin-left: -7px; /* 3 */ /* LTR */
+ }
+}
+
+/**
+ * 1. Correct font family not being inherited in all browsers.
+ * 2. Correct font size not being inherited in all browsers.
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
+ * 4. Improve appearance and consistency with IE 6/7.
+ * 5. Keep form elements constrained in their containers.
+ */
+button,
+input,
+select,
+textarea {
+ font-family: inherit; /* 1 */
+ font-size: 100%; /* 2 */
+ margin: 0; /* 3 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ vertical-align: baseline; /* 4 */
+ *vertical-align: middle; /* 4 */
+ }
+ max-width: 100%; /* 5 */
+ @include box-sizing(border-box); /* 5 */
+}
+
+/**
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
+ * the UA stylesheet.
+ */
+button,
+input {
+ line-height: normal;
+}
+
+/**
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * All other form control elements do not inherit `text-transform` values.
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
+ */
+button,
+select {
+ text-transform: none;
+}
+
+/**
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+ * and `video` controls.
+ * 2. Correct inability to style clickable `input` types in iOS.
+ * 3. Improve usability and consistency of cursor style between image-type
+ * `input` and others.
+ * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
+ * Known issue: inner spacing remains in IE 6.
+ */
+button,
+html input[type="button"], /* 1 */
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button; /* 2 */
+ cursor: pointer; /* 3 */
+ @if $legacy-support-for-ie7 {
+ *overflow: visible; /* 4 */
+ }
+}
+
+/**
+ * Re-set default cursor for disabled elements.
+ */
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+
+/**
+ * 1. Address box sizing set to `content-box` in IE 8/9.
+ * 2. Remove excess padding in IE 8/9.
+ * 3. Remove excess padding in IE 7.
+ * Known issue: excess padding remains in IE 6.
+ */
+input[type="checkbox"],
+input[type="radio"] {
+ @include box-sizing(border-box); /* 1 */
+ padding: 0; /* 2 */
+ @if $legacy-support-for-ie7 {
+ *height: 13px; /* 3 */
+ *width: 13px; /* 3 */
+ }
+}
+
+/**
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
+ * (include `-moz` to future-proof).
+ */
+input[type="search"] {
+ -webkit-appearance: textfield; /* 1 */
+ @include box-sizing(content-box); /* 2 */
+}
+
+/**
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
+ * on OS X.
+ */
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/* Remove inner padding and border in Firefox 4+. */
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/**
+ * 1. Remove default vertical scrollbar in IE 8/9.
+ * 2. Improve readability and alignment in all browsers.
+ */
+textarea {
+ overflow: auto; /* 1 */
+ vertical-align: top; /* 2 */
+}
+
+/* Drupal-style form labels. */
+label {
+ display: block;
+ font-weight: bold;
+}
+
+/**
+ * Tables
+ */
+table {
+ /* Remove most spacing between table cells. */
+ border-collapse: collapse;
+ border-spacing: 0;
+ /* Prevent cramped-looking tables */
+ /* width: 100%; */
+ /* Add vertical rhythm margins. */
+ @include leader(1);
+ @include trailer(1);
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/_print.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/_print.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,81 @@
+/**
+ * @file
+ * Print styling
+ *
+ * We provide some sane print styling for Drupal using Zen's layout method.
+ */
+
+/**
+ * By importing this CSS file as media "all", we allow this print file to be
+ * aggregated with other stylesheets, for improved front-end performance.
+ */
+@media print {
+
+ /* Underline all links. */
+ a:link,
+ a:visited {
+ text-decoration: underline !important;
+
+ /* Don't underline header. */
+ &.header__site-link {
+ text-decoration: none !important;
+ }
+ }
+
+ #content {
+ /* Add visible URL after links. */
+ a[href]:after {
+ content: " (" attr(href) ")";
+ font-weight: normal;
+ font-size: $base-font-size;
+ }
+
+ /* Only display useful links. */
+ a[href^="javascript:"]:after,
+ a[href^="#"]:after {
+ content: "";
+ }
+
+ /* Add visible title after abbreviations. */
+ abbr[title]:after {
+ content: " (" attr(title) ")";
+ }
+ }
+
+ /* Un-float the content. */
+ #content {
+ float: none !important;
+ width: 100% !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ /* Turn off any background colors or images. */
+ body,
+ #page,
+ #main,
+ #content {
+ color: #000;
+ background-color: transparent !important;
+ background-image: none !important;
+ }
+
+ /* Hide sidebars and nav elements. */
+ #skip-link,
+ #toolbar,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .breadcrumb,
+ .tabs,
+ .action-links,
+ .links,
+ .book-navigation,
+ .forum-topic-navigation,
+ .pager,
+ .feed-icons {
+ visibility: hidden;
+ display: none;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/components/_misc-rtl.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/components/_misc-rtl.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,167 @@
+/**
+ * @file
+ * RTL companion for the modular-styles.css file.
+ */
+
+/**
+ * Branding header.
+ */
+
+/* Wrapping link for logo. */
+.header__logo {
+ float: right;
+}
+
+/* The secondary menu (login, etc.) */
+.header__secondary-menu {
+ float: left;
+}
+
+/**
+ * Navigation bar.
+ */
+
+/* Main menu and secondary menu links and menu block links. */
+#navigation {
+ .links,
+ .menu {
+ text-align: right;
+
+ li {
+ /* A simple method to get navigation links to appear in one line. */
+ float: right;
+ padding: 0 0 0 10px;
+ }
+ }
+}
+
+/**
+ * Messages.
+ */
+.messages {
+ padding: 10px 50px 10px 10px;
+ background-position: 99% 8px;
+}
+.messages--status {
+ @extend .messages;
+}
+.messages--warning {
+ @extend .messages;
+}
+.messages--error {
+ @extend .messages;
+}
+
+/**
+ * Tabs.
+ */
+%tabs__tab {
+ float: right;
+}
+.tabs-primary__tab {
+ @extend %tabs__tab;
+}
+.tabs-primary__tab.is-active {
+ @extend .tabs-primary__tab;
+}
+.tabs-secondary__tab,
+.tabs-secondary__tab.is-active {
+ @extend %tabs__tab;
+}
+
+/**
+ * Inline styles.
+ */
+
+/* List of links */
+.inline li {
+ /* Bug in Safari causes display: inline to fail. */
+ display: inline-block;
+ padding: 0 0 0 1em;
+}
+
+/* The inline field label used by the Fences.module */
+span.field-label {
+ padding: 0 0 0 1em;
+}
+
+/**
+ * "More" links.
+ */
+.more-link {
+ text-align: left;
+}
+.more-help-link {
+ text-align: left;
+}
+.more-help-link a {
+ background-position: 100% 50%;
+ padding: 1px 20px 1px 0;
+}
+
+/**
+ * Menus.
+ */
+.menu__item.is-collapsed {
+ list-style-image: inline-image("menu-collapsed-rtl.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: image-url("menu-collapsed-rtl.png");
+ }
+}
+
+/**
+ * Comments.
+ */
+
+/* Nested comments are indented. */
+.indented {
+ margin-left: 0;
+ margin-right: $indent-amount;
+}
+
+/**
+ * Forms.
+ */
+
+/* Drupal's default login form block */
+#user-login-form {
+ text-align: right;
+}
+
+html.js #user-login-form li.openid-link,
+#user-login-form li.openid-link {
+ /* Un-do some of the padding on the ul list. */
+ margin-left: 0;
+ margin-right: -20px;
+}
+
+/*
+ * Drupal admin tables.
+ */
+form {
+ th {
+ text-align: right;
+ padding-left: 1em;
+ padding-right: 0;
+ }
+}
+
+/**
+ * Collapsible fieldsets.
+ *
+ * @see collapse.js
+ */
+.fieldset-legend {
+ html.js .collapsible & {
+ background-position: 98% 75%;
+ padding-left: 0;
+ padding-right: 15px;
+ }
+ html.js .collapsed & {
+ background-image: inline-image("menu-collapsed-rtl.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("menu-collapsed-rtl.png");
+ }
+ background-position: 98% 50%;
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/components/_misc.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/components/_misc.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,807 @@
+/**
+ * @file
+ * SMACSS Modules
+ *
+ * Adds modular sets of styles.
+ *
+ * Additional useful selectors can be found in Zen's online documentation.
+ * https://drupal.org/node/1707736
+ */
+
+/**
+ * Wireframes.
+ */
+.with-wireframes {
+ #header,
+ #main,
+ #content,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .region-bottom {
+ outline: 1px solid #ccc;
+
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 & {
+ /* IE6/7 do not support the outline property. */
+ border: 1px solid #ccc;
+ }
+ }
+ }
+}
+
+/**
+ * Accessibility features.
+ */
+
+/* element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
+.element-invisible,
+%element-invisible {
+ @include element-invisible;
+}
+
+/* Turns off the element-invisible effect. */
+%element-invisible-off {
+ @include element-invisible-off;
+}
+
+.element-focusable,
+%element-focusable {
+ @extend %element-invisible;
+
+ &:active,
+ &:focus {
+ @extend %element-invisible-off;
+ }
+}
+
+/*
+ * The skip-link link will be completely hidden until a user tabs to the link.
+ */
+#skip-link {
+ margin: 0;
+
+ a,
+ a:visited {
+ display: block;
+ width: 100%;
+ padding: 2px 0 3px 0;
+ text-align: center;
+ background-color: #666;
+ color: #fff;
+ }
+}
+
+/**
+ * Branding header.
+ */
+
+/* Wrapping link for logo. */
+.header__logo {
+ float: left; /* LTR */
+ margin: 0;
+ padding: 0;
+}
+
+/* Logo image. */
+.header__logo-image {
+ vertical-align: bottom;
+}
+
+/* Wrapper for website name and slogan. */
+.header__name-and-slogan {
+ float: left;
+}
+
+/* The name of the website. */
+.header__site-name {
+ margin: 0;
+ @include adjust-font-size-to( $h1-font-size );
+}
+
+/* The link around the name of the website. */
+.header__site-link {
+ &:link,
+ &:visited {
+ color: #000;
+ text-decoration: none;
+ }
+
+ &:hover,
+ &:focus {
+ text-decoration: underline;
+ }
+}
+
+/* The slogan (or tagline) of a website. */
+.header__site-slogan {
+ margin: 0;
+}
+
+/* The secondary menu (login, etc.) */
+.header__secondary-menu {
+ float: right; /* LTR */
+}
+
+/* Wrapper for any blocks placed in the header region. */
+.header__region {
+ /* Clear the logo. */
+ clear: both;
+}
+
+/**
+ * Navigation bar.
+ */
+#navigation {
+ /* Sometimes you want to prevent overlapping with main div. */
+ /* overflow: hidden; */
+
+ .block {
+ margin-bottom: 0;
+ }
+
+ .block-menu .block__title,
+ .block-menu-block .block__title {
+ @extend %element-invisible;
+ }
+
+ /* Main menu and secondary menu links and menu block links. */
+ .links,
+ .menu {
+ margin: 0;
+ padding: 0;
+ text-align: left; /* LTR */
+
+ li {
+ /* A simple method to get navigation links to appear in one line. */
+ float: left; /* LTR */
+ padding: 0 10px 0 0; /* LTR */
+ list-style-type: none;
+ list-style-image: none;
+ }
+ }
+}
+
+/**
+ * Breadcrumb navigation.
+ */
+.breadcrumb {
+ ol {
+ margin: 0;
+ padding: 0;
+ }
+ li {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+}
+
+/**
+ * Titles.
+ */
+.page__title, /* The title of the page. */
+.node__title, /* Title of a piece of content when it is given in a list of content. */
+.block__title, /* Block title. */
+.comments__title, /* Comment section heading. */
+.comments__form-title, /* Comment form heading. */
+.comment__title { /* Comment title. */
+ margin: 0;
+}
+
+/**
+ * Messages.
+ */
+.messages {
+ margin: rhythm(1) 0;
+ padding: 10px 10px 10px 50px; /* LTR */
+ background-image: inline-image("message-24-ok.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("message-24-ok.png");
+ }
+ background-position: 8px 8px; /* LTR */
+ background-repeat: no-repeat;
+ border: 1px solid #be7;
+}
+.messages--status {
+ @extend .messages;
+ @extend %ok;
+}
+.messages--warning {
+ @extend .messages;
+ @extend %warning;
+ background-image: inline-image("message-24-warning.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("message-24-warning.png");
+ }
+ border-color: #ed5;
+}
+.messages--error {
+ @extend .messages;
+ @extend %error;
+ background-image: inline-image("message-24-error.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("message-24-error.png");
+ }
+ border-color: #ed541d;
+
+}
+.messages__list {
+ margin: 0;
+}
+.messages__item {
+ list-style-image: none;
+}
+
+/* Core/module installation error messages. */
+.messages--error p.error {
+ color: #333;
+}
+
+/* System status report. */
+.ok,
+%ok {
+ background-color: #f8fff0;
+ color: #234600;
+}
+.warning,
+%warning {
+ background-color: #fffce5;
+ color: #840;
+}
+.error,
+%error {
+ background-color: #fef5f1;
+ color: #8c2e0b;
+}
+
+/**
+ * Tabs.
+ */
+
+/* Basic positioning styles shared by primary and secondary tabs. */
+%tabs {
+ @include clearfix;
+ @include background-image(linear-gradient(bottom, $tabs-border 1px, transparent 1px));
+ /* IE 9 and earlier don't understand gradients. */
+ list-style: none;
+ border-bottom: 1px solid $tabs-border \0/ie;
+ margin: rhythm(1) 0;
+ padding: 0 2px;
+ white-space: nowrap;
+}
+%tabs__tab {
+ float: left; /* LTR */
+ margin: 0 3px;
+}
+%tabs__tab-link {
+ border: 1px solid #e9e9e9;
+ border-right: 0;
+ border-bottom: 0;
+ display: block;
+ @include adjust-leading-to(1);
+ text-decoration: none;
+}
+
+/* Primary tabs. */
+.tabs-primary {
+ @extend %tabs;
+}
+.tabs-primary__tab {
+ @extend %tabs__tab;
+ @include border-top-radius(4px);
+ @include single-text-shadow(#fff, 1px, 1px, 0);
+ border: 1px solid $tabs-border;
+ border-bottom-color: transparent;
+ /* IE 9 and earlier don't understand gradients. */
+ border-bottom: 0 \0/ie;
+}
+.tabs-primary__tab.is-active {
+ @extend .tabs-primary__tab;
+ border-bottom-color: $tabs-container-bg;
+}
+
+// We use 3 placeholder styles to prevent @extend from going selector crazy.
+%tabs-primary__tab-link {
+ @extend %tabs__tab-link;
+ @include border-top-radius(4px);
+ @include transition(background-color 0.3s);
+ color: #333;
+ background-color: #dedede;
+ letter-spacing: 1px;
+ padding: 0 1em;
+ text-align: center;
+}
+%tabs-primary__tab-link-is-hover {
+ background-color: #e9e9e9;
+ border-color: #f2f2f2;
+}
+%tabs-primary__tab-link-is-active {
+ background-color: transparent;
+ @include filter-gradient(rgba(#e9e9e9, 1), rgba(#e9e9e9, 0));
+ @include background-image(linear-gradient(rgba(#e9e9e9, 1), rgba(#e9e9e9, 0)));
+ border-color: #fff;
+}
+
+a.tabs-primary__tab-link {
+ @extend %tabs-primary__tab-link;
+
+ &:hover,
+ &:focus {
+ @extend %tabs-primary__tab-link-is-hover;
+ }
+ &:active {
+ @extend %tabs-primary__tab-link-is-active;
+ }
+}
+a.tabs-primary__tab-link.is-active {
+ @extend %tabs-primary__tab-link;
+ @extend %tabs-primary__tab-link-is-active;
+}
+
+/* Secondary tabs. */
+.tabs-secondary {
+ @extend %tabs;
+ font-size: .9em;
+ /* Collapse bottom margin of ul.primary. */
+ margin-top: -(rhythm(1));
+}
+.tabs-secondary__tab,
+.tabs-secondary__tab.is-active {
+ @extend %tabs__tab;
+ margin: rhythm(1)/2 3px;
+}
+
+// We use 3 placeholder styles to prevent @extend from going selector crazy.
+%tabs-secondary__tab-link {
+ @extend %tabs__tab-link;
+ @include border-radius(.75em);
+ @include transition(background-color 0.3s);
+ @include single-text-shadow(#fff, 1px, 1px, 0);
+ background-color: #f2f2f2;
+ color: #666;
+ padding: 0 .5em;
+}
+%tabs-secondary__tab-link-is-focus {
+ background-color: #dedede;
+ border-color: #999;
+ color: #333;
+}
+%tabs-secondary__tab-link-is-active {
+ @include single-text-shadow(#333, 1px, 1px, 0);
+ background-color: #666;
+ border-color: #000;
+ color: #fff;
+}
+
+a.tabs-secondary__tab-link {
+ @extend %tabs-secondary__tab-link;
+
+ &:hover,
+ &:focus {
+ @extend %tabs-secondary__tab-link-is-focus;
+ }
+ &:active {
+ @extend %tabs-secondary__tab-link-is-active;
+ }
+}
+a.tabs-secondary__tab-link.is-active {
+ @extend %tabs-secondary__tab-link;
+ @extend %tabs-secondary__tab-link-is-active;
+}
+
+/**
+ * Inline styles.
+ */
+
+/* List of links generated by theme_links(). */
+.inline {
+ display: inline;
+ padding: 0;
+
+ li {
+ display: inline;
+ list-style-type: none;
+ padding: 0 1em 0 0; /* LTR */
+ }
+}
+
+/* The inline field label used by the Fences module. */
+span.field-label {
+ padding: 0 1em 0 0; /* LTR */
+}
+
+/**
+ * "More" links.
+ */
+.more-link {
+ text-align: right; /* LTR */
+}
+.more-help-link {
+ text-align: right; /* LTR */
+}
+.more-help-link a {
+ background-image: inline-image("help.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("help.png");
+ }
+ background-position: 0 50%; /* LTR */
+ background-repeat: no-repeat;
+ padding: 1px 0 1px 20px; /* LTR */
+}
+
+/**
+ * Pager.
+ */
+
+/* A list of page numbers when more than 1 page of content is available. */
+.pager {
+ clear: both;
+ padding: 0;
+ text-align: center;
+}
+%pager__item {
+ display: inline;
+ padding: 0 0.5em;
+ list-style-type: none;
+ background-image: none;
+}
+
+.pager-item, /* A list item containing a page number in the list of pages. */
+.pager-first, /* The first page's list item. */
+.pager-previous, /* The previous page's list item. */
+.pager-next, /* The next page's list item. */
+.pager-last, /* The last page's list item. */
+.pager-ellipsis { /* A concatenation of several list items using an ellipsis. */
+ @extend %pager__item;
+}
+
+/* The current page's list item. */
+.pager-current {
+ @extend %pager__item;
+ font-weight: bold;
+}
+
+/**
+ * Blocks.
+ */
+
+/* Block wrapper. */
+.block {
+ margin-bottom: rhythm(1);
+}
+
+/**
+ * Menus.
+ */
+.menu__item.is-leaf {
+ list-style-image: inline-image("menu-leaf.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: image-url("menu-leaf.png");
+ }
+ list-style-type: square;
+}
+.menu__item.is-expanded {
+ list-style-image: inline-image("menu-expanded.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: image-url("menu-expanded.png");
+ }
+ list-style-type: circle;
+}
+.menu__item.is-collapsed {
+ list-style-image: inline-image("menu-collapsed.png"); /* LTR */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: image-url("menu-collapsed.png"); /* LTR */
+ }
+ list-style-type: disc;
+}
+
+/* The active item in a Drupal menu. */
+.menu a.active {
+ color: #000;
+}
+
+/**
+ * Marker.
+ */
+
+/* The "new" or "updated" marker. */
+.new,
+.update {
+ color: #c00;
+ /* Remove background highlighting from in normalize. */
+ background-color: transparent;
+}
+
+/**
+ * Unpublished note.
+ */
+
+/* The word "Unpublished" displayed underneath the content. */
+.unpublished {
+ height: 0;
+ overflow: visible;
+ /* Remove background highlighting from in normalize. */
+ background-color: transparent;
+ 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;
+ /* A very nice CSS3 property. */
+ word-wrap: break-word;
+}
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 .node-unpublished>*,
+ .lt-ie8 .comment-unpublished>* {
+ /* Otherwise these elements will appear below the "Unpublished" text. */
+ position: relative;
+ }
+}
+
+/**
+ * Comments.
+ */
+
+/* Wrapper for the list of comments and its title. */
+.comments {
+ margin: rhythm(1) 0;
+}
+
+/* Preview of the comment before submitting new or updated comment. */
+.comment-preview {
+ /* Drupal core will use a #ffffea background. See #1110842. */
+ background-color: #ffffea;
+}
+
+/* Wrapper for a single comment. */
+.comment {
+
+ /* Comment's permalink wrapper. */
+ .permalink {
+ text-transform: uppercase;
+ font-size: 75%;
+ }
+}
+
+/* Nested comments are indented. */
+.indented {
+ /* Drupal core uses a 25px left margin. */
+ margin-left: $indent-amount; /* LTR */
+}
+
+/**
+ * Forms.
+ */
+
+/* Wrapper for a form element (or group of form elements) and its label. */
+.form-item {
+ margin: rhythm(1) 0;
+
+ /* Pack groups of checkboxes and radio buttons closer together. */
+ .form-checkboxes & ,
+ .form-radios & {
+ /* Drupal core uses "0.4em 0". */
+ margin: 0;
+ }
+
+ /* Form items in a table. */
+ tr.odd &,
+ tr.even & {
+ margin: 0;
+ }
+
+ /* Highlight the form elements that caused a form submission error. */
+ input.error,
+ textarea.error,
+ select.error {
+ border: 1px solid #c00;
+ }
+
+ /* The descriptive help text (separate from the label). */
+ .description {
+ font-size: 0.85em;
+ }
+}
+
+.form-type-radio,
+.form-type-checkbox {
+ .description {
+ margin-left: 2.4em;
+ }
+}
+
+/* The part of the label that indicates a required field. */
+.form-required {
+ color: #c00;
+}
+
+/* Labels for radios and checkboxes. */
+label.option {
+ display: inline;
+ font-weight: normal;
+}
+
+/* Buttons used by contrib modules like Media. */
+a.button {
+ @include appearance(button);
+}
+
+/* Password confirmation. */
+.password-parent,
+.confirm-parent {
+ margin: 0;
+}
+
+/* Drupal's default login form block. */
+#user-login-form {
+ text-align: left; /* LTR */
+}
+
+/**
+ * OpenID
+ *
+ * The default styling for the OpenID login link seems to assume Garland's
+ * styling of list items.
+ */
+
+/* OpenID creates a new ul above the login form's links. */
+.openid-links {
+ /* Position OpenID's ul next to the rest of the links. */
+ margin-bottom: 0;
+}
+
+/* The "Log in using OpenID" and "Cancel OpenID login" links. */
+.openid-link,
+.user-link {
+ margin-top: rhythm(1);
+}
+html.js #user-login-form li.openid-link,
+#user-login-form li.openid-link {
+ /* Un-do some of the padding on the ul list. */
+ margin-left: -20px; /* LTR */
+}
+#user-login ul {
+ margin: rhythm(1) 0;
+}
+
+/**
+ * Drupal admin tables.
+ */
+form {
+ th {
+ text-align: left; /* LTR */
+ padding-right: 1em; /* LTR */
+ border-bottom: 3px solid #ccc;
+ }
+ tbody {
+ border-top: 1px solid #ccc;
+ }
+ table ul {
+ margin: 0;
+ }
+}
+tr.even,
+tr.odd {
+ background-color: #eee;
+ border-bottom: 1px solid #ccc;
+ padding: 0.1em 0.6em;
+}
+tr.even {
+ background-color: #fff;
+}
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 tr.even,
+ .lt-ie8 tr.odd {
+ th,
+ td {
+ /* IE doesn't display borders on table rows. */
+ border-bottom: 1px solid #ccc;
+ }
+ }
+}
+
+/* Markup generated by theme_tablesort_indicator(). */
+td.active {
+ background-color: #ddd;
+}
+
+/* Center checkboxes inside table cell. */
+td.checkbox,
+th.checkbox {
+ text-align: center;
+}
+
+/* Drupal core wrongly puts this in system.menus.css. Since we override that, add it back. */
+td.menu-disabled {
+ background: #ccc;
+}
+
+/**
+ * Autocomplete.
+ *
+ * @see autocomplete.js
+ */
+
+/* Suggestion list. */
+#autocomplete .selected {
+ background: #0072b9;
+ color: #fff;
+}
+
+/**
+ * Collapsible fieldsets.
+ *
+ * @see collapse.js
+ */
+.fieldset-legend {
+ html.js .collapsible & {
+ background-image: inline-image("menu-expanded.png");
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("menu-expanded.png");
+ }
+ background-position: 5px 65%; /* LTR */
+ background-repeat: no-repeat;
+ padding-left: 15px; /* LTR */
+ }
+ html.js .collapsed & {
+ background-image: inline-image("menu-collapsed.png"); /* LTR */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *background-image: image-url("menu-collapsed.png"); /* LTR */
+ }
+ background-position: 5px 50%; /* LTR */
+ }
+ .summary {
+ color: #999;
+ font-size: 0.9em;
+ margin-left: 0.5em;
+ }
+}
+
+/**
+ * TableDrag behavior.
+ *
+ * @see tabledrag.js
+ */
+tr.drag {
+ background-color: #fffff0;
+}
+tr.drag-previous {
+ background-color: #ffd;
+}
+.tabledrag-toggle-weight {
+ font-size: 0.9em;
+}
+
+/**
+ * TableSelect behavior.
+ *
+ * @see tableselect.js
+ */
+tr.selected td {
+ background: #ffc;
+}
+
+/**
+ * Progress bar.
+ *
+ * @see progress.js
+ */
+.progress {
+ font-weight: bold;
+
+ .bar {
+ background: #ccc;
+ border-color: #666;
+ margin: 0 0.2em;
+ @include border-radius(3px);
+ }
+ .filled {
+ background-color: #0072b9;
+ background-image: image-url("progress.gif");
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/layouts/_fixed-rtl.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/layouts/_fixed-rtl.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,10 @@
+/**
+ * @file
+ * RTL companion for the layout-fixed-width.css file.
+ */
+
+// First we tell Zen grids to reverse the direction of all floats.
+$zen-reverse-all-floats: true;
+
+// Then we import the LTR layout and the directions are automatically reversed.
+@import "fixed";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/layouts/_fixed.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/layouts/_fixed.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,126 @@
+/**
+ * @file
+ * Positioning for a fixed-width, desktop-centric layout.
+ *
+ * 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 uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+// We are going to create a 980px wide, 5 column grid with 20px gutters between
+// columns (applied as 10px of left/right padding on each column).
+$zen-column-count: 5;
+$zen-gutter-width: 20px;
+$zen-grid-width: 980px;
+
+// If you need IE6/7 support for box-sizing: border-box (default), see _base.scss
+// Since the same CSS unit for grid width and gutter width are set here
+// we can use box-sizing: content-box; without worrying about polyfills.
+$zen-box-sizing: content-box;
+
+// You can generate more efficient CSS if you manually apply the
+// zen-grid-item-base mixin to all grid items from within a single ruleset.
+$zen-auto-include-item-base: false;
+// $zen-auto-include-flow-item-base: false;
+
+// Suppress this section of CSS for RTL layouts since it contains no LTR-specific styles.
+@if $zen-reverse-all-floats == false {
+
+/**
+ * Center the page.
+ *
+ * If you want to make the page a fixed width and centered in the viewport,
+ * this is the standards-compliant way to do that.
+ */
+#page,
+.region-bottom {
+ margin-left: auto;
+ margin-right: auto;
+ width: $zen-grid-width;
+}
+
+/* Apply the shared properties of grid items in a single, efficient ruleset. */
+#header,
+#content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ // See the note about $zen-auto-include-item-base above.
+ @include zen-grid-item-base();
+}
+
+/* Containers for grid items and flow items. */
+#header,
+#main,
+#footer {
+ @include zen-grid-container();
+}
+
+/* Navigation bar */
+#main {
+ /* Move all the children of #main down to make room. */
+ padding-top: $nav-height;
+ position: relative;
+}
+#navigation {
+ /* Move the navbar up inside #main's padding. */
+ position: absolute;
+ top: 0;
+ height: $nav-height;
+ width: $zen-grid-width - $zen-gutter-width;
+}
+
+} // End of @if $zen-reverse-all-floats == true
+
+/**
+ * The layout when there is only one sidebar, the left one.
+ */
+.sidebar-first {
+ /* Span 4 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(4, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+}
+
+/**
+ * The layout when there is only one sidebar, the right one.
+ */
+.sidebar-second {
+ /* Span 4 columns, starting in 1st column from left. */
+ #content {
+ @include zen-grid-item(4, 1);
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .region-sidebar-second {
+ @include zen-grid-item(1, 5);
+ }
+}
+
+/**
+ * The layout when there are two sidebars.
+ */
+.two-sidebars {
+ /* Span 3 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(3, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .region-sidebar-second {
+ @include zen-grid-item(1, 5);
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/layouts/_responsive-rtl.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/layouts/_responsive-rtl.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,10 @@
+/**
+ * @file
+ * RTL companion for the layout-responsive.css file.
+ */
+
+// First we tell Zen grids to reverse the direction of all floats.
+$zen-reverse-all-floats: true;
+
+// Then we import the LTR layout and the directions are automatically reversed.
+@import "responsive";
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/layouts/_responsive.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/layouts/_responsive.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,210 @@
+/**
+ * @file
+ * Positioning for a responsive layout.
+ *
+ * Define CSS classes to create a fluid grid layout with optional sidebars
+ * depending on whether blocks are placed in the left or right sidebars.
+ *
+ * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+// We are going to create a fluid grid with 1, 3, or 5 columns and 20px gutters
+// between columns (applied as 10px of left/right padding on each column).
+$zen-column-count: 1;
+$zen-gutter-width: 20px;
+
+// If you need IE6/7 support for box-sizing: border-box (default), see _base.scss
+//$zen-box-sizing: content-box;
+
+// You can generate more efficient CSS if you manually apply the
+// zen-grid-item-base mixin to all grid items from within a single ruleset.
+$zen-auto-include-item-base: false;
+// $zen-auto-include-flow-item-base: false;
+
+// Suppress this section of CSS for RTL layouts since it contains no LTR-specific styles.
+@if $zen-reverse-all-floats == false {
+
+/**
+ * Center the page.
+ *
+ * For screen sizes larger than 1200px, prevent excessively long lines of text
+ * by setting a max-width.
+ */
+#page,
+.region-bottom {
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1200px;
+}
+
+/* Apply the shared properties of grid items in a single, efficient ruleset. */
+#header,
+#content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ // See the note about $zen-auto-include-item-base above.
+ @include zen-grid-item-base();
+}
+
+/* Containers for grid items and flow items. */
+#header,
+#main,
+#footer {
+ @include zen-grid-container();
+}
+
+/* Navigation bar */
+@media all and (min-width: 480px) {
+ #main {
+ /* Move all the children of #main down to make room. */
+ padding-top: $nav-height;
+ position: relative;
+ }
+ #navigation {
+ /* Move the navbar up inside #main's padding. */
+ position: absolute;
+ top: 0;
+ height: $nav-height;
+ width: $zen-grid-width;
+ }
+}
+
+} // End of @if $zen-reverse-all-floats == true
+
+/**
+ * Use 3 grid columns for smaller screens.
+ */
+@media all and (min-width: 480px) and (max-width: 959px) {
+
+ $zen-column-count: 3;
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+ .sidebar-first {
+ /* Span 2 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(2, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+ }
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+ .sidebar-second {
+ /* Span 2 columns, starting in 1st column from left. */
+ #content {
+ @include zen-grid-item(2, 1);
+ }
+
+ /* Span 1 column, starting in 3rd column from left. */
+ .region-sidebar-second {
+ @include zen-grid-item(1, 3);
+ }
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+ .two-sidebars {
+ /* Span 2 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(2, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+
+ /* Start a new row and span all 3 columns. */
+ .region-sidebar-second {
+ @include zen-grid-item(3, 1);
+ @include zen-nested-container(); // Since we're making every block in this region be a grid item.
+ @include zen-clear();
+
+ /* Apply the shared properties of grid items in a single, efficient ruleset. */
+ .block {
+ @include zen-grid-item-base();
+ }
+ /* Span 1 column, starting in the 1st column from left. */
+ .block:nth-child(3n+1) {
+ @include zen-grid-item(1, 1);
+ @include zen-clear();
+ }
+ /* Span 1 column, starting in the 2nd column from left. */
+ .block:nth-child(3n+2) {
+ @include zen-grid-item(1, 2);
+ }
+ /* Span 1 column, starting in the 3rd column from left. */
+ .block:nth-child(3n) {
+ @include zen-grid-item(1, 3);
+ }
+ }
+ }
+}
+
+/**
+ * Use 5 grid columns for larger screens.
+ */
+@media all and (min-width: 960px) {
+
+ $zen-column-count: 5;
+
+ /**
+ * The layout when there is only one sidebar, the left one.
+ */
+ .sidebar-first {
+ /* Span 4 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(4, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+ }
+
+ /**
+ * The layout when there is only one sidebar, the right one.
+ */
+ .sidebar-second {
+ /* Span 4 columns, starting in 1st column from left. */
+ #content {
+ @include zen-grid-item(4, 1);
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .region-sidebar-second {
+ @include zen-grid-item(1, 5);
+ }
+ }
+
+ /**
+ * The layout when there are two sidebars.
+ */
+ .two-sidebars {
+ /* Span 3 columns, starting in 2nd column from left. */
+ #content {
+ @include zen-grid-item(3, 2);
+ }
+
+ /* Span 1 column, starting in 1st column from left. */
+ .region-sidebar-first {
+ @include zen-grid-item(1, 1);
+ }
+
+ /* Span 1 column, starting in 5th column from left. */
+ .region-sidebar-second {
+ @include zen-grid-item(1, 5);
+ }
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/styles-rtl.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/styles-rtl.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,20 @@
+/**
+ * @file
+ * RTL companion for the styles.scss file.
+ */
+
+/* Import Sass mixins, variables, Compass modules, etc. */
+@import "init";
+
+/* HTML element (SMACSS base) rules */
+@import "normalize-rtl";
+
+/* Layout rules */
+@import "layouts/responsive-rtl";
+
+/* Component (SMACSS module) rules */
+@import "components/misc-rtl";
+
+/* SMACSS theme rules */
+/* @import "theme-A-rtl"; */
+/* @import "theme-B-rtl"; */
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/sass/styles.scss
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/sass/styles.scss Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,25 @@
+/**
+ * @file
+ * Styles are organized using the SMACSS technique. @see http://smacss.com/book/
+ *
+ * When you turn on CSS aggregation at admin/config/development/performance, all
+ * of these @include files will be combined into a single file.
+ */
+
+/* Import Sass mixins, variables, Compass modules, etc. */
+@import "init";
+
+/* HTML element (SMACSS base) rules */
+@import "normalize";
+
+/* Layout rules */
+@import "layouts/responsive";
+
+/* Component (SMACSS module) rules */
+@import "components/misc";
+// Optionally, add your own components here.
+@import "print";
+
+/* SMACSS theme rules */
+/* @import "theme-A"; */
+/* @import "theme-B"; */
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/screenshot.png
Binary file sites/all/themes/zen/STARTERKIT/screenshot.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/template.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/template.php Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,132 @@
+type;
+ if (function_exists($function)) {
+ $function($variables, $hook);
+ }
+}
+// */
+
+/**
+ * Override or insert variables into the comment templates.
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered ("comment" in this case.)
+ */
+/* -- Delete this line if you want to use this function
+function STARTERKIT_preprocess_comment(&$variables, $hook) {
+ $variables['sample_variable'] = t('Lorem ipsum.');
+}
+// */
+
+/**
+ * Override or insert variables into the region templates.
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered ("region" in this case.)
+ */
+/* -- Delete this line if you want to use this function
+function STARTERKIT_preprocess_region(&$variables, $hook) {
+ // Don't use Zen's region--sidebar.tpl.php template for sidebars.
+ //if (strpos($variables['region'], 'sidebar_') === 0) {
+ // $variables['theme_hook_suggestions'] = array_diff($variables['theme_hook_suggestions'], array('region__sidebar'));
+ //}
+}
+// */
+
+/**
+ * Override or insert variables into the block templates.
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered ("block" in this case.)
+ */
+/* -- Delete this line if you want to use this function
+function STARTERKIT_preprocess_block(&$variables, $hook) {
+ // Add a count to all the blocks in the region.
+ // $variables['classes_array'][] = 'count-' . $variables['block_id'];
+
+ // By default, Zen will use the block--no-wrapper.tpl.php for the main
+ // content. This optional bit of code undoes that:
+ //if ($variables['block_html_id'] == 'block-system-main') {
+ // $variables['theme_hook_suggestions'] = array_diff($variables['theme_hook_suggestions'], array('block__no_wrapper'));
+ //}
+}
+// */
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/templates/README.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/templates/README.txt Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,100 @@
+TEMPLATES
+---------
+
+Drupal 7 contains the following template files which you can override and modify
+by copying them to your sub-theme.
+
+The Zen theme overrides a handful of Drupal's templates. In order to override
+those templates, you should copy them from the zen/templates folder to your
+sub-theme's templates folder.
+
+As always, when adding a new template file to your sub-theme, you will need to
+rebuild the "theme registry" in order for Drupal to see it. For more info, see:
+ https://drupal.org/node/173880#theme-registry
+
+Located in zen/templates:
+ html.tpl.php
+ page.tpl.php
+ maintenance-page.tpl.php
+ node.tpl.php
+ region.tpl.php
+ region--footer.tpl.php
+ region--sidebar.tpl.php
+ region--no-wrapper.tpl.php
+ block.tpl.php
+ block--no-wrapper.tpl.php
+ comment-wrapper.tpl.php
+ comment.tpl.php
+ user-picture.tpl.php
+
+Located in /modules/aggregator:
+ aggregator-feed-source.tpl.php
+ aggregator-item.tpl.php
+ aggregator-summary-item.tpl.php
+ aggregator-summary-items.tpl.php
+ aggregator-wrapper.tpl.php
+
+Located in /modules/block:
+ block.tpl.php (overridden by Zen)
+ block-admin-display-form.tpl.php
+
+Located in /modules/book:
+ book-all-books-block.tpl.php
+ book-export-html.tpl.php
+ book-navigation.tpl.php
+ book-node-export-html.tpl.php
+
+Located in /modules/comment:
+ comment-wrapper.tpl.php (overridden by Zen)
+ comment.tpl.php (overridden by Zen)
+
+Located in /modules/field/theme:
+ field.tpl.php (not used; core uses theme_field() instead)
+
+Located in /modules/forum:
+ forum-icon.tpl.php
+ forum-list.tpl.php
+ forum-submitted.tpl.php
+ forum-topic-list.tpl.php
+ forums.tpl.php
+
+Located in /modules/node:
+ node.tpl.php (overridden by Zen)
+
+Located in /modules/overlay:
+ overlay.tpl.php
+
+Located in /modules/poll:
+ poll-bar--block.tpl.php
+ poll-bar.tpl.php
+ poll-results--block.tpl.php
+ poll-results.tpl.php
+ poll-vote.tpl.php
+
+Located in /modules/profile:
+ profile-block.tpl.php
+ profile-listing.tpl.php
+ profile-wrapper.tpl.php
+
+Located in /modules/search:
+ search-block-form.tpl.php
+ search-result.tpl.php
+ search-results.tpl.php
+
+Located in /modules/system:
+ html.tpl.php (overridden by Zen)
+ maintenance-page.tpl.php (overridden by Zen)
+ page.tpl.php (overridden by Zen)
+ region.tpl.php (overridden by Zen)
+
+Located in /modules/taxonomy:
+ taxonomy-term.tpl.php
+
+Located in /modules/toolbar:
+ toolbar.tpl.php
+
+Located in /modules/user:
+ user-picture.tpl.php (overridden by Zen)
+ user-profile-category.tpl.php
+ user-profile-item.tpl.php
+ user-profile.tpl.php
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/STARTERKIT/theme-settings.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/STARTERKIT/theme-settings.php Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,33 @@
+ 'checkbox',
+ '#title' => t('STARTERKIT sample setting'),
+ '#default_value' => theme_get_setting('STARTERKIT_example'),
+ '#description' => t("This option doesn't do anything; it's just an example."),
+ );
+ // */
+
+ // Remove some of the base theme's settings.
+ /* -- Delete this line if you want to turn off this setting.
+ unset($form['themedev']['zen_wireframes']); // We don't need to toggle wireframes on this site.
+ // */
+
+ // We are editing the $form in place, so we don't need to return anything.
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/js/html5-respond.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/js/html5-respond.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,15 @@
+/*
+ HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+*/
+(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
+a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x";
+c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
+"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
+for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);
+
+/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
+(function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/js/html5.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/js/html5.js Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,8 @@
+/*
+ HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+*/
+(function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
+a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x";
+c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
+"undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup main mark meter nav output progress section summary time video",version:"3.6.2",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment();
+for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d #mq-test-1 { width: 42px; }';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document);
+
+/*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
+(function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body");x.style.background="none"}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this);
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/logo.png
Binary file sites/all/themes/zen/logo.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/panels-layouts/zen-no-wrapper/icon.png
Binary file sites/all/themes/zen/panels-layouts/zen-no-wrapper/icon.png has changed
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/panels-layouts/zen-no-wrapper/zen-no-wrapper.tpl.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/panels-layouts/zen-no-wrapper/zen-no-wrapper.tpl.php Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,22 @@
+';
+ print $content['main'];
+ print '';
+}
+else {
+ print $content['main'];
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/panels-layouts/zen-no-wrapper/zen_no_wrapper.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/panels-layouts/zen-no-wrapper/zen_no_wrapper.inc Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,88 @@
+ t('No wrapper'),
+ 'category' => t('Columns: 1'),
+ 'icon' => 'icon.png',
+
+ 'theme' => 'zen_no_wrapper',
+
+ 'regions' => array(
+ 'main' => t('Main'),
+ ),
+
+ 'settings form' => 'zen_no_wrapper_settings_form',
+ 'settings validate' => 'zen_no_wrapper_settings_validate',
+ 'settings submit' => 'zen_no_wrapper_settings_submit',
+);
+
+/**
+ * Form for layout settings.
+ */
+function zen_no_wrapper_settings_form(&$display, $layout, $settings) {
+ $form = array();
+
+ $form['layout_settings'] = array(
+ '#type' => 'fieldset',
+ '#title' => t('Layout settings'),
+ '#description' => t('Note: if this setting is used, a wrapper div will be added to accomodate the needed classes.'),
+ '#collapsible' => TRUE,
+ '#collapsed' => TRUE,
+ );
+
+ // Create a classes text field for each region in the layout.
+ foreach ($layout['regions'] as $region => $label) {
+ $form['layout_settings'][$region . '_classes'] = array(
+ '#type' => 'textfield',
+ '#title' => t('Classes for the “@region” region', array('@region' => $label)),
+ '#default_value' => isset($settings[$region . '_classes']) ? $settings[$region . '_classes'] : '',
+ '#description' => t('CSS class (or classes) to apply to the @region region in the layout. This may be blank.', array('@region' => $label)),
+ );
+ }
+
+ return $form;
+}
+
+/**
+ * Form validation for layout settings.
+ */
+function zen_no_wrapper_settings_validate(&$form_state, $form, &$display, $layout, $settings) {
+ // Since we allow underscores, change the css filter from Drupal's default.
+ $filter = array(' ' => '-', '/' => '-', '[' => '-', ']' => '');
+ foreach (array_keys($layout['regions']) as $region) {
+ // Ensure that each class is valid.
+ foreach (explode(' ', $form_state['layout_settings'][$region . '_classes']) as $class) {
+ $cleaned_class = drupal_clean_css_identifier($class, $filter);
+ // CSS identifiers can't start with a number or a dash and a number.
+ $cleaned_class = preg_replace('/^\-?\d+/', '', $cleaned_class);
+ if ($class != $cleaned_class) {
+ form_set_error($region . '_classes', t('The class "@class" is invalid. Here’s an alternative class name that is valid: @alternate', array('@class' => $class, '@alternate' => $cleaned_class)));
+ }
+ }
+ }
+}
+
+/**
+ * Form submit handler for layout settings.
+ */
+function zen_no_wrapper_settings_submit(&$form_state, &$display, $layout, $settings) {
+ // Move the settings out of the 'layout_settings' array.
+ foreach (array_keys($form_state['layout_settings']) as $key) {
+ $form_state[$key] = $form_state['layout_settings'][$key];
+ }
+ unset($form_state['layout_settings']);
+}
+
+/**
+ * Implements hook_preprocess_HOOK().
+ */
+function template_preprocess_zen_no_wrapper(&$variables, $hook) {
+ foreach (array_keys($variables['layout']['regions']) as $region) {
+ // Pull out the region classes to easy-to-handle variables.
+ $variables[$region . '_classes'] = !empty($variables['settings'][$region . '_classes']) ? ' ' . $variables['settings'][$region . '_classes'] : '';
+ }
+}
diff -r 67ce89da90df -r b74b41bb73f0 sites/all/themes/zen/template.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/themes/zen/template.php Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,705 @@
+';
+ $output .= '
' . $variables['title'] . '
';
+ $output .= '
' . implode($breadcrumb_separator . '
', $breadcrumb) . $trailing_separator . '
';
+ $output .= '';
+ }
+ }
+
+ return $output;
+}
+
+/**
+ * Override or insert variables into the html template.
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered. This is usually "html", but can
+ * also be "maintenance_page" since zen_preprocess_maintenance_page() calls
+ * this function to have consistent variables.
+ */
+function zen_preprocess_html(&$variables, $hook) {
+ // Add variables and paths needed for HTML5 and responsive support.
+ $variables['base_path'] = base_path();
+ $variables['path_to_zen'] = drupal_get_path('theme', 'zen');
+ // Get settings for HTML5 and responsive support. array_filter() removes
+ // items from the array that have been disabled.
+ $html5_respond_meta = array_filter((array) theme_get_setting('zen_html5_respond_meta'));
+ $variables['add_respond_js'] = in_array('respond', $html5_respond_meta);
+ $variables['add_html5_shim'] = in_array('html5', $html5_respond_meta);
+ $variables['default_mobile_metatags'] = in_array('meta', $html5_respond_meta);
+
+ // If the user is silly and enables Zen as the theme, add some styles.
+ if ($GLOBALS['theme'] == 'zen') {
+ include_once './' . $variables['path_to_zen'] . '/zen-internals/template.zen.inc';
+ _zen_preprocess_html($variables, $hook);
+ }
+
+ // Attributes for html element.
+ $variables['html_attributes_array'] = array(
+ 'lang' => $variables['language']->language,
+ 'dir' => $variables['language']->dir,
+ );
+
+ // Send X-UA-Compatible HTTP header to force IE to use the most recent
+ // rendering engine or use Chrome's frame rendering engine if available.
+ // This also prevents the IE compatibility mode button to appear when using
+ // conditional classes on the html tag.
+ if (is_null(drupal_get_http_header('X-UA-Compatible'))) {
+ drupal_add_http_header('X-UA-Compatible', 'IE=edge,chrome=1');
+ }
+
+ $variables['skip_link_anchor'] = theme_get_setting('zen_skip_link_anchor');
+ $variables['skip_link_text'] = theme_get_setting('zen_skip_link_text');
+
+ // Return early, so the maintenance page does not call any of the code below.
+ if ($hook != 'html') {
+ return;
+ }
+
+ // Serialize RDF Namespaces into an RDFa 1.1 prefix attribute.
+ if ($variables['rdf_namespaces']) {
+ $prefixes = array();
+ foreach (explode("\n ", ltrim($variables['rdf_namespaces'])) as $namespace) {
+ // Remove xlmns: and ending quote and fix prefix formatting.
+ $prefixes[] = str_replace('="', ': ', substr($namespace, 6, -1));
+ }
+ $variables['rdf_namespaces'] = ' prefix="' . implode(' ', $prefixes) . '"';
+ }
+
+ // Classes for body element. Allows advanced theming based on context
+ // (home page, node of certain type, etc.)
+ if (!$variables['is_front']) {
+ // Add unique class for each page.
+ $path = drupal_get_path_alias($_GET['q']);
+ // Add unique class for each website section.
+ list($section, ) = explode('/', $path, 2);
+ $arg = explode('/', $_GET['q']);
+ if ($arg[0] == 'node' && isset($arg[1])) {
+ if ($arg[1] == 'add') {
+ $section = 'node-add';
+ }
+ elseif (isset($arg[2]) && is_numeric($arg[1]) && ($arg[2] == 'edit' || $arg[2] == 'delete')) {
+ $section = 'node-' . $arg[2];
+ }
+ }
+ $variables['classes_array'][] = drupal_html_class('section-' . $section);
+ }
+ if (theme_get_setting('zen_wireframes')) {
+ $variables['classes_array'][] = 'with-wireframes'; // Optionally add the wireframes style.
+ }
+ // Store the menu item since it has some useful information.
+ $variables['menu_item'] = menu_get_item();
+ if ($variables['menu_item']) {
+ switch ($variables['menu_item']['page_callback']) {
+ case 'views_page':
+ // Is this a Views page?
+ $variables['classes_array'][] = 'page-views';
+ break;
+ case 'page_manager_blog':
+ case 'page_manager_blog_user':
+ case 'page_manager_contact_site':
+ case 'page_manager_contact_user':
+ case 'page_manager_node_add':
+ case 'page_manager_node_edit':
+ case 'page_manager_node_view_page':
+ case 'page_manager_page_execute':
+ case 'page_manager_poll':
+ case 'page_manager_search_page':
+ case 'page_manager_term_view_page':
+ case 'page_manager_user_edit_page':
+ case 'page_manager_user_view_page':
+ // Is this a Panels page?
+ $variables['classes_array'][] = 'page-panels';
+ break;
+ }
+ }
+}
+
+/**
+ * Override or insert variables into the html templates.
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered ("html" in this case.)
+ */
+function zen_process_html(&$variables, $hook) {
+ // Flatten out html_attributes.
+ $variables['html_attributes'] = drupal_attributes($variables['html_attributes_array']);
+}
+
+/**
+ * Override or insert variables in the html_tag theme function.
+ */
+function zen_process_html_tag(&$variables) {
+ $tag = &$variables['element'];
+
+ if ($tag['#tag'] == 'style' || $tag['#tag'] == 'script') {
+ // Remove redundant type attribute and CDATA comments.
+ unset($tag['#attributes']['type'], $tag['#value_prefix'], $tag['#value_suffix']);
+
+ // Remove media="all" but leave others unaffected.
+ if (isset($tag['#attributes']['media']) && $tag['#attributes']['media'] === 'all') {
+ unset($tag['#attributes']['media']);
+ }
+ }
+}
+
+/**
+ * Implement hook_html_head_alter().
+ */
+function zen_html_head_alter(&$head) {
+ // Simplify the meta tag for character encoding.
+ if (isset($head['system_meta_content_type']['#attributes']['content'])) {
+ $head['system_meta_content_type']['#attributes'] = array('charset' => str_replace('text/html; charset=', '', $head['system_meta_content_type']['#attributes']['content']));
+ }
+}
+
+/**
+ * Override or insert variables into the page template.
+ *
+ * @param $variables
+ * 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(&$variables, $hook) {
+ // Find the title of the menu used by the secondary links.
+ $secondary_links = variable_get('menu_secondary_links_source', 'user-menu');
+ if ($secondary_links) {
+ $menus = function_exists('menu_get_menus') ? menu_get_menus() : menu_list_system_menus();
+ $variables['secondary_menu_heading'] = $menus[$secondary_links];
+ }
+ else {
+ $variables['secondary_menu_heading'] = '';
+ }
+}
+
+/**
+ * Override or insert variables into the maintenance page template.
+ *
+ * @param $variables
+ * 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(&$variables, $hook) {
+ zen_preprocess_html($variables, $hook);
+ // There's nothing maintenance-related in zen_preprocess_page(). Yet.
+ //zen_preprocess_page($variables, $hook);
+}
+
+/**
+ * Override or insert variables into the maintenance page template.
+ *
+ * @param $variables
+ * 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_process_maintenance_page(&$variables, $hook) {
+ zen_process_html($variables, $hook);
+ // Ensure default regions get a variable. Theme authors often forget to remove
+ // a deleted region's variable in maintenance-page.tpl.
+ foreach (array('header', 'navigation', 'highlighted', 'help', 'content', 'sidebar_first', 'sidebar_second', 'footer', 'bottom') as $region) {
+ if (!isset($variables[$region])) {
+ $variables[$region] = '';
+ }
+ }
+}
+
+/**
+ * Override or insert variables into the node templates.
+ *
+ * @param $variables
+ * 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(&$variables, $hook) {
+ // Add $unpublished variable.
+ $variables['unpublished'] = (!$variables['status']) ? TRUE : FALSE;
+
+ // Add pubdate to submitted variable.
+ $variables['pubdate'] = '';
+ if ($variables['display_submitted']) {
+ $variables['submitted'] = t('Submitted by !username on !datetime', array('!username' => $variables['name'], '!datetime' => $variables['pubdate']));
+ }
+
+ // Add a class for the view mode.
+ if (!$variables['teaser']) {
+ $variables['classes_array'][] = 'view-mode-' . $variables['view_mode'];
+ }
+
+ // Add a class to show node is authored by current user.
+ if ($variables['uid'] && $variables['uid'] == $GLOBALS['user']->uid) {
+ $variables['classes_array'][] = 'node-by-viewer';
+ }
+
+ $variables['title_attributes_array']['class'][] = 'node__title';
+ $variables['title_attributes_array']['class'][] = 'node-title';
+}
+
+/**
+ * Override or insert variables into the comment templates.
+ *
+ * @param $variables
+ * 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(&$variables, $hook) {
+ // If comment subjects are disabled, don't display them.
+ if (variable_get('comment_subject_field_' . $variables['node']->type, 1) == 0) {
+ $variables['title'] = '';
+ }
+
+ // Add pubdate to submitted variable.
+ $variables['pubdate'] = '';
+ $variables['submitted'] = t('!username replied on !datetime', array('!username' => $variables['author'], '!datetime' => $variables['pubdate']));
+
+ // Zebra striping.
+ if ($variables['id'] == 1) {
+ $variables['classes_array'][] = 'first';
+ }
+ if ($variables['id'] == $variables['node']->comment_count) {
+ $variables['classes_array'][] = 'last';
+ }
+ $variables['classes_array'][] = $variables['zebra'];
+
+ $variables['title_attributes_array']['class'][] = 'comment__title';
+ $variables['title_attributes_array']['class'][] = 'comment-title';
+}
+
+/**
+ * Preprocess variables for region.tpl.php
+ *
+ * @param $variables
+ * An array of variables to pass to the theme template.
+ * @param $hook
+ * The name of the template being rendered ("region" in this case.)
+ */
+function zen_preprocess_region(&$variables, $hook) {
+ // Sidebar regions get some extra classes and a common template suggestion.
+ if (strpos($variables['region'], 'sidebar_') === 0) {
+ $variables['classes_array'][] = 'column';
+ $variables['classes_array'][] = 'sidebar';
+ // Allow a region-specific template to override Zen's region--sidebar.
+ array_unshift($variables['theme_hook_suggestions'], 'region__sidebar');
+ }
+ // Use a template with no wrapper for the content region.
+ elseif ($variables['region'] == 'content') {
+ // Allow a region-specific template to override Zen's region--no-wrapper.
+ array_unshift($variables['theme_hook_suggestions'], 'region__no_wrapper');
+ }
+ // Add a SMACSS-style class for header region.
+ elseif ($variables['region'] == 'header') {
+ array_unshift($variables['classes_array'], 'header__region');
+ }
+}
+
+/**
+ * Override or insert variables into the block templates.
+ *
+ * @param $variables
+ * 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(&$variables, $hook) {
+ // Use a template with no wrapper for the page's main content.
+ if ($variables['block_html_id'] == 'block-system-main') {
+ $variables['theme_hook_suggestions'][] = 'block__no_wrapper';
+ }
+
+ // Classes describing the position of the block within the region.
+ if ($variables['block_id'] == 1) {
+ $variables['classes_array'][] = 'first';
+ }
+ // The last_in_region property is set in zen_page_alter().
+ if (isset($variables['block']->last_in_region)) {
+ $variables['classes_array'][] = 'last';
+ }
+ $variables['classes_array'][] = $variables['block_zebra'];
+
+ $variables['title_attributes_array']['class'][] = 'block__title';
+ $variables['title_attributes_array']['class'][] = 'block-title';
+
+ // Add Aria Roles via attributes.
+ switch ($variables['block']->module) {
+ case 'system':
+ switch ($variables['block']->delta) {
+ case 'main':
+ // Note: the "main" role goes in the page.tpl, not here.
+ break;
+ case 'help':
+ case 'powered-by':
+ $variables['attributes_array']['role'] = 'complementary';
+ break;
+ default:
+ // Any other "system" block is a menu block.
+ $variables['attributes_array']['role'] = 'navigation';
+ break;
+ }
+ break;
+ case 'menu':
+ case 'menu_block':
+ case 'blog':
+ case 'book':
+ case 'comment':
+ case 'forum':
+ case 'shortcut':
+ case 'statistics':
+ $variables['attributes_array']['role'] = 'navigation';
+ break;
+ case 'search':
+ $variables['attributes_array']['role'] = 'search';
+ break;
+ case 'help':
+ case 'aggregator':
+ case 'locale':
+ case 'poll':
+ case 'profile':
+ $variables['attributes_array']['role'] = 'complementary';
+ break;
+ case 'node':
+ switch ($variables['block']->delta) {
+ case 'syndicate':
+ $variables['attributes_array']['role'] = 'complementary';
+ break;
+ case 'recent':
+ $variables['attributes_array']['role'] = 'navigation';
+ break;
+ }
+ break;
+ case 'user':
+ switch ($variables['block']->delta) {
+ case 'login':
+ $variables['attributes_array']['role'] = 'form';
+ break;
+ case 'new':
+ case 'online':
+ $variables['attributes_array']['role'] = 'complementary';
+ break;
+ }
+ break;
+ }
+}
+
+/**
+ * Override or insert variables into the block templates.
+ *
+ * @param $variables
+ * 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_process_block(&$variables, $hook) {
+ // Drupal 7 should use a $title variable instead of $block->subject.
+ $variables['title'] = isset($variables['block']->subject) ? $variables['block']->subject : '';
+}
+
+/**
+ * Implements hook_page_alter().
+ *
+ * Look for the last block in the region. This is impossible to determine from
+ * within a preprocess_block function.
+ *
+ * @param $page
+ * Nested array of renderable elements that make up the page.
+ */
+function zen_page_alter(&$page) {
+ // Look in each visible region for blocks.
+ foreach (system_region_list($GLOBALS['theme'], REGIONS_VISIBLE) as $region => $name) {
+ if (!empty($page[$region])) {
+ // Find the last block in the region.
+ $blocks = array_reverse(element_children($page[$region]));
+ while ($blocks && !isset($page[$region][$blocks[0]]['#block'])) {
+ array_shift($blocks);
+ }
+ if ($blocks) {
+ $page[$region][$blocks[0]]['#block']->last_in_region = TRUE;
+ }
+ }
+ }
+}
+
+/**
+ * Implements hook_form_BASE_FORM_ID_alter().
+ *
+ * Prevent user-facing field styling from screwing up node edit forms by
+ * renaming the classes on the node edit form's field wrappers.
+ */
+function zen_form_node_form_alter(&$form, &$form_state, $form_id) {
+ // Remove if #1245218 is backported to D7 core.
+ foreach (array_keys($form) as $item) {
+ if (strpos($item, 'field_') === 0) {
+ if (!empty($form[$item]['#attributes']['class'])) {
+ foreach ($form[$item]['#attributes']['class'] as &$class) {
+ // Core bug: the field-type-text-with-summary class is used as a JS hook.
+ if ($class != 'field-type-text-with-summary' && strpos($class, 'field-type-') === 0 || strpos($class, 'field-name-') === 0) {
+ // Make the class different from that used in theme_field().
+ $class = 'form-' . $class;
+ }
+ }
+ }
+ }
+ }
+}
+
+/**
+ * Returns HTML for primary and secondary local tasks.
+ *
+ * @ingroup themeable
+ */
+function zen_menu_local_tasks(&$variables) {
+ $output = '';
+
+ // Add theme hook suggestions for tab type.
+ foreach (array('primary', 'secondary') as $type) {
+ if (!empty($variables[$type])) {
+ foreach (array_keys($variables[$type]) as $key) {
+ if (isset($variables[$type][$key]['#theme']) && ($variables[$type][$key]['#theme'] == 'menu_local_task' || is_array($variables[$type][$key]['#theme']) && in_array('menu_local_task', $variables[$type][$key]['#theme']))) {
+ $variables[$type][$key]['#theme'] = array('menu_local_task__' . $type, 'menu_local_task');
+ }
+ }
+ }
+ }
+
+ if (!empty($variables['primary'])) {
+ $variables['primary']['#prefix'] = '