Move into nested docroot

This commit is contained in:
Rob Davies 2017-02-13 15:31:17 +00:00
parent 83a0d3a149
commit c8b70abde9
13405 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,151 @@
/**
* @file
* Overall specifications for Bartik.
*/
html {
height: 100%;
}
body {
min-height: 100%;
line-height: 1.5;
word-wrap: break-word;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 87.5%;
}
a,
a.link {
text-decoration: none;
border-bottom: 1px dotted;
}
a:hover,
a:active,
a:focus,
.link:hover,
.link:active,
.link:focus {
text-decoration: none;
border-bottom-style: solid;
}
.link {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 a,
h2 a {
border-bottom: none;
}
/**
* Reusable heading classes are included to help modules change the styling of
* headings on a page without affecting accessibility.
*/
h1,
.heading-a {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 1.357em;
color: #000;
}
h2,
.heading-b {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 1.143em;
}
h3,
.heading-c {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 1.092em;
}
h4,
.heading-d {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 1.05em;
}
h5,
.heading-e {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 0.889em;
text-transform: uppercase;
letter-spacing: 0.1em;
}
h6,
.heading-f {
margin: 1.0em 0 0.5em;
font-weight: inherit;
font-size: 0.67em;
text-transform: uppercase;
letter-spacing: 0.1em;
}
p {
margin: 0 0 1.2em;
}
del {
text-decoration: line-through;
}
blockquote {
background: #f7f7f7;
border-left: 1px solid #bbb; /* LTR */
font-style: italic;
margin: 1.5em 10px;
padding: 0.5em 10px;
}
[dir="rtl"] blockquote {
border-left: none;
border-right: 1px solid #bbb;
}
blockquote:before {
color: #bbb;
content: "\201C";
font-size: 3em;
line-height: 0.1em;
margin-right: 0.2em; /* LTR */
vertical-align: -0.4em;
}
[dir="rtl"] blockquote:before {
content: "\201D";
margin-left: 0.2em;
margin-right: 0;
}
blockquote:after {
color: #bbb;
content: "\201D";
font-size: 3em;
line-height: 0.1em;
vertical-align: -0.45em;
}
[dir="rtl"] blockquote:after {
content: "\201C";
}
blockquote > p:first-child {
display: inline;
}
.feed-icon {
display: block;
margin: 25px 0 0 0;
}
img {
max-width: 100%;
height: auto;
}
ul, ol {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ul,
[dir="rtl"] ol {
padding: 0 1em 0.25em 0;
}
ol ol,
ul ul {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ol ol,
[dir="rtl"] ul ul {
padding: 0 1em 0.25em 0;
}

View file

@ -0,0 +1,70 @@
/* ---------- Color Module Styles ----------- */
body {
color: #3b3b3b;
background: #292929;
}
#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
background: #ffffff;
}
.tabs ul.primary li a.is-active {
background-color: #ffffff;
}
.tabs ul.primary li.is-active a {
background-color: #ffffff;
border-bottom-color: #ffffff;
}
#header {
background-color: #1d84c3;
background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
}
a,
.link {
color: #0071b3;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
color: #018fe2;
}
a:active,
.link:active {
color: #23aeff;
}
.sidebar .block {
background-color: #f6f6f2;
border-color: #f9f9f9;
}
.site-footer {
background: #292929;
}
.region-header,
.region-header a,
.region-header li a.is-active,
.site-branding__text,
.site-branding,
.site-branding__text a,
.site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
color: #fffeff;
}
/* ---------- Color Form ----------- */
[dir="rtl"] .color-form .color-palette {
margin-left: 0;
margin-right: 20px;
}
[dir="rtl"] .color-form .form-item label {
float: right;
}
[dir="rtl"] .color-form .color-palette .lock {
right: -20px;
left: 0;
}

View file

@ -0,0 +1,9 @@
/**
* @file
* Visual styles for Bartik's blocks.
*/
/* Block has its own content wrapper. */
.block .content {
margin-top: 10px;
}

View file

@ -0,0 +1,13 @@
/**
* @file
* Bartik specific styling for the Book module.
*/
.book-navigation .menu {
border-top: 1px solid #d6d6d6;
}
.book-navigation .book-pager {
border-bottom: 1px solid #d6d6d6;
border-top: 1px solid #d6d6d6;
margin: 0;
}

View file

@ -0,0 +1,12 @@
/**
* @file
* Styles for Bartik's breadcrumbs.
*/
.breadcrumb {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
}
.region-breadcrumb {
padding: 0 15px 0.25em;
}

View file

@ -0,0 +1,40 @@
/**
* @file
* Styles for Bartik's buttons.
*/
.button {
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
border: 1px solid #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
color: #3a3a3a;
cursor: pointer;
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
font-size: 0.929em;
font-weight: normal;
text-align: center;
padding: 0.250em 1.063em;
border-radius: 1em;
display: inline-block;
line-height: normal;
}
.button:hover,
.button:active,
.button:focus {
background: #dedede;
color: #5a5a5a;
text-decoration: none;
}
.button.is-disabled:hover,
.button.is-disabled:active,
.button.is-disabled:focus,
.button.is-disabled {
background: #ededed;
border-color: #bbb;
color: #717171;
cursor: default;
}

View file

@ -0,0 +1,31 @@
/* -------------- Captions -------------- */
.caption {
margin-bottom: 1.2em;
}
.caption > * {
background: #F3F3F3;
padding: 0.5ex;
border: 1px solid #CCC;
}
.caption > figcaption {
border: 1px solid #CCC;
border-top: none;
padding-top: 0.5ex;
font-size: small;
text-align: center;
}
/* Override Bartik's default blockquote and pre styles when captioned. */
.caption-pre > pre,
.caption-blockquote > blockquote {
margin: 0;
}
.caption-blockquote > figcaption::before {
content: "— ";
}
.caption-blockquote > figcaption {
text-align: left; /* LTR */
}
[dir="rtl"] .caption-blockquote > figcaption {
text-align: right;
}

View file

