mirror of
https://github.com/silverstripe/silverstripe-simple
synced 2024-09-30 05:09:07 +02:00
Compare commits
No commits in common. "master" and "3.0.2-rc1" have entirely different histories.
@ -1,17 +0,0 @@
|
|||||||
# For more information about the properties used in this file,
|
|
||||||
# please see the EditorConfig documentation:
|
|
||||||
# http://editorconfig.org
|
|
||||||
|
|
||||||
[*]
|
|
||||||
charset = utf-8
|
|
||||||
end_of_line = lf
|
|
||||||
indent_size = 4
|
|
||||||
indent_style = space
|
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
[{*.yml,package.json}]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# The indent size used in the package.json file cannot be changed:
|
|
||||||
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
webfonts/.DS_Store
|
webfonts/.DS_Store
|
||||||
images/.DS_Store
|
images/.DS_Store
|
||||||
css/.DS_Store
|
|
@ -1,6 +1,6 @@
|
|||||||
# Using the Simple theme
|
# Using the Simple theme
|
||||||
|
|
||||||
* Copy the theme into the `themes/` directory of your Silverstripe project. If you've named it correctly, there should be a directory called `themes/simple/templates`.
|
* Copy the theme into the `themes/` directory of your SilverStripe project. If you've named it correctly, there should be a directory called `themes/simple/templates`.
|
||||||
|
|
||||||
* Add the following to your `mysite/_config.php` file. Remove any existing `SSViewer::set_theme` lines.
|
* Add the following to your `mysite/_config.php` file. Remove any existing `SSViewer::set_theme` lines.
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
When having discussions about this module in issues or pull request please adhere to the [SilverStripe Community Code of Conduct](https://docs.silverstripe.org/en/contributing/code_of_conduct).
|
|
@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "silverstripe-themes/simple",
|
|
||||||
"description": "The SilverStripe simple theme (default SilverStripe 3 theme)",
|
|
||||||
"type": "silverstripe-theme",
|
|
||||||
"keywords": [
|
|
||||||
"silverstripe",
|
|
||||||
"theme"
|
|
||||||
],
|
|
||||||
"license": "BSD-3-Clause",
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Sara Tu\u0161ar (Innovaif)",
|
|
||||||
"homepage": "http://www.saratusar.com"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"require": {
|
|
||||||
"composer/installers": "*",
|
|
||||||
"silverstripe/framework": ">=3.5"
|
|
||||||
},
|
|
||||||
"extra": {
|
|
||||||
"expose": [
|
|
||||||
"css",
|
|
||||||
"images",
|
|
||||||
"javascript",
|
|
||||||
"webfonts"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
444
css/form.css
444
css/form.css
@ -1,50 +1,116 @@
|
|||||||
/** ----------------------------------------------------------
|
.ui-widget,
|
||||||
*
|
.ui-widget input,
|
||||||
* This stylesheet includes both generic form styles and
|
.ui-widget select,
|
||||||
* additional form styles for the User Defined Form Module.
|
.ui-widget textarea,
|
||||||
*
|
.ui-widget button {
|
||||||
** ------------------------------------------------------- */
|
font-family: Arial, Helvetica, sans-serif !important
|
||||||
|
}
|
||||||
|
input:invalid,
|
||||||
/* GENERIC FORMS
|
textarea:invalid {
|
||||||
----------------------------------------------- */
|
border-radius: 1px;
|
||||||
|
-moz-box-shadow: 0px 0px 5px red;
|
||||||
|
-webkit-box-shadow: 0px 0px 5px red;
|
||||||
|
box-shadow: 0px 0px 5px red;
|
||||||
|
}
|
||||||
|
.no-boxshadow input:invalid,
|
||||||
|
.no-boxshadow textarea:invalid {
|
||||||
|
background-color: #f0dddd
|
||||||
|
}
|
||||||
form {
|
form {
|
||||||
max-width: 500px;
|
max-width: 70%;
|
||||||
width: 50%;
|
}
|
||||||
|
form .message {
|
||||||
|
float:right;
|
||||||
|
padding-top: 6px;
|
||||||
|
color:#b80000;
|
||||||
|
}
|
||||||
|
.holder-required {
|
||||||
|
background-color:#ffb8b8;
|
||||||
|
}
|
||||||
|
form .good {
|
||||||
|
background-color: #ecf9d0;
|
||||||
|
border-color: #8fbe00;
|
||||||
|
}
|
||||||
|
form .bad {
|
||||||
|
background-color: #f9d0d0;
|
||||||
|
border-color: #be0000;
|
||||||
|
}
|
||||||
|
.checkbox,
|
||||||
|
.radio {
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
.checkbox label.right,
|
||||||
|
.radio label.right {
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
#MemberLoginForm_LoginForm_action_dologin,
|
||||||
|
.Actions .action {
|
||||||
|
padding: 6px 20px
|
||||||
|
}
|
||||||
|
#MemberLoginForm_LoginForm,
|
||||||
|
#MemberLoginForm_LostPasswordForm {
|
||||||
|
max-width: 500px
|
||||||
|
}
|
||||||
|
#ForgotPassword a {
|
||||||
|
margin-top: 15px
|
||||||
|
}
|
||||||
|
#ForgotPassword {
|
||||||
|
margin-top: 6px
|
||||||
}
|
}
|
||||||
div.field {
|
div.field {
|
||||||
margin: 10px 0 15px;
|
width: 100%;
|
||||||
}
|
float: left;
|
||||||
fieldset {
|
margin-bottom: 10px;
|
||||||
border: 0;
|
padding:10px;
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
form label {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
form label.left {
|
|
||||||
display: block;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
form label.right {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #888;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.middleColumn div.field {
|
||||||
|
padding-left:0;
|
||||||
|
padding-right:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.ui-widget {
|
||||||
|
font-family: Arial, Helvetica, sans-serif
|
||||||
|
}
|
||||||
|
form label.left {
|
||||||
|
max-width:50%;
|
||||||
|
padding-right: 5%;
|
||||||
|
padding-bottom:10px;
|
||||||
|
margin-top: 3px;
|
||||||
|
display: block;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
form label.right {
|
||||||
|
padding-left: 5%;
|
||||||
|
display: block;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
.main form .middleColumn {
|
||||||
|
float: left;
|
||||||
|
width: 50% !important;
|
||||||
|
}
|
||||||
|
.main form .middleColumn .middleColumn {
|
||||||
|
width: 100% !important
|
||||||
|
}
|
||||||
|
.header form .middleColumn {
|
||||||
|
float: none;
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
.listbox option {
|
||||||
|
padding: 3px 0
|
||||||
|
}
|
||||||
form input.text,
|
form input.text,
|
||||||
form textarea,
|
form textarea,
|
||||||
form .textajaxuniquetext, /* Not sure if this is used? */
|
form .textajaxuniquetext,
|
||||||
form select {
|
form select {
|
||||||
width: 100%;
|
width: 98%;
|
||||||
max-width: 400px;
|
padding: 6px 1%;
|
||||||
padding: 6px 5px;
|
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
background-color:#fff;
|
background-color:#fff;
|
||||||
border: 1px solid #dad9d9;
|
border: 1px solid #dad9d9;
|
||||||
}
|
}
|
||||||
.ie7 form select { width: 400px; } /* fix for ie7's rendering of max-width property on select input */
|
|
||||||
|
|
||||||
form input.text:focus,
|
form input.text:focus,
|
||||||
form textarea:focus,
|
form textarea:focus,
|
||||||
@ -52,239 +118,132 @@ form .textajaxuniquetext:focus,
|
|||||||
form select:focus {
|
form select:focus {
|
||||||
outline:none;
|
outline:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form input.sitetreeurlsegment {
|
||||||
|
width: 200px
|
||||||
|
}
|
||||||
|
form span.readonly {
|
||||||
|
font-size: 16px
|
||||||
|
}
|
||||||
form input[disabled], form textarea[disabled] {
|
form input[disabled], form textarea[disabled] {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
border: 1px solid #dad9d9;
|
border: 1px solid #dad9d9;
|
||||||
}
|
}
|
||||||
textarea {
|
|
||||||
resize: vertical; /* forces text area to be resized vertically only */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Radio and Checkbox */
|
|
||||||
.field .checkbox:not(.field),
|
|
||||||
.field .radio:not(.field) {
|
|
||||||
float: left;
|
|
||||||
width: 13px;
|
|
||||||
height: 13px;
|
|
||||||
margin-right: 6px;
|
|
||||||
margin-top: 5px;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.checkbox label.right,
|
|
||||||
.radio label.right {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Messages */
|
|
||||||
form .message {
|
|
||||||
background-color: #fef4ba;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 1px solid #e8c805;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
form .good {
|
|
||||||
background-color: #ecf9d0;
|
|
||||||
border-color: #8fbe00;
|
|
||||||
}
|
|
||||||
form .bad,
|
|
||||||
form .required,
|
|
||||||
form .error {
|
|
||||||
background-color: #f9d0d0;
|
|
||||||
border-color: #cf0000;
|
|
||||||
color: #b80000;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ACTIONS */
|
|
||||||
.Actions {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
a.btn, button, input[type="submit"], input[type="reset"], .Actions .action {
|
|
||||||
background: #b80000;
|
|
||||||
color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 6px 15px;
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
border: none;
|
|
||||||
font-size: 13px;
|
|
||||||
margin-right: 10px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
a.btn:hover, button, input[type="submit"]:hover, .Actions .action:hover {
|
|
||||||
background: #C80000;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
a.btn {
|
|
||||||
line-height: 18px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
a.btn:after { /* creates arrow in button */
|
|
||||||
content: '\2192';
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
.ie7 input.action {
|
|
||||||
width: 0; /* IE table-cell margin fix */
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
input.action[class] { /* IE ignores [class] */
|
|
||||||
width: auto; /* cancel margin fix for other browsers */
|
|
||||||
}
|
|
||||||
|
|
||||||
.ie7 .Actions .action {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.Actions:after {
|
|
||||||
color: #B94A48;
|
|
||||||
display: inline-block;
|
|
||||||
font-weight: normal;
|
|
||||||
margin-top: 9px;
|
|
||||||
}
|
|
||||||
#MemberLoginForm_LoginForm .Actions:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* AREA SPECIFIC */
|
|
||||||
/* LOGIN and FORGOT PASSWORD */
|
|
||||||
#Remember {
|
|
||||||
min-height: 20px;
|
|
||||||
}
|
|
||||||
#ForgotPassword {
|
|
||||||
clear: left;
|
|
||||||
}
|
|
||||||
#MemberLoginForm_LostPasswordForm .Actions:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search / Login */
|
|
||||||
.header form .middleColumn {
|
|
||||||
/* float: none;
|
|
||||||
width: 100% !important; */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* USER DEFINED USER FORM MODULE STYLES
|
|
||||||
----------------------------------------------- */
|
|
||||||
|
|
||||||
/*Generic and mixed*/
|
|
||||||
.FormHeading {
|
|
||||||
clear: both;
|
|
||||||
padding-top: 15px;
|
|
||||||
}
|
|
||||||
form .date .middleColumn input {
|
|
||||||
/*background: transparent url(../images/icons/your_icon_here.png) no-repeat scroll 90px 5px;*/
|
|
||||||
width: 114px;
|
|
||||||
}
|
|
||||||
.Actions input.resetformaction,
|
|
||||||
.Actions input.action-minor { /* Clear button */
|
|
||||||
float: left;
|
|
||||||
background-color: #888;
|
|
||||||
}
|
|
||||||
.Actions input.resetformaction:hover,
|
|
||||||
.Actions input.action-minor:hover { /* Clear button */
|
|
||||||
background-color: #aaa;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Labels */
|
|
||||||
.checkbox label.right {
|
|
||||||
font-size: 13px; /* reset to default */
|
|
||||||
color: #333; /* reset to default */
|
|
||||||
}
|
|
||||||
form .requiredField label.left:after, form .requiredField legend.left:after { /* pseudo element adds an asterisk to a required fields label */
|
|
||||||
color: #B94A48;
|
|
||||||
content: "*";
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: normal;
|
|
||||||
padding-left: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Radio / Checkbox */
|
|
||||||
form .checkboxset ul,
|
|
||||||
form .optionset ul {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
form .checkboxset li,
|
|
||||||
form .optionset li {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
list-style-type:none;
|
|
||||||
}
|
|
||||||
form div.checkbox:after { /* clearfix */
|
|
||||||
content: ".";
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
clear: both;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
form .checkbox .checkbox { clear: both; }
|
|
||||||
|
|
||||||
/* Messages */
|
|
||||||
span.message {
|
|
||||||
margin: 10px 0;
|
|
||||||
display: block;
|
|
||||||
max-width: 390px;
|
|
||||||
clear: left;
|
|
||||||
}
|
|
||||||
div.holder-required { /* This class needs to be changed - is used for both input and div */
|
|
||||||
/* background-color: #f9d0d0;
|
|
||||||
border: 1px solid #cf0000;
|
|
||||||
padding: 10px;
|
|
||||||
margin-left: -11px; */
|
|
||||||
}
|
|
||||||
form input.holder-required { /* This class needs to be changed - is used for both input and div */
|
|
||||||
border: 1px solid #cf0000;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Error messages */
|
|
||||||
input:invalid,
|
|
||||||
textarea:invalid {
|
|
||||||
border-radius: 1px;
|
|
||||||
box-shadow: 0px 0px 5px red;
|
|
||||||
}
|
|
||||||
.no-boxshadow input:invalid,
|
|
||||||
.no-boxshadow textarea:invalid {
|
|
||||||
background-color: #f0dddd
|
|
||||||
}
|
|
||||||
|
|
||||||
/* To test - potentially not needed? */
|
|
||||||
.ss-uploadfield-item-info button{
|
|
||||||
margin-top: 4px !important;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
form .creditCardField input,
|
form .creditCardField input,
|
||||||
form input.currency,
|
form input.currency {
|
||||||
|
padding: 5px 1%;
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
form input.numeric {
|
form input.numeric {
|
||||||
|
padding: 5px 1%;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
}
|
}
|
||||||
form #DMYDate-month,
|
form #DMYDate-month,
|
||||||
form #DMYDate-day {
|
form #DMYDate-day {
|
||||||
width: 25px
|
width: 25px
|
||||||
}
|
}
|
||||||
|
form .checkboxset ul,
|
||||||
|
form .optionset ul {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
form .checkboxset li,
|
||||||
|
form .optionset li {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
list-style-type:none;
|
||||||
|
}
|
||||||
|
form .checkboxset li .checkbox,
|
||||||
|
form .optionset li .radio{
|
||||||
|
margin-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn, button, input[type="submit"] {
|
||||||
|
background: #b80000;
|
||||||
|
color: #fff;
|
||||||
|
display: inline-block;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 6px 15px;
|
||||||
|
margin-top: 10px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
border-bottom: none !important;
|
||||||
|
font-size: 13px;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn:hover, button, input[type="submit"]:hover {
|
||||||
|
background: #d80000;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsive form styles
|
button{
|
||||||
----------------------------------------------- */
|
background-color:#a4a4a4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ss-uploadfield-item-info button{
|
||||||
|
margin-top:4px !important;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.btn:after {
|
||||||
|
content: '\2192';
|
||||||
|
padding-left: 10px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.resetformaction {
|
||||||
|
float:right;
|
||||||
|
border-radius:20px;
|
||||||
|
background-color:#9F9F9F;
|
||||||
|
border:none;
|
||||||
|
color:#fff;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 700px) {
|
@media only screen and (max-width: 700px) {
|
||||||
|
.main form .middleColumn {
|
||||||
/* To test - potentially not needed? */
|
float: right;
|
||||||
|
width: 100% !important;
|
||||||
|
: ;
|
||||||
|
}
|
||||||
.header form .middleColumn {
|
.header form .middleColumn {
|
||||||
float: none;
|
float: none;
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
: ;
|
||||||
}
|
}
|
||||||
form label.left,
|
form label.left,
|
||||||
#MemberLoginForm_LoginForm label {
|
#MemberLoginForm_LoginForm label {
|
||||||
margin-bottom: 8px
|
margin-bottom: 8px
|
||||||
}
|
}
|
||||||
|
div.field {
|
||||||
|
position:relative;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
.checkbox label.right,
|
||||||
|
.radio label.right {
|
||||||
|
float:left;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
form label.left {
|
||||||
|
width:50%;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
form label.right {
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 10px;
|
||||||
|
margin-top: 3px;
|
||||||
|
width: 50%;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.checkbox label.right,
|
||||||
|
.radio label.right {
|
||||||
|
position:relative;
|
||||||
|
right:auto;
|
||||||
|
margin-top:-10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 900px) {
|
@media only screen and (max-width: 900px) {
|
||||||
@ -294,5 +253,4 @@ form #DMYDate-day {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 700px) {
|
@media only screen and (min-width: 700px) {
|
||||||
|
|
||||||
}
|
}
|
715
css/layout.css
715
css/layout.css
@ -1,154 +1,42 @@
|
|||||||
/** ----------------------------------------------------------
|
header:after,
|
||||||
*
|
.main:after,
|
||||||
* Contains the main layout of the page and the individual styles.
|
#Root:after,
|
||||||
* Acts as the main stylesheet for theme.
|
.search-bar:after,
|
||||||
*
|
header .inner:after,
|
||||||
* Include your notes or table of contents below....
|
footer:after {
|
||||||
* Include color hex's or values of your grid
|
height: 0;
|
||||||
*
|
content: ".";
|
||||||
* 1. OOCSS GRID
|
display: block;
|
||||||
* 2. MAIN LAYOUT
|
clear: both;
|
||||||
* 3. HEADER
|
visibility: hidden;
|
||||||
* - Brand
|
|
||||||
* - Search Form
|
|
||||||
* 4. Navigation
|
|
||||||
* - Primary Navigation
|
|
||||||
* - tablet Navigation
|
|
||||||
* - Secondary Navigation
|
|
||||||
* - Secondary Nav 2-5 Levels deep
|
|
||||||
* 5. Mixed
|
|
||||||
* 6. Footer
|
|
||||||
* 7. Page Specific Layout
|
|
||||||
* - Homepage
|
|
||||||
* - Search Results
|
|
||||||
* 8. Device and Responsive Layout
|
|
||||||
* - Breakpoint 960px
|
|
||||||
* - Breakpoint 640px
|
|
||||||
* - Search Form
|
|
||||||
* - Main Content
|
|
||||||
* 9. Print Styles
|
|
||||||
* - Simple Theme custom print styles
|
|
||||||
*
|
|
||||||
* @author Your Name <email@silverstripe.com>
|
|
||||||
* ------------------------------------------------------- */
|
|
||||||
|
|
||||||
/* OOCSS Grid
|
|
||||||
* https://github.com/stubbornella/oocss/wiki/grids
|
|
||||||
*/
|
|
||||||
|
|
||||||
.line, /* line - Groups units on one horizontal line. Note: for mobile layout units may be stacked to avoid horizontal scrolling. */
|
|
||||||
.lastUnit {
|
|
||||||
overflow:hidden;
|
|
||||||
*overflow:visible;
|
|
||||||
*zoom:1;
|
|
||||||
padding:0 10px;
|
|
||||||
}
|
}
|
||||||
.unit { /* unit - Base class which divides a line into sections (columns). */
|
|
||||||
float:left;
|
|
||||||
padding:0 10px;
|
|
||||||
-moz-box-sizing:border-box;
|
|
||||||
-webkit-box-sizing:border-box;
|
|
||||||
box-sizing:border-box; /* box-sizing:border-box; creates a box-model where
|
|
||||||
padding and border are NOT added onto the width - they are included in the width,
|
|
||||||
so a 200px wide element with 20px padding will be 200px, NOT 240px wide */
|
|
||||||
}
|
|
||||||
.unitRightv { /* Use this class if you want to offset a column eg: |--content(.unit)--|--content(.unit)--|--no-content--|--no-content--|--content(.unitRighttv)--| */
|
|
||||||
float:right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* sizeXofY - Extends unit. Indicates the fractional width of the unit, for example size3of4 would take up three quarters, or 75%, of the horizontal space.
|
|
||||||
The following fractions are supported: 1, 1/2, 1/3, 2/3, 1/4, 3/4, 1/5, 2/5, 3/5, 4/5 */
|
|
||||||
/* It is possible to add more columns if you wish you will just have to add the fractions that are missing eg: .size1of6 {width:16.66666%;} */
|
|
||||||
|
|
||||||
.size1of1 {
|
|
||||||
float:none;
|
|
||||||
}
|
|
||||||
.size1of2 {
|
|
||||||
width:50%;
|
|
||||||
}
|
|
||||||
.size1of3 {
|
|
||||||
width:33.33333%;
|
|
||||||
}
|
|
||||||
.size2of3 {
|
|
||||||
width:66.66666%;
|
|
||||||
}
|
|
||||||
.size1of4 {
|
|
||||||
width:25%;
|
|
||||||
}
|
|
||||||
.size3of4 {
|
|
||||||
width:75%;
|
|
||||||
}
|
|
||||||
.size1of5 {
|
|
||||||
width:20%;
|
|
||||||
}
|
|
||||||
.size2of5 {
|
|
||||||
width:40%;
|
|
||||||
}
|
|
||||||
.size3of5 {
|
|
||||||
width:60%;
|
|
||||||
}
|
|
||||||
.size4of5 {
|
|
||||||
width:80%;
|
|
||||||
}
|
|
||||||
.lastUnit { /* lastUnit - Extends unit. Applied to the last child of every line. */
|
|
||||||
float:none;
|
|
||||||
width:auto;
|
|
||||||
_position:relative; /* Bug fix for IE6 - Internet Explorer 6 and below wouldn't fail on properties that were prefixed with non-alphanumeric characters.
|
|
||||||
meaning that anything prefixed with _ wouldn't be picked up by any other browsers */
|
|
||||||
_left:-3px;
|
|
||||||
_margin-right:-3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* MAIN LAYOUT */
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #ededed;
|
background: #ededed;
|
||||||
min-width: 240px;
|
min-width: 240px;
|
||||||
-webkit-text-size-adjust: none; /* The text size is not adjusted for Safari on iPhone */
|
-webkit-text-size-adjust: none;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
.ie7 body,
|
.ie7 body,
|
||||||
.ie8 body {
|
.ie8 body {
|
||||||
min-width: 860px; /* media queries are not supported in ie7/8 without a polyfill */
|
min-width: 860px
|
||||||
}
|
}
|
||||||
.main {
|
::-moz-selection {
|
||||||
background: #fff;
|
background: #b80000;
|
||||||
padding: 40px 0 60px;
|
|
||||||
min-height: 300px;
|
|
||||||
}
|
|
||||||
.inner {
|
|
||||||
max-width: 1100px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0 30px;
|
|
||||||
}
|
|
||||||
.ie6 .inner {
|
|
||||||
width: 960px;
|
|
||||||
}
|
|
||||||
.no-sidebar .content-container {
|
|
||||||
float: left;
|
|
||||||
width:100%; /* makes content container full width when there is no sidebar */
|
|
||||||
}
|
|
||||||
.sidebar { /* this is the sidebar element */
|
|
||||||
margin-top: 12px;
|
|
||||||
}
|
|
||||||
.no-sidebar .sidebar {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* HEADER */
|
|
||||||
.header {
|
|
||||||
background: #161616;
|
|
||||||
}
|
|
||||||
.header .inner {
|
|
||||||
padding-top: 45px;
|
|
||||||
position: relative;
|
|
||||||
min-height: 72px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Brand */
|
|
||||||
header .brand, header .brand:hover {
|
|
||||||
float: left;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
::selection {
|
||||||
|
background: #b80000;
|
||||||
|
color: #fff;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
a:link {
|
||||||
|
-webkit-tap-highlight-color: #b80000
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand {
|
||||||
|
float: left;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.brand h1 {
|
.brand h1 {
|
||||||
@ -158,40 +46,56 @@ body {
|
|||||||
font-family: "HelveticaNeueLTPro-Bd", "Helvetica Neue LT Pro Bold", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue LT Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "HelveticaNeueLTPro-Bd", "Helvetica Neue LT Pro Bold", "HelveticaNeueBold", "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue LT Pro", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-stretch: normal; /* default value. No font stretching */
|
font-stretch: normal;
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
|
.brand,
|
||||||
|
.brand:hover {
|
||||||
|
color: #fff
|
||||||
|
}
|
||||||
.brand p {
|
.brand p {
|
||||||
color: #888;
|
color: #888;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
|
.search-bar form input.action,
|
||||||
/* Search form */
|
.header .primary li a,
|
||||||
|
.footer a {
|
||||||
|
-moz-transition: color 0.2s;
|
||||||
|
-webkit-transition: color 0.2s;
|
||||||
|
transition: color 0.2s;
|
||||||
|
}
|
||||||
|
/* Search Form */
|
||||||
.search-bar {
|
.search-bar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 13px;
|
right: 30px;
|
||||||
top: 12px;
|
top: 34px;
|
||||||
}
|
}
|
||||||
.search-bar .field {
|
.search-dropdown-icon {
|
||||||
margin: 0;
|
display: none
|
||||||
|
}
|
||||||
|
.search-bar form fieldset {
|
||||||
|
position: relative;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.search-bar form input.text {
|
.search-bar form input.text {
|
||||||
width: 155px;
|
width: 155px;
|
||||||
padding: 5px 34px 5px 15px;
|
padding:6px 35px 6px 10px;
|
||||||
color: #888;
|
color: #888;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 14px;
|
border-radius: 20px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
.search-bar form input.active {
|
||||||
.search-bar form input.action { /* positions the search button icon over the top of the search input */
|
color: #000
|
||||||
font-size: 14px;
|
}
|
||||||
|
.search-bar form input.action {
|
||||||
|
font-size: 15px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 5px;
|
right: 3px;
|
||||||
top: 0;
|
top: -1px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -199,39 +103,29 @@ body {
|
|||||||
font-family: 'WebSymbolsRegular';
|
font-family: 'WebSymbolsRegular';
|
||||||
color: #848484;
|
color: #848484;
|
||||||
border-radius:0;
|
border-radius:0;
|
||||||
margin: 0;
|
margin-top:0;
|
||||||
}
|
}
|
||||||
.search-bar form input.active,
|
|
||||||
.search-bar form input.action:hover {
|
.search-bar form input.action:hover {
|
||||||
color: #000;
|
color: #000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Search {
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
|
||||||
.search-bar form input:focus,
|
.search-bar form input:focus,
|
||||||
.header textarea:focus {
|
.header textarea:focus {
|
||||||
outline: none; /* removes default browser outlining on focus */
|
outline: none
|
||||||
}
|
|
||||||
.search-dropdown-icon {
|
|
||||||
display: none; /* hides search-dropdown-icon when site is at full width - media queries set it to display:block when at mobile/tablet width */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* NAVIGATION */
|
|
||||||
|
|
||||||
/* Primary navigation */
|
|
||||||
.header .inner .unit {
|
|
||||||
position: relative; /* used to position the main navigation */
|
|
||||||
}
|
}
|
||||||
.header .primary ul {
|
.header .primary ul {
|
||||||
position:absolute;
|
/*float: right; margin:23px -12px 0 0;*/ position:absolute; bottom:0; right:17px;
|
||||||
bottom:0;
|
|
||||||
right:0; /* positions the main navigation */
|
|
||||||
}
|
}
|
||||||
.header .primary li {
|
.header .primary li {
|
||||||
float: left;
|
float: left;
|
||||||
padding-bottom: 14px;
|
padding-bottom: 17px;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap; /* forces text to never wrap onto a second line */
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.header .primary li a {
|
.header .primary li a {
|
||||||
color: #888;
|
color: #888;
|
||||||
@ -242,78 +136,102 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.header .primary li a:hover {
|
.header .primary li a:hover {
|
||||||
color: #fff;
|
color: #fff
|
||||||
}
|
}
|
||||||
.header .primary li.section a,
|
.header .primary li.section a,
|
||||||
.header .primary li.current a {
|
.header .primary li.current a {
|
||||||
color: #fff;
|
color: #fff
|
||||||
}
|
}
|
||||||
.header .primary li.section:after,
|
.header .primary li.section:after,
|
||||||
.header .primary li.current:after {
|
.header .primary li.current:after {
|
||||||
content: '}'; /* adds triangle beneath current nav item ('}' is renders as a triangle when WebSymbolsRegular is set as the font) */
|
content: '}';
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-left: -7px;
|
margin-left: -7px;
|
||||||
bottom: -7px;
|
bottom: -6px;
|
||||||
font-family: 'WebSymbolsRegular';
|
font-family: 'WebSymbolsRegular';
|
||||||
font-size: 30px;
|
font-size: 28px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
/* when navigation and logo overlap tablet-nav is initialized */
|
||||||
/* Tablet Navigation */
|
|
||||||
/* When navigation and logo overlap tablet-nav is initialized */
|
|
||||||
.tablet-nav .brand p {
|
.tablet-nav .brand p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0
|
||||||
}
|
}
|
||||||
.tablet-nav .header .inner {
|
.tablet-nav .header .inner {
|
||||||
padding-top: 20px;
|
padding-top: 20px
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul {
|
.tablet-nav .header .primary ul {
|
||||||
float: left;
|
float: left;
|
||||||
clear: both;
|
clear: both;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 20px 0 0 -13px;
|
margin: 20px 0 4px -12px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
right: auto; /* resets the right property value that is set for the desktop site */
|
right: auto;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li {
|
.tablet-nav .header .primary ul li {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
padding-bottom: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li a { /* there is no hover on touch devices so no transition on hover is necessary */
|
.tablet-nav .header .primary ul li a {
|
||||||
-moz-transition: none;
|
-moz-transition: none;
|
||||||
-webkit-transition: none;
|
-webkit-transition: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
.tablet-nav .header .primary ul li.current a,
|
||||||
|
.tablet-nav .header .primary ul li.section a {
|
||||||
|
background-color: #525252;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
.tablet-nav .header .primary li.section:after,
|
||||||
|
.tablet-nav .header .primary li.current:after {
|
||||||
|
display: none
|
||||||
|
}
|
||||||
.tablet-nav .footer .right {
|
.tablet-nav .footer .right {
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
.header .nav-open-button {
|
||||||
/* Secondary navigation */
|
display: none
|
||||||
.main .secondary h3 {
|
}
|
||||||
|
.inner {
|
||||||
|
max-width: 1100px;
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 0 30px;
|
||||||
|
}
|
||||||
|
.ie6 .inner {
|
||||||
|
width: 960px
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
background: #fff;
|
||||||
|
padding: 50px 0 60px;
|
||||||
|
}
|
||||||
|
aside {
|
||||||
|
float: left;
|
||||||
|
width: 23%;
|
||||||
|
margin-top: 17px;
|
||||||
|
}
|
||||||
|
.secondary h3 {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: #AAA;
|
color: #b8b7b7;
|
||||||
margin: 0 0 8px 0;
|
margin: 0 0 8px 0;
|
||||||
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
}
|
||||||
.main .secondary {
|
.secondary {
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5
|
||||||
}
|
}
|
||||||
.main .secondary ul {
|
.secondary ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.main .secondary li {
|
.secondary li {
|
||||||
border-top: 1px solid #e5e5e5;
|
border-top: 1px solid #e5e5e5;
|
||||||
position: relative;
|
position: relative;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
.main .secondary li .arrow {
|
.secondary li .arrow {
|
||||||
color: #b80000;
|
color: #b80000;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
display: block;
|
display: block;
|
||||||
@ -321,120 +239,121 @@ body {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 2px;
|
left: 2px;
|
||||||
top: 7px;
|
top: 5px;
|
||||||
-moz-transition: 0.2s; /* this transition moves the arrow from left:2px to left:6px */
|
-moz-transition: 0.2s;
|
||||||
-webkit-transition: 0.2s;
|
-webkit-transition: 0.2s;
|
||||||
transition: 0.2s;
|
transition: 0.2s;
|
||||||
}
|
}
|
||||||
.main .secondary li a:hover .arrow {
|
.secondary li:hover .arrow {
|
||||||
left: 6px; /* this sets the final position for the arrow transition */
|
left: 6px
|
||||||
}
|
}
|
||||||
.main .secondary li a { /* side nav link styling */
|
.secondary li a {
|
||||||
padding: 10px 0;
|
padding: 8px 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 100%;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #333;
|
color: #333;
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
border-bottom: none;
|
|
||||||
font-family: 'Lucida Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
|
font-family: 'Lucida Sans', 'Lucida Grande', Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
.main .secondary li .text {
|
.secondary li .text {
|
||||||
padding-left: 28px;
|
padding-left: 28px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.main .secondary li.current a.current {
|
.secondary li.section,
|
||||||
color: #b80000;
|
.secondary li.current {
|
||||||
background-color: #EDEDED;
|
background-color: #f7f7f7
|
||||||
}
|
}
|
||||||
.main .secondary li.section,
|
.secondary li.section a,
|
||||||
.main .secondary li.current {
|
.secondary li.current a {
|
||||||
background-color: #F3F3F3;
|
color: #000
|
||||||
}
|
}
|
||||||
.main .secondary li.section a,
|
.content-container {
|
||||||
.main .secondary li.current a {
|
float: right;
|
||||||
color: #000;
|
width: 73%;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
}
|
||||||
|
.no-sidebar .content-container {
|
||||||
|
float: left;
|
||||||
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-sidebar aside {
|
||||||
/* Secondary navigation 2-5 levels deep */
|
|
||||||
.main .secondary ul ul {
|
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
.secondary ul li.current ul,
|
|
||||||
.secondary ul li.section ul { /* Only show child pages from selected parent */
|
.header {
|
||||||
|
background: #161616
|
||||||
|
}
|
||||||
|
.header .inner {
|
||||||
|
padding-top: 45px;
|
||||||
|
position: relative;
|
||||||
|
min-height: 72px;
|
||||||
|
}
|
||||||
|
/* Search Results */
|
||||||
|
.searchResults h1 {
|
||||||
|
font-size: 36px;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.searchResults p.searchQuery {
|
||||||
|
color: #333;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.searchResults ul#SearchResults {
|
||||||
|
padding: 0
|
||||||
|
}
|
||||||
|
.searchResults ul#SearchResults li {
|
||||||
|
border-top: 1px solid #e5e5e5;
|
||||||
|
padding: 20px 0;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
.searchResults ul#SearchResults p {
|
||||||
|
margin-bottom: 12px
|
||||||
|
}
|
||||||
|
.searchResults ul#SearchResults a.searchResultHeader {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.secondary li.current ul ul {
|
.searchResults #PageNumbers {
|
||||||
display: none;
|
border-top: 1px solid #e5e5e5;
|
||||||
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
.main .secondary ul ul li a { padding-left: 10px; } /* Indent all sidebar navigation levels*/
|
.searchResults #PageNumbers a {
|
||||||
.main .secondary ul ul li a .arrow { left: 12px; }
|
padding: 0 5px
|
||||||
.main .secondary ul ul li a:hover .arrow { left: 16px; }
|
|
||||||
|
|
||||||
.main .secondary ul ul ul li a { padding-left: 20px; }
|
|
||||||
.main .secondary ul ul ul li a .arrow { left: 22px; }
|
|
||||||
.main .secondary ul ul ul li a:hover .arrow { left: 26px; }
|
|
||||||
|
|
||||||
.main .secondary ul ul ul ul li a { padding-left: 30px; }
|
|
||||||
.main .secondary ul ul ul ul li a .arrow { left: 32px; }
|
|
||||||
.main .secondary ul ul ul ul li a:hover .arrow { left: 36px; }
|
|
||||||
|
|
||||||
.main .secondary ul ul ul ul ul li a { padding-left: 40px; }
|
|
||||||
.main .secondary ul ul ul ul ul li a .arrow { left: 32px; }
|
|
||||||
.main .secondary ul ul ul ul ul li a:hover .arrow { left: 36px; }
|
|
||||||
|
|
||||||
.main .secondary li a:hover,
|
|
||||||
.main .secondary li.section a:hover,
|
|
||||||
.main .secondary li.current a:hover {
|
|
||||||
color: #b80000;
|
|
||||||
}
|
}
|
||||||
|
.searchResults #PageNumbers .pagination {
|
||||||
|
float: left
|
||||||
|
|
||||||
|
|
||||||
/* MIXED */
|
|
||||||
header:after,
|
|
||||||
.main:after,
|
|
||||||
#Root:after,
|
|
||||||
.search-bar:after,
|
|
||||||
header .inner:after,
|
|
||||||
footer:after { /* clearfix */
|
|
||||||
height: 0;
|
|
||||||
content: ".";
|
|
||||||
display: block;
|
|
||||||
clear: both;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
}
|
||||||
.search-bar form input.action,
|
.searchResults #PageNumbers p {
|
||||||
.header .primary li a,
|
float: right
|
||||||
.footer a { /* adds color transition when links/inputs on hover */
|
|
||||||
-moz-transition: color 0.2s;
|
|
||||||
-webkit-transition: color 0.2s;
|
|
||||||
transition: color 0.2s;
|
|
||||||
}
|
}
|
||||||
.footer a.brand { color: #333; margin-left: 0; }
|
.searchResults #PageNumbers .next,
|
||||||
.footer a.brand:hover { color: #B80000; }
|
.searchResults #PageNumbers .prev {
|
||||||
body h1 span.amp {
|
font-size: 14px
|
||||||
font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
}
|
||||||
|
.searchResults #PageNumbers .next {
|
||||||
|
margin-left: 15px
|
||||||
/* FOOTER */
|
}
|
||||||
|
.searchResults #PageNumbers .prev {
|
||||||
|
margin-right: 15px
|
||||||
|
}
|
||||||
|
/* Footer */
|
||||||
.footer {
|
.footer {
|
||||||
color: #6B6B6B;
|
color: #999;
|
||||||
background: #ededed;
|
background: #ededed;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
.footer a {
|
.footer a {
|
||||||
color: #6B6B6B;
|
color: #999
|
||||||
}
|
}
|
||||||
.footer a:hover {
|
.footer a:hover {
|
||||||
color: #B90000;
|
color: #000
|
||||||
}
|
}
|
||||||
.footer .left {
|
.footer .left {
|
||||||
float: left;
|
float: left;
|
||||||
@ -458,21 +377,21 @@ body h1 span.amp {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.footer .primary li {
|
.footer .primary li {
|
||||||
display: inline;
|
display: inline
|
||||||
}
|
}
|
||||||
.ie6 .footer .primary li,
|
.ie6 .footer .primary li,
|
||||||
.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
|
.ie7 .footer .primary li {
|
||||||
display: inline;
|
display: inline;
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.footer .primary li:after { /* adds '/' to separate the footer navigation items */
|
.footer .primary li:after {
|
||||||
padding: 0 3px 0 5px;
|
padding: 0 3px 0 5px;
|
||||||
content: '/';
|
content: '/';
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
.footer .primary li:last-child:after {
|
.footer .primary li:last-child:after {
|
||||||
content: ''; /* makes sure last nav item doesn't have a '/' following it */
|
content: ''
|
||||||
}
|
}
|
||||||
.footer .arrow {
|
.footer .arrow {
|
||||||
padding: 0 8px 0 5px;
|
padding: 0 8px 0 5px;
|
||||||
@ -480,82 +399,15 @@ body h1 span.amp {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
.footer .primary .nav-open-button {
|
.footer .primary .nav-open-button {
|
||||||
display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
|
display: none
|
||||||
}
|
}
|
||||||
|
.footer .primary ul#nav .menu-bubble-arrow {
|
||||||
/* PAGE SPECIFIC LAYOUT */
|
display: none
|
||||||
|
|
||||||
/* Homepage */
|
|
||||||
/* currently no Hompage specific styles - feel free to add your own */
|
|
||||||
|
|
||||||
/* Search Results */
|
|
||||||
.typography .searchResults h1 {
|
|
||||||
margin-bottom: 0;
|
|
||||||
padding-bottom: 0;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
.searchResults p.searchQuery {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.searchResults ul#SearchResults {
|
|
||||||
padding: 0;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
.searchResults ul#SearchResults li {
|
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
padding: 20px 0;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
.searchResults ul#SearchResults p {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers a {
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers .pagination {
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
|
||||||
padding: 20px 0;
|
|
||||||
display:table; /* displays the pagination as a table so that elements stay inline and the middle column adjusts its size to accomodate and the right arrow stays to the right */
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers .pagination button{
|
|
||||||
display:table-cell; /* each element in the pagination div displays as a table cell */
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers p {
|
|
||||||
text-align: center;
|
|
||||||
padding:20px 0;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers .next,
|
|
||||||
.searchResults #PageNumbers .prev {
|
|
||||||
font-size: 14px;
|
|
||||||
padding: 0 20px;
|
|
||||||
display:table-cell; /* each element in the pagination div displays as a table cell */
|
|
||||||
vertical-align: middle;
|
|
||||||
border-bottom:0 !important;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers .next {
|
|
||||||
margin-left: 15px;
|
|
||||||
}
|
|
||||||
.searchResults #PageNumbers .prev {
|
|
||||||
margin-right: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* DEVICE & RESPONSIVE LAYOUT */
|
|
||||||
.header .nav-open-button {
|
|
||||||
display: none; /* removes the nav toggle button for desktop site */
|
|
||||||
}
|
}
|
||||||
#media-query-trigger {
|
#media-query-trigger {
|
||||||
/* instead of detecting the width of the window in simple/javascript/script.js it detects the visibility of this element (which is set using media queries)
|
|
||||||
instead to trigger the hiding/showing of nav and search in mobile mode */
|
|
||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BREAKPOINT 960px */
|
|
||||||
|
|
||||||
@media only screen and (max-width: 960px) {
|
@media only screen and (max-width: 960px) {
|
||||||
.content img {
|
.content img {
|
||||||
max-width: 97%;
|
max-width: 97%;
|
||||||
@ -563,78 +415,68 @@ body h1 span.amp {
|
|||||||
}
|
}
|
||||||
.header .primary ul {
|
.header .primary ul {
|
||||||
margin-left: -12px;
|
margin-left: -12px;
|
||||||
-webkit-padding-start: 0px; /* removes default webkit padding on ul items */
|
-webkit-padding-start: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BREAKPOINT 640px */
|
|
||||||
|
|
||||||
/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
|
/* when changing the breakpoint below, change it ito the same value in the script.js file as well */
|
||||||
@media only screen and (max-width: 640px) {
|
@media only screen and (max-width: 640px) {
|
||||||
body {
|
body {
|
||||||
max-width: 640px;
|
max-width: 640px
|
||||||
}
|
}
|
||||||
#media-query-trigger {
|
#media-query-trigger {
|
||||||
visibility: visible;
|
visibility: visible
|
||||||
}
|
}
|
||||||
|
.brand {
|
||||||
/* Navigation*/
|
|
||||||
|
|
||||||
.tablet-nav .header .brand {
|
|
||||||
float: none;
|
float: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 22px;
|
margin-left: 22px;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 22px;
|
||||||
}
|
}
|
||||||
.brand h1 {
|
.brand h1 {
|
||||||
font-size: 40px;
|
font-size: 40px
|
||||||
}
|
}
|
||||||
.brand h1 {
|
.brand h1 {
|
||||||
padding-right: 100px; /* padding stops .brand text from overlapping the search and nav buttons */
|
padding-right: 80px
|
||||||
}
|
}
|
||||||
.tablet-nav .header {
|
.header {
|
||||||
padding: 0;
|
padding: 0px
|
||||||
}
|
}
|
||||||
.tablet-nav .header .inner {
|
.header .inner {
|
||||||
padding: 20px 0 0 0;
|
padding: 20px 0 0 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary .nav-open-button { /* styling and positioning of the nav toggle button */
|
.header .primary .nav-open-button {
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20px;
|
right: 20px;
|
||||||
top: 35px;
|
top: 32px;
|
||||||
display: block;
|
display: block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'WebSymbolsRegular';
|
font-family: 'WebSymbolsRegular';
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
color: #ededed;
|
color: #ededed;
|
||||||
background: #000;
|
|
||||||
margin-top: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul {
|
.header .primary ul {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: none; /* initially hiding the navigation */
|
display: none;
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0;
|
margin: 0 !important;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li {
|
.header .primary ul li {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0 !important;
|
||||||
padding: 0;
|
float: none;
|
||||||
float: none; /* displays list items vertically */
|
|
||||||
background: none;
|
background: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-shadow: 0 1px #fff;
|
text-shadow: 0 1px #fff;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li:after { /* creates the arrow for the primary nav links */
|
.header .primary ul li:after {
|
||||||
content: '\003e';
|
content: '\003e';
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -647,42 +489,31 @@ body h1 span.amp {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
line-height: 38px;
|
line-height: 38px;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li a,
|
.header .primary ul li a,
|
||||||
.tablet-nav .header .primary ul li.current a,
|
.header .primary ul li.current a,
|
||||||
.tablet-nav .header .primary ul li.section a { /* styling the top level nav links */
|
.header .primary ul li.section a {
|
||||||
padding: 10px 0 10px 22px;
|
padding: 10px 0 10px 22px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-bottom: 1px solid #bbb;
|
border-bottom: 1px solid #bbb;
|
||||||
color: #434343;
|
color: #434343;
|
||||||
background: #e7e7e7;
|
border-radius: 0 !important;
|
||||||
|
background: #e7e7e7 !important;
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li.current a,
|
.header .primary ul li a:hover {
|
||||||
.tablet-nav .header .primary ul li.section a {
|
color: inherit
|
||||||
background: #CCCCCC; /* makes background on current top level page slightly darker */
|
|
||||||
}
|
}
|
||||||
.tablet-nav .header .primary ul li a:hover {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
.tablet-nav .header .primary li.section:after,
|
|
||||||
.tablet-nav .header .primary li.current:after {
|
|
||||||
display: none; /* hides the link arrow on current top level page */
|
|
||||||
}
|
|
||||||
.tablet-nav .tablet-nav .header nav.primary ul li {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search Form */
|
/* Search Form */
|
||||||
.search-bar { /* adds new styling to mobile search bar */
|
.search-bar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
display: none; /* hides searchbar initially */
|
display: none;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: #E7E7E7;
|
background-color: #E7E7E7;
|
||||||
}
|
}
|
||||||
.search-dropdown-icon { /* styling for search toggle button */
|
.search-dropdown-icon {
|
||||||
display: block;
|
display: block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
@ -707,12 +538,11 @@ body h1 span.amp {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.search-bar div.field {
|
.search-bar div.field {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0
|
||||||
}
|
}
|
||||||
.search-bar form input.text {
|
.search-bar form input.text {
|
||||||
width: 89%; /* makes search input full width - allowing for space either side */
|
width: 93%;
|
||||||
max-width: 89%;
|
padding: 8px 7% 8px 0;
|
||||||
padding: 8px 10% 8px 1%;
|
|
||||||
text-indent: 15px;
|
text-indent: 15px;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
@ -721,24 +551,21 @@ body h1 span.amp {
|
|||||||
border: 1px solid #e5e5e5;
|
border: 1px solid #e5e5e5;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
border-radius: 20px; /* increase border radius due to increased padding */
|
|
||||||
}
|
}
|
||||||
.search-bar form input.action {
|
.search-bar form input.action {
|
||||||
right: 5%;
|
right: 24px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Main Content */
|
/* Main Content */
|
||||||
.main {
|
.main {
|
||||||
padding: 20px 0 45px; /* decrease padding so that more content can fit on screen */
|
padding: 20px 0 45px
|
||||||
}
|
}
|
||||||
.content-container,
|
.content-container,
|
||||||
.sidebar {
|
aside {
|
||||||
width: 100%; /* sidenav is now shown above the page content */
|
width: 100%
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
}
|
||||||
.typography h1 { /* decrease size of page heading due to smaller screen */
|
.typography h1 {
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
line-height:35px;
|
line-height:35px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
@ -753,14 +580,14 @@ body h1 span.amp {
|
|||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
}
|
}
|
||||||
.main .inner {
|
.main .inner {
|
||||||
padding: 0 22px;
|
padding: 0 22px
|
||||||
}
|
}
|
||||||
/* Secondry Nav */
|
/* Secondry Nav */
|
||||||
.secondary li a {
|
.secondary li a {
|
||||||
line-height: 24px;
|
line-height: 24px
|
||||||
}
|
}
|
||||||
.secondary li .arrow {
|
.secondary li .arrow {
|
||||||
line-height: 26px;
|
line-height: 26px
|
||||||
}
|
}
|
||||||
/* Footer */
|
/* Footer */
|
||||||
.footer .right {
|
.footer .right {
|
||||||
@ -768,10 +595,6 @@ body h1 span.amp {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print Styles */
|
|
||||||
|
|
||||||
/* Based on HTML5 boilerplate print styles */
|
|
||||||
@media print {
|
@media print {
|
||||||
* {
|
* {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
@ -781,27 +604,14 @@ body h1 span.amp {
|
|||||||
filter: none !important;
|
filter: none !important;
|
||||||
-ms-filter: none !important;
|
-ms-filter: none !important;
|
||||||
}
|
}
|
||||||
|
.header,
|
||||||
|
.footer {
|
||||||
|
display: none
|
||||||
|
}
|
||||||
a,
|
a,
|
||||||
a:visited {
|
a:visited {
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
}
|
}
|
||||||
a[href]:after {
|
|
||||||
content: " (" attr(href) ")";
|
|
||||||
}
|
|
||||||
abbr[title]:after {
|
|
||||||
content: " (" attr(title) ")";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Don't show links for images, or javascript/internal links
|
|
||||||
*/
|
|
||||||
|
|
||||||
.ir a:after,
|
|
||||||
a[href^="javascript:"]:after,
|
|
||||||
a[href^="#"]:after {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
display: table-header-group
|
display: table-header-group
|
||||||
}
|
}
|
||||||
@ -812,33 +622,4 @@ body h1 span.amp {
|
|||||||
img {
|
img {
|
||||||
max-width: 100% !important
|
max-width: 100% !important
|
||||||
}
|
}
|
||||||
pre,
|
|
||||||
blockquote {
|
|
||||||
border: 1px solid #999;
|
|
||||||
page-break-inside: avoid;
|
|
||||||
}
|
|
||||||
@page {
|
|
||||||
margin: 0.5cm;
|
|
||||||
}
|
|
||||||
p,
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
orphans: 3;
|
|
||||||
widows: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2,
|
|
||||||
h3 {
|
|
||||||
page-break-after: avoid;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Simple theme custom print styles */
|
|
||||||
.header,
|
|
||||||
.footer,
|
|
||||||
.nav-open-button,
|
|
||||||
.search-bar,
|
|
||||||
.search-dropdown-icon,
|
|
||||||
nav.primary {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -1,11 +1,3 @@
|
|||||||
/* This reset is loosely derived from HTML5 boilerplate
|
|
||||||
for more information visit http://html5boilerplate.com/ */
|
|
||||||
|
|
||||||
/* Every browser has its own default ‘user agent’ stylesheet, that it uses to make unstyled websites appear more legible.
|
|
||||||
Using a CSS Reset, CSS authors can force every browser to have all its styles reset to null, thus avoiding cross-browser differences as much as possible.
|
|
||||||
From the consistent base that you’ve set up via your reset, you can then go on to re-style your document,
|
|
||||||
safe in the knowledge that the browsers’ differences in their default rendering of HTML can’t touch you! */
|
|
||||||
|
|
||||||
html, body, div, span, object, iframe,
|
html, body, div, span, object, iframe,
|
||||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
||||||
@ -38,7 +30,7 @@ input[type="checkbox"], input.checkbox, .checkboxes input {vertical-align:bottom
|
|||||||
.ie6 input {vertical-align: text-bottom;}
|
.ie6 input {vertical-align: text-bottom;}
|
||||||
label, input[type="button"], input[type="submit"], input[type="image"], button, .btn {cursor:pointer;}
|
label, input[type="button"], input[type="submit"], input[type="image"], button, .btn {cursor:pointer;}
|
||||||
button, input, select, textarea {margin:0;}
|
button, input, select, textarea {margin:0;}
|
||||||
/* .checkbox, .radio {float:left; width:13px; height:13px; margin-right:6px; padding:0;} */
|
.checkbox, .radio {float:left; width:13px; height:13px; margin-right:6px; padding:0;}
|
||||||
|
|
||||||
button {width:auto; overflow:visible;}
|
button {width:auto; overflow:visible;}
|
||||||
.ie7 img {-ms-interpolation-mode: bicubic;}
|
.ie7 img {-ms-interpolation-mode: bicubic;}
|
||||||
@ -64,4 +56,4 @@ a:hover, a:active {outline: none;}
|
|||||||
ol {list-style-type:decimal;}
|
ol {list-style-type:decimal;}
|
||||||
ul li {list-style-type:none;}
|
ul li {list-style-type:none;}
|
||||||
nav ul, nav li {margin:0; list-style:none; list-style-image:none;}
|
nav ul, nav li {margin:0; list-style:none; list-style-image:none;}
|
||||||
strong, b, th {font-weight:bold;}
|
strong, th {font-weight:bold;}
|
65
css/tabstrip.css
Normal file
65
css/tabstrip.css
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
ul.tabstrip {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 !important;
|
||||||
|
clear: left;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
ul.tabstrip {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0 !important;
|
||||||
|
clear: left;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
ul.tabstrip li {
|
||||||
|
float: left;
|
||||||
|
background: #ddd;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-bottom: none;
|
||||||
|
margin: 0 5px 0 0;
|
||||||
|
border-radius: 3px 3px 0 0;
|
||||||
|
}
|
||||||
|
ul.tabstrip li a {
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
padding: 5px 13px 5px;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
outline: none;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
ul.tabstrip li a:hover {
|
||||||
|
text-decoration: none
|
||||||
|
}
|
||||||
|
ul.tabstrip li.current,
|
||||||
|
ul.tabstrip li.ui-tabs-selected,
|
||||||
|
ul.tabstrip li.sel {
|
||||||
|
background: #fff;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
ul.tabstrip li:hover {
|
||||||
|
background-color: #eee
|
||||||
|
}
|
||||||
|
ul.tabstrip li.current:hover {
|
||||||
|
background-color: #fff
|
||||||
|
}
|
||||||
|
ul.tabstrip li.current a,
|
||||||
|
ul.tabstrip li.ui-tabs-selected a,
|
||||||
|
ul.tabstrip li.sel a {
|
||||||
|
color: #333
|
||||||
|
}
|
||||||
|
.tab {
|
||||||
|
clear: left;
|
||||||
|
overflow: auto;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-top: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 10px 15px;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
@ -1,24 +1,4 @@
|
|||||||
/** ----------------------------------------------------------
|
|
||||||
*
|
|
||||||
* Contains the generic theme typography styles
|
|
||||||
*
|
|
||||||
* Include your notes or table of contents here
|
|
||||||
*
|
|
||||||
* Include color hex's or values of your grid
|
|
||||||
* #333333 - body
|
|
||||||
* #B80000 - links, headings
|
|
||||||
* #D80000 - links on hover
|
|
||||||
* 5px Vertical grid - based on multiples of 5px, eg 10px, 15px, 20px, 25px...
|
|
||||||
*
|
|
||||||
* @author Your Name <email@gmail.com>
|
|
||||||
*
|
|
||||||
* ------------------------------------------------------- */
|
|
||||||
|
|
||||||
/* TEMPLATE CUSTOM FONTS */
|
|
||||||
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 20, 2012 06:04:25 AM America/New_York */
|
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 20, 2012 06:04:25 AM America/New_York */
|
||||||
|
|
||||||
/* add your own custom fonts here */
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'CamboRegular';
|
font-family: 'CamboRegular';
|
||||||
src: url('../webfonts/Cambo-Regular-webfont.eot');
|
src: url('../webfonts/Cambo-Regular-webfont.eot');
|
||||||
@ -33,236 +13,149 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* BASE TYPOGRPHY */
|
|
||||||
|
|
||||||
/* These are the default styles for the Simple theme */
|
|
||||||
body {
|
body {
|
||||||
font-size: 13px; /* This overrides the browsers default font size */
|
font-size: 13px;
|
||||||
line-height: 20px; /* If you change the font-size make sure you change the line-height value as well - the usual ratio is around 1.5 (font-size x 1.5 = line-height) */
|
|
||||||
margin-bottom: 20px;
|
|
||||||
color: #333333;
|
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
body a { text-decoration: none; } /* this removes the underline from all links */
|
h1,
|
||||||
body a:link { -webkit-tap-highlight-color: #b80000 } /* this sets the highlight color when links are tapped on Safari (browser) on iPhone */
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
/* HEADERS */
|
h5,
|
||||||
.typography h1,
|
h6 {
|
||||||
.typography h2,
|
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
|
||||||
.typography h3,
|
|
||||||
.typography h4,
|
|
||||||
.typography h5,
|
|
||||||
.typography h6 {
|
|
||||||
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif; /* This references one of the custom @font-face fonts - the other fonts that are referenced are fallbacks for browsers that don't support @fontface */
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: 10px;
|
color: #b80000;
|
||||||
color: #444;
|
}
|
||||||
|
p {
|
||||||
|
margin: 0 0 17px;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 21px;
|
||||||
|
}
|
||||||
|
em {
|
||||||
|
font-style: normal
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #b80000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #d80000
|
||||||
|
}
|
||||||
|
|
||||||
|
.typography h1 a{
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.typography ul {
|
||||||
|
margin: 20px 0 20px 30px
|
||||||
|
}
|
||||||
|
.typography li {
|
||||||
|
line-height: 22px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
list-style-type: disc;
|
||||||
}
|
}
|
||||||
.typography h1 {
|
.typography h1 {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
line-height: 45px;
|
|
||||||
margin: 0 0 25px 0;
|
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 6px;
|
||||||
|
margin: 0 0 23px 0;
|
||||||
|
line-height: 45px;
|
||||||
}
|
}
|
||||||
.typography h2 { font-size: 28px; line-height: 35px; margin-bottom: 15px; }
|
.typography h1 span.amp {
|
||||||
.typography h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
|
font-family: Baskerville,"Goudy Old Style","Palatino","Book Antiqua",Georgia;
|
||||||
.typography h4 { font-size: 18px; line-height: 25px; margin-bottom: 5px; }
|
font-style: italic;
|
||||||
.typography h5 { font-size: 16px; line-height: 20px; margin-bottom: 5px; }
|
}
|
||||||
.typography h6 { font-size: 14px; line-height: 20px; font-weight: bold; margin-bottom: 5px; }
|
.typography h2 {
|
||||||
|
font-size: 24px;
|
||||||
|
margin-bottom: 15px;
|
||||||
/* PARAGRAGHS */
|
padding-top: 15px;
|
||||||
.typography p { font-size: 13px; line-height: 20px; margin: 0 0 20px; }
|
|
||||||
.typography .intro {
|
|
||||||
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
|
|
||||||
font-size: 22px;
|
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
.typography em { font-style: italic; }
|
.typography h3 {
|
||||||
|
font-size: 21px;
|
||||||
::selection,
|
margin-bottom: 10px;
|
||||||
::-moz-selection { /* Applies style to highlighted portion of a page */
|
padding-top: 10px;
|
||||||
background: #b80000;
|
}
|
||||||
color: #fff;
|
.typography a {
|
||||||
text-shadow: none;
|
border-bottom: 1px dashed #b80000
|
||||||
}
|
}
|
||||||
|
|
||||||
/* LINKS */
|
|
||||||
.typography a,
|
|
||||||
.typography a.intro {
|
|
||||||
color: #B80000;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.typography a:hover {
|
|
||||||
color: #D80000;
|
|
||||||
border-bottom: 1px dashed #B80000;
|
|
||||||
}
|
|
||||||
.typography a:focus { }
|
|
||||||
|
|
||||||
|
table {
|
||||||
/* LIST STYLES
|
border-collapse: collapse;
|
||||||
-------------------------------------------- */
|
|
||||||
.typography ul,
|
|
||||||
.typography ol,
|
|
||||||
.typography dl { margin: 0 0 20px 25px; }
|
|
||||||
.typography ul li { list-style-type: disc; } /* adds disc style bullet to the list */
|
|
||||||
.typography li { margin-bottom: 5px; }
|
|
||||||
|
|
||||||
|
|
||||||
/* TABLE STYLES
|
|
||||||
-------------------------------------------- */
|
|
||||||
.typography table {
|
|
||||||
border-collapse: collapse; /* borders are collapsed into a single border when possible */
|
|
||||||
border: 1px solid #d4d4d4;
|
border: 1px solid #d4d4d4;
|
||||||
border-spacing: 0; /* The border-spacing property sets the distance between the borders of adjacent cells - acts as a backup to border-collapse: collapse */
|
border-spacing: 0;
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
text-align: left;
|
|
||||||
}
|
}
|
||||||
.typography table tr:nth-child(even) {
|
table tr:nth-child(even) {
|
||||||
background-color: #ededed
|
background-color: #ededed
|
||||||
}
|
}
|
||||||
.typography table tr.even,
|
table tr.even,
|
||||||
.typography table th,
|
.content table th,
|
||||||
.typography thead td {
|
.content thead td {
|
||||||
background-color: #ededed
|
background-color: #ededed
|
||||||
}
|
}
|
||||||
.typography table td,
|
table td,
|
||||||
.typography table th {
|
.content table th {
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
border: 1px solid #d4d4d4;
|
border: 1px solid #d4d4d4;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
.typography table th {
|
table th {
|
||||||
|
text-align: left;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
p.intro {
|
||||||
|
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
|
||||||
|
font-size: 22px;
|
||||||
|
line-height: 32px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
color: #222;
|
||||||
|
}
|
||||||
/* WYSIWYG EDITOR ALIGNMENT CLASSES
|
/* WYSIWYG EDITOR ALIGNMENT CLASSES
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
.typography .text-left {
|
.typography .left {
|
||||||
text-align: left
|
text-align: left
|
||||||
}
|
}
|
||||||
.typography .text-center {
|
.typography .center {
|
||||||
text-align: center
|
text-align: center
|
||||||
}
|
}
|
||||||
.typography .text-right {
|
.typography .right {
|
||||||
text-align: right
|
text-align: right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* IMAGES
|
/* IMAGES
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
.typography img {
|
.typography img {
|
||||||
border: 5px solid #d7d7d7;
|
border: 5px solid #d7d7d7;
|
||||||
height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */
|
max-width: 60%;
|
||||||
background: transparent url(../images/ajax-loader.gif) no-repeat center center;
|
height: auto;
|
||||||
|
float: left;
|
||||||
|
margin: 6px 20px 10px 0;
|
||||||
|
}
|
||||||
|
.typography img.left, .typography img.right {
|
||||||
|
border: 5px solid #d7d7d7;
|
||||||
|
max-width: 60%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
.typography img.left {
|
.typography img.left {
|
||||||
float: left;
|
float: left;
|
||||||
max-width: 50%;
|
margin: 6px 20px 10px 0;
|
||||||
margin: 5px 20px 10px 0;
|
|
||||||
}
|
}
|
||||||
.typography img.right {
|
.typography img.right {
|
||||||
float: right;
|
float: right;
|
||||||
max-width: 50%; /* Responsive width */
|
margin: 6px 0 10px 20px;
|
||||||
margin: 5px 0 10px 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.typography img.leftAlone {
|
.typography img.leftAlone {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 100%;
|
margin-right: 100%;
|
||||||
margin-bottom: 10px;
|
|
||||||
clear: both;
|
|
||||||
}
|
}
|
||||||
.typography img.center {
|
.typography img.center {
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 10px;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
.typography .captionImage { width: 100%; margin-top: 5px; }
|
|
||||||
.typography .captionImage img { margin: 0; }
|
|
||||||
.typography .captionImage.left {
|
|
||||||
float: left;
|
|
||||||
margin: 5px 30px 20px 0px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.right{
|
|
||||||
float: right;
|
|
||||||
margin: 5px 0 20px 30px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.left[style],
|
|
||||||
.typography .captionImage.right[style] {
|
|
||||||
max-width: 50%; /* Overides core width to make responsive */
|
|
||||||
}
|
|
||||||
.typography .captionImage.left img,
|
|
||||||
.typography .captionImage.right img {
|
|
||||||
float: none;
|
|
||||||
max-width: none;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.typography .captionImage.left img {
|
|
||||||
margin-right: -10px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.right img {
|
|
||||||
margin-left: -10px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.right p {
|
|
||||||
margin-left: -10px;
|
|
||||||
text-align: left;
|
|
||||||
margin-left: -10px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.leftAlone{
|
|
||||||
float:none;
|
|
||||||
margin: 0 20px 20px 0px;
|
|
||||||
}
|
|
||||||
.typography .captionImage.center{
|
|
||||||
margin: 0 auto 20px;
|
|
||||||
}
|
|
||||||
.typography .captionImage p {
|
|
||||||
clear: both;
|
|
||||||
margin: 5px 0;
|
|
||||||
font-style: italic;
|
|
||||||
color: #888;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* BLOCKQUOTES
|
|
||||||
-------------------------------------------- */
|
|
||||||
.typography blockquote {
|
|
||||||
background: transparent url(../images/blockquote.png) no-repeat 0px 6px;
|
|
||||||
font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
|
|
||||||
color: #777;
|
|
||||||
display: block;
|
|
||||||
font-style: italic;
|
|
||||||
margin: 0 0 20px;
|
|
||||||
float: right;
|
|
||||||
text-indent: 30px;
|
|
||||||
width: 50%;
|
|
||||||
margin-left: 5%;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
.typography blockquote p {
|
|
||||||
font-size: 17px;
|
|
||||||
line-height: 25px;
|
|
||||||
}
|
|
||||||
.typography pre {
|
|
||||||
background: #F7F7F7;
|
|
||||||
border: 1px solid #E4E4E4;
|
|
||||||
font-family: Courier, monospace;
|
|
||||||
margin: 0 0 20px 0;
|
|
||||||
padding: 15px;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ADDRESS
|
|
||||||
-------------------------------------------- */
|
|
||||||
address {
|
|
||||||
display: block;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 477 B |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
@ -1,14 +1,29 @@
|
|||||||
jQuery.noConflict();
|
jQuery.noConflict();
|
||||||
|
|
||||||
(function($) {
|
(function($) {
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// L is a magnifying glass icon in the font
|
|
||||||
|
/* removes text from search form on focus and replaces it on unfocus - if text is entered then it does not get replaced with default on unfocus */
|
||||||
$('#SearchForm_SearchForm_action_results').val('L');
|
$('#SearchForm_SearchForm_action_results').val('L');
|
||||||
|
var searchField = $('#SearchForm_SearchForm_Search');
|
||||||
|
var default_value = searchField.val();
|
||||||
|
searchField.focus(function() {
|
||||||
|
$(this).addClass('active');
|
||||||
|
if(searchField.val() == default_value) {
|
||||||
|
searchField.val('');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
searchField.blur(function() {
|
||||||
|
if(searchField.val() == '') {
|
||||||
|
searchField.val(default_value);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (!$.browser.msie || ($.browser.msie && (parseInt($.browser.version, 10) > 8))) {
|
if (!$.browser.msie || ($.browser.msie && (parseInt($.browser.version, 10) > 8))) {
|
||||||
var searchBarButton = $("button.search-dropdown-icon");
|
|
||||||
|
var searchBarButton = $("span.search-dropdown-icon");
|
||||||
var searchBar = $('div.search-bar');
|
var searchBar = $('div.search-bar');
|
||||||
var menuButton = $("button.nav-open-button");
|
var menuButton = $("span.nav-open-button");
|
||||||
var menu = $('.header .primary ul');
|
var menu = $('.header .primary ul');
|
||||||
var mobile = false;
|
var mobile = false;
|
||||||
var changed = false;
|
var changed = false;
|
||||||
@ -70,66 +85,6 @@ jQuery.noConflict();
|
|||||||
menu.slideToggle(200);
|
menu.slideToggle(200);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
|
||||||
// Use of jQuery.browser is frowned upon.
|
|
||||||
// More details: http://api.jquery.com/jQuery.browser
|
|
||||||
// jQuery.uaMatch maintained for back-compat
|
|
||||||
|
|
||||||
jQuery.uaMatch = function( ua ) {
|
|
||||||
ua = ua.toLowerCase();
|
|
||||||
|
|
||||||
var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
|
|
||||||
/(webkit)[ \/]([\w.]+)/.exec( ua ) ||
|
|
||||||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) ||
|
|
||||||
/(msie) ([\w.]+)/.exec( ua ) ||
|
|
||||||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) ||
|
|
||||||
[];
|
|
||||||
|
|
||||||
return {
|
|
||||||
browser: match[ 1 ] || "",
|
|
||||||
version: match[ 2 ] || "0"
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
matched = jQuery.uaMatch( navigator.userAgent );
|
|
||||||
browser = {};
|
|
||||||
|
|
||||||
if ( matched.browser ) {
|
|
||||||
browser[ matched.browser ] = true;
|
|
||||||
browser.version = matched.version;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Chrome is Webkit, but Webkit is also Safari.
|
|
||||||
if ( browser.chrome ) {
|
|
||||||
browser.webkit = true;
|
|
||||||
} else if ( browser.webkit ) {
|
|
||||||
browser.safari = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
jQuery.browser = browser;
|
|
||||||
|
|
||||||
jQuery.sub = function() {
|
|
||||||
function jQuerySub( selector, context ) {
|
|
||||||
return new jQuerySub.fn.init( selector, context );
|
|
||||||
}
|
|
||||||
jQuery.extend( true, jQuerySub, this );
|
|
||||||
jQuerySub.superclass = this;
|
|
||||||
jQuerySub.fn = jQuerySub.prototype = this();
|
|
||||||
jQuerySub.fn.constructor = jQuerySub;
|
|
||||||
jQuerySub.sub = this.sub;
|
|
||||||
jQuerySub.fn.init = function init( selector, context ) {
|
|
||||||
if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
|
|
||||||
context = jQuerySub( context );
|
|
||||||
}
|
|
||||||
|
|
||||||
return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
|
|
||||||
};
|
|
||||||
jQuerySub.fn.init.prototype = jQuerySub.fn;
|
|
||||||
var rootjQuerySub = jQuerySub(document);
|
|
||||||
return jQuerySub;
|
|
||||||
};
|
|
||||||
// ---------------------------------------------------------
|
|
||||||
|
|
||||||
|
});
|
||||||
}(jQuery));
|
}(jQuery));
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<% if $Level(2) %>
|
<% if Level(2) %>
|
||||||
<div id="Breadcrumbs">
|
<div id="Breadcrumbs">
|
||||||
$Breadcrumbs
|
$Breadcrumbs
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
<footer class="footer" role="contentinfo">
|
<footer class="footer" role="contentinfo">
|
||||||
<div class="inner">
|
<div class="inner copy">
|
||||||
<div class="unit size4of4 lastUnit">
|
<div class="left">$SiteConfig.Title <span class="arrow">→</span> <% include Navigation %></div>
|
||||||
<div class="left">
|
<small class="right">© <a href="http://simple.innovatif.com/about/">Theme</a> by <a href="http://www.saratusar.com">Sara</a> (Innovatif) / Powered by <a href="http://silverstripe.org">Silverstripe</a></small>
|
||||||
<a href="$BaseHref" class="brand" rel="home">$SiteConfig.Title</a>
|
|
||||||
<span class="arrow">→</span> <% include Navigation %></div>
|
|
||||||
<small class="right"><a href="http://simple.innovatif.com/about/">Theme</a> by Sara (Innovatif) / Powered by <a href="http://silverstripe.org">SilverStripe</a></small>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
@ -1,19 +1,17 @@
|
|||||||
<header class="header" role="banner">
|
<header class="header" role="banner">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<div class="unit size4of4 lastUnit">
|
|
||||||
<a href="$BaseHref" class="brand" rel="home">
|
<a href="$BaseHref" class="brand" rel="home">
|
||||||
<h1>$SiteConfig.Title</h1>
|
<h1>$SiteConfig.Title</h1>
|
||||||
<% if $SiteConfig.Tagline %>
|
<% if SiteConfig.Tagline %>
|
||||||
<p>$SiteConfig.Tagline</p>
|
<p>$SiteConfig.Tagline</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</a>
|
</a>
|
||||||
<% if $SearchForm %>
|
<% if SearchForm %>
|
||||||
<button class="search-dropdown-icon">L</button>
|
<span class="search-dropdown-icon">L</span>
|
||||||
<div class="search-bar">
|
<div class="search-bar">
|
||||||
$SearchForm
|
$SearchForm
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% include Navigation %>
|
<% include Navigation %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
@ -1,7 +1,7 @@
|
|||||||
<nav class="primary">
|
<nav class="primary">
|
||||||
<button class="nav-open-button">²</button>
|
<span class="nav-open-button">²</span>
|
||||||
<ul>
|
<ul>
|
||||||
<% loop $Menu(1) %>
|
<% loop Menu(1) %>
|
||||||
<li class="$LinkingMode"><a href="$Link" title="$Title.XML">$MenuTitle.XML</a></li>
|
<li class="$LinkingMode"><a href="$Link" title="$Title.XML">$MenuTitle.XML</a></li>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
<aside class="sidebar unit size1of4">
|
<aside>
|
||||||
<% if $Menu(2) %>
|
<% if Menu(2) %>
|
||||||
<nav class="secondary">
|
<nav class="secondary">
|
||||||
<% with $Level(1) %>
|
|
||||||
<h3>
|
<h3>
|
||||||
$MenuTitle
|
<% loop Level(1) %>
|
||||||
|
$Title
|
||||||
|
<% end_loop %>
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<% include SidebarMenu %>
|
<% loop Menu(2) %>
|
||||||
|
<li class="$LinkingMode"><a href="$Link" title="Go to the $Title.XML page"><span class="arrow">→</span><span class="text">$MenuTitle.XML</span></a></li>
|
||||||
|
<% end_loop %>
|
||||||
</ul>
|
</ul>
|
||||||
<% end_with %>
|
|
||||||
</nav>
|
</nav>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</aside>
|
</aside>
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
<%--Include SidebarMenu recursively --%>
|
|
||||||
<% if LinkOrSection = section %>
|
|
||||||
<% if $Children %>
|
|
||||||
<% loop $Children %>
|
|
||||||
<li class="$LinkingMode">
|
|
||||||
<a href="$Link" class="$LinkingMode" title="Go to the $Title.XML page">
|
|
||||||
<span class="arrow">→</span>
|
|
||||||
<span class="text">$MenuTitle.XML</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<% if $Children %>
|
|
||||||
<ul>
|
|
||||||
<% include SidebarMenu %>
|
|
||||||
</ul>
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
<% end_loop %>
|
|
||||||
<% end_if %>
|
|
||||||
<% end_if %>
|
|
@ -1,9 +1,9 @@
|
|||||||
<% include SideBar %>
|
<div class="content-container">
|
||||||
<div class="content-container unit size3of4 lastUnit">
|
|
||||||
<article>
|
<article>
|
||||||
<h1>$Title</h1>
|
<h1>$Title</h1>
|
||||||
<div class="content">$Content</div>
|
<div class="content">$Content</div>
|
||||||
</article>
|
</article>
|
||||||
$Form
|
$Form
|
||||||
$CommentsForm
|
$PageComments
|
||||||
</div>
|
</div>
|
||||||
|
<% include SideBar %>
|
@ -1,50 +1,46 @@
|
|||||||
<div id="Content" class="searchResults">
|
<div id="Content" class="searchResults">
|
||||||
<h1>$Title</h1>
|
<h1>$Title</h1>
|
||||||
|
|
||||||
<% if $Query %>
|
<% if Query %>
|
||||||
<p class="searchQuery">You searched for "{$Query}"</p>
|
<p class="searchQuery"><strong>You searched for "{$Query}"</strong></p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $Results %>
|
<% if Results %>
|
||||||
<ul id="SearchResults">
|
<ul id="SearchResults">
|
||||||
<% loop $Results %>
|
<% control Results %>
|
||||||
<li>
|
<li>
|
||||||
<h4>
|
<a class="searchResultHeader" href="$Link">
|
||||||
<a href="$Link">
|
<% if MenuTitle %>
|
||||||
<% if $MenuTitle %>
|
|
||||||
$MenuTitle
|
$MenuTitle
|
||||||
<% else %>
|
<% else %>
|
||||||
$Title
|
$Title
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</a>
|
</a>
|
||||||
</h4>
|
|
||||||
<% if $Content %>
|
|
||||||
<p>$Content.LimitWordCountXML</p>
|
<p>$Content.LimitWordCountXML</p>
|
||||||
<% end_if %>
|
|
||||||
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}"">Read more about "{$Title}"...</a>
|
<a class="readMoreLink" href="$Link" title="Read more about "{$Title}"">Read more about "{$Title}"...</a>
|
||||||
</li>
|
</li>
|
||||||
<% end_loop %>
|
<% end_control %>
|
||||||
</ul>
|
</ul>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p>Sorry, your search query did not return any results.</p>
|
<p>Sorry, your search query did not return any results.</p>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $Results.MoreThanOnePage %>
|
<% if Results.MoreThanOnePage %>
|
||||||
<div id="PageNumbers">
|
<div id="PageNumbers">
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
<% if $Results.NotFirstPage %>
|
<% if Results.NotFirstPage %>
|
||||||
<a class="prev" href="$Results.PrevLink" title="View the previous page">←</a>
|
<a class="prev" href="$Results.PrevLink" title="View the previous page">←</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<span>
|
<span>
|
||||||
<% loop $Results.Pages %>
|
<% control Results.Pages %>
|
||||||
<% if $CurrentBool %>
|
<% if CurrentBool %>
|
||||||
$PageNum
|
$PageNum
|
||||||
<% else %>
|
<% else %>
|
||||||
<a href="$Link" title="View page number $PageNum" class="go-to-page">$PageNum</a>
|
<a href="$Link" title="View page number $PageNum" class="go-to-page">$PageNum</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
<% end_loop %>
|
<% end_control %>
|
||||||
</span>
|
</span>
|
||||||
<% if $Results.NotLastPage %>
|
<% if Results.NotLastPage %>
|
||||||
<a class="next" href="$Results.NextLink" title="View the next page">→</a>
|
<a class="next" href="$Results.NextLink" title="View the next page">→</a>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,31 +14,29 @@ Change it, enhance it and most importantly enjoy it!
|
|||||||
<!--[if IE 8 ]><html lang="$ContentLocale" class="ie ie8"><![endif]-->
|
<!--[if IE 8 ]><html lang="$ContentLocale" class="ie ie8"><![endif]-->
|
||||||
<head>
|
<head>
|
||||||
<% base_tag %>
|
<% base_tag %>
|
||||||
<title><% if $MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » $SiteConfig.Title</title>
|
<title><% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » $SiteConfig.Title</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
$MetaTags(false)
|
$MetaTags(false)
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<% require themedCSS('reset') %>
|
<% require themedCSS(reset) %>
|
||||||
<% require themedCSS('typography') %>
|
<% require themedCSS(typography) %>
|
||||||
<% require themedCSS('form') %>
|
<% require themedCSS(form) %>
|
||||||
<% require themedCSS('layout') %>
|
<% require themedCSS(layout) %>
|
||||||
<link rel="shortcut icon" href="$resourceURL('themes/simple/images/favicon.ico')" />
|
<link rel="shortcut icon" href="$ThemeDir/images/favicon.ico" />
|
||||||
</head>
|
</head>
|
||||||
<body class="$ClassName.ShortName<% if not $Menu(2) %> no-sidebar<% end_if %>" <% if $i18nScriptDirection %>dir="$i18nScriptDirection"<% end_if %>>
|
<body class="$ClassName<% if Menu(2) %><% else %> no-sidebar<% end_if %>">
|
||||||
<% include Header %>
|
<% include Header %>
|
||||||
<div class="main" role="main">
|
<div class="main" role="main">
|
||||||
<div class="inner typography line">
|
<div class="inner typography">
|
||||||
$Layout
|
$Layout
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% include Footer %>
|
<% include Footer %>
|
||||||
|
<% require javascript(http://code.jquery.com/jquery-1.7.2.js) %>
|
||||||
<% require javascript('//code.jquery.com/jquery-3.3.1.min.js') %>
|
<% require javascript(themes/simple/javascript/script.js) %>
|
||||||
<% require themedJavascript('script') %>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user