Mercurial > hg > mpiwgzen_wide
changeset 0:a3750d724105 default tip
initital
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.rb Tue Jun 02 09:16:36 2015 +0200 @@ -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} : {}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/components/.goutputstream-N0UIPX Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,1199 @@ +/** + * @file + * SMACSS Modules + * + * Adds modular sets of styles. + * + * Additional useful selectors can be found in Zen's online documentation. + * https://drupal.org/node/1707736 + * + * This file was renamed from misc.css to theme.css + */ + +/** + * 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. + */ + +#header { + border-bottom: 0.667em solid #9da0c2; +} + +/* MPIWG backlink for external users. */ +#mpiwg-backlink { + display: block; + margin-bottom: 1em; + font-style: italic; +} + +/* Wrapping link for logo. */ +.header__logo { + float: left; /* LTR */ + margin: 0; + margin-right: 2.083em; + padding: 0; + padding-top: 0.750em; +} + +/* Logo image. */ +.header__logo-image { + vertical-align: bottom; +} + +/* Wrapper for website name and slogan. */ +.header__name-and-slogan { + float: left; + padding-top: 0.750em; + margin-bottom: 1.083em; +} + +/* The name of the website. */ +.header__site-name { + margin: 0; + font-size: 2.5em; + line-height: 0.8em; + font-weight: normal; +} + +/* The link around the name of the website. */ +.header__site-link:link, +.header__site-link:visited { + text-decoration: none; + color: #3c4286; +} + +/* The slogan (or tagline) of a website. */ +.header__site-slogan { + margin: 0.25em 0 0; + color: #3c4286; +} + +/* The MPIWG-Logo on the right. */ +.header__logo-image-mpi { + float: right; + top: 0px; +} + +/* 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; +} + +.region-navigation .block, #main-menu { + margin-top: 0.667em; +} + +/* 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 */ + margin: 0 3.25em 0 0; /* LTR */ + list-style-type: none; + list-style-image: none; + background: none; + padding: 0; + position: relative; +} + +/* The active item in the main-menu. */ + +#navigation .menu a.active, #navigation .menu a:hover { + border-top: 0.667em solid #d45a00; + padding-top: 0.75em; + font-weight: bold; + color: #d45a00; + text-decoration: none; +} + +/* The active item in a Drupal menu. */ +.menu a.active { + color: #000; +} + +/* Internal menu*/ +#block-menu-menu-internal-menu{ + float: right; + top: -0.667em; +} + +/* Log in menu*/ +#block-menu-menu-login-external{ + float: right; + margin-top: 0; +} + +/* Internal an log in menu stick to right */ +#block-menu-menu-internal-menu li, +#block-menu-menu-login-external li { + margin: 0 0 0 3.25em !important; +} + + +/* sub menu */ +#navigation .menu li ul { + visibility: hidden; + position: absolute; + transition: visibility 0.1s ease-in; + z-index: 999; + background: #f7f7f7; + margin-top: 0.5em; + min-width: 100%; +} + +#navigation .menu li ul li{ + margin: 0 !important; +} + +#navigation .menu li:hover > ul, +#navigation .menu li ul:hover { + visibility: visible; +} + +#navigation .menu li ul li{ + float: none; + border-top: 1px solid #3c4286; + padding: 0.5em 0; +} + +#navigation .menu li ul li a.active, +#navigation .menu li ul li a:hover{ + border: none; + color: #3c4286; +} + +#navigation li.expanded > a { + background-image: url('../../images/iconPixels/pfeil-unten.png'); + background-repeat: no-repeat; + background-position: right center; + padding-right: 1em; +} + +/** + * Breadcrumb navigation. + */ +.breadcrumb ol { + margin: 0; + padding: 0; +} +.breadcrumb li { + display: inline; + list-style-type: none; + margin: 0; + padding: 0; +} + +/** + * Content + */ + +#content { + border-top: 1px solid #3c4286; + padding-top: 0.5em; +} + + +/** + * 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; +} + +.block__title { /* Block title. */ + font-size: 1em; + font-weight: bold; + color: #3c4286; + line-height: 1em; + margin-bottom: 0.5em; +} + +#content h1 { + font-size: 1em; + color: #3c4286; + font-weight: bold; + display: inline; +} + +/** + * All forms, input boxes etc. + */ +input[type=text], input[type=password] { + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +/** + * Browse and all it's elements + */ +div.tool, div.tool div, form.autosubmit{ + display: inline; +} + +div.atoz-wrapper{ + display: block !important; + margin: 1.2em auto 0 auto; + text-align: center; + padding-bottom: 1em; + border-bottom: 1px solid #3c4286; +} + +div.atoz { + display: inline-block !important; + text-align: left; +} + +div.atoz li, div.atoz a { + padding: 0; + margin: 0; +} + +div.atoz a { + display: inline-block; + min-width: 1.66em; /*XXX 1.667em*/ + background-color: #ebecf3; + text-align: center; +} + +div.atoz a.active, div.atoz a:hover { + color: #ebecf3; + background-color: #3c4286; + text-decoration: none; +} + +#atoz-other { + padding: 0 0.5em; +} + +div.atoz p{ + font-size: 0.75em; /*9px*/ + color: #9DA0C2; + margin: 0.333em 0 1.333em; /*3px 0 12px*/ +} + +div.atoz input.inputfield{ + width:100%; + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +div.atoz input.inputfield:focus, +div.atoz input.inputfield.focus { + border: solid 1px #3c4286; +} + +/* Pager */ +ul.pager li { + padding: 0; +} + +ul.pager a, li.pager-current { + padding: 0 0.25em !important; +} + +li.pager-current { + color: #3c4286; +} + +li.pager-previous { + padding: 0 0.5em 0 1em !important; +} + +li.pager-next { + padding: 0 1em 0 0.5em !important; +} + +#toppager { + border-bottom: 1px solid #3c4286; +} + +#bottompager { + border-top: 1px solid #3c4286; +} + +/** + * Search + */ + +div.search-results { + width: 100%; +} + +div.single-result { + width: 100%; + min-height: 11.5em; + padding-top: 1em; + border-bottom: 1px solid #9da0c2; +} + +div.thumbnail { + float: left; + height: 7.5em; + width: 6.5em; + padding: 0 1.5em 0 1em; + margin-bottom: 0.5em; + text-align: right; +} + +div.thumbnail img{ + max-height: 7.5em; +/* max-width: 4em;*/ + margin: 0 auto; +} + +div.search-result-meta { + padding-left: 1.5em; +} + +table.search-results { + float: left; + padding-left: 1.5em; +} + +.search-results tbody{ + border: none; +} + +tr.solrsearch-result { + border-bottom: 1px solid #9da0c2; +} + +/* Styles for modal forms, esp. login */ + +div.modal-forms-modal-content { + background: transparent; + color: #000; + font: 12px Verdana, Arial, sans-serif; + border: 0; + margin: 0; + padding: 0; +} + +div.modal-forms-modal-content .popups-container { + overflow: hidden; + height: 100%; + background: #f7f7f7; + text-align: left; + border: 1px solid #3c4286; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; +} + +div.modal-forms-modal-content .modal-header { + background-color: transparent; + padding: 1em 1.5em 0 1.5em; + min-height: 25px; +} + +div.modal-forms-modal-content .modal-title { + display: inline; + color: #3c4286; + font-size: 100%; +} + +div.popups-container>div.modal-scroll { + padding: 0 1.5em 0 1.5em; +} + +#modal-content { + padding: 0; +} + +#user-login label, +#user-login div.description{ + display: none; +} + +#user-login div.form-item { + margin: 1em 0; +} + +div.modal-forms-modal-content .popups-close { + float: right; + cursor: pointer; + background: none; +/* background: url(../images/controls.png) -25px 0px no-repeat;*/ + width: 25px; + height: 25px; + text-indent: 100%; +/* white-space: nowrap;*/ + overflow: hidden; +} + +div.modal-forms-modal-content .popups-close:after { + content: "X"; + position: absolute; + top: 0.8em; + left: -2em; + color: #3c4286; + font-size: 1.2em; + font-weight: bold; +} + +div.modal-forms-modal-content .popups-close:hover { +/* background-position: -25px -25px;*/ +} + +#edit-actions input{ + background: #3c4286; + color: #fff; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0px; + display: inline; + position: absolute; + right: 0; + bottom: 0; + border: 1px solid #3c4286; + padding: 0.25em 1.5em; +} + +/** + * 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; + background: none; + padding: 0 0 0 2em; /* 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-top: 1em; +} + +/*collapsiblock. TODO: replace background image with triangle only and add line at bottom border*/ +div .collapsiblockCollapsed a{ + background: none; + background: url('../../images/iconPixels/blockexpand.png') no-repeat scroll left bottom; + padding-bottom: 1em; + display: block; +} + +div .collapsiblock-processed div.item-list{ + padding-bottom: 0.5em; + background: url('../../images/iconPixels/blockcollapse.png') no-repeat scroll left bottom; +} + +/* this block is not collapsible und thus needs no 'collapse-image' at the bottom TODO:replace this in production site*/ +#block-facetapi-dip0c6byh1qw7y1cvrnluvbm1tqyhiei div.item-list{ + padding-bottom: 0.5em; + background: none; + border-bottom: 1px solid #3c4286; +} + +/*Limit Block content link*/ +a.facetapi-limit-link { + display: block; + text-align: right; + font-size: 0.75em; + line-height: 0.75em; +} + +/* special bullets in block lists */ +.block ul { + list-style-type: none; + padding: 0px; + margin: 0px; +} + +.block ul li { + background-image: url('../../images/iconPixels/mpi-bullet.gif'); + background-repeat: no-repeat; + background-position: 0px 0.6em; + padding-left: 0.6em; +} + +/** + * 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; +} + +/** + * Lists + */ +/*ul { + list-style-image: url('../../images/iconPixels/mpi-bullet.gif'); +}*/ + + + + +/** + * Marker. + */ + +/* The "new" or "updated" marker. */ +.new, +.update { + color: #c00; + /* Remove background highlighting from <mark> in normalize. */ + background-color: transparent; +} + +/** + * Unpublished note. + */ + +/* The word "Unpublished" displayed underneath the content. */ +.unpublished { + height: 0; + overflow: visible; + /* Remove background highlighting from <mark> 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; +} + +/* Custom radio input; see: http://www.thecssninja.com/css/custom-inputs-using-css */ +ul.inline li:not(#foo) > input[type='radio'] { + opacity: 0; + float: left; + width: 1.5em; +} + +ul.inline li:not(#foo) > input + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 -15px no-repeat; + height: 13px; + padding: 0 0 0 1.5em; +} + +ul.inline li:not(#foo) > input[type=radio]:checked + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 0px no-repeat; +} + +label { + font-weight: normal; + color: #3c4286; + display: inline; + cursor: pointer; +} + +ul.inline li:not(#foo) > input[type=radio]:focus + label { + outline: 1px dotted; +} + +/* 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'); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/components/misc-rtl.css Tue Jun 02 09:16:36 2015 +0200 @@ -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%; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/components/theme.css Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,1489 @@ +/** + * @file + * SMACSS Modules + * + * Adds modular sets of styles. + * + * Additional useful selectors can be found in Zen's online documentation. + * https://drupal.org/node/1707736 + * + * This file was renamed from misc.css to theme.css + */ + +/** + * 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. + */ + +#header { + border-bottom: 0.667em solid #9da0c2; +} + +/* MPIWG backlink for external users. */ +#mpiwg-backlink { + display: block; + margin-bottom: 1em; + font-style: italic; +} + +/* Wrapping link for logo. */ +.header__logo { + float: left; /* LTR */ + margin: 0; + margin-right: 2.083em; + padding: 0; + padding-top: 0.750em; +} + +/* Logo image. */ +.header__logo-image { + vertical-align: bottom; +} + +/* Wrapper for website name and slogan. */ +.header__name-and-slogan { + float: left; + padding-top: 0.750em; + margin-bottom: 1.083em; +} + +/* The name of the website. */ +.header__site-name { + margin: 0; + font-size: 2.5em; + line-height: 0.8em; + font-weight: normal; +} + +/* The link around the name of the website. */ +.header__site-link:link, +.header__site-link:visited { + text-decoration: none; + color: #3c4286; +} + +/* The slogan (or tagline) of a website. */ +.header__site-slogan { + margin: 0.25em 0 0; + color: #3c4286; +} + +/* The MPIWG-Logo on the right. */ +.header__logo-image-mpi { + float: right; + top: 0px; +} + +/* 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; +} + +.region-navigation .block, #main-menu { + margin-top: 0.667em; +} + +/* 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 */ + margin: 0 3.25em 0 0; /* LTR */ + list-style-type: none; + list-style-image: none; + background: none; + padding: 0; + position: relative; +} + +/* The active item in the main-menu. */ + +#navigation .menu a.active, #navigation .menu a:hover { + border-top: 0.667em solid #d45a00; + padding-top: 0.75em; + font-weight: bold; + color: #d45a00; + text-decoration: none; +} + +/* The active item in a Drupal menu. */ +.menu a.active { + color: #000; +} + +/* Internal menu*/ +#block-menu-menu-internal-menu{ + float: right; + top: -0.667em; +} + +/* Log in menu*/ +#block-menu-menu-login-external{ + float: right; + margin-top: 0; +} + +/* Internal an log in menu stick to right */ +#block-menu-menu-internal-menu li, +#block-menu-menu-login-external li { + margin: 0 0 0 3.25em !important; +} + + +/* sub menu */ +#navigation .menu li ul { + visibility: hidden; + position: absolute; + transition: visibility 0.1s ease-in; + z-index: 999; + background: #f7f7f7; + margin-top: 0.5em; + min-width: 100%; +} + +#navigation .menu li ul li{ + margin: 0 !important; +} + +#navigation .menu li:hover > ul, +#navigation .menu li ul:hover { + visibility: visible; +} + +#navigation .menu li ul li{ + float: none; + border-top: 1px solid #3c4286; + padding: 0.5em 0; +} + +#navigation .menu li ul li a.active, +#navigation .menu li ul li a:hover{ + border: none; + color: #3c4286; +} + +#navigation li.expanded > a { + background-image: url('../../images/iconPixels/pfeil-unten.png'); + background-repeat: no-repeat; + background-position: right center; + padding-right: 1em; +} + +/** + * Breadcrumb navigation. + */ +.breadcrumb ol { + margin: 0; + padding: 0; +} +.breadcrumb li { + display: inline; + list-style-type: none; + margin: 0; + padding: 0; +} + +/** + * Content + */ + +#content { + border-top: 1px solid #3c4286; + padding-top: 0.5em; + width: 70%; + margin-left: 15%; +} + + +/** + * 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; +} + +.block__title { /* Block title. */ + font-size: 1em; + font-weight: bold; + color: #3c4286; + line-height: 1em; + margin-bottom: 0.5em; +} + +#content h1 { + font-size: 1em; + color: #3c4286; + font-weight: bold; + display: inline; +} + +/** + * All forms, input boxes etc. + */ +input[type=text], input[type=password] { + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +/** + * Browse and all it's elements + */ +div.tool, div.tool div, form.autosubmit{ + display: inline; +} + +div.atoz-wrapper{ + display: block !important; + margin: 1.2em auto 0 auto; + text-align: center; + padding-bottom: 1em; + border-bottom: 1px solid #3c4286; +} + +div.atoz { + display: inline-block !important; + text-align: left; +} + +div.atoz li, div.atoz a { + padding: 0; + margin: 0; +} + +div.atoz a { + display: inline-block; + min-width: 1.66em; /*XXX 1.667em*/ + background-color: #ebecf3; + text-align: center; +} + +div.atoz a.active, div.atoz a:hover { + color: #ebecf3; + background-color: #3c4286; + text-decoration: none; +} + +#atoz-other { + padding: 0 0.5em; +} + +div.atoz p{ + font-size: 0.75em; /*9px*/ + color: #9DA0C2; + margin: 0.333em 0 1.333em; /*3px 0 12px*/ +} + +div.atoz input.inputfield{ + width:100%; + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +div.atoz input.inputfield:focus, +div.atoz input.inputfield.focus { + border: solid 1px #3c4286; +} + +h2.resultoverview{ + padding-left: 1.5em; +} + +div.browse-list { + border-top: solid 1px #3c4286; + border-bottom: solid 1px #3c4286; + width: 100%; +} + +div.browse-list-left { + display: table-cell; + width: 27%; + padding: 0.5em 0; + padding-left: 1.5em; +} + +div.browse-list-left > a{ + overflow: hidden; +} + +ul.browse-authors, ul.browse-titles{ + list-style-type: none; + padding: 0; + width: 100%; + +} + +div.browse-list-right { + display: table-cell; + padding: 0.5em 0 0.5em 1.5em; + border-left: 1px solid #9da0c2; +} + +div.browse-list-left li.active-trail { + font-weight: bold; + border-right: 2px solid #3c4286; +} + +/* Pager */ +ul.pager li { + padding: 0; +} + +ul.pager a, li.pager-current { + padding: 0 0.25em !important; +} + +li.pager-current { + color: #3c4286; +} + +li.pager-previous { + padding: 0 0.5em 0 1em !important; +} + +li.pager-next { + padding: 0 1em 0 0.5em !important; +} + +#toppager { + border-bottom: 1px solid #3c4286; +} + +#bottompager { + border-top: 1px solid #3c4286; +} + +/** + * Search + */ + +div.search-results { + width: 100%; +} + +div.single-result, div.field-item { + width: 100%; + min-height: 11.5em; + padding-top: 1em; + border-bottom: 1px solid #9da0c2; + position:relative; +} + +div.thumbnail { + display: table-cell; + height: 7.5em; + width: 7.5em; + padding: 0 1em 0 1.5em; + margin-bottom: 0.5em; + text-align: right; + vertical-align: top; +} + +div.thumbnail img{ + max-height: 7.5em; + max-width: 7.45em; + margin: 0 auto; +} + +p.solrsearch_internal{ + color: #D45A00; + font-weight: bold; + font-size: 0.8em; + position:relative; + bottom: 1.8em; + right: 0; + background: none; +} + +div.search-result-meta, div.object-data { + padding: 0 1.5em; + display: table-cell; + vertical-align: top; +} + +/* Tools */ +div.add-annotate-tools{ + display: inline-block; + position: absolute; + top: 11.2em; + text-align: right; + width: 10.5em; + font-size: 0.85em; +} + +div.tools input{ + position:absolute; + top: 9.75em; +} + +div.moredetails, div.relatedcollections, div.edititem{ + display: inline-block; + font-size: 0.85em; + width: 30%; + position: absolute; + top: 12.9em; +} + +div.moredetails{ + left:13.5em; +} + +div.relatedcollections{ + left: 50%; +} + +div.edititem{ + right: 0; + text-align: right; +} + +div.itemdetails{ + margin-left: 11.5em; +} + +div.itemdetails div.tabs{ + visibility: hidden; +} + +div.itemdetails div.thumbnail, div.itemdetails div.object-data{ + display: none; +} + +div.itemdetails div.digitalobjects_item{ + border-top: 1px solid #9da0c2; + margin-top: -2em; +} + +div.tools a.active { + font-weight: bold; +} + +/*TODO: table things still needed?*/ +table.search-results { + width: 100%; + padding-left: 1.5em; +} + +.search-results tbody{ + border: none; +} + +tr.solrsearch-result { + border-bottom: 1px solid #9da0c2; +} + +/** + * Collection overview-start - Grid with 3 columns + */ +table.cols-3 { + border-collapse: separate; + border-spacing: 1.5em 0; + empty-cells: hide; +} + +table.cols-3 td{ + width: 30%; + padding-top: 1em; + border-bottom: solid 1px #3c4286; + position:relative; +} + +table.cols-3 td article{ + height: 13.5em; +} + +table.cols-3 tr{ +/* height: 13.5em;*/ + vertical-align: top; +} + +/*show subcollections as blocks*/ +table.cols-3 article div.teasercontent{ + height:7.5em; + width:100% +} + +table.cols-3 article div.view-content div.item-list ul{ + padding: 0; +} + +table.cols-3 article div.view-content div.item-list ul li{ + margin: 01px 0 1px; + background-color: #9da0c2; + max-height: 2.4em; + max-width: 2.4em; + overflow: hidden; + display: inline-block; + content: ''; +} + + +/* limit title in collection overview and browse to two lines and add ellipsis*/ +/* limit browse author to one line and add ellipsis*/ +table.cols-3 h2{ + padding-right: 1em; + position: relative; + max-height: 3em; + overflow: hidden; +} + +ul.browse-titles li{ + position: relative; + max-height: 3em; + overflow: hidden; +} + +ul.browse-authors li{ + position: relative; + max-height: 1.5em; + overflow: hidden; +} + +table.cols-3 h2 > a, +ul.browse-titles li > a, +ul.browse-authors li > a { + background: #f8f8f9; + display: inline; +} + + +table.cols-3 h2 > a:before, +table.cols-3 h2 > a:after, +ul.browse-titles li > a:before, +ul.browse-titles li > a:after, +ul.browse-authors li > a:before, +ul.browse-authors li > a:after { + background: inherit; + position: absolute; +} + +table.cols-3 h2 > a:before, +ul.browse-titles li > a:before, +ul.browse-authors li > a:before { + content: '\2026'; + bottom: 0; + right: 0.5em; +} + +table.cols-3 h2 > a:after, +ul.browse-titles li > a:after, +ul.browse-authors li > a:after { + content: ''; + height: 100%; + width: 100%; +} + +/*view more*/ +span.digitalcollectionmore{ + position: absolute; + display:block; + bottom: 0; + right: 0; +} + +span.digitalcollectionmore a{ + font-size: 0.75em; + line-height:0.75em; +} + +/* Styles for modal forms, esp. login */ + +div.modal-forms-modal-content { + background: transparent; + color: #000; + font: 12px Verdana, Arial, sans-serif; + border: 0; + margin: 0; + padding: 0; +} + +div.modal-forms-modal-content .popups-container { + overflow: hidden; + height: 100%; + background: #f7f7f7; + text-align: left; + border: 1px solid #3c4286; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; +} + +div.modal-forms-modal-content .modal-header { + background-color: transparent; + padding: 1em 1.5em 0 1.5em; + min-height: 25px; +} + +div.modal-forms-modal-content .modal-title { + display: inline; + color: #3c4286; + font-size: 100%; +} + +div.popups-container>div.modal-scroll { + padding: 0 1.5em 0 1.5em; +} + +#modal-content { + padding: 0; +} + +#user-login label, +#user-login div.description{ + display: none; +} + +#user-login div.form-item { + margin: 1em 0; +} + +div.modal-forms-modal-content .popups-close { + float: right; + cursor: pointer; + background: none; +/* background: url(../images/controls.png) -25px 0px no-repeat;*/ + width: 25px; + height: 25px; + text-indent: 100%; +/* white-space: nowrap;*/ + overflow: hidden; +} + +div.modal-forms-modal-content .popups-close:after { + content: "X"; + position: absolute; + top: 0.8em; + left: -2em; + color: #3c4286; + font-size: 1.2em; + font-weight: bold; +} + +div.modal-forms-modal-content .popups-close:hover { +/* background-position: -25px -25px;*/ +} + +#edit-actions input{ + background: #3c4286; + color: #fff; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0px; + display: inline; + position: absolute; + right: 0; + bottom: 0; + border: 1px solid #3c4286; + padding: 0.25em 1.5em; +} + +/** + * 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; + background: none; + padding: 0 0 0 2em; /* 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-top: 0.8em; +} + +/*collapsiblock. TODO: replace background image with triangle only and add line at bottom border*/ +div .collapsiblockCollapsed a{ + background: none; + background: url('../../images/iconPixels/blockexpand.png') no-repeat scroll left bottom; + padding-bottom: 1em; + display: block; +} + +div .collapsiblock-processed div.item-list{ + padding-bottom: 0.5em; + background: url('../../images/iconPixels/blockcollapse.png') no-repeat scroll left bottom; +} + +/* this block is not collapsible und thus needs no 'collapse-image' at the bottom TODO:replace this in production site*/ +#block-facetapi-dip0c6byh1qw7y1cvrnluvbm1tqyhiei div.item-list{ + padding-bottom: 0.5em; + background: none; + border-bottom: 1px solid #3c4286; +} + +/*Limit Block content link*/ +a.facetapi-limit-link { + display: block; + text-align: right; + font-size: 0.75em; + line-height: 0.75em; +} + +/* special bullets in block lists */ +.block ul { + list-style-type: none; + padding: 0px; + margin: 0px; +} + +.block ul li { + background-image: url('../../images/iconPixels/mpi-bullet.gif'); + background-repeat: no-repeat; + background-position: 0px 0.6em; + padding-left: 0.6em; +} + +/* reversed bullets in outer left block */ +.region-sidebar-left ul li { + background-image: url('../../images/iconPixels/mpi-bullet.gif'); + background-repeat: no-repeat; + background-position: 100% 0.7em; + padding-right: 0.5em; + padding-left: 0; +} + +.region-sidebar-left div { + text-align: right; +} + +.region-sidebar-second div.block{ + border: 1px solid #3c4286; + margin-top: 0.5em; +} + +.region-sidebar-second div.block h2, +.region-sidebar-left div.block h2{ + color: #fff; + padding: 0.2em 0.5em 0.3em; + background-color: #3c4286; +} + +.region-sidebar-second div.block-content { + padding-left: 0.5em; +} + +.region-sidebar-left div.block { + margin-top: 0.5em; +} + +div.current-search-item-reset-filters{ + margin: 3em 0; + border: 1px solid #3c4286; + padding-right: 0.5em; + font-size: 0.8em; +} + +.region-sidebar-left div.item-list{ + background: none !important; + padding: 0 !important; + margin: 0 !important; + font-weight: bold; +} + +.region-sidebar-left h4{ + color: #3c4286; + font-weight: normal; + margin: 0; +} + +.region-sidebar-left div.current-search-group { + padding-right: 0.5em; + border: 1px solid #3c4286; + margin: 1em 0; +} + +.region-sidebar-left .inline li{ + display: block; +} + +/** + * 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; +} + +/** + * Lists + */ +/*ul { + list-style-image: url('../../images/iconPixels/mpi-bullet.gif'); +}*/ + + + + +/** + * Marker. + */ + +/* The "new" or "updated" marker. */ +.new, +.update { + color: #c00; + /* Remove background highlighting from <mark> in normalize. */ + background-color: transparent; +} + +/** + * Unpublished note. + */ + +/* The word "Unpublished" displayed underneath the content. */ +.unpublished { + height: 0; + overflow: visible; + /* Remove background highlighting from <mark> 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; +} + +/* Custom radio input; see: http://www.thecssninja.com/css/custom-inputs-using-css */ +ul.inline li:not(#foo) > input[type='radio'] { + opacity: 0; + float: left; + width: 1.5em; +} + +ul.inline li:not(#foo) > input + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 -15px no-repeat; + height: 13px; + padding: 0 0 0 1.5em; +} + +ul.inline li:not(#foo) > input[type=radio]:checked + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 0px no-repeat; +} + +label { + font-weight: normal; + color: #3c4286; + display: inline; + cursor: pointer; +} + +ul.inline li:not(#foo) > input[type=radio]:focus + label { + outline: 1px dotted; +} + +/* 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'); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/components/theme.css~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,1330 @@ +/** + * @file + * SMACSS Modules + * + * Adds modular sets of styles. + * + * Additional useful selectors can be found in Zen's online documentation. + * https://drupal.org/node/1707736 + * + * This file was renamed from misc.css to theme.css + */ + +/** + * 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. + */ + +#header { + border-bottom: 0.667em solid #9da0c2; +} + +/* MPIWG backlink for external users. */ +#mpiwg-backlink { + display: block; + margin-bottom: 1em; + font-style: italic; +} + +/* Wrapping link for logo. */ +.header__logo { + float: left; /* LTR */ + margin: 0; + margin-right: 2.083em; + padding: 0; + padding-top: 0.750em; +} + +/* Logo image. */ +.header__logo-image { + vertical-align: bottom; +} + +/* Wrapper for website name and slogan. */ +.header__name-and-slogan { + float: left; + padding-top: 0.750em; + margin-bottom: 1.083em; +} + +/* The name of the website. */ +.header__site-name { + margin: 0; + font-size: 2.5em; + line-height: 0.8em; + font-weight: normal; +} + +/* The link around the name of the website. */ +.header__site-link:link, +.header__site-link:visited { + text-decoration: none; + color: #3c4286; +} + +/* The slogan (or tagline) of a website. */ +.header__site-slogan { + margin: 0.25em 0 0; + color: #3c4286; +} + +/* The MPIWG-Logo on the right. */ +.header__logo-image-mpi { + float: right; + top: 0px; +} + +/* 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; +} + +.region-navigation .block, #main-menu { + margin-top: 0.667em; +} + +/* 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 */ + margin: 0 3.25em 0 0; /* LTR */ + list-style-type: none; + list-style-image: none; + background: none; + padding: 0; + position: relative; +} + +/* The active item in the main-menu. */ + +#navigation .menu a.active, #navigation .menu a:hover { + border-top: 0.667em solid #d45a00; + padding-top: 0.75em; + font-weight: bold; + color: #d45a00; + text-decoration: none; +} + +/* The active item in a Drupal menu. */ +.menu a.active { + color: #000; +} + +/* Internal menu*/ +#block-menu-menu-internal-menu{ + float: right; + top: -0.667em; +} + +/* Log in menu*/ +#block-menu-menu-login-external{ + float: right; + margin-top: 0; +} + +/* Internal an log in menu stick to right */ +#block-menu-menu-internal-menu li, +#block-menu-menu-login-external li { + margin: 0 0 0 3.25em !important; +} + + +/* sub menu */ +#navigation .menu li ul { + visibility: hidden; + position: absolute; + transition: visibility 0.1s ease-in; + z-index: 999; + background: #f7f7f7; + margin-top: 0.5em; + min-width: 100%; +} + +#navigation .menu li ul li{ + margin: 0 !important; +} + +#navigation .menu li:hover > ul, +#navigation .menu li ul:hover { + visibility: visible; +} + +#navigation .menu li ul li{ + float: none; + border-top: 1px solid #3c4286; + padding: 0.5em 0; +} + +#navigation .menu li ul li a.active, +#navigation .menu li ul li a:hover{ + border: none; + color: #3c4286; +} + +#navigation li.expanded > a { + background-image: url('../../images/iconPixels/pfeil-unten.png'); + background-repeat: no-repeat; + background-position: right center; + padding-right: 1em; +} + +/** + * Breadcrumb navigation. + */ +.breadcrumb ol { + margin: 0; + padding: 0; +} +.breadcrumb li { + display: inline; + list-style-type: none; + margin: 0; + padding: 0; +} + +/** + * Content + */ + +#content { + border-top: 1px solid #3c4286; + padding-top: 0.5em; +} + + +/** + * 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; +} + +.block__title { /* Block title. */ + font-size: 1em; + font-weight: bold; + color: #3c4286; + line-height: 1em; + margin-bottom: 0.5em; +} + +#content h1 { + font-size: 1em; + color: #3c4286; + font-weight: bold; + display: inline; +} + +/** + * All forms, input boxes etc. + */ +input[type=text], input[type=password] { + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +/** + * Browse and all it's elements + */ +div.tool, div.tool div, form.autosubmit{ + display: inline; +} + +div.atoz-wrapper{ + display: block !important; + margin: 1.2em auto 0 auto; + text-align: center; + padding-bottom: 1em; + border-bottom: 1px solid #3c4286; +} + +div.atoz { + display: inline-block !important; + text-align: left; +} + +div.atoz li, div.atoz a { + padding: 0; + margin: 0; +} + +div.atoz a { + display: inline-block; + min-width: 1.66em; /*XXX 1.667em*/ + background-color: #ebecf3; + text-align: center; +} + +div.atoz a.active, div.atoz a:hover { + color: #ebecf3; + background-color: #3c4286; + text-decoration: none; +} + +#atoz-other { + padding: 0 0.5em; +} + +div.atoz p{ + font-size: 0.75em; /*9px*/ + color: #9DA0C2; + margin: 0.333em 0 1.333em; /*3px 0 12px*/ +} + +div.atoz input.inputfield{ + width:100%; + background-color: #ebecf3; + border: solid 1px #ebecf3; +} + +div.atoz input.inputfield:focus, +div.atoz input.inputfield.focus { + border: solid 1px #3c4286; +} + +h2.resultoverview{ + padding-left: 1.5em; +} + +div.browse-list { + border-top: solid 1px #3c4286; + border-bottom: solid 1px #3c4286; + width: 100%; +} + +div.browse-list-left { + display: table-cell; + width: 27%; + padding: 0.5em 0; + padding-left: 1.5em; +} + +div.browse-list-left > a{ + overflow: hidden; +} + +div.browse-list-left > a:active{ + font-weight: bold; +} + +#browse-list-right { + display: table-cell; + padding: 0.5em 0; + border-left: solid 1px #9da0c2; +} + +/* Pager */ +ul.pager li { + padding: 0; +} + +ul.pager a, li.pager-current { + padding: 0 0.25em !important; +} + +li.pager-current { + color: #3c4286; +} + +li.pager-previous { + padding: 0 0.5em 0 1em !important; +} + +li.pager-next { + padding: 0 1em 0 0.5em !important; +} + +#toppager { + border-bottom: 1px solid #3c4286; +} + +#bottompager { + border-top: 1px solid #3c4286; +} + +/** + * Search + */ + +div.search-results { + width: 100%; +} + +div.single-result { + width: 100%; + min-height: 11.5em; + padding-top: 1em; + border-bottom: 1px solid #9da0c2; +} + +div.thumbnail { + display: table-cell; + height: 7.5em; + width: 7.5em; + padding: 0 1.5em 0 1em; + margin-bottom: 0.5em; + text-align: right; + vertical-align: top; +} + +div.thumbnail img{ + max-height: 7.5em; + max-width: 5em; + margin: 0 auto; +} + +div.search-result-meta { + padding: 0 1.5em; + display: table-cell; + vertical-align: top; +} + +table.search-results { + width: 100%; + padding-left: 1.5em; +} + +.search-results tbody{ + border: none; +} + +tr.solrsearch-result { + border-bottom: 1px solid #9da0c2; +} + +/*Hide blocks with facets that keep showing up in main content +although not explicitly told to do so +TODO: Why are they rendered there anyway? */ +#content > div.block-facetapi { + display: none; +} + +/** + * Collection overview-start - Grid with 3 columns + */ +table.cols-3 { + border-collapse: separate; + border-spacing: 1.5em 0; +} + +table.cols-3 td{ + width: 30%; + padding-top: 1em; + border-bottom: solid 1px #3c4286; + position:relative; +} + +table.cols-3 td article{ + height: 13.5em; +} + +table.cols-3 tr{ +/* height: 13.5em;*/ + vertical-align: top; +} + +/*show subcollections as blocks*/ +table.cols-3 article div.teasercontent{ + height:7.5em; + width:100% +} + +table.cols-3 article div.view-content div.item-list ul{ + padding: 0; +} + +table.cols-3 article div.view-content div.item-list ul li{ + margin: 01px 0 1px; + background-color: #9da0c2; + max-height: 2.4em; + max-width: 2.4em; + overflow: hidden; + display: inline-block; + content: ''; +} + + +/* limit title to two lines and add ellipsis*/ +table.cols-3 h2{ + padding-right: 1em; + position: relative; + max-height: 3em; + overflow: hidden; +} + +table.cols-3 h2 > a { + background: #f8f8f9; + display: inline; +} + + +table.cols-3 h2 > a:before, +table.cols-3 h2 > a:after { + background: inherit; + position: absolute; +} + +table.cols-3 h2 > a:before { + content: '\2026'; + bottom: 0; + right: 0.5em; +} + +table.cols-3 h2 > a:after { + content: ''; + height: 100%; + width: 100%; +} + +/*view more*/ +span.digitalcollectionmore{ + position: absolute; + display:block; + bottom: 0; + right: 0; +} + +span.digitalcollectionmore a{ + font-size: 0.75em; + line-height:0.75em; +} + +/* Styles for modal forms, esp. login */ + +div.modal-forms-modal-content { + background: transparent; + color: #000; + font: 12px Verdana, Arial, sans-serif; + border: 0; + margin: 0; + padding: 0; +} + +div.modal-forms-modal-content .popups-container { + overflow: hidden; + height: 100%; + background: #f7f7f7; + text-align: left; + border: 1px solid #3c4286; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; +} + +div.modal-forms-modal-content .modal-header { + background-color: transparent; + padding: 1em 1.5em 0 1.5em; + min-height: 25px; +} + +div.modal-forms-modal-content .modal-title { + display: inline; + color: #3c4286; + font-size: 100%; +} + +div.popups-container>div.modal-scroll { + padding: 0 1.5em 0 1.5em; +} + +#modal-content { + padding: 0; +} + +#user-login label, +#user-login div.description{ + display: none; +} + +#user-login div.form-item { + margin: 1em 0; +} + +div.modal-forms-modal-content .popups-close { + float: right; + cursor: pointer; + background: none; +/* background: url(../images/controls.png) -25px 0px no-repeat;*/ + width: 25px; + height: 25px; + text-indent: 100%; +/* white-space: nowrap;*/ + overflow: hidden; +} + +div.modal-forms-modal-content .popups-close:after { + content: "X"; + position: absolute; + top: 0.8em; + left: -2em; + color: #3c4286; + font-size: 1.2em; + font-weight: bold; +} + +div.modal-forms-modal-content .popups-close:hover { +/* background-position: -25px -25px;*/ +} + +#edit-actions input{ + background: #3c4286; + color: #fff; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0px; + display: inline; + position: absolute; + right: 0; + bottom: 0; + border: 1px solid #3c4286; + padding: 0.25em 1.5em; +} + +/** + * 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; + background: none; + padding: 0 0 0 2em; /* 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-top: 1em; +} + +/*collapsiblock. TODO: replace background image with triangle only and add line at bottom border*/ +div .collapsiblockCollapsed a{ + background: none; + background: url('../../images/iconPixels/blockexpand.png') no-repeat scroll left bottom; + padding-bottom: 1em; + display: block; +} + +div .collapsiblock-processed div.item-list{ + padding-bottom: 0.5em; + background: url('../../images/iconPixels/blockcollapse.png') no-repeat scroll left bottom; +} + +/* this block is not collapsible und thus needs no 'collapse-image' at the bottom TODO:replace this in production site*/ +#block-facetapi-dip0c6byh1qw7y1cvrnluvbm1tqyhiei div.item-list{ + padding-bottom: 0.5em; + background: none; + border-bottom: 1px solid #3c4286; +} + +/*Limit Block content link*/ +a.facetapi-limit-link { + display: block; + text-align: right; + font-size: 0.75em; + line-height: 0.75em; +} + +/* special bullets in block lists */ +.block ul { + list-style-type: none; + padding: 0px; + margin: 0px; +} + +.block ul li { + background-image: url('../../images/iconPixels/mpi-bullet.gif'); + background-repeat: no-repeat; + background-position: 0px 0.6em; + padding-left: 0.6em; +} + +/** + * 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; +} + +/** + * Lists + */ +/*ul { + list-style-image: url('../../images/iconPixels/mpi-bullet.gif'); +}*/ + + + + +/** + * Marker. + */ + +/* The "new" or "updated" marker. */ +.new, +.update { + color: #c00; + /* Remove background highlighting from <mark> in normalize. */ + background-color: transparent; +} + +/** + * Unpublished note. + */ + +/* The word "Unpublished" displayed underneath the content. */ +.unpublished { + height: 0; + overflow: visible; + /* Remove background highlighting from <mark> 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; +} + +/* Custom radio input; see: http://www.thecssninja.com/css/custom-inputs-using-css */ +ul.inline li:not(#foo) > input[type='radio'] { + opacity: 0; + float: left; + width: 1.5em; +} + +ul.inline li:not(#foo) > input + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 -15px no-repeat; + height: 13px; + padding: 0 0 0 1.5em; +} + +ul.inline li:not(#foo) > input[type=radio]:checked + label { + background: url(../../images/iconPixels/radiobutton.gif) 0 0px no-repeat; +} + +label { + font-weight: normal; + color: #3c4286; + display: inline; + cursor: pointer; +} + +ul.inline li:not(#foo) > input[type=radio]:focus + label { + outline: 1px dotted; +} + +/* 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'); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/layouts/fixed-rtl.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/layouts/fixed.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/layouts/responsive-rtl.css Tue Jun 02 09:16:36 2015 +0200 @@ -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%; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/layouts/responsive.css Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,339 @@ +/** + * @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 + */ + +/* extensionm for page layout */ + +#content h1#page-title{ +font-size: 20px; +} + +/* extensions for field display */ +.field-label { +display: inline; +} + +.field-item { +display: inline; +margin-left: 4em; +} + + +.field-item p { +display: block; +margin-left: 0em; +} + + +.main-group { +width:100%; +} +.main-left { +float: left; +} + +.main-right { +float: right; +} + +/** + * 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: 75em; /* 900px */ + background-color: #F7F7F7; + border-right: solid 1px #efefef; + border-left: solid 1px #efefef; + padding: 0.5em 3.333em 0.833em 1.667em; /* 6px 40px 10px 20px */ +} + +/* Apply the shared properties of grid items in a single, efficient ruleset. */ +#header, +#content, +#navigation, +.region-sidebar-first, +.region-sidebar-second, +#footer { + padding-left: 0px; + padding-right: 0px; + -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: 2.833em; + position: relative; + } + #navigation { + /* Move the navbar up inside #main's padding. */ + position: absolute; + top: 0; + height: 2.833em; + 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: 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 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; + } + + /** + * Adding outermost left sidebar + * TODO: what behavior? also: make percent + */ + .two-sidebars .region-sidebar-left { + display: none; + } + + /* 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: 55.5em; /*666px*/ + width:80%; /*666px*/ + margin-left: 19.5em; /*216+18px*/ + margin-right: -100%; + } + + /* Span 1 column, starting in 1st column from left. */ + .sidebar-first .region-sidebar-first { + float: left; + width: 18em; + margin-left: 0%; + margin-right: -18em; + } + + /** + * Adding outermost sidebar on left sidebar + */ + .sidebar-first .region-sidebar-left { + float: left; + width: 12.5em; + margin-left: -7.1em; + margin-right: -5.4em; + } + + /** + * 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: 55.5em;*/ + width: 70%; + margin-left: 19.5em; + margin-right: -80%; + } + + /* Span 1 column, starting in 5th column from left. */ + .sidebar-second .region-sidebar-second { + float: left; + width: 18em; + margin-left: 84.5%; + margin-right: -15.5%; + } + + /** + * The layout when there are two sidebars. + */ + + /* Span 3 columns, starting in 2nd column from left. */ + .two-sidebars #content { + float: left; + width: 70% + margin-left: 19.5em; + margin-right: -36%; + } + + /* Span 1 column, starting in 1st column from left. */ + .two-sidebars .region-sidebar-first { + float: left; + width: 15%; + margin-left: -50%; + margin-right: -3em; + } + + /* Span 1 column, starting in 5th column from left. */ + .two-sidebars .region-sidebar-second { + float: left; + width: 18em; + margin-left: 38.5%; + margin-right: -100%; + } + + /** + * Adding outermost left sidebar + */ + .two-sidebars .region-sidebar-left { + float: left; + width: 12.5em; + margin-left: -14.6em; + margin-right: 0%; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/layouts/responsive.css~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,275 @@ +/** + * @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: 75em; /* 900px */ + background-color: #F7F7F7; + border-right: solid 1px #efefef; + border-left: solid 1px #efefef; + padding: 0.5em 3.333em 0.833em 1.667em; /* 6px 40px 10px 20px */ +} + +/* Apply the shared properties of grid items in a single, efficient ruleset. */ +#header, +#content, +#navigation, +.region-sidebar-first, +.region-sidebar-second, +#footer { + padding-left: 0px; + padding-right: 0px; + -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: 2.833em; + position: relative; + } + #navigation { + /* Move the navbar up inside #main's padding. */ + position: absolute; + top: 0; + height: 2.833em; + 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: 55.5em; /*666px*/ + margin-left: 19.5em; /*216+18px*/ + margin-right: -100%; + } + + /* Span 1 column, starting in 1st column from left. */ + .sidebar-first .region-sidebar-first { + float: left; + width: 18em; + margin-left: 0%; + margin-right: -18em; + } + + /** + * 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%; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/normalize-rtl.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/normalize.css Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,561 @@ +/** + * @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, Arial, sans-serif; /* 1 */ + /*mpiwg Schriften eigentlich: + font-family: Verdana, Arial, sans-serif;*/ + + /* Use a 12px base font size. 16px x 75% = 12px */ + font-size: 75%; /* 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; + background-color: #ebecf3; +} + +/** + * 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 { + text-decoration: none; + color: #3c4286; +} +a:visited { + text-decoration: none; + color: #3c4286; +} +a:hover, +a:focus { + text-decoration: underline; +} +a:active { + text-decoration: none; +} + +/* 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: 1em; + 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;*/ + color: #3c4286; + font-weight: bold; +} +h2 { + font-size: 1em; +/* line-height: 2em; /* 3rem / 1.5em = 2em */ +/* margin-top: 1em; /* 1.5rem / 1.5em = 1em */ +/* margin-bottom: 1em;*/ + color: #3c4286; +} +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: 0 0 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 15px; /* 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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/normalize.css~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,558 @@ +/** + * @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, Arial, sans-serif; /* 1 */ + /*mpiwg Schriften eigentlich: + font-family: Verdana, Arial, sans-serif;*/ + + /* Use a 12px base font size. 16px x 75% = 12px */ + font-size: 75%; /* 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; + background-color: #ebecf3; +} + +/** + * 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 { + text-decoration: none; + color: #3c4286; +} +a:visited { + text-decoration: none; + color: #3c4286; +} +a:hover, +a:focus { + text-decoration: underline; +} +a:active { + text-decoration: none; +} + +/* 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: 1em; + 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: 0 0 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 15px; /* 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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/print.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/styles-rtl.css Tue Jun 02 09:16:36 2015 +0200 @@ -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"; */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/styles.css Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,23 @@ +/** + * @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";*/ +@import "components/theme.css"; +/* Optionally, add your own components here. */ +@import "print.css"; + +/* SMACSS theme rules */ +/* @import "theme-A.css"; */ +/* @import "theme-B.css"; */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/css/styles.css~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,23 @@ +/** + * @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"; +@import "components/theme.css"; +/* Optionally, add your own components here. */ +@import "print.css"; + +/* SMACSS theme rules */ +/* @import "theme-A.css"; */ +/* @import "theme-B.css"; */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/script.js Tue Jun 02 09:16:36 2015 +0200 @@ -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);
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpiwgzen-wide.info~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,148 @@ +; 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 = mpiwgzen-wide +description = A Zen sub-theme for the ECHO-site. + + + +; 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: +; <?php print render($page['header_top']); ?> +; And you'll use this variable in maintenance-page.tpl.php: +; <?php print $header_top; ?> + +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 +regions[sidebar_left] = Outer left sidebar + +; 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpiwgzen_wide.info Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,148 @@ +; 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 = mpiwgzen_wide +description = A Zen sub-theme for the ECHO-site. + + + +; 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: +; <?php print render($page['header_top']); ?> +; And you'll use this variable in maintenance-page.tpl.php: +; <?php print $header_top; ?> + +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 +regions[sidebar_left] = Outer left sidebar + +; 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/DO_NOT_MODIFY Tue Jun 02 09:16:36 2015 +0200 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/LICENSE.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/lib/zen-grids.rb Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,3 @@ +require 'compass' +extension_path = File.expand_path(File.join(File.dirname(__FILE__), "..")) +Compass::Frameworks.register('zen-grids', :path => extension_path)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/stylesheets/_zen.scss Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,3 @@ +// Import the partial for Zen Grids. + +@import "zen/grids";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/stylesheets/zen/_background.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/stylesheets/zen/_grids.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/_init.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/_layout.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/_modules.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/_visually-hidden.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/example.html Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,71 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>Zen Grids: sample usage</title> + <link rel="stylesheet" href="stylesheets/styles.css" media="all"> +</head> +<body> + +<p class="skip-link"> +<a href="#main-menu" class="skip-link__link">Jump to main menu</a> +</p> + +<div class="centered"> + + <header class="header"> + <h1 class="header__title">Zen Grids: sample usage</h1> + </header> + + <div class="main"> + + <article class="grid-item grid-item__content" role="main"> + <header> + <h1>Main content</h1> + <p>Source order: 1</p> + </header> + <aside class="pull-quote">‘There’s no such thing!’</aside> + <p>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?’</p> + <p>The Dormouse again took a minute or two to think about it, and then said, ‘It was a treacle-well.’</p> + <p>‘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.’</p> + <p>‘No, please go on!’ Alice said very humbly; ‘I won’t interrupt again. I dare say there may be ONE.’</p> + </article> + + <nav class="grid-item grid-item__menu" role="navigation" id="main-menu"> + <header> + <h2>Menu</h2> + <p>Source order: 2</p> + </header> + <a href="#">Alice</a> ★ + <a href="#">Mad Hatter</a> ★ + <a href="#">The Queen</a> ★ + <a href="#">Tom Petty</a> + </nav> + + <aside class="grid-item grid-item__aside1"> + <header> + <h2>Aside</h2> + <p>Source order: 3</p> + </header> + <p>‘Have some wine,’ the March Hare said in an encouraging tone.</p> + </aside> + + <aside class="grid-item grid-item__aside2"> + <header> + <h2>Aside</h2> + <p>Source order: 4</p> + </header> + <p>‘Please would you tell me,’ said Alice, a little timidly, for she was not quite sure whether it was good manners for her to speak first, ‘why your cat grins like that?’</p> + <p>‘It’s a Cheshire cat,’ said the Duchess, ‘and that’s why. Pig!’</p> + </aside> + + </div> + + <footer class="footer"> + <small>© 2013. The small print.</small> + </footer> + +</div> + +</body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/manifest.rb Tue Jun 02 09:16:36 2015 +0200 @@ -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! +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/project/styles.scss Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,6 @@ +// Import the initialization partial. +@import "init"; + +// Aggregate all the stylesheets into one file. +@import "layout"; +@import "modules";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/manifest.rb Tue Jun 02 09:16:36 2015 +0200 @@ -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. +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-background.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-background.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css Tue Jun 02 09:16:36 2015 +0200 @@ -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; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass-extensions/zen-grids/zen-grids.gemspec Tue Jun 02 09:16:36 2015 +0200 @@ -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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,57 @@ +ABOUT SASS AND COMPASS +---------------------- + +This directory includes Sass versions of Zen's CSS files. + +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 <path to your sub-theme's directory> + + 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. :-)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/_init.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/_mixins.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/_normalize-rtl.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/_normalize.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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 _init.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); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/_print.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/components/_misc-rtl.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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%; + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/components/_misc.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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 <mark> in normalize. */ + background-color: transparent; +} + +/** + * Unpublished note. + */ + +/* The word "Unpublished" displayed underneath the content. */ +.unpublished { + height: 0; + overflow: visible; + /* Remove background highlighting from <mark> 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"); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/layouts/_fixed-rtl.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/layouts/_fixed.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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 _init.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); + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/layouts/_responsive-rtl.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/layouts/_responsive.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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 _init.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); + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/styles-rtl.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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"; */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sass/styles.scss Tue Jun 02 09:16:36 2015 +0200 @@ -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"; */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/template.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,181 @@ +<?php +/** + * @file + * Contains the theme's functions to manipulate Drupal's default markup. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728096 + */ + + +/** + * 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 mpiwgzen_wide_preprocess_maintenance_page(&$variables, $hook) { + // When a variable is manipulated or added in preprocess_html or + // preprocess_page, that same work is probably needed for the maintenance page + // as well, so we can just re-use those functions to do that work here. + mpiwgzen_wide_preprocess_html($variables, $hook); + mpiwgzen_wide_preprocess_page($variables, $hook); +} +// */ + +/** + * 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 mpiwgzen_wide_preprocess_html(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + + // The body tag's classes are controlled by the $classes_array variable. To + // remove a class from $classes_array, use array_diff(). + //$variables['classes_array'] = array_diff($variables['classes_array'], array('class-to-remove')); +} +// */ + +/** + * Override or insert variables into the page templates. + * + * @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 mpiwgzen_wide_preprocess_page(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + // Change the logo for logged in users. + //if (!user_is_logged_in()) { + // $variables['logo'] = 'http://echo-dev.rz-berlin.mpg.de/echo-dev/sites/all/themes/mpiwgzen_wide/echo-logo-extern.png'; + //} +} + +// */ + +/** + * 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.) + */ + +/** + * Also change text of "read more" depending on content type + * as explained on + * http://www.dreamleaf.co.uk/drupal/drupal-7-custom-read-more-links-content-type + */ + +function mpiwgzen_wide_preprocess_node(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + + // Optionally, run node-type-specific preprocess functions, like + // mpiwgzen_wide_preprocess_node_page() or mpiwgzen_wide_preprocess_node_story(). + $function = __FUNCTION__ . '_' . $variables['node']->type; + if (function_exists($function)) { + $function($variables, $hook); + } +// Let's get that read more link out of the generated links variable! + unset($variables['content']['links']['node']['#links']['node-readmore']); +// Now let's put it back as it's own variable! So it's actually versatile! + if ($variables['type'] == 'digitalcollection') { + $variables['newreadmore'] = t('<span class="digitalcollectionmore"> <a href="!title">view collection</a> </span>', + array('!title' => $variables['node_url'],) + ); + } + else { + $variables['newreadmore'] = t('<span class="newreadmore"> <a href="!title">read more</a> </span>', + array('!title' => $variables['node_url'],) +); + } + +} + + +// */ + +/** + * 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 mpiwgzen_wide_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.) + */ + +function mpiwgzen_wide_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.) + */ + +function mpiwgzen_wide_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')); + //} +} + +/** + * Add placeholders for forms + */ + +function mpiwgzen_wide_form_alter( &$form, &$form_state, $form_id ) +{ +// Username and Password in user login form + if (in_array( $form_id, array( 'user_login', 'user_login_block'))) + { + $form['name']['#attributes']['placeholder'] = t( 'username' ); + $form['pass']['#attributes']['placeholder'] = t( 'password' ); + } +// search +// if ($form_id == 'search_block_form') +// { +// $form['search_block_form']['#attributes']['placeholder'] = t('Search...'); +// } +} + + + +// */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/template.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,181 @@ +<?php +/** + * @file + * Contains the theme's functions to manipulate Drupal's default markup. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728096 + */ + + +/** + * 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 mpiwgzen-wide_preprocess_maintenance_page(&$variables, $hook) { + // When a variable is manipulated or added in preprocess_html or + // preprocess_page, that same work is probably needed for the maintenance page + // as well, so we can just re-use those functions to do that work here. + mpiwgzen-wide_preprocess_html($variables, $hook); + mpiwgzen-wide_preprocess_page($variables, $hook); +} +// */ + +/** + * 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 mpiwgzen-wide_preprocess_html(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + + // The body tag's classes are controlled by the $classes_array variable. To + // remove a class from $classes_array, use array_diff(). + //$variables['classes_array'] = array_diff($variables['classes_array'], array('class-to-remove')); +} +// */ + +/** + * Override or insert variables into the page templates. + * + * @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 mpiwgzen-wide_preprocess_page(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + // Change the logo for logged in users. + //if (!user_is_logged_in()) { + // $variables['logo'] = 'http://echo-dev.rz-berlin.mpg.de/echo-dev/sites/all/themes/mpiwgzen-wide/echo-logo-extern.png'; + //} +} + +// */ + +/** + * 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.) + */ + +/** + * Also change text of "read more" depending on content type + * as explained on + * http://www.dreamleaf.co.uk/drupal/drupal-7-custom-read-more-links-content-type + */ + +function mpiwgzen-wide_preprocess_node(&$variables, $hook) { + $variables['sample_variable'] = t('Lorem ipsum.'); + + // Optionally, run node-type-specific preprocess functions, like + // mpiwgzen-wide_preprocess_node_page() or mpiwgzen-wide_preprocess_node_story(). + $function = __FUNCTION__ . '_' . $variables['node']->type; + if (function_exists($function)) { + $function($variables, $hook); + } +// Let's get that read more link out of the generated links variable! + unset($variables['content']['links']['node']['#links']['node-readmore']); +// Now let's put it back as it's own variable! So it's actually versatile! + if ($variables['type'] == 'digitalcollection') { + $variables['newreadmore'] = t('<span class="digitalcollectionmore"> <a href="!title">view collection</a> </span>', + array('!title' => $variables['node_url'],) + ); + } + else { + $variables['newreadmore'] = t('<span class="newreadmore"> <a href="!title">read more</a> </span>', + array('!title' => $variables['node_url'],) +); + } + +} + + +// */ + +/** + * 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 mpiwgzen-wide_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.) + */ + +function mpiwgzen-wide_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.) + */ + +function mpiwgzen-wide_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')); + //} +} + +/** + * Add placeholders for forms + */ + +function mpiwgzen-wide_form_alter( &$form, &$form_state, $form_id ) +{ +// Username and Password in user login form + if (in_array( $form_id, array( 'user_login', 'user_login_block'))) + { + $form['name']['#attributes']['placeholder'] = t( 'username' ); + $form['pass']['#attributes']['placeholder'] = t( 'password' ); + } +// search +// if ($form_id == 'search_block_form') +// { +// $form['search_block_form']['#attributes']['placeholder'] = t('Search...'); +// } +} + + + +// */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/README.txt Tue Jun 02 09:16:36 2015 +0200 @@ -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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/block--no-wrapper.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,17 @@ +<?php +/** + * @file + * Returns the HTML for a block with bare minimum HTML. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728250 + */ +?> + +<?php print render($title_prefix); ?> +<?php if ($title): ?> + <h2<?php print $title_attributes; ?>><?php print $title; ?></h2> +<?php endif; ?> +<?php print render($title_suffix); ?> + +<?php print $content; ?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/block-blockgroup-default.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,21 @@ +<?php + +/** + * @file + * Default theme implementation to display a block group. Technically a block + * group is a region inside a block. In most cases it does not make much sense + * to render the block markup around the region, therefore the default + * implementation just prints the blocks content (i.e. the region). + * + * Refer to block.tpl.php for a complete description of the variables available + * in this template. + * + * @see block.tpl.php() + * + * @ingroup themeable + */ +?> + +<?php +print $content; +?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/block.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,21 @@ +<?php +/** + * @file + * Returns the HTML for a block. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728246 + */ +?> +<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>> + + <?php print render($title_prefix); ?> + <?php if ($title): ?> + <h2<?php print $title_attributes; ?>><?php print $title; ?></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <div class="block-content"> + <?php print $content; ?> + </div> +</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/node.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,84 @@ +<?php +/** + * @file + * Returns the HTML for a node. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728164 + */ +?> +<article class="node-<?php print $node->nid; ?> <?php print $classes; ?> clearfix"<?php print $attributes; ?>> + + <?php if ($teaser == true): ?> + <!-- teaser template HTML here --> + <div class="teasercontent"> + <?php + // We hide the comments and links now so that we can render them later. + hide($content['comments']); + hide($content['links']); + print render($content); + ?> + </div> + + <?php if ($title_prefix || $title_suffix || $display_submitted || $unpublished || !$page && $title): ?> + <header> + <?php print render($title_prefix); ?> + <?php if (!$page && $title): ?> + <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <?php if ($display_submitted): ?> + <p class="submitted"> + <?php print $user_picture; ?> + <?php print $submitted; ?> + </p> + <?php endif; ?> + + <?php if ($unpublished): ?> + <mark class="unpublished"><?php print t('Unpublished'); ?></mark> + <?php endif; ?> + </header> + <?php endif; ?> + + <?php print $newreadmore; ?> + <?php print render($content['comments']); ?> + <?php else: ?> + <!-- regular node view template HTML here --> + <?php if ($title_prefix || $title_suffix || $display_submitted || $unpublished || !$page && $title): ?> + <header> + <?php print render($title_prefix); ?> + <?php if (!$page && $title): ?> + <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <?php if ($display_submitted): ?> + <p class="submitted"> + <?php print $user_picture; ?> + <?php print $submitted; ?> + </p> + <?php endif; ?> + + <?php if ($unpublished): ?> + <mark class="unpublished"><?php print t('Unpublished'); ?></mark> + <?php endif; ?> + </header> + <?php endif; ?> + + <?php + // We hide the comments and links now so that we can render them later. + hide($content['comments']); + hide($content['links']); + print render($content); + ?> + + <?php print render($content['links']); ?> + <!-- <?php if ($teaser == true): ?> + <?php print $newreadmore; ?> + <?php endif; ?>--> + + <?php print render($content['comments']); ?> + + <?php endif; ?> +</article>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/node.tpl.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,82 @@ +<?php +/** + * @file + * Returns the HTML for a node. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728164 + */ +?> +<article class="node-<?php print $node->nid; ?> <?php print $classes; ?> clearfix"<?php print $attributes; ?>> + + <?php if ($teaser == true): ?> + <!-- teaser template HTML here --> + <?php + // We hide the comments and links now so that we can render them later. + hide($content['comments']); + hide($content['links']); + print render($content); + ?> + + <?php if ($title_prefix || $title_suffix || $display_submitted || $unpublished || !$page && $title): ?> + <header> + <?php print render($title_prefix); ?> + <?php if (!$page && $title): ?> + <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <?php if ($display_submitted): ?> + <p class="submitted"> + <?php print $user_picture; ?> + <?php print $submitted; ?> + </p> + <?php endif; ?> + + <?php if ($unpublished): ?> + <mark class="unpublished"><?php print t('Unpublished'); ?></mark> + <?php endif; ?> + </header> + <?php endif; ?> + + <?php print $newreadmore; ?> + <?php print render($content['comments']); ?> + <?php else: ?> + <!-- regular node view template HTML here --> + <?php if ($title_prefix || $title_suffix || $display_submitted || $unpublished || !$page && $title): ?> + <header> + <?php print render($title_prefix); ?> + <?php if (!$page && $title): ?> + <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <?php if ($display_submitted): ?> + <p class="submitted"> + <?php print $user_picture; ?> + <?php print $submitted; ?> + </p> + <?php endif; ?> + + <?php if ($unpublished): ?> + <mark class="unpublished"><?php print t('Unpublished'); ?></mark> + <?php endif; ?> + </header> + <?php endif; ?> + + <?php + // We hide the comments and links now so that we can render them later. + hide($content['comments']); + hide($content['links']); + print render($content); + ?> + + <?php print render($content['links']); ?> + <!-- <?php if ($teaser == true): ?> + <?php print $newreadmore; ?> + <?php endif; ?>--> + + <?php print render($content['comments']); ?> + + <?php endif; ?> +</article>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/page.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,137 @@ +<?php +/** + * @file + * Returns the HTML for a single Drupal page. + * + * Complete documentation for this file is available online. + * @see https://drupal.org/node/1728148 + */ +?> + +<div id="page"> + + <header class="header" id="header" role="banner"> + <?php + /** + * Logo of MPIWG at right side. + */ + ?> + <?php if (user_is_logged_in()): ?> + <a href="http://www.mpiwg-berlin.mpg.de/en"><img src="http://echo-dev.rz-berlin.mpg.de/echo/sites/all/themes/mpiwgzen/mpiwg-logo-intern.png" alt"Logo MPIWG" class="header__logo-image-mpi" /><a> + <?php else: ?> + <a href="http://www.mpiwg-berlin.mpg.de/en"><img src="http://echo-dev.rz-berlin.mpg.de/echo/sites/all/themes/mpiwgzen/mpiwg-logo-extern.png" alt"Logo MPIWG" class="header__logo-image-mpi" /><a> + <?php endif; ?> + + <?php if (!user_is_logged_in()): ?> + <a href="http://www.mpiwg-berlin.mpg.de/en" id="mpiwg-backlink">« Max Planck Institute for the History of Science<a> + <?php endif; ?> + + <?php if ($logo): ?> + <a href="<?php print $front_page; ?>" title="<?php print t('Startseite'); ?>" rel="home" class="header__logo" id="logo"><img src="<?php print $logo; ?>" alt="<?php print t('Startseite'); ?>" class="header__logo-image" /></a> + <?php endif; ?> + + <?php if ($site_name || $site_slogan): ?> + <div class="header__name-and-slogan" id="name-and-slogan"> + <?php if ($site_name): ?> + <h1 class="header__site-name" id="site-name"> + <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" class="header__site-link" rel="home"><span><?php print $site_name; ?></span></a> + </h1> + <?php endif; ?> + + <?php if ($site_slogan and (!user_is_logged_in())): ?> + <div class="header__site-slogan" id="site-slogan"><?php print $site_slogan; ?></div> + <?php endif; ?> + </div> + <?php endif; ?> + + <?php if ($secondary_menu): ?> + <nav class="header__secondary-menu" id="secondary-menu" role="navigation"> + <?php print theme('links__system_secondary_menu', array( + 'links' => $secondary_menu, + 'attributes' => array( + 'class' => array('links', 'inline', 'clearfix'), + ), + 'heading' => array( + 'text' => $secondary_menu_heading, + 'level' => 'h2', + 'class' => array('element-invisible'), + ), + )); ?> + </nav> + <?php endif; ?> + + <?php print render($page['header']); ?> + + </header> + + <div id="main"> + + <div id="content" class="column" role="main"> + <?php print render($page['highlighted']); ?> + <?php print $breadcrumb; ?> + <a id="main-content"></a> + <?php print render($title_prefix); ?> + <?php if ($title): ?> + <h1 class="page__title title" id="page-title"><?php print $title; ?></h1> + <?php endif; ?> + <?php print render($title_suffix); ?> + <?php print $messages; ?> + <?php print render($tabs); ?> + <?php print render($page['help']); ?> + <?php if ($action_links): ?> + <ul class="action-links"><?php print render($action_links); ?></ul> + <?php endif; ?> + <?php print render($page['content']); ?> + <?php print $feed_icons; ?> + </div> + + <div id="navigation"> + + <?php if ($main_menu): ?> + <nav id="main-menu" class="main-menu" role="navigation" tabindex="-1"> + <?php + // This code snippet is hard to modify. We recommend turning off the + // "Main menu" on your sub-theme's settings form, deleting this PHP + // code block, and, instead, using the "Menu block" module. + // @see https://drupal.org/project/menu_block + //print theme('links__system_main_menu', array( + // 'links' => $main_menu, + // 'attributes' => array( + // 'class' => array('links', 'inline', 'clearfix'), + // ), + // 'heading' => array( + // 'text' => t('Main menu'), + // 'level' => 'h2', + // 'class' => array('element-invisible'), + // ), + //)); ?> + </nav> + <?php endif; ?> + + <?php print render($page['navigation']); ?> + + </div> + + <?php + // Render the sidebars to see if there's anything in them. + $sidebar_first = render($page['sidebar_first']); + $sidebar_second = render($page['sidebar_second']); + $sidebar_left = render($page['sidebar_left']); + $sidebar_right = render($page['sidebar_right']); + ?> + + <?php if ($sidebar_first || $sidebar_second || $page['sidebar_left']): ?> + <aside class="sidebars"> + <?php print render($page['sidebar_left']); ?> + <?php print $sidebar_first; ?> + <?php print $sidebar_second; ?> + </aside> + <?php endif; ?> + + </div> + + <?php print render($page['footer']); ?> + +</div> + +<?php print render($page['bottom']); ?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/region--blockgroup.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,22 @@ + +<div <?php if (isset($block_html_id)):?> id="<?php print $block_html_id; ?>" <?php endif?> class="<?php print $classes; ?>"<?php print $attributes; ?>> + + <?php print render($title_prefix); ?> + <?php if (isset($title)): ?> + <h2<?php print $title_attributes; ?>><?php print $title; ?></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <div class="block-content"> + <?php print $content; ?> + </div> +</div> + +<?php +// dpm( get_defined_vars() ); +// dpm( debug_backtrace() ); +?> + + +<!-- Titel nicht verf��gbar, da es sich um eine region handelt und der titel nur in der +admin-oberfl��che verwendet wird. wie kann das ge��ndert werden? -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/region--blockgroup.tpl.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,20 @@ +<div id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>> + + <?php print render($title_prefix); ?> + <?php if ($title): ?> + <h2<?php print $title_attributes; ?>><?php print $title; ?></h2> + <?php endif; ?> + <?php print render($title_suffix); ?> + + <div class="block-content"> + <?php print $content; ?> + </div> +</div> + +<?php + dpm( get_defined_vars() ); +// dpm( debug_backtrace() ); +?> + +<!-- Titel nicht verfügbar, da es sich um eine region handelt und der titel nur in der +admin-oberfläche verwendet wird. wie kann das geändert werden? -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solr-search-results.tpl.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,51 @@ +<?php + +/** + * @file + * Default theme implementation for displaying search results. + * + * This template collects each invocation of theme_search_result(). This and + * the child template are dependent to one another sharing the markup for + * definition lists. + * + * Note that modules may implement their own search type and theme function + * completely bypassing this template. + * + * Available variables: + * - $search_results: All results as it is rendered through + * search-result.tpl.php + * - $module: The machine-readable name of the module (tab) being searched, such + * as "node" or "user". + * + * + * @see template_preprocess_search_results() + * + * @ingroup themeable + */ +?> +<div class="box"> + +<?php if ($search_results): ?> +<?php print $description; ?> + + <h2><?php print t('Search results');?></h2> + + <?php if (isset($digitalobjects_items_select)):?> + + <form method="GET" action="<?php print $digitalobjects_items_select ?>"> + <?php endif;?> + <div id="toppager"><?php print $pager; ?></div> + + <table class="items search-results <?php print $module; ?>-results"> + <?php print $search_results; ?> + </table> + <div id="bottompager"><?php print $pager; ?></div> + + <?php if (isset($digitalobjects_items_select)):?> + </form> + <?php endif;?> +<?php else : ?> + <h2><?php print t('Your search yielded no results');?></h2> + <?php print search_help('search#noresults', drupal_help_arg()); ?> +<?php endif; ?> +</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solrsearch-term-list-author.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,13 @@ +<h2 class="resultoverview"><?php print $cnt ?> authors found for: <?php print $letter?></h2> + +<div class="browse-list"> + <div class="browse-list-left"> + <ul class="browse-authors"> + <?php foreach ($authors as $author => $hits):?> + <li class="use"><?php print l($author . ' ('. $hits .')','./solrsearch/author_c:"'. $author .'"', array('attributes' => array('class' => 'ajax-link', 'title' => $author))) ?></li> + <?php endforeach;?> + </ul> + </div> + <div class="browse-list-right" id="content-ajax"> + </div> +</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solrsearch-term-list-author.tpl.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,11 @@ +<h2 class="resultoverview"><?php print $cnt ?> authors found for: <?php print $letter?></h2> + +<div class="browse-list"> + <div class="browse-list-left"> + <?php foreach ($authors as $author => $hits):?> + <div class="ajax-link" rel="#browse-list-right"><?php print l($author . ' ('. $hits .')','solrsearch/author_c:"'. $author .'"',) ?></div> + <?php endforeach;?> + </div> + <div id="browse-list-right"> + </div> +</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solrsearch-term-list-title.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,13 @@ +<h2 class="resultoverview"><?php print $cnt ?> titles found for: <?php print $letter?></h2> + +<div class="browse-list"> + <div class="browse-list-left"> + <ul class="browse-titles"> + <?php foreach ($titles as $title => $hits):?> + <li class="ajax-link" rel="#browse-list-right"><?php print l($title . ' ('. $hits .')','./solrsearch/title_s:"' . $title .'"', array('attributes' => array('class' => 'ajax-link', 'title' => $title))) ?></li> + <?php endforeach;?> + </ul> + </div> + <div class="browse-list-right" id="content-ajax"> + </div> +</div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solrsearch-term-selection-form.tpl.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,45 @@ +<?php +drupal_add_js(drupal_get_path('module', 'solrsearch') .'/solrsearch-mpiwg.js'); +?> +<h1>Browse all Sources</h1> + + <div class="tool box"> + <form class="autosubmit" action="../solrsearch-terms-change"> + <div class="searchbox"> + <!-- <div> + <!-- <input class="text" type="text" name="search" placeholder="Search Sources"/> + <input class="text" type="hidden" name="mode" value="display"/> + <input class="submit" type="submit" value=">"/> --> + <!-- </div> + <div class="extended"> + <!-- <a class="internal" href="extendedsearch">Extended Search</a>--> + <!-- </div> --> + </div> + <div class="options"> + <ul class="inline"> + <li> + <input class="radio autosubmit" type="radio" id="byAuthor" <?php if ($field == "author_c"):?> checked="checked"<?php endif;?> name="browseField" value="author_c"/> + <label for="byAuthor">browse by author</label> + </li> + <li> + <input class="radio autosubmit" type="radio" id="byTitle" <?php if ($field == "title_s"):?> checked="checked"<?php endif;?> name="browseField" value="title_s"/> + <label for="byTitle">browse by title</label> + </li> + <li> + <input class="autosubmit" type="submit" value="Change"/> + </li> + </ul> + </div> + <div class="atoz-wrapper"> + <div class="atoz"> + <ul class="inline"><?php print solrsearch_alphapager($field);?> + <li><a href="search.html?startLetter_title_ascii=1" id="atoz-other">other</a> + </li> + </ul> + <p>Choose a character</p> + <input class="inputfield " type="text"> + <p>Type combination of characters (dummy)</p> + </div> + </div> + </form> + </div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/solrsearch-term-selection-form.tpl.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,45 @@ +<?php +drupal_add_js(drupal_get_path('module', 'solrsearch') .'/solrsearch-mpiwg.js'); +?> +<h1>Browse all Sources</h1> + + <div class="tool box"> + <form class="autosubmit" action="../solrsearch-terms-change"> + <div class="searchbox"> + <div> + <!-- <input class="text" type="text" name="search" placeholder="Search Sources"/> + <input class="text" type="hidden" name="mode" value="display"/> + <input class="submit" type="submit" value=">"/> --> + </div> + <div class="extended"> + <!-- <a class="internal" href="extendedsearch">Extended Search</a>--> + </div> + </div> + <div class="options"> + <ul class="inline"> + <li> + <input class="radio autosubmit" type="radio" id="byAuthor" <?php if ($field == "author_c"):?> checked="checked"<?php endif;?> name="browseField" value="author_c"/> + <label for="byAuthor">browse by author</label> + </li> + <li> + <input class="radio autosubmit" type="radio" id="byTitle" <?php if ($field == "title_s"):?> checked="checked"<?php endif;?> name="browseField" value="title_s"/> + <label for="byTitle">browse by title</label> + </li> + <li> + <input class="autosubmit" type="submit" value="Change"/> + </li> + </ul> + </div> + <div class="atoz-wrapper"> + <div class="atoz"> + <ul class="inline"><?php print solrsearch_alphapager($field);?> + <li><a href="search.html?startLetter_title_ascii=1" id="atoz-other">other</a> + </li> + </ul> + <p>Choose a character</p> + <input class="inputfield " type="text"> + <p>Type combination of characters (dummy)</p> + </div> + </div> + </form> + </div>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme-settings.php Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,33 @@ +<?php +/** + * Implements hook_form_system_theme_settings_alter(). + * + * @param $form + * Nested array of form elements that comprise the form. + * @param $form_state + * A keyed array containing the current state of the form. + */ +function mpiwgzen_wide_form_system_theme_settings_alter(&$form, &$form_state, $form_id = NULL) { + // Work-around for a core bug affecting admin themes. See issue #943212. + if (isset($form_id)) { + return; + } + + // Create the form using Forms API: http://api.drupal.org/api/7 + + /* -- Delete this line if you want to use this setting + $form['mpiwgzen_wide_example'] = array( + '#type' => 'checkbox', + '#title' => t('mpiwgzen sample setting'), + '#default_value' => theme_get_setting('mpiwgzen_wide_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. +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/theme-settings.php~ Tue Jun 02 09:16:36 2015 +0200 @@ -0,0 +1,33 @@ +<?php +/** + * Implements hook_form_system_theme_settings_alter(). + * + * @param $form + * Nested array of form elements that comprise the form. + * @param $form_state + * A keyed array containing the current state of the form. + */ +function mpiwgzen-wide_form_system_theme_settings_alter(&$form, &$form_state, $form_id = NULL) { + // Work-around for a core bug affecting admin themes. See issue #943212. + if (isset($form_id)) { + return; + } + + // Create the form using Forms API: http://api.drupal.org/api/7 + + /* -- Delete this line if you want to use this setting + $form['mpiwgzen-wide_example'] = array( + '#type' => 'checkbox', + '#title' => t('mpiwgzen sample setting'), + '#default_value' => theme_get_setting('mpiwgzen-wide_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. +}