@ -0,0 +1,157 @@
/**
* @file
* Visual styles for comments in Bartik.
*/
/* This is required to win over specificity of #content h2 */
#content .comment-wrapper h2 {
margin-bottom: 1em;
}
#content .comment-wrapper h2.comment-form__title {
margin-bottom: 1em;
}
.field-node--comment {
font-size: 0.934em;
}
.comment {
margin-bottom: 19px;
vertical-align: top;
display: table;
}
[dir="rtl"] .comment {
direction: rtl;
}
.comment__meta {
padding: 0 30px 0 0; /* LTR */
font-size: 1.071em;
}
[dir="rtl"] .comment__meta {
padding: 0 0 0 30px;
}
.comment__attribution img {
border: 1px solid #d3d7d9;
}
/* This is required to win over specificity of .field--type-image img */
.comment .field--name-user-picture img {
margin: 0;
}
.comment__author .username {
white-space: nowrap;
}
.comment__author {
margin: 4px 0;
line-height: 1.2;
}
.comment__time {
margin-bottom: 4px;
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.733em;
line-height: 1.2;
}
.comment__permalink {
font-size: 0.733em;
line-height: 1.2;
}
.comment__content {
position: relative;
display: table-cell;
padding: 10px 25px 10px 25px;
vertical-align: top;
width: 100%;
border: 1px solid #d3d7d9;
font-size: 0.929em;
line-height: 1.6;
word-break: break-all;
}
.comment__content:before {
content: '';
position: absolute;
right: 100%; /* LTR */
top: 20px;
border-top: 20px solid transparent;
border-right: 20px solid #d3d7d9; /* LTR */
border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__content:before {
right: auto;
left: 100%;
border-right: none;
border-left: 20px solid #d3d7d9;
}
.comment__content:after {
content: '';
position: absolute;
right: 100%; /* LTR */
top: 20px;
border-top: 20px solid transparent;
border-right: 20px solid #fff; /* LTR */
border-bottom: 20px solid transparent;
margin-right: -1px; /* LTR */
}
[dir="rtl"] .comment__content:after {
right: auto;
left: 100%;
border-right: none;
border-left: 20px solid #fff;
margin-right: 0;
margin-left: -1px;
}
.comment__content h3 {
margin-top: 0.94em;
margin-bottom: 0.45em;
font-size: 1.171em;
}
.indented {
margin-left: 40px; /* LTR */
}
[dir="rtl"] .indented {
margin-right: 40px;
margin-left: 0;
}
.comment .links {
padding: 0 0 0.25em 0;
}
.comment .links li {
padding: 0 0.5em 0 0; /* LTR */
font-size: 1.08em;
}
[dir="rtl"] .comment .links li {
padding: 0 0 0 0.5em;
}
.comment--unpublished {
margin-right: 5px; /* LTR */
padding: 5px 2px 5px 5px; /* LTR */
background: #fff4f4;
}
[dir="rtl"] .comment--unpublished {
margin-left: 5px;
margin-right: 0;
padding: 5px 5px 5px 2px;
}
/**
* @todo: unpublished nodes have class .node--unpublished.
* change this to .comment--unpublished.
*/
.unpublished .comment-text .comment-arrow {
border-left: 1px solid #fff4f4;
border-right: 1px solid #fff4f4;
}
.unpublished {
padding: 20px 15px 0;
}
.comment-footer {
display: table-row;
}
.comment--unpublished .comment__text:after,
.node--unpublished .comment__text:after {
border-right-color: #fff4f4; /* LTR */
}
[dir="rtl"] .comment--unpublished .comment__content:after,
[dir="rtl"] .node--unpublished .comment__content:after {
border-left-color: #fff4f4;
}

View file

@ -0,0 +1,9 @@
/**
* @file
* Contextual links styles for Bartik.
*/
.contextual-links a {
border-bottom: none;
text-shadow: 0 0 0;
}

View file

@ -0,0 +1,18 @@
/**
* @file
* Visual styles for Bartik's block demonstration.
*/
.demo-block {
background: #ffff66;
border: 1px dotted #9f9e00;
color: #000;
font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;
margin: 5px;
padding: 5px;
text-align: center;
text-shadow: none;
}
.featured-top .demo-block {
font-size: 0.55em;
}

View file

@ -0,0 +1,65 @@
/**
* @file
* Visual styles for Bartik's dropbutton component.
*/
.js .dropbutton-widget {
border: 1px solid;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
color: #3a3a3a;
cursor: pointer;
text-align: center;
margin: 0.125em 0;
border-radius: 1em;
overflow: hidden;
}
.js .dropbutton-widget:hover {
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
}
.js .dropbutton-widget .button {
border: none;
margin: 0;
padding: 0.32em 1em;
background: transparent none;
}
.js .dropbutton-multiple .dropbutton-widget,
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget {
padding: 0;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton {
padding-right: 2em; /* LTR */
position: relative;
}
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget .dropbutton {
padding-right: 0;
padding-left: 2em;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-right: 0; /* LTR */
}
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-left: 0;
}
.js .dropbutton .secondary-action {
border-top-color: #ccc;
}
.js .dropbutton-toggle button {
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2);
background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2);
}
.js .dropbutton-toggle .dropbutton-arrow:hover {
background: #ccc;
}
.js .dropbutton a {
color: #3a3a3a;
border-bottom: 0 none;
}
.js .dropbutton .dropbutton-action:hover,
.js .dropbutton a:hover {
background: #dedede;
border-bottom: 0 none;
}

View file

@ -0,0 +1,63 @@
/**
* @file
* Visual styles for Bartik's featured bottom component.
*/
.featured-bottom {
background: rgba(30, 50, 10, 0.08);
border-top: 1px solid #e7e7e7;
}
.featured-bottom .region {
padding: 0 20px;
}
@media all and (min-width: 560px) {
.featured-bottom .region {
float: left; /* LTR */
position: relative;
box-sizing: border-box;
padding: 20px 15px 30px;
width: 33%;
}
[dir="rtl"] .featured-bottom .region {
float: right;
}
}
@media all and (min-width: 851px) {
.featured-bottom .region {
padding: 0 20px;
}
}
.featured-bottom h2 {
color: #000;
font-size: 1.4em;
margin-bottom: 0.6em;
text-shadow: 0 1px 0 #fff;
text-align: center;
line-height: 1em;
}
.featured-bottom .block {
margin-bottom: 1em;
padding-bottom: 1em;
border-bottom: 1px solid #dfdfdf;
line-height: 1.3em;
}
.featured-bottom .block:last-child {
border-bottom: none;
}
.featured-bottom ul,
.featured-bottom ol {
padding-left: 0;
}
.featured-bottom ul li,
.featured-bottom ol li {
list-style: none;
}
.featured-bottom input:not(.form-submit) {
width: 185px;
}
.region-featured-bottom-third .feed-icon {
float: right;
}
.region-featured-bottom-second .block-system-powered-by-block {
text-align: center;
}

View file

@ -0,0 +1,25 @@
/**
* @file
* Visual styles for Bartik's featured top.
*/
.featured-top {
text-align: center;
font-size: 1.2em;
font-weight: normal;
line-height: 1.4;
padding: 20px 10px 45px;
margin: 0;
background: #f0f0f0;
background: rgba(30, 50, 10, 0.08);
border-bottom: 1px solid #e7e7e7;
text-shadow: 1px 1px #fff;
}
.featured-top h2 {
font-size: 1.2em;
line-height: 1;
}
.featured-top p {
margin: 0;
padding: 0;
}

View file

@ -0,0 +1,15 @@
/**
* @file
* Feed icon styles for Bartik.
*/
.feed-icon {
border-bottom: 1px solid transparent;
display: inline-block;
padding-bottom: 2px;
}
.feed-icon:focus,
.feed-icon:hover {
border-color: #018fe2;
}

View file

