first import
241
sites/all/themes/omega/omega/css/formalize.css
Normal file
@@ -0,0 +1,241 @@
|
||||
/* UI Consistency */
|
||||
::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
button,
|
||||
input[type="reset"],
|
||||
input[type="submit"],
|
||||
input[type="button"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
-moz-background-clip: padding;
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border-radius: 11px;
|
||||
background: #ddd url(../images/button.png) repeat-x;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
|
||||
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
|
||||
border: 1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
cursor: pointer;
|
||||
color: #333;
|
||||
font: bold 12px/1.2 Arial, sans-serif;
|
||||
outline: 0;
|
||||
overflow: visible;
|
||||
padding: 3px 10px 4px;
|
||||
text-shadow: #fff 0 1px 1px;
|
||||
width: auto;
|
||||
*padding-top: 2px; /* IE7 */
|
||||
*padding-bottom: 0px; /* IE7 */
|
||||
}
|
||||
|
||||
button {
|
||||
*padding-top: 1px; /* IE7 */
|
||||
*padding-bottom: 1px; /* IE7 */
|
||||
}
|
||||
|
||||
textarea,
|
||||
select,
|
||||
input[type="date"],
|
||||
input[type="datetime"],
|
||||
input[type="datetime-local"],
|
||||
input[type="email"],
|
||||
input[type="month"],
|
||||
input[type="number"],
|
||||
input[type="password"],
|
||||
input[type="search"],
|
||||
input[type="tel"],
|
||||
input[type="text"],
|
||||
input[type="time"],
|
||||
input[type="url"],
|
||||
input[type="week"] {
|
||||
-webkit-appearance: none;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-moz-background-clip: padding;
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
background-color: #fff;
|
||||
border: 1px solid;
|
||||
border-color: #848484 #c1c1c1 #e1e1e1;
|
||||
color: #000;
|
||||
outline: 0;
|
||||
padding: 2px 3px;
|
||||
font-size: 13px;
|
||||
font-family: Arial, sans-serif;
|
||||
height: 1.8em;
|
||||
*padding-top: 2px; /* IE7 */
|
||||
*padding-bottom: 1px; /* IE7 */
|
||||
*height: auto; /* IE7 */
|
||||
}
|
||||
|
||||
/* Separate rule for Firefox. Cannot stack with WebKit's. */
|
||||
input.placeholder_text,
|
||||
textarea.placeholder_text,
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
button:focus,
|
||||
button:active,
|
||||
input:focus,
|
||||
input:active,
|
||||
select:focus,
|
||||
select:active,
|
||||
textarea:focus,
|
||||
textarea:active {
|
||||
-moz-box-shadow: #06f 0 0 7px;
|
||||
-webkit-box-shadow: #06f 0 0 7px;
|
||||
box-shadow: #06f 0 0 7px;
|
||||
z-index: 1; /* For Opera */
|
||||
}
|
||||
|
||||
input[type="file"]:focus,
|
||||
input[type="file"]:active,
|
||||
input[type="radio"]:focus,
|
||||
input[type="radio"]:active,
|
||||
input[type="checkbox"]:focus,
|
||||
input[type="checkbox"]:active {
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
select[disabled],
|
||||
textarea[disabled],
|
||||
input[type="date"][disabled],
|
||||
input[type="datetime"][disabled],
|
||||
input[type="datetime-local"][disabled],
|
||||
input[type="email"][disabled],
|
||||
input[type="month"][disabled],
|
||||
input[type="number"][disabled],
|
||||
input[type="password"][disabled],
|
||||
input[type="search"][disabled],
|
||||
input[type="tel"][disabled],
|
||||
input[type="text"][disabled],
|
||||
input[type="time"][disabled],
|
||||
input[type="url"][disabled],
|
||||
input[type="week"][disabled] {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
button[disabled],
|
||||
input[disabled],
|
||||
select[disabled],
|
||||
select[disabled] option,
|
||||
select[disabled] optgroup,
|
||||
textarea[disabled] {
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
color: #888;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
textarea,
|
||||
select[size],
|
||||
select[multiple] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Tweaks for Safari + Chrome. */
|
||||
@media (-webkit-min-device-pixel-ratio: 0) {
|
||||
select {
|
||||
background-image: url(../images/select-arrow.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right center;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
select[size],
|
||||
select[multiple] {
|
||||
background-image: none;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 40px;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
optgroup {
|
||||
color: #000;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* IE6 */
|
||||
.ie6-button,
|
||||
* html button {
|
||||
background: #ddd url(../images/button.png) repeat-x;
|
||||
border: 1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
cursor: pointer;
|
||||
color: #333;
|
||||
font: bold 12px/1.2 Arial, sans-serif;
|
||||
padding: 2px 10px 0px;
|
||||
overflow: visible;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
* html button {
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.ie6-input,
|
||||
* html textarea,
|
||||
* html select {
|
||||
background: #fff;
|
||||
border: 1px solid;
|
||||
border-color: #848484 #c1c1c1 #e1e1e1;
|
||||
color: #000;
|
||||
padding: 2px 3px 1px;
|
||||
font-size: 13px;
|
||||
font-family: Arial, sans-serif;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
* html select {
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.placeholder_text,
|
||||
.ie6-input-disabled,
|
||||
.ie6-button-disabled {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.ie6-input-disabled {
|
||||
background: #eee;
|
||||
}
|
26
sites/all/themes/omega/omega/css/omega-branding.css
Normal file
@@ -0,0 +1,26 @@
|
||||
.logo-img {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.site-name-slogan {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.site-name {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.site-name a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-name,
|
||||
.site-slogan {
|
||||
margin-bottom: 0;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
.site-slogan {
|
||||
font-weight: normal;
|
||||
}
|
11
sites/all/themes/omega/omega/css/omega-forms.css
Normal file
@@ -0,0 +1,11 @@
|
||||
.form-actions input {
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
.form-actions input:hover {
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
label {
|
||||
font-weight: bold;
|
||||
}
|
8
sites/all/themes/omega/omega/css/omega-menu.css
Normal file
@@ -0,0 +1,8 @@
|
||||
.menu {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.menu li {
|
||||
list-style: none;
|
||||
}
|
112
sites/all/themes/omega/omega/css/omega-text.css
Normal file
@@ -0,0 +1,112 @@
|
||||
body {
|
||||
font: 13px/1.5 Verdana, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
color: #0062A0;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #202124;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #202124;
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
height: 1px;
|
||||
background: #5294c1;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
letter-spacing: -0.05em;
|
||||
font-family: Georgia, 'Times New Roman', serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
/* Make site titles the same size if it's an H1 (home) or H2 (internal) */
|
||||
h1.site-name,
|
||||
h2.site-name {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
/* Make it a bit smaller for block headers */
|
||||
h2.block-title {
|
||||
font-size: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h2.node-title {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style: decimal;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
ul ul,
|
||||
ol ol {
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
|
||||
.node ol,
|
||||
.node ul {
|
||||
padding-left: 1.2em;
|
||||
}
|
||||
|
||||
.node ul.inline,
|
||||
.node ol.inline {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
p, dl, hr, h1, h2, h3, h4, h5, h6, ol,
|
||||
ul, pre, table, address, fieldset {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
dt, .admin h3 {
|
||||
font-size: 18px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dd {
|
||||
padding-left: 10px;
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
margin-bottom: 20px;
|
||||
}
|
236
sites/all/themes/omega/omega/css/omega-visuals.css
Normal file
@@ -0,0 +1,236 @@
|
||||
/* Pagers Positioning */
|
||||
.item-list .pager {
|
||||
padding:0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.item-list .pager li,
|
||||
.item-list .pager ul li {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.item-list .pager {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pager li a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.pager li.pager-ellipsis,
|
||||
.pager li.pager-current,
|
||||
.pager li a {
|
||||
padding:4px 8px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pager li.pager-current {
|
||||
padding:4px 8px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pager li.pager-first a,
|
||||
.pager li.pager-previous a,
|
||||
.pager li.pager-next a,
|
||||
.pager li.pager-last a {
|
||||
width: 50px;
|
||||
text-align:center;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.pager li.pager-next {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 50px;
|
||||
}
|
||||
|
||||
.pager li.pager-last,
|
||||
.pager li.pager-next.last {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
/* Pagers color */
|
||||
.pager li.pager-ellipsis,
|
||||
.pager li.pager-current,
|
||||
.pager li a {
|
||||
color:#1a1a1a;
|
||||
}
|
||||
|
||||
.pager li {
|
||||
border-right: 1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
color: #333;
|
||||
font: bold 12px/1.2 Arial, sans-serif;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.pager li.pager-current {
|
||||
background: #ddd url(../images/button.png) repeat-x;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1a1a1a), color-stop(1, #5a5a5a));
|
||||
background: -moz-linear-gradient(top center, #1a1a1a 0%, #5a5a5a 100%);
|
||||
color: #FFF;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.pager li.pager-next {
|
||||
border-left: 1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
}
|
||||
|
||||
.pager li a {
|
||||
background: #ddd url(../images/button.png) repeat-x;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
|
||||
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pager li a:hover {
|
||||
background:#FFF;
|
||||
color:#454545;
|
||||
}
|
||||
|
||||
/* Add default border radius to list items & links */
|
||||
.pager {
|
||||
background:#ebebeb;
|
||||
border:1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
.pager li.first,
|
||||
.pager li.first a,
|
||||
.pager li.first a:hover {
|
||||
border-radius: 5px 0 0 5px;
|
||||
-moz-border-radius: 5px 0 0 5px;
|
||||
-webkit-border-radius: 5px 0 0 5px;
|
||||
}
|
||||
|
||||
.pager li.pager-last,
|
||||
.pager li.pager-last a,
|
||||
.pager li.pager-last a:hover {
|
||||
border-radius: 0 5px 5px 0;
|
||||
-moz-border-radius: 0 5px 5px 0;
|
||||
-webkit-border-radius: 0 5px 5px 0;
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid #CCC;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
thead th, th {
|
||||
background: #f7f7f7;
|
||||
border-bottom: 1px solid #ccc;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
td, th {
|
||||
padding: 4px 8px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
th a, th a:link, th a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
th a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
th a img {
|
||||
margin: 0 0 0 5px;
|
||||
}
|
||||
|
||||
th.active {
|
||||
background: #DDD;
|
||||
border-left: 1px solid #CCC;
|
||||
border-right: 1px solid #CCC;
|
||||
}
|
||||
|
||||
/* Odd & Even Styles */
|
||||
tr.even td {
|
||||
background: #F1F5FA;
|
||||
}
|
||||
|
||||
tr.odd td {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
td.active {
|
||||
border-left: 1px solid #CCC;
|
||||
border-right: 1px solid #CCC;
|
||||
}
|
||||
|
||||
tr.even td.active {
|
||||
background: #e5e9ed;
|
||||
}
|
||||
|
||||
tr.odd td.active {
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
tr:hover td,
|
||||
tr.even:hover td.active,
|
||||
tr.odd:hover td.active {
|
||||
background: #FFFEEE;
|
||||
}
|
||||
|
||||
td ul.links {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.node-links ul li a,
|
||||
.comment-links ul li a {
|
||||
text-transform: lowercase;
|
||||
display: block;
|
||||
float: left;
|
||||
text-decoration: none;
|
||||
-moz-background-clip: padding;
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
margin: 0 0.5em 0.5em 0;
|
||||
vertical-align: middle;
|
||||
-webkit-appearance: none;
|
||||
-moz-border-radius: 11px;
|
||||
-webkit-border-radius: 11px;
|
||||
border-radius: 11px;
|
||||
background: #ddd url(../images/button.png) repeat-x;
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
|
||||
background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
|
||||
border: 1px solid;
|
||||
border-color: #ddd #bbb #999;
|
||||
cursor: pointer;
|
||||
color: #333;
|
||||
font: bold 12px/1.2 Arial, sans-serif;
|
||||
outline: 0;
|
||||
overflow: visible;
|
||||
padding: 4px 10px 3px;
|
||||
text-shadow: #fff 0 1px 1px;
|
||||
width: auto;
|
||||
|
||||
/* IE7 */
|
||||
*padding-top: 2px;
|
||||
*padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.node-links ul li a:hover,
|
||||
.comment-links ul li a:hover {
|
||||
background: #FFF;
|
||||
}
|
||||
|
||||
.tips,
|
||||
.description {
|
||||
font-size: 10px;
|
||||
color: #6a6a6a;
|
||||
}
|
BIN
sites/all/themes/omega/omega/images/button.png
Normal file
After Width: | Height: | Size: 85 B |
BIN
sites/all/themes/omega/omega/images/select-arrow.gif
Normal file
After Width: | Height: | Size: 52 B |
95
sites/all/themes/omega/omega/includes/omega.inc
Normal file
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Helper functions for the Omega base theme.
|
||||
*/
|
||||
|
||||
/**
|
||||
* A wrapper function for theme_get_settings().
|
||||
*
|
||||
* @param $name
|
||||
* The name of the setting that you want to retrieve.
|
||||
*
|
||||
* @param $theme (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to the global variable $theme_key.
|
||||
*
|
||||
* @param $default (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to NULL.
|
||||
*
|
||||
* @see
|
||||
* theme_get_setting().
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
function omega_theme_get_setting($name, $default = NULL, $theme = NULL) {
|
||||
return alpha_theme_get_setting($name, $default, $theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* A helper function for retrieving zone settings.
|
||||
*
|
||||
* @param $name
|
||||
* The name of the setting that you want to retrieve.
|
||||
*
|
||||
* @param $zone
|
||||
* The zone that you want to fetch the setting for.
|
||||
*
|
||||
* @param $theme (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to the global variable $theme_key.
|
||||
*
|
||||
* @param $default (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to NULL.
|
||||
*
|
||||
* @see
|
||||
* alpha_theme_get_setting().
|
||||
*
|
||||
* @see
|
||||
* theme_get_setting().
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
function omega_zone_get_setting($name, $zone, $default = NULL, $theme = NULL) {
|
||||
return alpha_zone_get_setting($name, $zone, $default, $theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* A helper function for retrieving region settings.
|
||||
*
|
||||
* @param $name
|
||||
* The name of the setting that you want to retrieve.
|
||||
*
|
||||
* @param $region
|
||||
* The region that you want to fetch the setting for.
|
||||
*
|
||||
* @param $theme (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to the global variable $theme_key.
|
||||
*
|
||||
* @param $default (optional)
|
||||
* The name (key) of the theme that you want to fetch the
|
||||
* setting for. Defaults to NULL.
|
||||
*
|
||||
* @see
|
||||
* alpha_theme_get_setting().
|
||||
*
|
||||
* @see
|
||||
* theme_get_setting().
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
function omega_region_get_setting($name, $region, $default = NULL, $theme = NULL) {
|
||||
return alpha_region_get_setting($name, $region, $default, $theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo
|
||||
* @deprecated
|
||||
*/
|
||||
function omega_settings() {
|
||||
return alpha_settings();
|
||||
}
|
420
sites/all/themes/omega/omega/includes/omega.theme.inc
Normal file
@@ -0,0 +1,420 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Returns HTML for a query pager.
|
||||
*
|
||||
* Menu callbacks that display paged query results should call theme('pager') to
|
||||
* retrieve a pager control so that users can view other results. Format a list
|
||||
* of nearby pages with additional query results.
|
||||
*
|
||||
* @param $vars
|
||||
* An associative array containing:
|
||||
* - tags: An array of labels for the controls in the pager.
|
||||
* - element: An optional integer to distinguish between multiple pagers on
|
||||
* one page.
|
||||
* - parameters: An associative array of query string parameters to append to
|
||||
* the pager links.
|
||||
* - quantity: The number of pages in the list.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function omega_pager($vars) {
|
||||
global $pager_page_array, $pager_total;
|
||||
|
||||
$tags = $vars['tags'];
|
||||
$element = $vars['element'];
|
||||
$parameters = $vars['parameters'];
|
||||
$quantity = $vars['quantity'];
|
||||
|
||||
// Calculate various markers within this pager piece:
|
||||
// Middle is used to "center" pages around the current page.
|
||||
$pager_middle = ceil($quantity / 2);
|
||||
// current is the page we are currently paged to
|
||||
$pager_current = $pager_page_array[$element] + 1;
|
||||
// first is the first page listed by this pager piece (re quantity)
|
||||
$pager_first = $pager_current - $pager_middle + 1;
|
||||
// last is the last page listed by this pager piece (re quantity)
|
||||
$pager_last = $pager_current + $quantity - $pager_middle;
|
||||
// max is the maximum page number
|
||||
$pager_max = $pager_total[$element];
|
||||
// End of marker calculations.
|
||||
|
||||
// Prepare for generation loop.
|
||||
$i = $pager_first;
|
||||
if ($pager_last > $pager_max) {
|
||||
// Adjust "center" if at end of query.
|
||||
$i = $i + ($pager_max - $pager_last);
|
||||
$pager_last = $pager_max;
|
||||
}
|
||||
|
||||
if ($i <= 0) {
|
||||
// Adjust "center" if at start of query.
|
||||
$pager_last = $pager_last + (1 - $i);
|
||||
$i = 1;
|
||||
}
|
||||
// End of generation loop preparation.
|
||||
|
||||
$li_first = theme('pager_first', array('text' => (isset($tags[0]) ? $tags[0] : t('« first')), 'element' => $element, 'parameters' => $parameters));
|
||||
$li_previous = theme('pager_previous', array('text' => (isset($tags[1]) ? $tags[1] : t('‹ previous')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters));
|
||||
$li_next = theme('pager_next', array('text' => (isset($tags[3]) ? $tags[3] : t('next ›')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters));
|
||||
$li_last = theme('pager_last', array('text' => (isset($tags[4]) ? $tags[4] : t('last »')), 'element' => $element, 'parameters' => $parameters));
|
||||
|
||||
if ($pager_total[$element] > 1) {
|
||||
if ($li_first) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-first'),
|
||||
'data' => $li_first,
|
||||
);
|
||||
}
|
||||
|
||||
if ($li_previous) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-previous'),
|
||||
'data' => $li_previous,
|
||||
);
|
||||
}
|
||||
|
||||
// When there is more than one page, create the pager list.
|
||||
if ($i != $pager_max) {
|
||||
if ($i > 1) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-ellipsis'),
|
||||
'data' => '…',
|
||||
);
|
||||
}
|
||||
|
||||
// Now generate the actual pager piece.
|
||||
for (; $i <= $pager_last && $i <= $pager_max; $i++) {
|
||||
if ($i < $pager_current) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-item'),
|
||||
'data' => theme('pager_previous', array('text' => $i, 'element' => $element, 'interval' => ($pager_current - $i), 'parameters' => $parameters)),
|
||||
);
|
||||
}
|
||||
|
||||
if ($i == $pager_current) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-current'),
|
||||
'data' => $i,
|
||||
);
|
||||
}
|
||||
|
||||
if ($i > $pager_current) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-item'),
|
||||
'data' => theme('pager_next', array('text' => $i, 'element' => $element, 'interval' => ($i - $pager_current), 'parameters' => $parameters)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if ($i < $pager_max) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-ellipsis'),
|
||||
'data' => '…',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// End generation.
|
||||
if ($li_next) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-next'),
|
||||
'data' => $li_next,
|
||||
);
|
||||
}
|
||||
if ($li_last) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-last'),
|
||||
'data' => $li_last,
|
||||
);
|
||||
}
|
||||
|
||||
return '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array(
|
||||
'items' => $items,
|
||||
'attributes' => array('class' => array('pager', 'clearfix')),
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_item_list().
|
||||
*/
|
||||
function omega_item_list($vars) {
|
||||
$items = $vars['items'];
|
||||
$title = $vars['title'];
|
||||
$type = $vars['type'];
|
||||
$attributes = $vars['attributes'];
|
||||
|
||||
$output = '<div class="item-list">';
|
||||
if (isset($title)) {
|
||||
$output .= '<h3>' . $title . '</h3>';
|
||||
}
|
||||
|
||||
if (!empty($items)) {
|
||||
$output .= "<$type" . drupal_attributes($attributes) . '>';
|
||||
$num_items = count($items);
|
||||
|
||||
foreach ($items as $i => $item) {
|
||||
$attributes = array();
|
||||
$children = array();
|
||||
if (is_array($item)) {
|
||||
foreach ($item as $key => $value) {
|
||||
if ($key == 'data') {
|
||||
$data = $value;
|
||||
}
|
||||
elseif ($key == 'children') {
|
||||
$children = $value;
|
||||
}
|
||||
else {
|
||||
$attributes[$key] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
$data = $item;
|
||||
}
|
||||
|
||||
if (count($children) > 0) {
|
||||
// Render nested list.
|
||||
$data .= theme_item_list(array('items' => $children, 'title' => NULL, 'type' => $type, 'attributes' => $attributes));
|
||||
}
|
||||
|
||||
if ($i == 0) {
|
||||
$attributes['class'][] = 'first';
|
||||
}
|
||||
|
||||
if ($i == $num_items - 1) {
|
||||
$attributes['class'][] = 'last';
|
||||
}
|
||||
|
||||
$output .= '<li' . drupal_attributes($attributes) . '>' . $data . "</li>";
|
||||
}
|
||||
|
||||
$output .= "</$type>";
|
||||
}
|
||||
|
||||
$output .= '</div>';
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_views_mini_pager().
|
||||
*
|
||||
* This custom theming for views_mini_pager changes the previous/next
|
||||
* links to remove theme completely when not present to avoid the
|
||||
* messing up the spacing/theming in the list.
|
||||
*/
|
||||
function omega_views_mini_pager($vars) {
|
||||
global $pager_page_array, $pager_total;
|
||||
|
||||
$tags = $vars['tags'];
|
||||
$element = $vars['element'];
|
||||
$parameters = $vars['parameters'];
|
||||
$quantity = $vars['quantity'];
|
||||
|
||||
// Calculate various markers within this pager piece:
|
||||
// Middle is used to "center" pages around the current page.
|
||||
$pager_middle = ceil($quantity / 2);
|
||||
// current is the page we are currently paged to
|
||||
$pager_current = $pager_page_array[$element] + 1;
|
||||
// max is the maximum page number
|
||||
$pager_max = $pager_total[$element];
|
||||
// End of marker calculations.
|
||||
|
||||
$li_previous = theme('pager_previous',
|
||||
array(
|
||||
'text' => (isset($tags[1]) ? $tags[1] : t('‹‹')),
|
||||
'element' => $element,
|
||||
'interval' => 1,
|
||||
'parameters' => $parameters,
|
||||
)
|
||||
);
|
||||
|
||||
if (empty($li_previous)) {
|
||||
$li_previous = "";
|
||||
}
|
||||
|
||||
$li_next = theme('pager_next',
|
||||
array(
|
||||
'text' => (isset($tags[3]) ? $tags[3] : t('››')),
|
||||
'element' => $element,
|
||||
'interval' => 1,
|
||||
'parameters' => $parameters,
|
||||
)
|
||||
);
|
||||
|
||||
if (empty($li_next)) {
|
||||
$li_next = "";
|
||||
}
|
||||
|
||||
if ($pager_total[$element] > 1) {
|
||||
$items[] = array(
|
||||
'class' => array('pager-previous'),
|
||||
'data' => $li_previous,
|
||||
);
|
||||
|
||||
$items[] = array(
|
||||
'class' => array('pager-current'),
|
||||
'data' => t('@current of @max', array('@current' => $pager_current, '@max' => $pager_max)),
|
||||
);
|
||||
|
||||
$items[] = array(
|
||||
'class' => array('pager-next'),
|
||||
'data' => $li_next,
|
||||
);
|
||||
|
||||
return theme('item_list',
|
||||
array(
|
||||
'items' => $items,
|
||||
'title' => NULL,
|
||||
'type' => 'ul',
|
||||
'attributes' => array('class' => array('pager')),
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_links().
|
||||
*/
|
||||
function omega_links($vars) {
|
||||
global $language_url;
|
||||
|
||||
$links = $vars['links'];
|
||||
$attributes = $vars['attributes'];
|
||||
$heading = $vars['heading'];
|
||||
|
||||
$output = '';
|
||||
|
||||
if (count($links) > 0) {
|
||||
// Treat the heading first if it is present to prepend it to the list of links.
|
||||
if (!empty($heading)) {
|
||||
if (is_string($heading)) {
|
||||
// Prepare the array that will be used when the passed heading is a string.
|
||||
$heading = array(
|
||||
'text' => $heading,
|
||||
// Set the default level of the heading.
|
||||
'level' => 'h2',
|
||||
);
|
||||
}
|
||||
|
||||
$output .= '<' . $heading['level'];
|
||||
if (!empty($heading['class'])) {
|
||||
$output .= drupal_attributes(array('class' => $heading['class']));
|
||||
}
|
||||
|
||||
$output .= '>' . check_plain($heading['text']) . '</' . $heading['level'] . '>';
|
||||
}
|
||||
|
||||
$output .= '<ul' . drupal_attributes($attributes) . '>';
|
||||
|
||||
$num_links = count($links);
|
||||
$i = 1;
|
||||
|
||||
foreach ($links as $key => $link) {
|
||||
$class = array($key);
|
||||
|
||||
// Add first, last and active classes to the list of links to help out themers.
|
||||
if ($i == 1) {
|
||||
$class[] = 'first';
|
||||
}
|
||||
|
||||
if ($i == $num_links) {
|
||||
$class[] = 'last';
|
||||
}
|
||||
|
||||
if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '<front>' && drupal_is_front_page())) && (empty($link['language']) || $link['language']->language == $language_url->language)) {
|
||||
$class[] = 'active';
|
||||
}
|
||||
|
||||
// Add a class for has a sub-menu
|
||||
if(isset($link['below'])) {
|
||||
$class[] = 'has-subitems';
|
||||
}
|
||||
|
||||
$output .= '<li' . drupal_attributes(array('class' => $class)) . '>';
|
||||
|
||||
if (isset($link['href'])) {
|
||||
// Pass in $link as $options, they share the same keys.
|
||||
$output .= l(trim($link['title']), $link['href'], $link);
|
||||
}
|
||||
elseif (!empty($link['title'])) {
|
||||
// Some links are actually not links, but we wrap these in <span> for adding title and class attributes.
|
||||
if (empty($link['html'])) {
|
||||
$link['title'] = check_plain($link['title']);
|
||||
}
|
||||
|
||||
$span_attributes = '';
|
||||
if (isset($link['attributes'])) {
|
||||
$span_attributes = drupal_attributes($link['attributes']);
|
||||
}
|
||||
|
||||
$output .= '<span' . $span_attributes . '>' . $link['title'] . '</span>';
|
||||
}
|
||||
|
||||
// Theme in nested links in the UL
|
||||
if(isset($link['below'])) {
|
||||
$output .= theme('links', array(
|
||||
'links' => $link['below'],
|
||||
'attributes' => array(
|
||||
'class' => array('links', 'main-menu', 'secondary-items'),
|
||||
),
|
||||
));
|
||||
}
|
||||
|
||||
$i++;
|
||||
$output .= "</li>";
|
||||
}
|
||||
|
||||
$output .= '</ul>';
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_menu_local_tasks().
|
||||
*/
|
||||
function omega_menu_local_tasks(&$vars) {
|
||||
$output = '';
|
||||
|
||||
if (!empty($vars['primary'])) {
|
||||
$vars['primary']['#prefix'] = '<h2 class="element-invisible">' . t('Primary tabs') . '</h2>';
|
||||
$vars['primary']['#prefix'] .= '<ul class="tabs primary clearfix">';
|
||||
$vars['primary']['#suffix'] = '</ul>';
|
||||
$output .= drupal_render($vars['primary']);
|
||||
}
|
||||
if (!empty($vars['secondary'])) {
|
||||
$vars['secondary']['#prefix'] = '<h2 class="element-invisible">' . t('Secondary tabs') . '</h2>';
|
||||
$vars['secondary']['#prefix'] .= '<ul class="tabs secondary clearfix">';
|
||||
$vars['secondary']['#suffix'] = '</ul>';
|
||||
$output .= drupal_render($vars['secondary']);
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_menu_local_task().
|
||||
*/
|
||||
function omega_menu_local_task($vars) {
|
||||
$link = $vars['element']['#link'];
|
||||
$link_text = $link['title'];
|
||||
|
||||
if (!empty($vars['element']['#active'])) {
|
||||
// Add text to indicate active tab for non-visual users.
|
||||
$active = '<span class="element-invisible">' . t('(active tab)') . '</span>';
|
||||
|
||||
// If the link does not contain HTML already, check_plain() it now.
|
||||
// After we set 'html'=TRUE the link will not be sanitized by l().
|
||||
if (empty($link['localized_options']['html'])) {
|
||||
$link['title'] = check_plain($link['title']);
|
||||
}
|
||||
|
||||
$link['localized_options']['html'] = TRUE;
|
||||
$link_text = t('!local-task-title!active', array('!local-task-title' => $link['title'], '!active' => $active));
|
||||
}
|
||||
|
||||
return '<li' . (!empty($vars['element']['#active']) ? ' class="active"' : '') . '>' . l($link_text, $link['href'], $link['localized_options']) . "</li>";
|
||||
}
|
140
sites/all/themes/omega/omega/js/jquery.formalize.js
Normal file
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
Formalize - version 1.1
|
||||
|
||||
Note: This file depends on the jQuery library.
|
||||
*/
|
||||
|
||||
// Module pattern:
|
||||
// http://yuiblog.com/blog/2007/06/12/module-pattern
|
||||
var FORMALIZE = (function($, window, document, undefined) {
|
||||
// Private constants.
|
||||
var PLACEHOLDER_SUPPORTED = 'placeholder' in document.createElement('input');
|
||||
var AUTOFOCUS_SUPPORTED = 'autofocus' in document.createElement('input');
|
||||
var IE6 = !!($.browser.msie && parseInt($.browser.version, 10) === 6);
|
||||
var IE7 = !!($.browser.msie && parseInt($.browser.version, 10) === 7);
|
||||
|
||||
// Expose innards of FORMALIZE.
|
||||
return {
|
||||
// FORMALIZE.go
|
||||
go: function() {
|
||||
for (var i in FORMALIZE.init) {
|
||||
FORMALIZE.init[i]();
|
||||
}
|
||||
},
|
||||
// FORMALIZE.init
|
||||
init: {
|
||||
// FORMALIZE.init.ie6_skin_inputs
|
||||
ie6_skin_inputs: function() {
|
||||
// Test for Internet Explorer 6.
|
||||
if (!IE6 || !$('input, select, textarea').length) {
|
||||
// Exit if the browser is not IE6,
|
||||
// or if no form elements exist.
|
||||
return;
|
||||
}
|
||||
|
||||
// For <input type="submit" />, etc.
|
||||
var button_regex = /button|submit|reset/;
|
||||
|
||||
// For <input type="text" />, etc.
|
||||
var type_regex = /date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;
|
||||
|
||||
$('input').each(function() {
|
||||
var el = $(this);
|
||||
|
||||
// Is it a button?
|
||||
if (this.getAttribute('type').match(button_regex)) {
|
||||
el.addClass('ie6-button');
|
||||
|
||||
/* Is it disabled? */
|
||||
if (this.disabled) {
|
||||
el.addClass('ie6-button-disabled');
|
||||
}
|
||||
}
|
||||
// Or is it a textual input?
|
||||
else if (this.getAttribute('type').match(type_regex)) {
|
||||
el.addClass('ie6-input');
|
||||
|
||||
/* Is it disabled? */
|
||||
if (this.disabled) {
|
||||
el.addClass('ie6-input-disabled');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('textarea, select').each(function() {
|
||||
/* Is it disabled? */
|
||||
if (this.disabled) {
|
||||
$(this).addClass('ie6-input-disabled');
|
||||
}
|
||||
});
|
||||
},
|
||||
// FORMALIZE.init.autofocus
|
||||
autofocus: function() {
|
||||
if (AUTOFOCUS_SUPPORTED || !$(':input[autofocus]').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(':input[autofocus]:visible:first').focus();
|
||||
},
|
||||
// FORMALIZE.init.placeholder
|
||||
placeholder: function() {
|
||||
if (PLACEHOLDER_SUPPORTED || !$(':input[placeholder]').length) {
|
||||
// Exit if placeholder is supported natively,
|
||||
// or if page does not have any placeholder.
|
||||
return;
|
||||
}
|
||||
|
||||
FORMALIZE.misc.add_placeholder();
|
||||
|
||||
$(':input[placeholder]').each(function() {
|
||||
var el = $(this);
|
||||
var text = el.attr('placeholder');
|
||||
|
||||
el.focus(function() {
|
||||
if (el.val() === text) {
|
||||
el.val('').removeClass('placeholder-text');
|
||||
}
|
||||
}).blur(function() {
|
||||
FORMALIZE.misc.add_placeholder();
|
||||
});
|
||||
|
||||
// Prevent <form> from accidentally
|
||||
// submitting the placeholder text.
|
||||
el.closest('form').submit(function() {
|
||||
if (el.val() === text) {
|
||||
el.val('').removeClass('placeholder-text');
|
||||
}
|
||||
}).bind('reset', function() {
|
||||
setTimeout(FORMALIZE.misc.add_placeholder, 50);
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
// FORMALIZE.misc
|
||||
misc: {
|
||||
// FORMALIZE.misc.add_placeholder
|
||||
add_placeholder: function() {
|
||||
if (PLACEHOLDER_SUPPORTED || !$(':input[placeholder]').length) {
|
||||
// Exit if placeholder is supported natively,
|
||||
// or if page does not have any placeholder.
|
||||
return;
|
||||
}
|
||||
|
||||
$(':input[placeholder]').each(function() {
|
||||
var el = $(this);
|
||||
var text = el.attr('placeholder');
|
||||
|
||||
if (!el.val() || el.val() === text) {
|
||||
el.val(text).addClass('placeholder-text');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
// Alias jQuery, window, document.
|
||||
})(jQuery, this, this.document);
|
||||
|
||||
// Automatically calls all functions in FORMALIZE.init
|
||||
jQuery(document).ready(function() {
|
||||
FORMALIZE.go();
|
||||
});
|
36
sites/all/themes/omega/omega/js/omega-equalheights.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
|
||||
(function($) {
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.behaviors.omegaEqualHeights = {
|
||||
attach: function (context) {
|
||||
$('body', context).once('omega-equalheights', function () {
|
||||
$(window).bind('resize.omegaequalheights', function () {
|
||||
$($('.equal-height-container').get().reverse()).each(function () {
|
||||
var elements = $(this).children('.equal-height-element').css('height', '');
|
||||
|
||||
if (!Drupal.behaviors.hasOwnProperty('omegaMediaQueries') || Drupal.omega.getCurrentLayout() != 'mobile') {
|
||||
var tallest = 0;
|
||||
|
||||
elements.each(function () {
|
||||
if ($(this).height() > tallest) {
|
||||
tallest = $(this).height();
|
||||
}
|
||||
}).each(function() {
|
||||
if ($(this).height() < tallest) {
|
||||
$(this).css('height', tallest);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}).load(function () {
|
||||
$(this).trigger('resize.omegaequalheights');
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
113
sites/all/themes/omega/omega/js/omega-mediaqueries.js
Normal file
@@ -0,0 +1,113 @@
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
|
||||
Drupal.omega = Drupal.omega || {};
|
||||
|
||||
(function($) {
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
var current;
|
||||
var previous;
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
var setCurrentLayout = function (index) {
|
||||
index = parseInt(index);
|
||||
previous = current;
|
||||
current = Drupal.settings.omega.layouts.order.hasOwnProperty(index) ? Drupal.settings.omega.layouts.order[index] : 'mobile';
|
||||
|
||||
if (previous != current) {
|
||||
$('body').removeClass('responsive-layout-' + previous).addClass('responsive-layout-' + current);
|
||||
$.event.trigger('responsivelayout', {from: previous, to: current});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.omega.getCurrentLayout = function () {
|
||||
return current;
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.omega.getPreviousLayout = function () {
|
||||
return previous;
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.omega.crappyBrowser = function () {
|
||||
return $.browser.msie && parseInt($.browser.version, 10) < 9;
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.omega.checkLayout = function (layout) {
|
||||
if (Drupal.settings.omega.layouts.queries.hasOwnProperty(layout) && Drupal.settings.omega.layouts.queries[layout]) {
|
||||
var output = Drupal.omega.checkQuery(Drupal.settings.omega.layouts.queries[layout]);
|
||||
|
||||
if (!output && layout == Drupal.settings.omega.layouts.primary) {
|
||||
var dummy = $('<div id="omega-check-query"></div>').prependTo('body');
|
||||
|
||||
dummy.append('<style media="all">#omega-check-query { position: relative; z-index: -1; }</style>');
|
||||
dummy.append('<!--[if (lt IE 9)&(!IEMobile)]><style media="all">#omega-check-query { z-index: 100; }</style><![endif]-->');
|
||||
|
||||
output = parseInt(dummy.css('z-index')) == 100;
|
||||
|
||||
dummy.remove();
|
||||
}
|
||||
|
||||
return output;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.omega.checkQuery = function (query) {
|
||||
var dummy = $('<div id="omega-check-query"></div>').prependTo('body');
|
||||
|
||||
dummy.append('<style media="all">#omega-check-query { position: relative; z-index: -1; }</style>');
|
||||
dummy.append('<style media="' + query + '">#omega-check-query { z-index: 100; }</style>');
|
||||
|
||||
var output = parseInt(dummy.css('z-index')) == 100;
|
||||
|
||||
dummy.remove();
|
||||
|
||||
return output;
|
||||
};
|
||||
|
||||
/**
|
||||
* @todo
|
||||
*/
|
||||
Drupal.behaviors.omegaMediaQueries = {
|
||||
attach: function (context) {
|
||||
$('body', context).once('omega-mediaqueries', function () {
|
||||
var primary = $.inArray(Drupal.settings.omega.layouts.primary, Drupal.settings.omega.layouts.order);
|
||||
var dummy = $('<div id="omega-media-query-dummy"></div>').prependTo('body');
|
||||
|
||||
dummy.append('<style media="all">#omega-media-query-dummy { position: relative; z-index: -1; }</style>');
|
||||
dummy.append('<!--[if (lt IE 9)&(!IEMobile)]><style media="all">#omega-media-query-dummy { z-index: ' + primary + '; }</style><![endif]-->');
|
||||
|
||||
for (var i in Drupal.settings.omega.layouts.order) {
|
||||
dummy.append('<style media="' + Drupal.settings.omega.layouts.queries[Drupal.settings.omega.layouts.order[i]] + '">#omega-media-query-dummy { z-index: ' + i + '; }</style>');
|
||||
}
|
||||
|
||||
$(window).bind('resize.omegamediaqueries', function () {
|
||||
setCurrentLayout(dummy.css('z-index'));
|
||||
}).load(function () {
|
||||
$(this).trigger('resize.omegamediaqueries');
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
BIN
sites/all/themes/omega/omega/logo.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
418
sites/all/themes/omega/omega/omega.info
Normal file
@@ -0,0 +1,418 @@
|
||||
name = Omega
|
||||
description = <a href="http://drupal.org/project/omega">Omega</a> extends the Omega theme framework with some additional features and makes them availabe to its subthemes. This theme should not be used directly, instead you should create a subtheme based on one of the Omega or Alpha starterkits. Learn more about <a href="http://drupal.org/node/819170">Creating an Omega Subtheme</a> in the <a href="http://drupal.org/node/819164">Omega Handbook</a>.
|
||||
core = 7.x
|
||||
engine = phptemplate
|
||||
screenshot = screenshot.png
|
||||
version = 3.x
|
||||
base theme = alpha
|
||||
|
||||
; REGIONS
|
||||
|
||||
; REQUIRED CORE REGIONS
|
||||
|
||||
regions[page_top] = Page Top
|
||||
regions[page_bottom] = Page Bottom
|
||||
regions[content] = Content
|
||||
|
||||
; END REQUIRED CORE REGIONS
|
||||
|
||||
regions[user_first] = User Bar First
|
||||
regions[user_second] = User Bar Second
|
||||
|
||||
regions[branding] = Branding
|
||||
regions[menu] = Menu
|
||||
|
||||
regions[sidebar_first] = Sidebar First
|
||||
regions[sidebar_second] = Sidebar Second
|
||||
|
||||
regions[header_first] = Header First
|
||||
regions[header_second] = Header Second
|
||||
|
||||
regions[preface_first] = Preface First
|
||||
regions[preface_second] = Preface Second
|
||||
regions[preface_third] = Preface Third
|
||||
|
||||
regions[postscript_first] = Postscript First
|
||||
regions[postscript_second] = Postscript Second
|
||||
regions[postscript_third] = Postscript Third
|
||||
regions[postscript_fourth] = Postscript Fourth
|
||||
|
||||
regions[footer_first] = Footer First
|
||||
regions[footer_second] = Footer Second
|
||||
|
||||
; ZONES
|
||||
|
||||
zones[user] = User
|
||||
zones[branding] = Branding
|
||||
zones[menu] = Menu
|
||||
zones[header] = Header
|
||||
zones[preface] = Preface
|
||||
zones[content] = Content
|
||||
zones[postscript] = Postscript
|
||||
zones[footer] = Footer
|
||||
|
||||
; OPTIONAL STYLESHEETS
|
||||
|
||||
css[omega-text.css][name] = Text Styles
|
||||
css[omega-text.css][description] = Default text styles for Omega.
|
||||
css[omega-text.css][options][weight] = -10
|
||||
|
||||
css[omega-branding.css][name] = Branding Styles
|
||||
css[omega-branding.css][description] = Provides positioning for the logo, title and slogan.
|
||||
css[omega-branding.css][options][weight] = -10
|
||||
|
||||
css[omega-menu.css][name] = Menu Styles
|
||||
css[omega-menu.css][description] = Provides positoning and basic CSS for primary and secondary menus.
|
||||
css[omega-menu.css][options][weight] = -10
|
||||
|
||||
css[omega-forms.css][name] = Form Styles
|
||||
css[omega-forms.css][description] = Provides basic form styles.
|
||||
css[omega-forms.css][options][weight] = -10
|
||||
|
||||
css[omega-visuals.css][name] = Omega Styles
|
||||
css[omega-visuals.css][description] = Custom visual styles for Omega. (pagers, menus, etc.)
|
||||
css[omega-visuals.css][options][weight] = -10
|
||||
|
||||
; OPTIONAL LIBRARIES
|
||||
|
||||
libraries[omega_formalize][name] = Formalize
|
||||
libraries[omega_formalize][description] = Formalize is a framework by <a href="http://formalize.me/" title="Formalize">Nathan Smith</a> for neat looking cross-browser forms with extended functionality.
|
||||
libraries[omega_formalize][js][0][file] = jquery.formalize.js
|
||||
libraries[omega_formalize][js][0][options][weight] = -20
|
||||
libraries[omega_formalize][css][0][file] = formalize.css
|
||||
libraries[omega_formalize][css][0][options][weight] = -20
|
||||
|
||||
libraries[omega_mediaqueries][name] = Media queries
|
||||
libraries[omega_mediaqueries][description] = Provides a tiny JavaScript library that can be used in your custom JavaScript.
|
||||
libraries[omega_mediaqueries][js][0][file] = omega-mediaqueries.js
|
||||
libraries[omega_mediaqueries][js][0][options][weight] = -19
|
||||
|
||||
libraries[omega_equalheights][name] = Equal heights
|
||||
libraries[omega_equalheights][description] = Allows you to force all regions of a zone or all blocks of a region to be of equal size. <span class="marker">This library reveals a corresponding checkbox on every region and zone configuration panel if activated.</span>
|
||||
libraries[omega_equalheights][js][0][file] = omega-equalheights.js
|
||||
libraries[omega_equalheights][js][0][options][weight] = -18
|
||||
|
||||
; PLUGINS
|
||||
plugins[panels][layouts] = panels/layouts
|
||||
|
||||
; THEME SETTINGS (DEFAULTS)
|
||||
|
||||
settings[alpha_grid] = 'alpha_default'
|
||||
settings[alpha_primary_alpha_default] = 'normal'
|
||||
settings[alpha_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_fluid_primary] = 'normal'
|
||||
settings[alpha_layouts_alpha_fluid_normal_responsive] = '0'
|
||||
settings[alpha_layouts_alpha_fluid_normal_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_primary] = 'normal'
|
||||
settings[alpha_layouts_alpha_default_fluid_responsive] = '0'
|
||||
settings[alpha_layouts_alpha_default_fluid_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_fluid_weight] = '0'
|
||||
settings[alpha_layouts_alpha_default_narrow_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_narrow_media] = 'all and (min-width: 740px) and (min-device-width: 740px), (max-device-width: 800px) and (min-width: 740px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_narrow_weight] = '1'
|
||||
settings[alpha_layouts_alpha_default_normal_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_normal_media] = 'all and (min-width: 980px) and (min-device-width: 980px), all and (max-device-width: 1024px) and (min-width: 1024px) and (orientation:landscape)'
|
||||
settings[alpha_layouts_alpha_default_normal_weight] = '2'
|
||||
settings[alpha_layouts_alpha_default_wide_responsive] = '1'
|
||||
settings[alpha_layouts_alpha_default_wide_media] = 'all and (min-width: 1220px)'
|
||||
settings[alpha_layouts_alpha_default_wide_weight] = '3'
|
||||
settings[alpha_viewport] = '1'
|
||||
settings[alpha_viewport_initial_scale] = '1'
|
||||
settings[alpha_viewport_min_scale] = '1'
|
||||
settings[alpha_viewport_max_scale] = '1'
|
||||
settings[alpha_viewport_user_scaleable] = ''
|
||||
settings[alpha_libraries][omega_formalize] = 'omega_formalize'
|
||||
settings[alpha_libraries][omega_equalheights] = ''
|
||||
settings[alpha_libraries][omega_mediaqueries] = 'omega_mediaqueries'
|
||||
settings[alpha_css][alpha-reset.css] = 'alpha-reset.css'
|
||||
settings[alpha_css][alpha-mobile.css] = 'alpha-mobile.css'
|
||||
settings[alpha_css][alpha-alpha.css] = 'alpha-alpha.css'
|
||||
settings[alpha_css][omega-text.css] = 'omega-text.css'
|
||||
settings[alpha_css][omega-branding.css] = 'omega-branding.css'
|
||||
settings[alpha_css][omega-menu.css] = 'omega-menu.css'
|
||||
settings[alpha_css][omega-forms.css] = 'omega-forms.css'
|
||||
settings[alpha_css][omega-visuals.css] = 'omega-visuals.css'
|
||||
settings[alpha_debug_block_toggle] = '1'
|
||||
settings[alpha_debug_block_active] = '1'
|
||||
settings[alpha_debug_grid_toggle] = '1'
|
||||
settings[alpha_debug_grid_active] = '1'
|
||||
settings[alpha_debug_grid_roles][1] = '1'
|
||||
settings[alpha_debug_grid_roles][2] = '2'
|
||||
settings[alpha_debug_grid_roles][3] = '3'
|
||||
settings[alpha_toggle_messages] = '1'
|
||||
settings[alpha_toggle_action_links] = '1'
|
||||
settings[alpha_toggle_tabs] = '1'
|
||||
settings[alpha_toggle_breadcrumb] = '1'
|
||||
settings[alpha_toggle_page_title] = '1'
|
||||
settings[alpha_toggle_feed_icons] = '1'
|
||||
settings[alpha_hidden_title] = ''
|
||||
settings[alpha_hidden_site_name] = ''
|
||||
settings[alpha_hidden_site_slogan] = ''
|
||||
settings[alpha_zone_user_equal_height_container] = ''
|
||||
settings[alpha_zone_user_wrapper] = '1'
|
||||
settings[alpha_zone_user_force] = ''
|
||||
settings[alpha_zone_user_section] = 'header'
|
||||
settings[alpha_zone_user_weight] = '1'
|
||||
settings[alpha_zone_user_columns] = '12'
|
||||
settings[alpha_zone_user_primary] = ''
|
||||
settings[alpha_zone_user_css] = ''
|
||||
settings[alpha_zone_user_wrapper_css] = ''
|
||||
settings[alpha_zone_branding_equal_height_container] = ''
|
||||
settings[alpha_zone_branding_wrapper] = '1'
|
||||
settings[alpha_zone_branding_force] = ''
|
||||
settings[alpha_zone_branding_section] = 'header'
|
||||
settings[alpha_zone_branding_weight] = '2'
|
||||
settings[alpha_zone_branding_columns] = '12'
|
||||
settings[alpha_zone_branding_primary] = ''
|
||||
settings[alpha_zone_branding_css] = ''
|
||||
settings[alpha_zone_branding_wrapper_css] = ''
|
||||
settings[alpha_zone_menu_equal_height_container] = ''
|
||||
settings[alpha_zone_menu_wrapper] = '1'
|
||||
settings[alpha_zone_menu_force] = ''
|
||||
settings[alpha_zone_menu_section] = 'header'
|
||||
settings[alpha_zone_menu_weight] = '3'
|
||||
settings[alpha_zone_menu_columns] = '12'
|
||||
settings[alpha_zone_menu_primary] = ''
|
||||
settings[alpha_zone_menu_css] = ''
|
||||
settings[alpha_zone_menu_wrapper_css] = ''
|
||||
settings[alpha_zone_header_equal_height_container] = ''
|
||||
settings[alpha_zone_header_wrapper] = '1'
|
||||
settings[alpha_zone_header_force] = ''
|
||||
settings[alpha_zone_header_section] = 'header'
|
||||
settings[alpha_zone_header_weight] = '4'
|
||||
settings[alpha_zone_header_columns] = '12'
|
||||
settings[alpha_zone_header_primary] = ''
|
||||
settings[alpha_zone_header_css] = ''
|
||||
settings[alpha_zone_header_wrapper_css] = ''
|
||||
settings[alpha_zone_preface_equal_height_container] = ''
|
||||
settings[alpha_zone_preface_wrapper] = '1'
|
||||
settings[alpha_zone_preface_force] = ''
|
||||
settings[alpha_zone_preface_section] = 'content'
|
||||
settings[alpha_zone_preface_weight] = '1'
|
||||
settings[alpha_zone_preface_columns] = '12'
|
||||
settings[alpha_zone_preface_primary] = ''
|
||||
settings[alpha_zone_preface_css] = ''
|
||||
settings[alpha_zone_preface_wrapper_css] = ''
|
||||
settings[alpha_zone_content_equal_height_container] = ''
|
||||
settings[alpha_zone_content_wrapper] = '1'
|
||||
settings[alpha_zone_content_force] = '1'
|
||||
settings[alpha_zone_content_section] = 'content'
|
||||
settings[alpha_zone_content_weight] = '2'
|
||||
settings[alpha_zone_content_columns] = '12'
|
||||
settings[alpha_zone_content_primary] = 'content'
|
||||
settings[alpha_zone_content_css] = ''
|
||||
settings[alpha_zone_content_wrapper_css] = ''
|
||||
settings[alpha_zone_postscript_equal_height_container] = ''
|
||||
settings[alpha_zone_postscript_wrapper] = '1'
|
||||
settings[alpha_zone_postscript_force] = ''
|
||||
settings[alpha_zone_postscript_section] = 'content'
|
||||
settings[alpha_zone_postscript_weight] = '3'
|
||||
settings[alpha_zone_postscript_columns] = '12'
|
||||
settings[alpha_zone_postscript_primary] = ''
|
||||
settings[alpha_zone_postscript_css] = ''
|
||||
settings[alpha_zone_postscript_wrapper_css] = ''
|
||||
settings[alpha_zone_footer_equal_height_container] = ''
|
||||
settings[alpha_zone_footer_wrapper] = '1'
|
||||
settings[alpha_zone_footer_force] = ''
|
||||
settings[alpha_zone_footer_section] = 'footer'
|
||||
settings[alpha_zone_footer_weight] = '1'
|
||||
settings[alpha_zone_footer_columns] = '12'
|
||||
settings[alpha_zone_footer_primary] = ''
|
||||
settings[alpha_zone_footer_css] = ''
|
||||
settings[alpha_zone_footer_wrapper_css] = ''
|
||||
settings[alpha_region_dashboard_sidebar_equal_height_container] = ''
|
||||
settings[alpha_region_dashboard_sidebar_equal_height_element] = ''
|
||||
settings[alpha_region_dashboard_sidebar_force] = ''
|
||||
settings[alpha_region_dashboard_sidebar_zone] = ''
|
||||
settings[alpha_region_dashboard_sidebar_prefix] = ''
|
||||
settings[alpha_region_dashboard_sidebar_columns] = '1'
|
||||
settings[alpha_region_dashboard_sidebar_suffix] = ''
|
||||
settings[alpha_region_dashboard_sidebar_weight] = '-50'
|
||||
settings[alpha_region_dashboard_sidebar_css] = ''
|
||||
settings[alpha_region_dashboard_inactive_equal_height_container] = ''
|
||||
settings[alpha_region_dashboard_inactive_equal_height_element] = ''
|
||||
settings[alpha_region_dashboard_inactive_force] = ''
|
||||
settings[alpha_region_dashboard_inactive_zone] = ''
|
||||
settings[alpha_region_dashboard_inactive_prefix] = ''
|
||||
settings[alpha_region_dashboard_inactive_columns] = '1'
|
||||
settings[alpha_region_dashboard_inactive_suffix] = ''
|
||||
settings[alpha_region_dashboard_inactive_weight] = '-50'
|
||||
settings[alpha_region_dashboard_inactive_css] = ''
|
||||
settings[alpha_region_dashboard_main_equal_height_container] = ''
|
||||
settings[alpha_region_dashboard_main_equal_height_element] = ''
|
||||
settings[alpha_region_dashboard_main_force] = ''
|
||||
settings[alpha_region_dashboard_main_zone] = ''
|
||||
settings[alpha_region_dashboard_main_prefix] = ''
|
||||
settings[alpha_region_dashboard_main_columns] = '1'
|
||||
settings[alpha_region_dashboard_main_suffix] = ''
|
||||
settings[alpha_region_dashboard_main_weight] = '-50'
|
||||
settings[alpha_region_dashboard_main_css] = ''
|
||||
settings[alpha_region_user_first_equal_height_container] = ''
|
||||
settings[alpha_region_user_first_equal_height_element] = ''
|
||||
settings[alpha_region_user_first_force] = ''
|
||||
settings[alpha_region_user_first_zone] = 'user'
|
||||
settings[alpha_region_user_first_prefix] = ''
|
||||
settings[alpha_region_user_first_columns] = '8'
|
||||
settings[alpha_region_user_first_suffix] = ''
|
||||
settings[alpha_region_user_first_weight] = '1'
|
||||
settings[alpha_region_user_first_css] = ''
|
||||
settings[alpha_region_user_second_equal_height_container] = ''
|
||||
settings[alpha_region_user_second_equal_height_element] = ''
|
||||
settings[alpha_region_user_second_force] = ''
|
||||
settings[alpha_region_user_second_zone] = 'user'
|
||||
settings[alpha_region_user_second_prefix] = ''
|
||||
settings[alpha_region_user_second_columns] = '4'
|
||||
settings[alpha_region_user_second_suffix] = ''
|
||||
settings[alpha_region_user_second_weight] = '2'
|
||||
settings[alpha_region_user_second_css] = ''
|
||||
settings[alpha_region_branding_equal_height_container] = ''
|
||||
settings[alpha_region_branding_equal_height_element] = ''
|
||||
settings[alpha_region_branding_force] = '1'
|
||||
settings[alpha_region_branding_zone] = 'branding'
|
||||
settings[alpha_region_branding_prefix] = ''
|
||||
settings[alpha_region_branding_columns] = '12'
|
||||
settings[alpha_region_branding_suffix] = ''
|
||||
settings[alpha_region_branding_weight] = '1'
|
||||
settings[alpha_region_branding_css] = ''
|
||||
settings[alpha_region_menu_equal_height_container] = ''
|
||||
settings[alpha_region_menu_equal_height_element] = ''
|
||||
settings[alpha_region_menu_force] = '1'
|
||||
settings[alpha_region_menu_zone] = 'menu'
|
||||
settings[alpha_region_menu_prefix] = ''
|
||||
settings[alpha_region_menu_columns] = '12'
|
||||
settings[alpha_region_menu_suffix] = ''
|
||||
settings[alpha_region_menu_weight] = '1'
|
||||
settings[alpha_region_menu_css] = ''
|
||||
settings[alpha_region_header_first_equal_height_container] = ''
|
||||
settings[alpha_region_header_first_equal_height_element] = ''
|
||||
settings[alpha_region_header_first_force] = ''
|
||||
settings[alpha_region_header_first_zone] = 'header'
|
||||
settings[alpha_region_header_first_prefix] = ''
|
||||
settings[alpha_region_header_first_columns] = '6'
|
||||
settings[alpha_region_header_first_suffix] = ''
|
||||
settings[alpha_region_header_first_weight] = '1'
|
||||
settings[alpha_region_header_first_css] = ''
|
||||
settings[alpha_region_header_second_equal_height_container] = ''
|
||||
settings[alpha_region_header_second_equal_height_element] = ''
|
||||
settings[alpha_region_header_second_force] = ''
|
||||
settings[alpha_region_header_second_zone] = 'header'
|
||||
settings[alpha_region_header_second_prefix] = ''
|
||||
settings[alpha_region_header_second_columns] = '6'
|
||||
settings[alpha_region_header_second_suffix] = ''
|
||||
settings[alpha_region_header_second_weight] = '2'
|
||||
settings[alpha_region_header_second_css] = ''
|
||||
settings[alpha_region_preface_first_equal_height_container] = ''
|
||||
settings[alpha_region_preface_first_equal_height_element] = ''
|
||||
settings[alpha_region_preface_first_force] = ''
|
||||
settings[alpha_region_preface_first_zone] = 'preface'
|
||||
settings[alpha_region_preface_first_prefix] = ''
|
||||
settings[alpha_region_preface_first_columns] = '4'
|
||||
settings[alpha_region_preface_first_suffix] = ''
|
||||
settings[alpha_region_preface_first_weight] = '1'
|
||||
settings[alpha_region_preface_first_css] = ''
|
||||
settings[alpha_region_preface_second_equal_height_container] = ''
|
||||
settings[alpha_region_preface_second_equal_height_element] = ''
|
||||
settings[alpha_region_preface_second_force] = ''
|
||||
settings[alpha_region_preface_second_zone] = 'preface'
|
||||
settings[alpha_region_preface_second_prefix] = ''
|
||||
settings[alpha_region_preface_second_columns] = '4'
|
||||
settings[alpha_region_preface_second_suffix] = ''
|
||||
settings[alpha_region_preface_second_weight] = '2'
|
||||
settings[alpha_region_preface_second_css] = ''
|
||||
settings[alpha_region_preface_third_equal_height_container] = ''
|
||||
settings[alpha_region_preface_third_equal_height_element] = ''
|
||||
settings[alpha_region_preface_third_force] = ''
|
||||
settings[alpha_region_preface_third_zone] = 'preface'
|
||||
settings[alpha_region_preface_third_prefix] = ''
|
||||
settings[alpha_region_preface_third_columns] = '4'
|
||||
settings[alpha_region_preface_third_suffix] = ''
|
||||
settings[alpha_region_preface_third_weight] = '3'
|
||||
settings[alpha_region_preface_third_css] = ''
|
||||
settings[alpha_region_content_equal_height_container] = ''
|
||||
settings[alpha_region_content_equal_height_element] = ''
|
||||
settings[alpha_region_content_force] = ''
|
||||
settings[alpha_region_content_zone] = 'content'
|
||||
settings[alpha_region_content_prefix] = ''
|
||||
settings[alpha_region_content_columns] = '6'
|
||||
settings[alpha_region_content_suffix] = ''
|
||||
settings[alpha_region_content_weight] = '2'
|
||||
settings[alpha_region_content_css] = ''
|
||||
settings[alpha_region_sidebar_first_equal_height_container] = ''
|
||||
settings[alpha_region_sidebar_first_equal_height_element] = ''
|
||||
settings[alpha_region_sidebar_first_force] = ''
|
||||
settings[alpha_region_sidebar_first_zone] = 'content'
|
||||
settings[alpha_region_sidebar_first_prefix] = ''
|
||||
settings[alpha_region_sidebar_first_columns] = '3'
|
||||
settings[alpha_region_sidebar_first_suffix] = ''
|
||||
settings[alpha_region_sidebar_first_weight] = '1'
|
||||
settings[alpha_region_sidebar_first_css] = ''
|
||||
settings[alpha_region_sidebar_second_equal_height_container] = ''
|
||||
settings[alpha_region_sidebar_second_equal_height_element] = ''
|
||||
settings[alpha_region_sidebar_second_force] = ''
|
||||
settings[alpha_region_sidebar_second_zone] = 'content'
|
||||
settings[alpha_region_sidebar_second_prefix] = ''
|
||||
settings[alpha_region_sidebar_second_columns] = '3'
|
||||
settings[alpha_region_sidebar_second_suffix] = ''
|
||||
settings[alpha_region_sidebar_second_weight] = '3'
|
||||
settings[alpha_region_sidebar_second_css] = ''
|
||||
settings[alpha_region_postscript_first_equal_height_container] = ''
|
||||
settings[alpha_region_postscript_first_equal_height_element] = ''
|
||||
settings[alpha_region_postscript_first_force] = ''
|
||||
settings[alpha_region_postscript_first_zone] = 'postscript'
|
||||
settings[alpha_region_postscript_first_prefix] = ''
|
||||
settings[alpha_region_postscript_first_columns] = '3'
|
||||
settings[alpha_region_postscript_first_suffix] = ''
|
||||
settings[alpha_region_postscript_first_weight] = '1'
|
||||
settings[alpha_region_postscript_first_css] = ''
|
||||
settings[alpha_region_postscript_second_equal_height_container] = ''
|
||||
settings[alpha_region_postscript_second_equal_height_element] = ''
|
||||
settings[alpha_region_postscript_second_force] = ''
|
||||
settings[alpha_region_postscript_second_zone] = 'postscript'
|
||||
settings[alpha_region_postscript_second_prefix] = ''
|
||||
settings[alpha_region_postscript_second_columns] = '3'
|
||||
settings[alpha_region_postscript_second_suffix] = ''
|
||||
settings[alpha_region_postscript_second_weight] = '2'
|
||||
settings[alpha_region_postscript_second_css] = ''
|
||||
settings[alpha_region_postscript_third_equal_height_container] = ''
|
||||
settings[alpha_region_postscript_third_equal_height_element] = ''
|
||||
settings[alpha_region_postscript_third_force] = ''
|
||||
settings[alpha_region_postscript_third_zone] = 'postscript'
|
||||
settings[alpha_region_postscript_third_prefix] = ''
|
||||
settings[alpha_region_postscript_third_columns] = '3'
|
||||
settings[alpha_region_postscript_third_suffix] = ''
|
||||
settings[alpha_region_postscript_third_weight] = '3'
|
||||
settings[alpha_region_postscript_third_css] = ''
|
||||
settings[alpha_region_postscript_fourth_equal_height_container] = ''
|
||||
settings[alpha_region_postscript_fourth_equal_height_element] = ''
|
||||
settings[alpha_region_postscript_fourth_force] = ''
|
||||
settings[alpha_region_postscript_fourth_zone] = 'postscript'
|
||||
settings[alpha_region_postscript_fourth_prefix] = ''
|
||||
settings[alpha_region_postscript_fourth_columns] = '3'
|
||||
settings[alpha_region_postscript_fourth_suffix] = ''
|
||||
settings[alpha_region_postscript_fourth_weight] = '4'
|
||||
settings[alpha_region_postscript_fourth_css] = ''
|
||||
settings[alpha_region_footer_first_equal_height_container] = ''
|
||||
settings[alpha_region_footer_first_equal_height_element] = ''
|
||||
settings[alpha_region_footer_first_force] = ''
|
||||
settings[alpha_region_footer_first_zone] = 'footer'
|
||||
settings[alpha_region_footer_first_prefix] = ''
|
||||
settings[alpha_region_footer_first_columns] = '12'
|
||||
settings[alpha_region_footer_first_suffix] = ''
|
||||
settings[alpha_region_footer_first_weight] = '1'
|
||||
settings[alpha_region_footer_first_css] = ''
|
||||
settings[alpha_region_footer_second_equal_height_container] = ''
|
||||
settings[alpha_region_footer_second_equal_height_element] = ''
|
||||
settings[alpha_region_footer_second_force] = ''
|
||||
settings[alpha_region_footer_second_zone] = 'footer'
|
||||
settings[alpha_region_footer_second_prefix] = ''
|
||||
settings[alpha_region_footer_second_columns] = '12'
|
||||
settings[alpha_region_footer_second_suffix] = ''
|
||||
settings[alpha_region_footer_second_weight] = '2'
|
||||
settings[alpha_region_footer_second_css] = ''
|
||||
|
||||
; Information added by drupal.org packaging script on 2012-02-19
|
||||
version = "7.x-3.1"
|
||||
core = "7.x"
|
||||
project = "omega"
|
||||
datestamp = "1329681647"
|
||||
|
@@ -0,0 +1,5 @@
|
||||
<div class="panel-display omega-grid omega-12-onecol" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts()
|
||||
*/
|
||||
function omega_omega_12_onecol_panels_layouts() {
|
||||
$items['omega_12_onecol'] = array(
|
||||
'title' => t('Single column 12'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_onecol.png',
|
||||
'theme' => 'omega_12_onecol',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array('middle' => t('Middle column')),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
After Width: | Height: | Size: 122 B |
@@ -0,0 +1,11 @@
|
||||
<div class="panel-display omega-grid omega-12-threecol-4-4-4" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_threecol_4_4_4_panels_layouts() {
|
||||
$items['omega_12_threecol_4_4_4'] = array(
|
||||
'title' => t('Three column 4-4-4'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_threecol_4_4_4.png',
|
||||
'theme' => 'omega_12_threecol_4_4_4',
|
||||
'admin css' => 'omega_12_threecol_4_4_4.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 196 B |
@@ -0,0 +1,17 @@
|
||||
<div class="panel-display omega-grid omega-12-threecol-4-4-4" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_threecol_4_4_4_stacked_panels_layouts() {
|
||||
$items['omega_12_threecol_4_4_4_stacked'] = array(
|
||||
'title' => t('Three column 4-4-4 stacked'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_threecol_4_4_4_stacked.png',
|
||||
'theme' => 'omega_12_threecol_4_4_4_stacked',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 208 B |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-12-twocol-3-9" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-3">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-9">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_twocol_3_9_panels_layouts() {
|
||||
$items['omega_12_twocol_3_9'] = array(
|
||||
'title' => t('Two Column 3-9'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_twocol_3_9.png',
|
||||
'theme' => 'omega_12_twocol_3_9',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-12-twocol-6-6" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_twocol_6_6_panels_layouts() {
|
||||
$items['omega_12_twocol_6_6'] = array(
|
||||
'title' => t('Two Column 6-6'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_twocol_6_6.png',
|
||||
'theme' => 'omega_12_twocol_6_6',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 193 B |
@@ -0,0 +1,23 @@
|
||||
<div class="panel-display omega-grid omega-12-twocol-6-6-bricks" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['left_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['right_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['left_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['right_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_twocol_6_6_bricks_panels_layouts() {
|
||||
$items['omega_12_twocol_6_6_bricks'] = array(
|
||||
'title' => t('Two Column 6-6 bricks'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_twocol_6_6_bricks.png',
|
||||
'theme' => 'omega_12_twocol_6_6_bricks',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left_above' => t('Left above'),
|
||||
'right_above' => t('Right above'),
|
||||
'middle' => t('Middle'),
|
||||
'left_below' => t('Left below'),
|
||||
'right_below' => t('Right below'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 277 B |
@@ -0,0 +1,14 @@
|
||||
<div class="panel-display omega-grid omega-12-twocol-6-6-stacked" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6 alpha">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6 omega">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_twocol_6_6_stacked_panels_layouts() {
|
||||
$items['omega_12_twocol_6_6_stacked'] = array(
|
||||
'title' => t('Two Column 6-6 stacked'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_twocol_6_6_stacked.png',
|
||||
'theme' => 'omega_12_twocol_6_6_stacked',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left'),
|
||||
'right' => t('Right'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 202 B |
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-12-twocol-9-3" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-9">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-3">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_12_twocol_9_3_panels_layouts() {
|
||||
$items['omega_12_twocol_9_3'] = array(
|
||||
'title' => t('Two Column 9-3'),
|
||||
'category' => t('Omega: 12 Column Grid'),
|
||||
'icon' => 'omega_12_twocol_9_3.png',
|
||||
'theme' => 'omega_12_twocol_9_3',
|
||||
'admin css' => '../omega_panels_admin_12.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,308 @@
|
||||
/*
|
||||
* ==========================================================
|
||||
* Grid
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10,
|
||||
.grid-11, .grid-12 {
|
||||
display: inline;
|
||||
float: left;
|
||||
position: relative;
|
||||
margin-left: 1%;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.push-1, .pull-1, .push-2, .pull-2, .push-3, .pull-3, .push-4, .pull-4,
|
||||
.push-5, .pull-5, .push-6, .pull-6, .push-7, .pull-7, .push-8, .pull-8,
|
||||
.push-9, .pull-9, .push-10, .pull-10, .push-11, .pull-11, .push-12, .pull-12 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Alpha - Omega
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.alpha {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.omega {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Container
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main {
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
margin-right: 4%;
|
||||
}
|
||||
|
||||
#panels-dnd-main:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Columns
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .grid-1 {
|
||||
width: 6.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-2 {
|
||||
width: 14.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-3 {
|
||||
width: 23.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-4 {
|
||||
width: 31.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-5 {
|
||||
width: 39.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-6 {
|
||||
width: 48.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-7 {
|
||||
width: 56.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-8 {
|
||||
width: 64.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-9 {
|
||||
width: 73.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-10 {
|
||||
width: 81.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-11 {
|
||||
width: 89.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-12 {
|
||||
width: 98.0%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Prefix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .prefix-1 {
|
||||
padding-left: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-2 {
|
||||
padding-left: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-3 {
|
||||
padding-left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-4 {
|
||||
padding-left: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-5 {
|
||||
padding-left: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-6 {
|
||||
padding-left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-7 {
|
||||
padding-left: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-8 {
|
||||
padding-left: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-9 {
|
||||
padding-left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-10 {
|
||||
padding-left: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-11 {
|
||||
padding-left: 91.667%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Suffix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .suffix-1 {
|
||||
padding-right: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-2 {
|
||||
padding-right: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-3 {
|
||||
padding-right: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-4 {
|
||||
padding-right: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-5 {
|
||||
padding-right: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-6 {
|
||||
padding-right: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-7 {
|
||||
padding-right: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-8 {
|
||||
padding-right: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-9 {
|
||||
padding-right: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-10 {
|
||||
padding-right: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-11 {
|
||||
padding-right: 91.667%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Push
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .push-1 {
|
||||
left: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-2 {
|
||||
left: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-3 {
|
||||
left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-4 {
|
||||
left: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-5 {
|
||||
left: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-6 {
|
||||
left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-7 {
|
||||
left: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-8 {
|
||||
left: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-9 {
|
||||
left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-10 {
|
||||
left: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-11 {
|
||||
left: 91.667%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Pull
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .pull-1 {
|
||||
left: -8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-2 {
|
||||
left: -16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-3 {
|
||||
left: -25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-4 {
|
||||
left: -33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-5 {
|
||||
left: -41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-6 {
|
||||
left: -50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-7 {
|
||||
left: -58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-8 {
|
||||
left: -66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-9 {
|
||||
left: -75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-10 {
|
||||
left: -83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-11 {
|
||||
left: -91.667%;
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
<div class="panel-display omega-grid omega-16-onecol" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts()
|
||||
*/
|
||||
function omega_omega_16_onecol_panels_layouts() {
|
||||
$items['omega_16_onecol'] = array(
|
||||
'title' => t('Single column 16'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_onecol.png',
|
||||
'theme' => 'omega_16_onecol',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array('middle' => t('Middle column')),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
After Width: | Height: | Size: 122 B |
@@ -0,0 +1,11 @@
|
||||
<div class="panel-display omega-grid omega-16-threecol-5-6-5" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-5">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-5">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_threecol_5_6_5_panels_layouts() {
|
||||
$items['omega_16_threecol_5_6_5'] = array(
|
||||
'title' => t('Three column 5-6-5'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_threecol_5_6_5.png',
|
||||
'theme' => 'omega_16_threecol_5_6_5',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 196 B |
@@ -0,0 +1,17 @@
|
||||
<div class="panel-display omega-grid omega-16-threecol-5-6-5" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-5">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-5">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_threecol_5_6_5_stacked_panels_layouts() {
|
||||
$items['omega_16_threecol_5_6_5_stacked'] = array(
|
||||
'title' => t('Three column 5-6-5 stacked'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_threecol_5_6_5_stacked.png',
|
||||
'theme' => 'omega_16_threecol_5_6_5_stacked',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 208 B |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-16-twocol-12-4" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_twocol_12_4_panels_layouts() {
|
||||
$items['omega_16_twocol_12_4'] = array(
|
||||
'title' => t('Two Column 12-4'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_twocol_12_4.png',
|
||||
'theme' => 'omega_16_twocol_12_4',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-16-twocol-4-12" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-4">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_twocol_4_12_panels_layouts() {
|
||||
$items['omega_16_twocol_4_12'] = array(
|
||||
'title' => t('Two Column 4-12'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_twocol_4_12.png',
|
||||
'theme' => 'omega_16_twocol_4_12',
|
||||
'admin css' => 'omega_16_twocol_4_12.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-16-twocol-8-8" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_twocol_8_8_panels_layouts() {
|
||||
$items['omega_16_twocol_8_8'] = array(
|
||||
'title' => t('Two Column 8-8'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_twocol_8_8.png',
|
||||
'theme' => 'omega_16_twocol_8_8',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 193 B |
@@ -0,0 +1,23 @@
|
||||
<div class="panel-display omega-grid omega-16-twocol-8-8-bricks" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_twocol_8_8_bricks_panels_layouts() {
|
||||
$items['omega_16_twocol_8_8_bricks'] = array(
|
||||
'title' => t('Two Column 8-8 bricks'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_twocol_8_8_bricks.png',
|
||||
'theme' => 'omega_16_twocol_8_8_bricks',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left_above' => t('Left above'),
|
||||
'right_above' => t('Right above'),
|
||||
'middle' => t('Middle'),
|
||||
'left_below' => t('Left below'),
|
||||
'right_below' => t('Right below'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 277 B |
@@ -0,0 +1,14 @@
|
||||
<div class="panel-display omega-grid omega-16-twocol-8-8-stacked" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-16">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_16_twocol_8_8_stacked_panels_layouts() {
|
||||
$items['omega_16_twocol_8_8_stacked'] = array(
|
||||
'title' => t('Two Column 8-8 stacked'),
|
||||
'category' => t('Omega: 16 Column Grid'),
|
||||
'icon' => 'omega_16_twocol_8_8_stacked.png',
|
||||
'theme' => 'omega_16_twocol_8_8_stacked',
|
||||
'admin css' => '../omega_panels_admin_16.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left'),
|
||||
'right' => t('Right'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 202 B |
@@ -0,0 +1,389 @@
|
||||
/*
|
||||
* ==========================================================
|
||||
* Grid
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10,
|
||||
.grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16 {
|
||||
display: inline;
|
||||
float: left;
|
||||
position: relative;
|
||||
margin-left: 1%;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.push-1, .pull-1, .push-2, .pull-2, .push-3, .pull-3, .push-4, .pull-4,
|
||||
.push-5, .pull-5, .push-6, .pull-6, .push-7, .pull-7, .push-8, .pull-8,
|
||||
.push-9, .pull-9, .push-10, .pull-10, .push-11, .pull-11, .push-12, .pull-12,
|
||||
.push-13, .pull-13, .push-14, .pull-14, .push-15, .pull-15, .push-16, .pull-16 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Alpha - Omega
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.alpha {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.omega {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Container
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main {
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
margin-right: 4%;
|
||||
}
|
||||
|
||||
#panels-dnd-main:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Columns
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .grid-1 {
|
||||
width: 4.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-2 {
|
||||
width: 10.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-3 {
|
||||
width: 16.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-4 {
|
||||
width: 23.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-5 {
|
||||
width: 29.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-6 {
|
||||
width: 35.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-7 {
|
||||
width: 41.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-8 {
|
||||
width: 48.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-9 {
|
||||
width: 54.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-10 {
|
||||
width: 60.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-11 {
|
||||
width: 66.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-12 {
|
||||
width: 73.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-13 {
|
||||
width: 79.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-14 {
|
||||
width: 85.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-15 {
|
||||
width: 91.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-16 {
|
||||
width: 98.0%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Prefix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .prefix-1 {
|
||||
padding-left: 6.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-2 {
|
||||
padding-left: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-3 {
|
||||
padding-left: 18.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-4 {
|
||||
padding-left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-5 {
|
||||
padding-left: 31.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-6 {
|
||||
padding-left: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-7 {
|
||||
padding-left: 43.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-8 {
|
||||
padding-left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-9 {
|
||||
padding-left: 56.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-10 {
|
||||
padding-left: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-11 {
|
||||
padding-left: 68.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-12 {
|
||||
padding-left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-13 {
|
||||
padding-left: 81.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-14 {
|
||||
padding-left: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-15 {
|
||||
padding-left: 93.75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Suffix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .suffix-1 {
|
||||
padding-right: 6.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-2 {
|
||||
padding-right: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-3 {
|
||||
padding-right: 18.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-4 {
|
||||
padding-right: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-5 {
|
||||
padding-right: 31.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-6 {
|
||||
padding-right: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-7 {
|
||||
padding-right: 43.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-8 {
|
||||
padding-right: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-9 {
|
||||
padding-right: 56.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-10 {
|
||||
padding-right: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-11 {
|
||||
padding-right: 68.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-12 {
|
||||
padding-right: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-13 {
|
||||
padding-right: 81.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-14 {
|
||||
padding-right: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-15 {
|
||||
padding-right: 93.75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Push
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .push-1 {
|
||||
left: 6.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-2 {
|
||||
left: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-3 {
|
||||
left: 18.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-4 {
|
||||
left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-5 {
|
||||
left: 31.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-6 {
|
||||
left: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-7 {
|
||||
left: 43.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-8 {
|
||||
left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-9 {
|
||||
left: 56.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-10 {
|
||||
left: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-11 {
|
||||
left: 68.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-12 {
|
||||
left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-13 {
|
||||
left: 81.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-14 {
|
||||
left: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-15 {
|
||||
left: 93.75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Pull
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .pull-1 {
|
||||
left: -6.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-2 {
|
||||
left: -12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-3 {
|
||||
left: -18.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-4 {
|
||||
left: -25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-5 {
|
||||
left: -31.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-6 {
|
||||
left: -37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-7 {
|
||||
left: -43.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-8 {
|
||||
left: -50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-9 {
|
||||
left: -56.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-10 {
|
||||
left: -62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-11 {
|
||||
left: -68.75%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-12 {
|
||||
left: -75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-13 {
|
||||
left: -81.25%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-14 {
|
||||
left: -87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-15 {
|
||||
left: -93.75%;
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
<div class="panel-display omega-grid omega-24-onecol" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts()
|
||||
*/
|
||||
function omega_omega_24_onecol_panels_layouts() {
|
||||
$items['omega_24_onecol'] = array(
|
||||
'title' => t('Single column 24'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_onecol.png',
|
||||
'theme' => 'omega_24_onecol',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array('middle' => t('Middle column')),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
||||
|
After Width: | Height: | Size: 122 B |
@@ -0,0 +1,11 @@
|
||||
<div class="panel-display omega-grid omega-24-threecol-8-8-8" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_threecol_8_8_8_panels_layouts() {
|
||||
$items['omega_24_threecol_8_8_8'] = array(
|
||||
'title' => t('Three column 8-8-8'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_threecol_8_8_8.png',
|
||||
'theme' => 'omega_24_threecol_8_8_8',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 196 B |
@@ -0,0 +1,17 @@
|
||||
<div class="panel-display omega-grid omega-24-threecol-8-8-8-stacked" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-8">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_threecol_8_8_8_stacked_panels_layouts() {
|
||||
$items['omega_24_threecol_8_8_8_stacked'] = array(
|
||||
'title' => t('Three column 8-8-8 stacked'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_threecol_8_8_8_stacked.png',
|
||||
'theme' => 'omega_24_threecol_8_8_8_stacked',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left side'),
|
||||
'middle' => t('Middle column'),
|
||||
'right' => t('Right side'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 208 B |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-24-twocol-12-12" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_twocol_12_12_panels_layouts() {
|
||||
$items['omega_24_twocol_12_12'] = array(
|
||||
'title' => t('Two Column 12-12'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_twocol_12_12.png',
|
||||
'theme' => 'omega_24_twocol_12_12',
|
||||
'admin css' => 'omega_24_twocol_12_12.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 193 B |
@@ -0,0 +1,23 @@
|
||||
<div class="panel-display omega-grid omega-24-twocol-12-12-bricks" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['left_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['right_above']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['middle']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['left_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['right_below']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_twocol_12_12_bricks_panels_layouts() {
|
||||
$items['omega_24_twocol_12_12_bricks'] = array(
|
||||
'title' => t('Two Column 12-12 bricks'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_twocol_12_12_bricks.png',
|
||||
'theme' => 'omega_24_twocol_12_12_bricks',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left_above' => t('Left above'),
|
||||
'right_above' => t('Right above'),
|
||||
'middle' => t('Middle'),
|
||||
'left_below' => t('Left below'),
|
||||
'right_below' => t('Right below'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 277 B |
@@ -0,0 +1,14 @@
|
||||
<div class="panel-display omega-grid omega-24-twocol-12-12-stacked" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['top']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-12">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-24">
|
||||
<div class="inside"><?php print $content['bottom']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_twocol_12_12_stacked_panels_layouts() {
|
||||
$items['omega_24_twocol_12_12_stacked'] = array(
|
||||
'title' => t('Two Column 12-12 stacked'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_twocol_12_12_stacked.png',
|
||||
'theme' => 'omega_24_twocol_12_12_stacked',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'top' => t('Top'),
|
||||
'left' => t('Left'),
|
||||
'right' => t('Right'),
|
||||
'bottom' => t('Bottom'),
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 202 B |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-24-twocol-6-18" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-18">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_twocol_18_6_panels_layouts() {
|
||||
$items['omega_24_twocol_18_6'] = array(
|
||||
'title' => t('Two Column 18-6'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_twocol_18_6.png',
|
||||
'theme' => 'omega_24_twocol_18_6',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,8 @@
|
||||
<div class="panel-display omega-grid omega-24-twocol-6-18" <?php if (!empty($css_id)) { print "id=\"$css_id\""; } ?>>
|
||||
<div class="panel-panel grid-6">
|
||||
<div class="inside"><?php print $content['left']; ?></div>
|
||||
</div>
|
||||
<div class="panel-panel grid-18">
|
||||
<div class="inside"><?php print $content['right']; ?></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implements hook_panels_layouts().
|
||||
*/
|
||||
function omega_omega_24_twocol_6_18_panels_layouts() {
|
||||
$items['omega_24_twocol_6_18'] = array(
|
||||
'title' => t('Two Column 6-18'),
|
||||
'category' => t('Omega: 24 Column Grid'),
|
||||
'icon' => 'omega_24_twocol_6_18.png',
|
||||
'theme' => 'omega_24_twocol_6_18',
|
||||
'admin css' => '../omega_panels_admin_24.css',
|
||||
'regions' => array(
|
||||
'left' => t('Left side'),
|
||||
'right' => t('Right side')
|
||||
),
|
||||
);
|
||||
|
||||
return $items;
|
||||
}
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,552 @@
|
||||
/*
|
||||
* ==========================================================
|
||||
* Grid
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10,
|
||||
.grid-11, .grid-12, .grid-13, .grid-14, .grid-15, .grid-16, .grid-17, .grid-18, .grid-19,
|
||||
.grid-20, .grid-21, .grid-22, .grid-23, .grid-24 {
|
||||
display: inline;
|
||||
float: left;
|
||||
position: relative;
|
||||
margin-left: 1%;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.push-1, .pull-1, .push-2, .pull-2, .push-3, .pull-3, .push-4, .pull-4,
|
||||
.push-5, .pull-5, .push-6, .pull-6, .push-7, .pull-7, .push-8, .pull-8,
|
||||
.push-9, .pull-9, .push-10, .pull-10, .push-11, .pull-11, .push-12, .pull-12,
|
||||
.push-13, .pull-13, .push-14, .pull-14, .push-15, .pull-15, .push-16, .pull-16,
|
||||
.push-17, .pull-17, .push-18, .pull-18, .push-19, .pull-19, .push-20, .pull-20,
|
||||
.push-21, .pull-21, .push-22, .pull-22, .push-23, .pull-23, .push-24, .pull-24 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Alpha - Omega
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
.alpha {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.omega {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Container
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main {
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
margin-right: 4%;
|
||||
}
|
||||
|
||||
#panels-dnd-main:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Columns
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .grid-1 {
|
||||
width: 2.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-2 {
|
||||
width: 6.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-3 {
|
||||
width: 10.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-4 {
|
||||
width: 14.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-5 {
|
||||
width: 18.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-6 {
|
||||
width: 23.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-7 {
|
||||
width: 27.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-8 {
|
||||
width: 31.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-9 {
|
||||
width: 35.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-10 {
|
||||
width: 39.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-11 {
|
||||
width: 43.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-12 {
|
||||
width: 48.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-13 {
|
||||
width: 52.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-14 {
|
||||
width: 56.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-15 {
|
||||
width: 60.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-16 {
|
||||
width: 64.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-17 {
|
||||
width: 68.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-18 {
|
||||
width: 73.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-19 {
|
||||
width: 77.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-20 {
|
||||
width: 81.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-21 {
|
||||
width: 85.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-22 {
|
||||
width: 89.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-23 {
|
||||
width: 93.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .grid-24 {
|
||||
width: 98.0%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Prefix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .prefix-1 {
|
||||
padding-left: 4.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-2 {
|
||||
padding-left: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-3 {
|
||||
padding-left: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-4 {
|
||||
padding-left: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-5 {
|
||||
padding-left: 20.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-6 {
|
||||
padding-left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-7 {
|
||||
padding-left: 29.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-8 {
|
||||
padding-left: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-9 {
|
||||
padding-left: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-10 {
|
||||
padding-left: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-11 {
|
||||
padding-left: 45.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-12 {
|
||||
padding-left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-13 {
|
||||
padding-left: 54.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-14 {
|
||||
padding-left: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-15 {
|
||||
padding-left: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-16 {
|
||||
padding-left: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-17 {
|
||||
padding-left: 70.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-18 {
|
||||
padding-left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-19 {
|
||||
padding-left: 79.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-20 {
|
||||
padding-left: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-21 {
|
||||
padding-left: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-22 {
|
||||
padding-left: 91.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .prefix-23 {
|
||||
padding-left: 95.833%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Suffix
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .suffix-1 {
|
||||
padding-right: 4.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-2 {
|
||||
padding-right: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-3 {
|
||||
padding-right: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-4 {
|
||||
padding-right: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-5 {
|
||||
padding-right: 20.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-6 {
|
||||
padding-right: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-7 {
|
||||
padding-right: 29.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-8 {
|
||||
padding-right: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-9 {
|
||||
padding-right: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-10 {
|
||||
padding-right: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-11 {
|
||||
padding-right: 45.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-12 {
|
||||
padding-right: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-13 {
|
||||
padding-right: 54.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-14 {
|
||||
padding-right: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-15 {
|
||||
padding-right: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-16 {
|
||||
padding-right: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-17 {
|
||||
padding-right: 70.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-18 {
|
||||
padding-right: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-19 {
|
||||
padding-right: 79.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-20 {
|
||||
padding-right: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-21 {
|
||||
padding-right: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-22 {
|
||||
padding-right: 91.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .suffix-23 {
|
||||
padding-right: 95.833%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Push
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .push-1 {
|
||||
left: 4.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-2 {
|
||||
left: 8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-3 {
|
||||
left: 12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-4 {
|
||||
left: 16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-5 {
|
||||
left: 20.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-6 {
|
||||
left: 25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-7 {
|
||||
left: 29.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-8 {
|
||||
left: 33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-9 {
|
||||
left: 37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-10 {
|
||||
left: 41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-11 {
|
||||
left: 45.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-12 {
|
||||
left: 50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-13 {
|
||||
left: 54.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-14 {
|
||||
left: 58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-15 {
|
||||
left: 62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-16 {
|
||||
left: 66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-17 {
|
||||
left: 70.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-18 {
|
||||
left: 75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-19 {
|
||||
left: 79.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-20 {
|
||||
left: 83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-21 {
|
||||
left: 87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-22 {
|
||||
left: 91.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .push-23 {
|
||||
left: 95.833%;
|
||||
}
|
||||
|
||||
/*
|
||||
* ==========================================================
|
||||
* Pull
|
||||
* ==========================================================
|
||||
*/
|
||||
|
||||
#panels-dnd-main .pull-1 {
|
||||
left: -4.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-2 {
|
||||
left: -8.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-3 {
|
||||
left: -12.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-4 {
|
||||
left: -16.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-5 {
|
||||
left: -20.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-6 {
|
||||
left: -25.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-7 {
|
||||
left: -29.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-8 {
|
||||
left: -33.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-9 {
|
||||
left: -37.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-10 {
|
||||
left: -41.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-11 {
|
||||
left: -45.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-12 {
|
||||
left: -50.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-13 {
|
||||
left: -54.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-14 {
|
||||
left: -58.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-15 {
|
||||
left: -62.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-16 {
|
||||
left: -66.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-17 {
|
||||
left: -70.833%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-18 {
|
||||
left: -75.0%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-19 {
|
||||
left: -79.167%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-20 {
|
||||
left: -83.333%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-21 {
|
||||
left: -87.5%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-22 {
|
||||
left: -91.667%;
|
||||
}
|
||||
|
||||
#panels-dnd-main .pull-23 {
|
||||
left: -95.833%;
|
||||
}
|
BIN
sites/all/themes/omega/omega/screenshot.png
Normal file
After Width: | Height: | Size: 32 KiB |
223
sites/all/themes/omega/omega/template.php
Normal file
@@ -0,0 +1,223 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/includes/omega.inc';
|
||||
require_once dirname(__FILE__) . '/includes/omega.theme.inc';
|
||||
|
||||
/**
|
||||
* Implements hook_alpha_regions_alter().
|
||||
*/
|
||||
function omega_alpha_regions_alter(&$regions, $theme) {
|
||||
foreach ($regions as $region => &$item) {
|
||||
$item['equal_height_container'] = alpha_region_get_setting('equal_height_container', $region, FALSE, $theme);
|
||||
$item['equal_height_element'] = alpha_region_get_setting('equal_height_element', $region, FALSE, $theme);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_alpha_zones_alter().
|
||||
*/
|
||||
function omega_alpha_zones_alter(&$zones, $theme) {
|
||||
foreach ($zones as $zone => &$item) {
|
||||
$item['equal_height_container'] = alpha_zone_get_setting('equal_height_container', $zone, FALSE, $theme);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_html().
|
||||
*/
|
||||
function omega_alpha_preprocess_html(&$vars) {
|
||||
$theme = alpha_get_theme();
|
||||
$vars['rdf'] = new stdClass;
|
||||
|
||||
if (module_exists('rdf')) {
|
||||
$vars['doctype'] = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+RDFa 1.1//EN">' . "\n";
|
||||
$vars['rdf']->version = ' version="HTML+RDFa 1.1"';
|
||||
$vars['rdf']->namespaces = $vars['rdf_namespaces'];
|
||||
$vars['rdf']->profile = ' profile="' . $vars['grddl_profile'] . '"';
|
||||
}
|
||||
else {
|
||||
$vars['doctype'] = '<!DOCTYPE html>' . "\n";
|
||||
$vars['rdf']->version = '';
|
||||
$vars['rdf']->namespaces = '';
|
||||
$vars['rdf']->profile = '';
|
||||
}
|
||||
|
||||
if (alpha_library_active('omega_mediaqueries')) {
|
||||
$layouts = array();
|
||||
|
||||
if (isset($theme->grids[$theme->settings['grid']])) {
|
||||
foreach ($theme->grids[$theme->settings['grid']]['layouts'] as $layout) {
|
||||
if ($layout['enabled']) {
|
||||
$layouts[$layout['layout']] = $layout['media'];
|
||||
}
|
||||
}
|
||||
|
||||
drupal_add_js(array('omega' => array(
|
||||
'layouts' => array(
|
||||
'primary' => $theme->grids[$theme->settings['grid']]['primary'],
|
||||
'order' => array_keys($layouts),
|
||||
'queries' => $layouts,
|
||||
),
|
||||
)), 'setting');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_comment().
|
||||
*/
|
||||
function omega_alpha_preprocess_comment(&$vars) {
|
||||
// Prepare the arrays to handle the classes and ids for the node container.
|
||||
$vars['attributes_array']['class'][] = 'clearfix';
|
||||
|
||||
$vars['datetime'] = format_date($vars['comment']->created, 'custom', 'c');
|
||||
$vars['unpublished'] = '';
|
||||
|
||||
if ($vars['status'] == 'comment-unpublished') {
|
||||
$vars['unpublished'] = '<div class="unpublished">' . t('Unpublished') . '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_zone().
|
||||
*/
|
||||
function omega_alpha_preprocess_zone(&$vars) {
|
||||
if (alpha_library_active('omega_equalheights')) {
|
||||
if (!empty($vars['elements']['#data']['equal_height_container'])) {
|
||||
$vars['content_attributes_array']['class'][] = 'equal-height-container';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_region().
|
||||
*/
|
||||
function omega_alpha_preprocess_region(&$vars) {
|
||||
if (alpha_library_active('omega_equalheights')) {
|
||||
if (!empty($vars['elements']['#data']['equal_height_container'])) {
|
||||
$vars['content_attributes_array']['class'][] = 'equal-height-container';
|
||||
}
|
||||
|
||||
if (!empty($vars['elements']['#data']['equal_height_element'])) {
|
||||
$vars['attributes_array']['class'][] = 'equal-height-element';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_node().
|
||||
*/
|
||||
function omega_alpha_preprocess_node(&$vars) {
|
||||
// Prepare the arrays to handle the classes and ids for the node container.
|
||||
$vars['attributes_array']['id'] = drupal_html_id('node-' . $vars['type'] . '-' . $vars['nid']);
|
||||
|
||||
// Add a class to allow styling based on publish status.
|
||||
if ($vars['status']) {
|
||||
$vars['attributes_array']['class'][] = 'node-published';
|
||||
}
|
||||
|
||||
// Add a class to allow styling based on promotion.
|
||||
if (!$vars['promote']) {
|
||||
$vars['attributes_array']['class'][] = 'node-not-promoted';
|
||||
}
|
||||
|
||||
// Add a class to allow styling based on sticky status.
|
||||
if (!$vars['sticky']) {
|
||||
$vars['attributes_array']['class'][] = 'node-not-sticky';
|
||||
}
|
||||
|
||||
// Add a class to allow styling of nodes being viewed by the author of the node in question.
|
||||
if ($vars['uid'] == $vars['user']->uid) {
|
||||
$vars['attributes_array']['class'][] = 'self-posted';
|
||||
}
|
||||
|
||||
// Add a class to allow styling based on the node author.
|
||||
$vars['attributes_array']['class'][] = drupal_html_class('author-' . $vars['node']->name);
|
||||
|
||||
// Add a class to allow styling for zebra striping.
|
||||
$vars['attributes_array']['class'][] = drupal_html_class($vars['zebra']);
|
||||
|
||||
// Add a class to make the node container self clearing.
|
||||
$vars['attributes_array']['class'][] = 'clearfix';
|
||||
|
||||
$vars['content_attributes_array']['class'][] = 'content';
|
||||
$vars['content_attributes_array']['class'][] = 'clearfix';
|
||||
|
||||
// Adding a class to the title attributes
|
||||
$vars['title_attributes_array']['class'][] = 'node-title';
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_process_region().
|
||||
*/
|
||||
function omega_alpha_process_region(&$vars) {
|
||||
if (in_array($vars['elements']['#region'], array('content', 'menu', 'branding'))) {
|
||||
$theme = alpha_get_theme();
|
||||
|
||||
switch ($vars['elements']['#region']) {
|
||||
case 'content':
|
||||
$vars['title_prefix'] = $theme->page['title_prefix'];
|
||||
$vars['title'] = $theme->page['title'];
|
||||
$vars['title_suffix'] = $theme->page['title_suffix'];
|
||||
$vars['tabs'] = $theme->page['tabs'];
|
||||
$vars['action_links'] = $theme->page['action_links'];
|
||||
$vars['title_hidden'] = $theme->page['title_hidden'];
|
||||
$vars['feed_icons'] = $theme->page['feed_icons'];
|
||||
break;
|
||||
|
||||
case 'menu':
|
||||
$vars['main_menu'] = $theme->page['main_menu'];
|
||||
$vars['secondary_menu'] = $theme->page['secondary_menu'];
|
||||
break;
|
||||
|
||||
case 'branding':
|
||||
$vars['site_name'] = $theme->page['site_name'];
|
||||
$vars['linked_site_name'] = l($vars['site_name'], '<front>', array('attributes' => array('title' => t('Home')), 'html' => TRUE));
|
||||
$vars['site_slogan'] = $theme->page['site_slogan'];
|
||||
$vars['site_name_hidden'] = $theme->page['site_name_hidden'];
|
||||
$vars['site_slogan_hidden'] = $theme->page['site_slogan_hidden'];
|
||||
$vars['logo'] = $theme->page['logo'];
|
||||
$vars['logo_img'] = $vars['logo'] ? '<img src="' . $vars['logo'] . '" alt="' . check_plain($vars['site_name']) . '" id="logo" />' : '';
|
||||
$vars['linked_logo_img'] = $vars['logo'] ? l($vars['logo_img'], '<front>', array('attributes' => array('rel' => 'home', 'title' => check_plain($vars['site_name'])), 'html' => TRUE)) : '';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_process_zone().
|
||||
*/
|
||||
function omega_alpha_process_zone(&$vars) {
|
||||
$theme = alpha_get_theme();
|
||||
|
||||
if ($vars['elements']['#zone'] == 'content') {
|
||||
$vars['messages'] = $theme->page['messages'];
|
||||
$vars['breadcrumb'] = $theme->page['breadcrumb'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_preprocess_block().
|
||||
*/
|
||||
function omega_alpha_preprocess_block(&$vars) {
|
||||
$theme = alpha_get_theme();
|
||||
|
||||
// Adding a class to the title attributes
|
||||
$vars['title_attributes_array']['class'][] = 'block-title';
|
||||
|
||||
// Add odd/even zebra classes into the array of classes
|
||||
$vars['attributes_array']['class'][] = $vars['block_zebra'];
|
||||
|
||||
if(empty($vars['block']->subject) && (string) $vars['block']->subject != '0') {
|
||||
// Add a class to provide CSS for blocks without titles.
|
||||
$vars['attributes_array']['class'][] = 'block-without-title';
|
||||
}
|
||||
|
||||
if ($vars['block']->module != 'alpha-debug' && isset($vars['block']->region)) {
|
||||
if (alpha_library_active('omega_equalheights') && isset($theme->regions[$vars['block']->region])) {
|
||||
if ($theme->regions[$vars['block']->region]['equal_height_container']) {
|
||||
$vars['attributes_array']['class'][] = 'equal-height-element';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
14
sites/all/themes/omega/omega/templates/block.tpl.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php $tag = $block->subject ? 'section' : 'div'; ?>
|
||||
<<?php print $tag; ?><?php print $attributes; ?>>
|
||||
<div class="block-inner clearfix">
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($block->subject): ?>
|
||||
<h2<?php print $title_attributes; ?>><?php print $block->subject; ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
</div>
|
||||
</<?php print $tag; ?>>
|
40
sites/all/themes/omega/omega/templates/comment.tpl.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<article<?php print $attributes; ?>>
|
||||
<header>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($title): ?>
|
||||
<h3<?php print $title_attributes; ?>><?php print $title ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php if ($new): ?>
|
||||
<em class="new"><?php print $new ?></em>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($unpublished)): ?>
|
||||
<em class="unpublished"><?php print $unpublished; ?></em>
|
||||
<?php endif; ?>
|
||||
</header>
|
||||
|
||||
<?php print $picture; ?>
|
||||
|
||||
<footer class="comment-submitted">
|
||||
<?php
|
||||
print t('Submitted by !username on !datetime',
|
||||
array('!username' => $author, '!datetime' => '<time datetime="' . $datetime . '">' . $created . '</time>'));
|
||||
?>
|
||||
</footer>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($signature): ?>
|
||||
<div class="user-signature"><?php print $signature ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($content['links'])): ?>
|
||||
<nav class="links comment-links clearfix"><?php print render($content['links']); ?></nav>
|
||||
<?php endif; ?>
|
||||
|
||||
</article>
|
18
sites/all/themes/omega/omega/templates/html.tpl.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php print $doctype; ?>
|
||||
<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"<?php print $rdf->version . $rdf->namespaces; ?>>
|
||||
<head<?php print $rdf->profile; ?>>
|
||||
<?php print $head; ?>
|
||||
<title><?php print $head_title; ?></title>
|
||||
<?php print $styles; ?>
|
||||
<?php print $scripts; ?>
|
||||
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
</head>
|
||||
<body<?php print $attributes;?>>
|
||||
<div id="skip-link">
|
||||
<a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
|
||||
</div>
|
||||
<?php print $page_top; ?>
|
||||
<?php print $page; ?>
|
||||
<?php print $page_bottom; ?>
|
||||
</body>
|
||||
</html>
|
30
sites/all/themes/omega/omega/templates/node.tpl.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<article<?php print $attributes; ?>>
|
||||
<?php print $user_picture; ?>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if (!$page && $title): ?>
|
||||
<header>
|
||||
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
|
||||
</header>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php if ($display_submitted): ?>
|
||||
<footer class="submitted"><?php print $date; ?> -- <?php print $name; ?></footer>
|
||||
<?php endif; ?>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?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>
|
||||
|
||||
<div class="clearfix">
|
||||
<?php if (!empty($content['links'])): ?>
|
||||
<nav class="links node-links clearfix"><?php print render($content['links']); ?></nav>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php print render($content['comments']); ?>
|
||||
</div>
|
||||
</article>
|
@@ -0,0 +1,31 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php if ($linked_logo_img || $site_name || $site_slogan): ?>
|
||||
<div class="branding-data clearfix">
|
||||
<?php if ($linked_logo_img): ?>
|
||||
<div class="logo-img">
|
||||
<?php print $linked_logo_img; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($site_name || $site_slogan): ?>
|
||||
<?php $class = $site_name_hidden && $site_slogan_hidden ? ' element-invisible' : ''; ?>
|
||||
<hgroup class="site-name-slogan<?php print $class; ?>">
|
||||
<?php if ($site_name): ?>
|
||||
<?php $class = $site_name_hidden ? ' element-invisible' : ''; ?>
|
||||
<?php if ($is_front): ?>
|
||||
<h1 class="site-name<?php print $class; ?>"><?php print $linked_site_name; ?></h1>
|
||||
<?php else: ?>
|
||||
<h2 class="site-name<?php print $class; ?>"><?php print $linked_site_name; ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($site_slogan): ?>
|
||||
<?php $class = $site_slogan_hidden ? ' element-invisible' : ''; ?>
|
||||
<h6 class="site-slogan<?php print $class; ?>"><?php print $site_slogan; ?></h6>
|
||||
<?php endif; ?>
|
||||
</hgroup>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,16 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<a id="main-content"></a>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($title): ?>
|
||||
<?php if ($title_hidden): ?><div class="element-invisible"><?php endif; ?>
|
||||
<h1 class="title" id="page-title"><?php print $title; ?></h1>
|
||||
<?php if ($title_hidden): ?></div><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php if ($tabs && !empty($tabs['#primary'])): ?><div class="tabs clearfix"><?php print render($tabs); ?></div><?php endif; ?>
|
||||
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
|
||||
<?php print $content; ?>
|
||||
<?php if ($feed_icons): ?><div class="feed-icon clearfix"><?php print $feed_icons; ?></div><?php endif; ?>
|
||||
</div>
|
||||
</div>
|