@ -0,0 +1,98 @@
/**
* @file
* Visual styles for Bartik's field components.
*/
.field--type-entity-reference {
margin: 0 0 1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.field--type-entity-reference .field__label {
font-weight: normal;
margin: 0;
padding-right: 5px; /* LTR */
}
[dir="rtl"] .field--type-entity-reference .field__label {
padding-left: 5px;
padding-right: 0;
}
.field--type-entity-reference .field__label,
.field--type-entity-reference ul.links {
font-size: 0.8em;
}
.node--view-mode-teaser .field--type-entity-reference .field__label,
.node--view-mode-teaser .field--type-entity-reference ul.links {
font-size: 0.821em;
}
.field--type-entity-reference ul.links {
padding: 0;
margin: 0;
list-style: none;
}
/* This is required to win over specificity of [dir="rtl"] .region-content ul */
[dir="rtl"] .field--type-entity-reference ul.links {
padding: 0;
}
.field--type-entity-reference ul.links li {
float: left; /* LTR */
padding: 0 1em 0 0; /* LTR */
white-space: nowrap;
}
[dir="rtl"] .field--type-entity-reference ul.links li {
padding: 0 0 0 1em;
float: right;
}
@media all and (min-width: 560px) {
.node .field--type-image {
float: left; /* LTR */
margin: 0 1em 0 0; /* LTR */
}
[dir="rtl"] .node .field--type-image {
float: right;
margin: 0 0 0 1em;
}
.node .field--type-image + .field--type-image {
clear: both;
}
}
.field--type-image img,
.field--name-user-picture img {
margin: 0 0 1em;
}
.field--type-image a {
border-bottom: none;
}
.field--name-field-tags {
margin: 0 0 1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.field--name-field-tags .field__label {
font-weight: normal;
margin: 0;
padding-right: 5px; /* LTR */
}
[dir="rtl"] .field--name-field-tags .field__label {
padding-left: 5px;
padding-right: 0;
}
.field--name-field-tags .field__label,
.field--name-field-tags ul.links {
font-size: 0.8em;
}
.node--view-mode-teaser .field--name-field-tags .field__label,
.node--view-mode-teaser .field--name-field-tags ul.links {
font-size: 0.821em;
}
.field--name-field-tags ul.links {
padding: 0;
margin: 0;
}
.field--name-field-tags ul.links li {
float: left; /* LTR */
padding: 0 1em 0 0; /* LTR */
white-space: nowrap;
}
[dir="rtl"] .field--name-field-tags ul.links li {
padding: 0 0 0 1em;
float: right;
}

View file

@ -0,0 +1,323 @@
/**
* @file
* Visual styles for Bartik's forms.
*/
/* Password field. */
.password-field {
margin: 0;
}
/* Form elements. */
form {
margin: 0;
padding: 0;
}
fieldset {
margin: 1em 0;
min-width: 0;
}
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
fieldset {
display: table-cell;
}
}
details,
fieldset,
.filter-wrapper {
border-radius: 4px;
}
.filter-wrapper {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.filter-help a {
font-size: 0.857em;
}
.filter-wrapper .form-item label {
margin-right: 10px; /* LTR */
}
[dir="rtl"] .filter-wrapper .form-item label {
margin-left: 10px;
margin-right: 0;
}
summary {
background: #dbdbdb;
color: #3b3b3b;
text-shadow: 0 1px 0 #fff;
}
details summary a {
color: #3b3b3b;
}
details summary a:hover,
details summary a:active,
details summary a:focus {
color: #000;
}
details .details-description {
font-style: italic;
}
label {
display: table;
font-weight: bold;
}
label[for] {
cursor: pointer;
}
input,
textarea,
select {
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}
input {
margin: 2px 0;
padding: 4px;
/* Keep form elements from overflowing their containers. */
max-width: 100%;
box-sizing: border-box;
}
input,
textarea {
font-size: 0.929em;
}
/**
* Make the font slightly bigger in mobile
* @todo: check the correct font-size
*/
@media screen and (max-width: 60em) { /* 920px */
input,
textarea {
font-size: 16px;
}
}
textarea {
line-height: 1.5;
}
textarea.form-textarea,
select.form-select {
padding: 4px;
}
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-file,
input.form-number,
input.form-color,
textarea.form-textarea,
select.form-select {
border: 1px solid #ccc;
color: #3b3b3b;
}
input.form-submit:hover,
input.form-submit:focus {
background: #dedede;
}
.password-suggestions ul li {
margin-left: 1.2em; /* LTR */
}
[dir="rtl"] .password-suggestions ul li {
margin-right: 1.2em;
margin-left: 0;
}
.form-item label,
.form-wrapper .label {
font-size: 0.929em;
}
.form-wrapper .field-multiple-table .label {
font-size: inherit;
}
.form-type-radio label,
.form-type-checkbox label {
margin-left: 4px; /* LTR */
}
[dir="rtl"] .form-type-radio label,
[dir="rtl"] .form-type-checkbox label {
margin-right: 4px;
margin-left: 0;
}
.form-type-radio .description,
.form-type-checkbox .description {
margin-left: 2px; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
margin-right: 2px;
margin-left: 0;
}
.form-actions {
padding-top: 10px;
}
/* Node Form */
#edit-body {
margin-bottom: 2em;
}
.node-form label,
.node-form .description,
.node-form .form-wrapper .label {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.node-form .form-wrapper .field-multiple-table .label {
font-family: inherit;
}
.node-form .form-wrapper {
margin-bottom: 2em;
}
/* Contact Form */
.contact-form #edit-name {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-mail {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-subject {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-message {
width: 76.3%;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
/* Disabled form elements */
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
background: #ededed;
border-color: #bbb;
color: #717171;
}
.form-disabled label {
color: #717171;
}
/* Comment form */
.comment-form label {
float: left; /* LTR */
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
width: 120px;
}
[dir="rtl"] .comment-form label {
float: right;
}
.comment-form input,
.comment-form .form-select {
margin: 0;
border-radius: 4px;
}
.comment-form .form-type-textarea label {
float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
margin-bottom: 10px;
overflow: hidden;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
margin-left: 120px; /* LTR */
}
[dir="rtl"] .comment-form .form-type-checkbox,
[dir="rtl"] .comment-form .form-radios,
[dir="rtl"] .comment-form .form-item .description {
margin-left: 0;
margin-right: 120px;
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
float: none;
margin-top: 0;
}
.comment-form input.form-file {
width: auto;
}
.layout-no-sidebars .comment-form .form-text {
width: 800px;
}
.layout-one-sidebar .comment-form .form-text {
width: 500px;
}
.layout-two-sidebars .comment-form .form-text {
width: 320px;
}
.comment-form .form-item .description {
font-size: 0.786em;
line-height: 1.2;
margin-left: 120px; /* LTR */
}
.comment-form .form-textarea {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.comment-form details.filter-wrapper .details-wrapper,
.comment-form .text-format-wrapper .form-item {
margin-top: 0;
margin-bottom: 0;
}
.filter-wrapper label {
width: auto;
float: none;
}
.filter-wrapper .form-select {
min-width: 120px;
}
.comment-form details.filter-wrapper .tips {
font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
margin-bottom: 0.4em;
}
#edit-actions input {
margin-right: 0.6em; /* LTR */
}
[dir="rtl"] #edit-actions input {
margin-left: 0.6em;
margin-right: 0;
}
/* Form error styles. */
.form-item textarea.error + .cke {
border: 2px solid red;
}
/* Form error message styles. */
.form-item--error-message {
color: #e32700;
}
/**
* Improve form element usability on narrow devices.
*/
@media all and (max-width: 600px) {
.form-actions .button {
float: none;
margin: 10px 0 0;
padding-bottom: 6px;
width: 100%;
display: block;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.js .dropbutton .dropbutton-action > input, .js .dropbutton .dropbutton-action > a, .js .dropbutton .dropbutton-action > button {
text-align: center;
padding-left: 3em;
}
}

View file

@ -0,0 +1,11 @@
/**
* @file
* Visual styles for forums in Bartik.
*/
.forum__name {
font-size: 1.083em;
}
.forum__description {
font-size: 1em;
}

View file

@ -0,0 +1,200 @@
/* ------------------ Header ------------------ */
#header {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.header .section {
position: relative;
}
.region-header {
padding: 0.357em 15px 0;
}
.region-header .site-branding {
margin-top: 0.429em;
}
@media all and (min-width: 461px) {
.region-header .block {
float: right; /* LTR */
margin-top: 0.357em;
}
[dir="rtl"] .region-header .block {
float: left;
}
.region-header .site-branding {
float: left; /* LTR */
/* margin-bottom: 1.857em;*/
}
[dir="rtl"] .region-header .site-branding {
float: right;
}
}
@media screen and (max-width: 460px) {
.region-header {
padding-bottom: 0.357em;
}
}
/* Region header blocks. */
.region-header .block:not(.site-branding) {
font-size: 0.857em;
margin: 0 0 1em;
clear: right;
}
@media all and (min-width: 901px) {
.region-header .block:not(.site-branding) {
margin: 1.167em 0 1em;
}
}
.region-header .block > h2 {
/* @extend .visually-hidden */
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
overflow: hidden;
height: 1px;
}
.header .block .content {
margin: 0;
padding: 0;
}
.region-header .block ul {
padding: 0;
}
.region-header .block li {
list-style: none;
list-style-image: none;
padding: 0;
}
.region-header .branding {
font-size: 1em;
}
.region-header .form-text {
background: #fefefe;
background: rgba(255, 255, 255, 0.7);
border-color: #ccc;
border-color: rgba(255, 255, 255, 0.3);
margin-right: 2px; /* LTR */
width: 120px;
}
[dir="rtl"] .region-header .form-text {
margin-left: 2px;
margin-right: 0;
}
.region-header .form-text:hover,
.region-header .form-text:focus,
.region-header .form-text:active {
background: #fff;
background: rgba(255, 255, 255, 0.8);
}
.region-header .form-required:after {
background-image: url(../../images/required.svg);
}
/* Region header block menus. */
.region-header .block-menu {
border: 1px solid;
border-color: #eee;
border-color: rgba(255, 255, 255, 0.2);
padding: 0;
width: 208px;
}
.region-header .block-menu li a {
display: block;
border-bottom: 1px solid;
border-bottom-color: #eee;
border-bottom-color: rgba(255, 255, 255, 0.2);
padding: 3px 7px;
}
.region-header .block-menu li a:hover,
.region-header .block-menu li a:focus,
.region-header .block-menu li a:active {
text-decoration: none;
background: rgba(255, 255, 255, 0.15);
}
.region-header .block-menu li:last-child a {
border-bottom: 0;
}
/* User Login block in the header region. */
.region-header #block-user-login {
width: auto;
}
.region-header #block-user-login .content {
margin-top: 2px;
}
.region-header #block-user-login .form-item {
float: left; /* LTR */
margin: 0;
padding: 0;
}
.region-header #block-user-login div.item-list,
.region-header #block-user-login div.description {
font-size: 0.916em;
margin: 0;
}
.region-header #block-user-login div.item-list {
clear: both;
}
.region-header #block-user-login div.description {
display: inline;
}
.region-header #block-user-login .item-list ul {
padding: 0;
line-height: 1;
}
.region-header #block-user-login .item-list li {
list-style: none;
float: left; /* LTR */
padding: 3px 0 1px;
}
.region-header #block-user-login .item-list li:last-child {
padding-left: 0.5em; /* LTR */
}
[dir="rtl"] .region-header #block-user-login .item-list li:last-child {
padding-left: 0;
padding-right: 0.5em;
}
.region-header #block-user-login .form-actions {
margin: 4px 0 0;
padding: 0;
clear: both;
}
.region-header #block-user-login input.form-submit {
border: 1px solid;
border-color: #ccc;
border-color: rgba(255, 255, 255, 0.5);
background: #eee;
background: rgba(255, 255, 255, 0.7);
margin: 4px 0;
padding: 3px 8px;
}
.region-header #block-user-login input.form-submit:hover,
.region-header #block-user-login input.form-submit:focus {
background: #fff;
background: rgba(255, 255, 255, 0.9);
}
/* Search block in header region. */
.region-header #block-search-form {
width: 208px;
}
.region-header #block-search-form .form-text {
width: 154px;
}
.region-header .search-block-form {
float: right; /* LTR */
}
[dir="rtl"] .region-header .search-block-form {
float: left;
}
/* Language switcher block in header region. */
.region-header .block-locale ul li {
display: inline;
padding: 0 0.5em;
}
[role*=banner] a {
border-bottom: none;
}
[dir="rtl"] .branding,
[dir="rtl"] .site-logo,
[dir="rtl"] .site-branding-text,
[dir="rtl"] .region-header #block-user-login .form-item,
[dir="rtl"] .region-header #block-user-login .item-list li {
float: right;
}

View file

@ -0,0 +1,10 @@
/**
* @file
* Styles for the help block.
*/
.block-help {
border: 1px solid #d3d7d9;
padding: 0 1.5em;
margin-bottom: 30px;
}

View file

@ -0,0 +1,12 @@
/**
* @file
* Styles for Bartik's highlighted component.
*/
.has-featured-top .region-highlighted {
background: #f0f0f0;
background: rgba(30, 50, 10, 0.08);
}
.region-highlighted {
margin: 0 15px;
}

View file

@ -0,0 +1,13 @@
/**
* @file
* Styles for Bartik's image buttons.
*/
.image-button.is-disabled:hover,
.image-button.is-disabled:active,
.image-button.is-disabled:focus,
.image-button.is-disabled {
background: transparent;
opacity: 0.5;
cursor: default;
}

View file

@ -0,0 +1,29 @@
/**
* @file
* Visual styles for Bartik's item list.
*/
.item-list ul {
list-style: none;
margin: 0 0 0.25em 0;
padding: 0; /* LTR */
}
[dir="rtl"] .item-list ul {
padding: 0;
}
.item-list ul li {
/* This is needed to reset styles in item-list.theme.css */
margin: 0;
padding: 0.2em 0.5em 0 0; /* LTR */
}
[dir="rtl"] .item-list ul li {
/* This is needed to reset [dir="rtl"] styles in item-list.theme.css */
margin: 0;
padding: 0.2em 0 0 0.5em;
}
.item-list .item-list__comma-list,
.item-list .item-list__comma-list li,
[dir="rtl"] .item-list .item-list__comma-list,
[dir="rtl"] .item-list .item-list__comma-list li {
padding: 0;
}

View file

@ -0,0 +1,13 @@
/**
* @file
* List group.
* A list of links, grouped together.
*/
.list-group__link {
border-top: 1px solid #ccc;
padding: 7px 0 0;
}
.list-group__description {
margin: 0 0 10px;
}

View file

@ -0,0 +1,13 @@
/**
* @file
* Visual styles for Bartik's lists.
*/
ul.links {
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.821em;
padding: 0;
margin: 0;
list-style: none;
}

View file

@ -0,0 +1,51 @@
/**
* @file
* Visual styles for Bartik's main-content component.
*/
.main-content .section {
padding: 0 15px;
}
.main-content h2 {
margin-bottom: 2px;
font-size: 1.429em;
line-height: 1.4;
}
@media all and (min-width: 851px) {
.main-content {
float: left; /* LTR */
position: relative;
}
[dir="rtl"] .main-content {
float: right;
}
.layout-two-sidebars .main-content {
margin-left: 25%;
margin-right: 25%;
width: 50%;
}
.layout-one-sidebar .main-content {
width: 75%;
}
.layout-no-sidebars .main-content {
width: 100%;
}
.layout-sidebar-first .main-content {
margin-left: 25%; /* LTR */
margin-right: 0; /* LTR */
}
[dir="rtl"] .layout-sidebar-first .main-content {
margin-left: 0;
margin-right: 25%;
}
.layout-sidebar-second .main-content {
margin-right: 25%; /* LTR */
margin-left: 0; /* LTR */
}
[dir="rtl"] .layout-sidebar-second .main-content {
margin-right: 0;
margin-left: 25%;
}
}

View file

@ -0,0 +1,15 @@
/**
* @file
* Styles for menus in Bartik.
*/
/* This is needed to override ul.menu styles in menu.theme.css */
ul.menu {
margin: 0;
padding: 0 0 0.25em 0;
}
/* This is needed to override [dir="rtl"] ul.menu styles in menu.theme.css */
[dir="rtl"] ul.menu {
margin: 0;
}

View file

@ -0,0 +1,13 @@
/**
* @file
* Styles for Bartik's messages.
*/
.messages__wrapper {
padding: 20px 0 5px 8px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: 8px 0;
}
[dir="rtl"] .messages__wrapper {
padding: 20px 8px 5px 0;
}

View file

@ -0,0 +1,61 @@
.node-preview-container {
background: #d1e8f5;
background-image: -webkit-linear-gradient(top, #d1e8f5, #d3e8f4);
background-image: linear-gradient(to bottom, #d1e8f5, #d3e8f4);
font-family: Arial, sans-serif;
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3333);
position: fixed;
z-index: 499;
width: 100%;
padding: 10px;
}
.node-preview-backlink {
background-color: #419ff1;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
border: 1px solid #0048c8;
border-radius: .4em;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
color: #fff;
font-size: 0.9em;
line-height: normal;
margin: 0;
padding: 4px 1em 4px 0.6em; /* LTR */
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
[dir="rtl"] .node-preview-backlink {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5);
padding: 4px 0.6em 4px 1em;
float: right;
}
.node-preview-backlink:focus,
.node-preview-backlink:hover {
background-color: #419cf1;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */
border: 1px solid #0048c8;
text-decoration: none;
color: #fff;
}
[dir="rtl"] .node-preview-backlink:focus,
[dir="rtl"] .node-preview-backlink:hover {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef);
}
.node-preview-backlink:active {
background-color: #0e69be;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
border: 1px solid #0048c8;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
}
[dir="rtl"] .node-preview-backlink:active {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
}
.node-preview-backlink::before {
content: '';
width: 10px;
display: inline-block;
}

View file

@ -0,0 +1,69 @@
/**
* @file
* Visual styles for Bartik's node component.
*/
.node__content {
font-size: 1.071em;
margin-top: 10px;
}
/* View mode teaser styles. */
.node--view-mode-teaser {
border-bottom: 1px solid #d3d7d9;
margin-bottom: 30px;
padding-bottom: 15px;
}
.node--view-mode-teaser h2 {
margin-top: 0;
padding-top: 0.5em;
}
.node--view-mode-teaser h2 a {
color: #181818;
}
.node--view-mode-teaser.node--sticky {
background: #f9f9f9;
background: rgba(0, 0, 0, 0.024);
border: 1px solid #d3d7d9;
padding: 0 15px 15px;
}
.node--view-mode-teaser .node__content {
clear: none;
font-size: 1em;
line-height: 1.6;
}
/* Node metadata styles. */
.node__meta {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.857em;
color: #68696b;
margin-bottom: -5px;
}
.node__meta .field--name-user-picture img {
float: left; /* LTR */
margin: 1px 20px 0 0; /* LTR */
}
[dir="rtl"] .node__meta .field--name-user-picture img {
float: right;
margin-left: 20px;
margin-right: 0;
}
/* Node links styles. */
.node__links {
text-align: right; /* LTR */
font-size: 0.93em;
}
[dir="rtl"] .node__links {
text-align: left;
}
/* Unpublished node styles. */
.node--unpublished {
padding: 20px 15px 0;
}
.node--unpublished .comment-text .comment-arrow {
border-left: 1px solid #fff4f4;
border-right: 1px solid #fff4f4;
}

View file

@ -0,0 +1,9 @@
/**
* @file
* Visual styles for Bartik's page-title component.
*/
.page-title {
font-size: 2em;
line-height: 1em;
}

View file

@ -0,0 +1,42 @@
/**
* @file
* Styles for Bartik's pagination.
*/
/* Using .pager selector on the first one to override .region-content ul. */
.pager .pager__items {
padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.pager__item {
font-size: 0.929em;
padding: 10px 15px;
}
.pager__item a {
display: inline-block;
}
.pager__item.is-active a {
color: #3b3b3b;
border-bottom: 0;
}
.pager__item--first,
.pager__item--previous {
padding: 10px 10px 10px 0; /* LTR */
}
[dir="rtl"] .pager__item--first,
[dir="rtl"] .pager__item--previous {
padding-left: 10px;
padding-right: 0;
}
.pager__item--ellipsis {
padding: 10px 0;
}
.pager__item--last,
.pager__item--next {
padding: 10px 0 10px 10px; /* LTR */
}
[dir="rtl"] .pager__item--last,
[dir="rtl"] .pager__item--next {
padding-left: 0;
padding-right: 10px;
}

View file

@ -0,0 +1,21 @@
/**
* @file
* Panel styling. Panels are used to visually group items together.
*/
.panel {
background: #fbfbfb;
border: 1px solid #ccc;
margin: 10px 0;
padding: 0 5px 5px;
}
.panel__title {
margin: 16px 7px;
}
.panel__content {
padding: 0 4px 2px 8px; /* LTR */
}
[dir="rtl"] .panel__content {
padding-right: 8px;
padding-left: 4px;
}

View file

@ -0,0 +1,8 @@
/**
* @file
* Styles for password suggestions in Bartik.
*/
.password-suggestions {
border: 0;
}

View file

@ -0,0 +1,212 @@
/* --------------- Primary Menu ------------ */
.region-primary-menu {
clear: both;
}
.region-primary-menu .menu {
font-size: 0.929em;
margin: 0 5px;
padding: 0;
text-align: left; /* LTR */
}
[dir="rtl"] .region-primary-menu .menu {
text-align: right;
margin-left: 5px; /* This is required to win over specificity of [dir="rtl"] ul.menu */
margin-right: 5px; /* This is required to win over specificity of [dir="rtl"] ul.menu */
}
.region-primary-menu .menu-item {
float: none;
list-style: none;
margin: 0;
padding: 0;
height: auto;
width: 100%;
}
.region-primary-menu .menu a {
color: #333;
background: #ccc;
background: rgba(255, 255, 255, 0.7);
float: none;
display: block;
text-decoration: none;
text-shadow: 0 1px #eee;
border-radius: 8px;
margin: 4px 0;
padding: 0.9em 0 0.9em 10px; /* LTR */
}
[dir="rtl"] .region-primary-menu .menu a {
padding: 0.9em 10px 0.9em 0;
}
.region-primary-menu .menu a:hover,
.region-primary-menu .menu a:focus {
background: #f6f6f2;
background: rgba(255, 255, 255, 0.95);
}
.region-primary-menu .menu a:active {
background: #b3b3b3;
background: rgba(255, 255, 255, 1);
}
.region-primary-menu .menu-item a.is-active {
border-bottom: none;
}
/* ---------- Primary Menu Toggle ----------- */
/* Hide the toggle by default. */
.menu-toggle,
.menu-toggle-target {
display: none;
}
/* Unhide it for the primary menu. */
.region-primary-menu .menu-toggle-target {
display: inherit;
position: fixed;
top: 0;
}
.region-primary-menu .menu-toggle {
display: none;
}
body:not(:target) .region-primary-menu .menu-toggle {
color: #333;
background: #ccc;
background: rgba(255, 255, 255, 0.7);
float: none;
font-size: 0.929em;
display: block;
text-decoration: none;
text-shadow: 0 1px #eee;
padding: 0.9em 10px 0.9em 10px;
z-index: 1000;
}
body:not(:target) .region-primary-menu .menu-toggle:after {
content:"";
background: url(../../../../misc/icons/ffffff/hamburger.svg) no-repeat;
background-size: contain;
width: 22px;
height: 22px;
display: inline-block;
position: absolute;
right: 10px; /* LTR */
}
[dir="rtl"] body:not(:target) .region-primary-menu .menu-toggle:after {
right: initial;
left: 10px;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle,
body:not(:target) .region-primary-menu .menu-toggle--hide {
display: none;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
display: block;
}
body:not(:target) .region-primary-menu .menu-item {
height: 0;
overflow: hidden;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu .menu-item {
height: auto;
overflow: visible;
}
/**
* Media queries for primary menu.
*/
@media all and (min-width: 461px) and (max-width: 900px) {
.region-primary-menu .menu {
margin: 0 5px;
padding: 0;
text-align: center;
}
/* This is required to win over specificity of the global [dir="rtl"] .region-primary-menu .menu */
[dir="rtl"] .region-primary-menu .menu {
text-align: center;
}
.region-primary-menu .menu-item,
body:not(:target) .region-primary-menu .menu-item {
float: left; /* LTR */
margin-right: 5px; /* LTR */
padding: 0;
display: inline-block;
width: 32.75%;
height: auto;
overflow: visible;
}
[dir="rtl"] .region-primary-menu .menu-item,
[dir="rtl"] body:not(:target) .region-primary-menu .menu-item {
float: right;
margin-left: 5px;
margin-right: 0;
}
.region-primary-menu .menu-item:nth-child(3n) {
margin-right: -5px; /* LTR */
}
[dir="rtl"] .region-primary-menu .menu-item:nth-child(3n) {
margin-left: -5px;
margin-right: 0;
}
.region-primary-menu .menu a {
float: none;
display: block;
border-radius: 8px;
margin-bottom: 5px;
padding: 0.9em 5px;
}
/* This is required to win over specificity of the global [dir="rtl"] .region-primary-menu .menu a */
[dir="rtl"] .region-primary-menu .menu a {
padding: 0.9em 5px;
}
body:not(:target) .region-primary-menu .menu-toggle {
display: none;
}
}
@media all and (min-width: 901px) {
.region-primary-menu .block-menu .menu {
font-size: 0.929em;
margin: 0;
padding: 0 15px;
}
.region-primary-menu .menu-item,
body:not(:target) .region-primary-menu .menu-item {
float: left; /* LTR */
list-style: none;
padding: 0 1px;
margin: 0 1px;
width: auto;
height: auto;
overflow: visible;
}
[dir="rtl"] .region-primary-menu .menu-item,
[dir="rtl"] body:not(:target) .region-primary-menu .menu-item {
float: right;
}
.region-primary-menu .menu a {
float: left; /* LTR */
padding: 0.7em 0.8em;
margin-bottom: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
[dir="rtl"] .region-primary-menu .menu a {
float: right;
padding: 0.7em 0.8em;
}
.featured .region-primary-menu .menu-item a:active,
.featured .region-primary-menu .menu-item a.is-active {
background: #f0f0f0;
background: rgba(240, 240, 240, 1.0);
}
body:not(:target) .region-primary-menu .menu-toggle {
display: none;
}
}
/**
* Ensures that the open mobile menu hides when the screen dimensions become
* 461px or wider.
*/
@media all and (min-width: 461px) {
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
display: none;
}
}

View file

@ -0,0 +1,40 @@
/**
* @file
* The visual styles for Bartik's search form(s).
*/
.search-form {
font-size: 0.875rem;
}
.search-form .form-search {
float: left; /* LTR */
margin-right: 5px; /* LTR */
padding: 4px;
}
[dir="rtl"] .search-form .form-search {
float: right;
margin-left: 5px;
margin-right: 0;
}
.button.search-form__submit,
.search-form__submit {
background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center;
cursor: pointer;
height: 26px;
margin-left: 0;
margin-right: 0;
overflow: hidden;
padding: 0;
text-indent: -9999px;
direction: ltr;
width: 34px;
}
.button.search-form__submit:hover,
.search-form__submit:hover,
.button.search-form__submit:focus,
.search-form__submit:focus {
background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center;
}
.search-form .form-item-keys label {
display: block;
}

View file

@ -0,0 +1,28 @@
/**
* @file
* Visual styles for Bartik's search results.
*/
.search-results {
padding: 0;
list-style-position: inside;
}
.search-results li {
border-bottom: 1px solid #d3d7d9;
padding-bottom: 0.4285em;
margin-bottom: 0.5em;
}
.search-results li:last-child {
border-bottom: none;
padding-bottom: 0;
margin-bottom: 1em;
}
.search-result__title {
font-weight: bold;
}
.search-result__snippet-info {
padding-left: 0; /* LTR */
}
[dir="rtl"] .search-result__snippet-info {
padding-right: 0;
}

View file

@ -0,0 +1,26 @@
/* --------------- Secondary Menu ------------ */
.region-secondary-menu .menu {
text-align: right; /* LTR */
font-size: 0.929em;
margin: 0 10px;
padding: 0;
}
[dir="rtl"] .region-secondary-menu .menu {
text-align: left;
margin-right: 10px; /* required to win over specificity of [dir="rtl"] ul.menu */
margin-left: 10px;
}
.region-secondary-menu .menu-item {
margin: 0;
padding: 0;
display: inline;
}
.region-secondary-menu .menu a {
display: inline-block;
padding: 0.8em;
}
.region-secondary-menu .menu a:hover,
.region-secondary-menu .menu a:focus {
text-decoration: underline;
}

View file

@ -0,0 +1,29 @@
/**
* @file
* Visual styles for the Shortcut action link in Bartik.
*/
.shortcut-wrapper {
margin: 2.2em 0 1.1em 0; /* Same as usual .page-title margin. */
}
.shortcut-wrapper .page-title {
float: left; /* LTR */
margin: 0;
}
[dir="rtl"] .shortcut-wrapper .page-title {
float: right;
}
.shortcut-action {
border-bottom: none;
margin-left: 0.5em; /* LTR */
padding-top: 0.35em;
}
[dir="rtl"] .shortcut-action {
margin-left: 0;
margin-right: 0.5em;
}
.shortcut-action:hover,
.shortcut-action:active,
.shortcut-action:focus {
border-bottom: none;
}

View file

@ -0,0 +1,67 @@
/* ------------------ Sidebar ----------------- */
@media all and (min-width: 560px) {
.sidebar {
float: left; /* LTR */
position: relative;
width: 50%;
}
[dir="rtl"] .sidebar {
float: right;
}
.layout-one-sidebar .sidebar {
width: 100%;
}
}
@media all and (min-width: 851px) {
.layout-one-sidebar .sidebar {
width: 25%;
}
#sidebar-first {
width: 25%;
margin-left: -100%; /* LTR */
}
[dir="rtl"] #sidebar-first {
margin-right: -100%;
margin-left: 0;
}
#sidebar-second {
width: 25%;
margin-left: -25%; /* LTR */
clear: none;
}
[dir="rtl"] #sidebar-second {
margin-right: -25%;
margin-left: 0;
}
}
.sidebar .section {
padding: 10px 15px 0;
}
.sidebar .block {
border-style: solid;
border-width: 1px;
padding: 15px 20px;
margin: 0 0 20px;
}
.sidebar h2 {
margin: 0 0 0.5em;
border-bottom: 1px solid #d6d6d6;
padding-bottom: 5px;
text-shadow: 0 1px 0 #fff;
font-size: 1.071em;
line-height: 1.2;
}
.sidebar .block .content {
font-size: 0.914em;
line-height: 1.4;
}
.sidebar tbody {
border: none;
}
.sidebar tr.even,
.sidebar tr.odd {
background: none;
border-bottom: 1px solid #d6d6d6;
}

View file

@ -0,0 +1,45 @@
/**
* @file
* Visual styles for the site branding block in Bartik.
*/
.site-branding__logo {
display: inline-block;
margin-right: 1em; /* LTR */
margin-bottom: 0.286em;
}
[dir="rtl"] .site-branding__logo {
margin-right: 0;
margin-left: 1em;
}
.site-branding__text {
display: inline-block;
vertical-align: top;
}
@media all and (min-width: 461px) {
.site-branding__text {
margin-bottom: 1.857em;
}
}
@media all and (min-width: 901px) {
.site-branding__text {
padding: 1.286em 0 0;
}
}
.site-branding__name {
font-size: 1.6em;
color: #686868;
line-height: 1;
}
@media all and (min-width: 901px) {
.site-branding__name {
font-size: 1.821em;
}
}
.site-branding__slogan {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
margin-top: 7px;
word-spacing: 0.1em;
font-style: italic;
}

View file

@ -0,0 +1,229 @@
/**
* @file
* Footer Styling.
*/
.site-footer {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 35px 0 30px;
}
.site-footer .layout-container {
padding: 0 15px;
}
@media all and (min-width: 560px) {
.site-footer__top .region {
float: left; /* LTR */
position: relative;
width: 50%;
}
[dir="rtl"] .site-footer__top .region {
float: right;
}
}
@media all and (min-width: 560px) and (max-width: 850px) {
.site-footer .region {
box-sizing: border-box;
}
.site-footer__top .region:nth-child(2n+1) {
padding-right: 10px; /* LTR */
}
[dir="rtl"] .site-footer__top .region:nth-child(2n+1) {
padding-left: 10px;
padding-right: 0;
}
.site-footer__top .region:nth-child(2n) {
padding-left: 10px; /* LTR */
}
[dir="rtl"] .site-footer__top .region:nth-child(2n) {
padding-left: 0;
padding-right: 10px;
}
.region-footer-third {
clear: both;
}
}
@media all and (min-width: 851px) {
.site-footer__top .region {
width: 24%;
padding: 0 0.65%;
}
.site-footer__top .region:first-child {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .region:first-child {
padding-left: 10px;
padding-right: 0;
}
.site-footer__top .region:last-child {
padding-right: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .region:last-child {
padding-left: 0;
padding-right: 10px;
}
}
.site-footer h2 {
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
}
.site-footer blockquote {
color: #555;
}
.site-footer .content {
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
font-size: 0.857em;
}
.site-footer .menu-item {
padding: 0;
}
.site-footer .content ol:not(.menu),
.site-footer .content ul:not(.menu) {
padding-left: 1.4em; /* LTR */
}
[dir="rtl"] .site-footer .content ol:not(.menu),
[dir="rtl"] .site-footer .content ul:not(.menu) {
padding-right: 1.4em;
padding-left: 0;
}
.site-footer .content a,
.site-footer .content a.is-active {
color: #fcfcfc;
color: rgba(255, 255, 255, 0.8);
}
.site-footer .content a:hover,
.site-footer .content a:focus {
color: #fefefe;
color: rgba(255, 255, 255, 0.95);
}
.site-footer .block {
margin: 20px 0;
border: 1px solid #444;
border-color: rgba(255, 255, 255, 0.1);
padding: 10px;
}
.site-footer table {
font-size: 1em;
}
.site-footer tr td,
.site-footer tr th {
border-color: #555;
border-color: rgba(255, 255, 255, 0.18);
}
.site-footer tr.odd {
background-color: transparent;
}
.site-footer tr.even {
background-color: #2c2c2c;
background-color: rgba(0, 0, 0, 0.15);
}
/* Footer Top Styling. */
.site-footer__top h2 {
border-bottom: 1px solid #555;
border-color: rgba(255, 255, 255, 0.15);
font-size: 1em;
margin-bottom: 0;
padding-bottom: 3px;
text-transform: uppercase;
}
.site-footer__top .content {
margin-top: 0;
}
.site-footer__top p {
margin-top: 1em;
}
.site-footer__top .content .menu {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .content .menu {
padding-right: 0;
}
.site-footer__top .content li a {
display: block;
border-bottom: 1px solid #555;
border-color: rgba(255, 255, 255, 0.15);
line-height: 1.2;
padding: 0.8em 2px 0.8em 20px; /* LTR */
text-indent: -15px;
}
[dir="rtl"] .site-footer__top .content li a {
padding: 0.8em 20px 0.8em 2px;
}
.site-footer__top .content li a:hover,
.site-footer__top .content li a:focus {
background-color: #1f1f21;
background-color: rgba(255, 255, 255, 0.05);
text-decoration: none;
}
.site-footer__top .block-menu,
.site-footer__bottom .block {
margin: 0;
padding: 0;
border: none;
}
/* Footer Bottom Styling. */
.site-footer__bottom .block {
margin: 0.5em 0;
}
.site-footer__bottom .content {
padding: 0.5em 0;
margin-top: 0;
}
.site-footer__bottom .block h2 {
margin: 0;
}
.site-footer__bottom {
letter-spacing: 0.2px;
margin-top: 30px;
border-top: 1px solid #555;
border-color: rgba(255, 255, 255, 0.15);
}
.site-footer__bottom .region {
margin-top: 20px;
}
.site-footer__bottom .block {
clear: both;
}
/* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
.site-footer__bottom .block .menu {
padding: 0;
}
.site-footer__bottom .menu-item a {
float: left; /* LTR */
padding: 0 12px;
display: block;
border-right: 1px solid #555; /* LTR */
border-color: rgba(255, 255, 255, 0.15);
}
[dir="rtl"] .site-footer__bottom .menu-item a {
float: right;
border-left: 1px solid #555;
border-right: none;
}
.site-footer__bottom .menu-item:first-child a {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__bottom .menu-item:first-child a {
padding-right: 0;
padding-left: 12px;
}
.site-footer__bottom .menu-item:last-child a {
padding-right: 0; /* LTR */
border-right: none; /* LTR */
}
[dir="rtl"] .site-footer__bottom .menu-item:last-child a {
padding-left: 0;
padding-right: 12px;
border-left: none;
}
/**
* When the item is both first and last, :last-child overrides the right padding
* when using [dir="rtl"]. We need this rule to remove the right padding.
*/
[dir="rtl"] .site-footer__bottom .menu-item:first-child:last-child a {
padding-right: 0;
}

View file

@ -0,0 +1,25 @@
/**
* @file
* Styles for the skip link.
*/
.skip-link {
left: 50%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
z-index: 50;
background: #444;
background: rgba(0, 0, 0, 0.6);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.94em;
line-height: 1.7em;
padding: 1px 10px 2px;
border-radius: 0 0 10px 10px;
border-bottom-width: 0;
outline: 0;
}
.skip-link.visually-hidden.focusable:focus {
position: absolute !important;
color: #fff;
}

View file

@ -0,0 +1,76 @@
/**
* @file
* Styles for Bartik's tables.
*/
table {
border: 0;
border-spacing: 0;
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
font-size: 0.857em;
margin: 10px 0;
width: 100%;
}
table table {
font-size: 1em;
}
tr {
border-bottom: 1px solid #ccc;
padding: 0.1em 0.6em;
background: #efefef;
background: rgba(0, 0, 0, 0.063);
}
thead > tr {
border-bottom: 1px solid #000;
}
tr.odd {
background: #e4e4e4;
background: rgba(0, 0, 0, 0.105);
}
table tr th {
background: #757575;
background: rgba(0, 0, 0, 0.51);
border-bottom-style: none;
}
table tr th,
table tr th a,
table tr th a:hover,
table tr th a:focus {
color: #fff;
font-weight: bold;
}
table tbody tr th {
vertical-align: top;
}
tr td,
tr th {
padding: 4px 9px;
border: 1px solid #fff;
text-align: left; /* LTR */
}
.tabledrag-handle:hover,
.tabledrag-handle {
border: none;
}
[dir="rtl"] tr td,
[dir="rtl"] tr th {
text-align: right;
}
/**
* Responsive tables.
*/
@media screen and (max-width: 37.5em) { /* 600px */
th.priority-low,
td.priority-low,
th.priority-medium,
td.priority-medium {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {
display: none;
}
}

View file

@ -0,0 +1,17 @@
/**
* @file
* Tablesort indicator styles.
*/
.tablesort {
width: 14px;
height: 14px;
vertical-align: top;
margin: 1px 0 0 5px;
}
.tablesort--asc {
background-image: url(../../../../misc/icons/ffffff/twistie-down.svg);
}
.tablesort--desc {
background-image: url(../../../../misc/icons/ffffff/twistie-up.svg);
}

View file

@ -0,0 +1,112 @@
/* --------------- System Tabs --------------- */
div.tabs {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin-bottom: 20px;
}
.tabs ul.primary {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.tabs ul.primary li a {
color: #000;
background-color: #ededed;
border-color: #bbb;
border-style: solid solid none solid;
border-width: 1px;
height: 1.8em;
line-height: 1.9;
display: block;
font-size: 0.929em;
padding: 0 10px 3px;
text-shadow: 0 1px 0 #fff;
}
.tabs ul.primary li.is-active a {
background-color: #ffffff;
border: 1px solid #bbb;
}
@media screen and (max-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-bottom: 1px solid #bbb;
}
.tabs ul.primary li {
display: block;
margin: 0;
}
.tabs ul.primary li a {
padding: 5px 10px;
}
.tabs ul.primary li.is-active a {
border-bottom: none;
}
}
@media screen and (min-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-collapse: collapse;
height: auto;
line-height: normal;
padding: 0 3px;
margin: 0;
overflow: hidden;
border: none;
background: transparent url(../../images/tabs-border.png) repeat-x left bottom;
white-space: nowrap;
}
.tabs ul.primary li {
display: block;
float: left; /* LTR */
vertical-align: bottom;
margin: 0 5px 0 0; /* LTR */
}
[dir="rtl"] .tabs ul.primary li {
margin: 0 0 0 5px;
float: right;
}
.tabs ul.primary li a {
float: left; /* not LTR */
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.tabs ul.primary li.is-active a {
border-bottom: 1px solid #fff;
}
}
.tabs ul.secondary {
border-bottom: none;
margin: 5px;
padding: 0.5em 0;
overflow: hidden;
}
.tabs ul.secondary li {
border-right: 1px solid #ccc; /* LTR */
display: block;
float: left; /* LTR */
margin: 0;
padding: 0 1em;
}
[dir="rtl"] .tabs ul.secondary li {
border-left: 1px solid #ccc;
border-right: none;
float: right;
}
.tabs ul.secondary li:last-child {
border-right: none; /* LTR */
}
[dir="rtl"] .tabs ul.secondary li:last-child {
border-left: none;
}
.tabs ul.secondary li:first-child {
padding-left: 0; /* LTR */
}
[dir="rtl"] .tabs ul.secondary li:first-child {
padding-right: 0;
}
.tabs ul.secondary li a {
display: inline;
padding: 0.25em 0.5em;
text-decoration: none;
}
.tabs ul.secondary li a.is-active {
background: #f2f2f2;
border-bottom: none;
border-radius: 5px;
}

View file

@ -0,0 +1,15 @@
/**
* @file
*
* Visual styles for Bartik's text-formatted component.
*/
.text-formatted ul,
.text-formatted ol {
margin: 1em 0;
padding: 0 0 0.25em 15px; /* LTR */
}
[dir="rtl"] .text-formatted ul,
[dir="rtl"] .text-formatted ol {
padding: 0 15px 0.25em 0;
}

View file

@ -0,0 +1,8 @@
/**
* @file
* Toolbar module overrides for Bartik.
*/
.toolbar a {
border-bottom: none;
}

View file

@ -0,0 +1,34 @@
/**
* @file
* Styles for Bartik's modal windows
*/
.ui-widget-overlay {
background: #000;
opacity: 0.7;
}
.ui-dialog {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
border-radius: 0;
}
.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
font-size: 0.9em;
}
.ui-dialog .button {
background-color: #fff;
background-image: -webkit-linear-gradient(top,#f3f3f3,#e8e8e8);
background-image: linear-gradient(to bottom,#f3f3f3,#e8e8e8);
border: 1px solid #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
color: #3a3a3a;
cursor: pointer;
font-size: 0.929em;
font-weight: normal;
text-align: center;
padding: 0.250em 1.063em;
border-radius: 1em;
}

View file

@ -0,0 +1,8 @@
/**
* @file
* Visual styles for Bartik's ui-widget component.
*/
#page .ui-widget {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

View file

@ -0,0 +1,16 @@
/**
* @file
* Vertical tabs component.
*/
/* Vertical Tabs Reset */
.vertical-tabs__menu {
margin: -1px 0 -1px -15em; /* LTR */
padding: 0;
}
[dir="rtl"] .vertical-tabs__menu {
margin-left: 0;
margin-right: -15em;
/* This is required to win specificity over [dir="rtl"] .region-content ul */
padding: 0;
}

View file

@ -0,0 +1,35 @@
/**
* @file
* Styling for Views in Bartik.
*/
/* Tab styles */
.views-displays .tabs .open > a {
border-radius: 7px 7px 0 0;
}
.views-displays .tabs .open > a:hover,
.views-displays .tabs .open > a:focus {
color: #0071B3;
}
.views-displays .secondary .form-submit {
font-size: 0.846em;
}
/* Tabs action list styles */
.views-displays .tabs .action-list {
padding: 0;
}
/* Contextual filter options styles */
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
background-color: #F9F9F9;
}
/* Views action dropbutton styles */
.views-ui-display-tab-actions .dropbutton .form-submit {
color: #0071B3;
}
.views-ui-display-tab-actions .dropbutton .form-submit:hover,
.views-ui-display-tab-actions .dropbutton .form-submit:focus {
color: #018FE2;
}

View file

@ -0,0 +1,30 @@
/**
* @file
* Bartik layout styling.
*/
/**
* Container
*/
.layout-container {
max-width: 860px;
margin-left: auto;
margin-right: auto;
box-sizing: border-box;
}
@media all and (min-width: 851px) {
.layout-container {
max-width: 1290px;
}
}
/**
* Main
*/
.layout-main-wrapper {
min-height: 300px;
}
.layout-main {
margin-top: 20px;
margin-bottom: 40px;
}

View file

@ -0,0 +1,69 @@
body.maintenance-page {
background-color: #fff;
color: #000;
}
.maintenance-page #page-wrapper {
background: #fff;
margin-left: auto;
margin-right: auto;
min-width: 0;
min-height: 0;
border: 1px solid #ddd;
margin-top: 40px;
}
.maintenance-page #page {
margin: 10px;
}
.maintenance-page #main-wrapper {
min-height: inherit;
}
.maintenance-page #header {
width: auto;
}
.maintenance-page #main {
margin: 0;
}
.maintenance-page .content .section {
padding: 0 0 0 10px; /* LTR */
}
[dir="rtl"] .maintenance-page .content .section {
padding-left: 0;
padding-right: 10px;
}
.maintenance-page #header {
background-color: #fff;
background-image: none;
}
.maintenance-page .site-branding-text {
margin-bottom: 50px;
margin-left: 0; /* LTR */
padding-top: 20px;
font-size: 90%;
}
[dir="rtl"] .maintenance-page .site-branding-text {
margin-right: 0;
}
.maintenance-page .site-branding-text,
.maintenance-page .site-branding-text a,
.maintenance-page .site-branding-text a:hover,
.maintenance-page .site-branding-text a:focus {
color: #777;
}
.maintenance-page .page-title {
line-height: 1em;
margin-top: 0;
}
@media all and (min-width: 800px) {
.maintenance-page #page-wrapper {
width: 800px;
}
.maintenance-page #header div.section,
.maintenance-page #main {
width: 700px;
}
}
@media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
.maintenance-page #page {
margin: 20px 40px 40px;
}
}

View file

@ -0,0 +1,48 @@
/* ---------- General Layout ---------- */
body,
input,
textarea,
select {
color: #000;
background: none;
}
body.two-sidebars,
body.sidebar-first,
body.sidebar-second,
body {
width: 640px;
}
#sidebar-first,
#sidebar-second,
.navigation,
#toolbar,
.site-footer,
.tabs,
.shortcut-action {
display: none;
}
.one-sidebar .main-content,
.two-sidebars .main-content {
width: 100%;
}
.featured-bottom {
width: 960px;
margin: 0;
padding: 0;
border: none;
}
.featured-bottom-first,
.featured-bottom-second,
.featured-bottom-third {
width: 250px;
}
/* ---------- Node Pages ---------- */
#comments .title,
#comments form,
.comment-forbidden {
display: none;
}