Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
130
core/themes/bartik/css/base/elements.css
Normal file
130
core/themes/bartik/css/base/elements.css
Normal file
|
@ -0,0 +1,130 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
69
core/themes/bartik/css/colors.css
Normal file
69
core/themes/bartik/css/colors.css
Normal file
|
@ -0,0 +1,69 @@
|
|||
/* ---------- 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,
|
||||
#name-and-slogan,
|
||||
.site-branding-block,
|
||||
#name-and-slogan a,
|
||||
.site-branding-block a,
|
||||
.region-secondary-menu .menu-item a {
|
||||
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;
|
||||
}
|
34
core/themes/bartik/css/components/admin.css
Normal file
34
core/themes/bartik/css/components/admin.css
Normal file
|
@ -0,0 +1,34 @@
|
|||
/* ---------- Admin-specific Theming ---------- */
|
||||
.path-admin #content img {
|
||||
margin-right: 15px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .path-admin #content img {
|
||||
margin-left: 15px;
|
||||
margin-right: 0;
|
||||
}
|
||||
.path-admin #content .simpletest-image img {
|
||||
margin: 0;
|
||||
}
|
||||
.path-admin #admin-dblog img {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
/* Block demo mode */
|
||||
.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;
|
||||
}
|
||||
#header .demo-block {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
|
16
core/themes/bartik/css/components/block.css
Normal file
16
core/themes/bartik/css/components/block.css
Normal file
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's blocks.
|
||||
*/
|
||||
|
||||
.block ol,
|
||||
.block ul {
|
||||
margin: 0;
|
||||
padding: 0 0 0.25em 1em; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .block ol,
|
||||
[dir="rtl"] .block ul {
|
||||
padding: 0 1em 0.25em 0;
|
||||
/* This is required to win over specifity of [dir="rtl"] ul.menu */
|
||||
margin-right: 0;
|
||||
}
|
13
core/themes/bartik/css/components/book.css
Normal file
13
core/themes/bartik/css/components/book.css
Normal 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;
|
||||
}
|
9
core/themes/bartik/css/components/breadcrumb.css
Normal file
9
core/themes/bartik/css/components/breadcrumb.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* @file
|
||||
* Styles for Bartik's breadcrumbs.
|
||||
*/
|
||||
|
||||
.breadcrumb {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.929em;
|
||||
}
|
43
core/themes/bartik/css/components/buttons.css
Normal file
43
core/themes/bartik/css/components/buttons.css
Normal file
|
@ -0,0 +1,43 @@
|
|||
/* ---------------- 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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.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;
|
||||
}
|
31
core/themes/bartik/css/components/captions.css
Normal file
31
core/themes/bartik/css/components/captions.css
Normal 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;
|
||||
}
|
129
core/themes/bartik/css/components/comments.css
Normal file
129
core/themes/bartik/css/components/comments.css
Normal file
|
@ -0,0 +1,129 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for comments in Bartik.
|
||||
*/
|
||||
|
||||
/* This is required to win over specificity of #content h2 */
|
||||
#content .comment-wrapper h2 {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.comment {
|
||||
margin-bottom: 20px;
|
||||
display: table;
|
||||
vertical-align: top;
|
||||
}
|
||||
.comment__attribution {
|
||||
display: table-cell;
|
||||
padding: 0 30px 0 0; /* LTR */
|
||||
vertical-align: top;
|
||||
overflow: hidden;
|
||||
}
|
||||
[dir="rtl"] .comment__attribution {
|
||||
float: right;
|
||||
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__submitted__data {
|
||||
margin: 4px 0;
|
||||
font-size: 1.071em;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.comment__time {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.786em;
|
||||
color: #68696b;
|
||||
}
|
||||
.comment__permalink {
|
||||
font-size: 0.786em;
|
||||
}
|
||||
.comment__content {
|
||||
font-size: 0.929em;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.comment__text {
|
||||
padding: 10px 25px;
|
||||
border: 1px solid #d3d7d9;
|
||||
display: table-cell;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.comment__text: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__text:before {
|
||||
right: auto;
|
||||
left: 100%;
|
||||
border-right: none;
|
||||
border-left: 20px solid #d3d7d9;
|
||||
}
|
||||
.comment__text: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__text:after {
|
||||
right: auto;
|
||||
left: 100%;
|
||||
border-right: none;
|
||||
border-left: 20px solid #fff;
|
||||
margin-right: 0;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.comment .indented {
|
||||
margin-left: 40px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .comment .indented {
|
||||
margin-right: 40px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.comment ul.links {
|
||||
padding: 0 0 0.25em 0;
|
||||
}
|
||||
.comment ul.links li {
|
||||
padding: 0 0.5em 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .comment ul.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;
|
||||
}
|
||||
.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__text:after,
|
||||
[dir="rtl"] .node--unpublished .comment__text:after {
|
||||
border-left-color: #fff4f4;
|
||||
}
|
241
core/themes/bartik/css/components/content.css
Normal file
241
core/themes/bartik/css/components/content.css
Normal file
|
@ -0,0 +1,241 @@
|
|||
/* ----------------- Content ------------------ */
|
||||
|
||||
.content,
|
||||
.node__content {
|
||||
margin-top: 10px;
|
||||
}
|
||||
h1#page-title {
|
||||
font-size: 2em;
|
||||
line-height: 1;
|
||||
}
|
||||
.main-content .section {
|
||||
padding: 0 15px;
|
||||
}
|
||||
@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%;
|
||||
}
|
||||
}
|
||||
|
||||
#content h2 {
|
||||
margin-bottom: 2px;
|
||||
font-size: 1.429em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.node__content {
|
||||
font-size: 1.071em;
|
||||
}
|
||||
.node--view-mode-teaser .node__content {
|
||||
font-size: 1em;
|
||||
}
|
||||
.node--view-mode-teaser h2 {
|
||||
margin-top: 0;
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
.node--view-mode-teaser h2 a {
|
||||
color: #181818;
|
||||
}
|
||||
.node--view-mode-teaser {
|
||||
border-bottom: 1px solid #d3d7d9;
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
.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;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.node__meta {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.857em;
|
||||
color: #68696b;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
.node__meta .field-name-field-user-picture img {
|
||||
float: left; /* LTR */
|
||||
margin: 1px 20px 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .node__meta .field-name-field-user-picture img {
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
margin-right: 0;
|
||||
}
|
||||
.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;
|
||||
list-style: none;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.node__links {
|
||||
text-align: right; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .node__links {
|
||||
text-align: left;
|
||||
}
|
||||
@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-field-user-picture img {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
.field-type-image a {
|
||||
border-bottom: none;
|
||||
}
|
||||
ul.links {
|
||||
color: #68696b;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.821em;
|
||||
}
|
||||
.node--unpublished,
|
||||
.unpublished {
|
||||
padding: 20px 15px 0;
|
||||
}
|
||||
.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);
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.region-content ul,
|
||||
.region-content ol {
|
||||
margin: 1em 0;
|
||||
padding: 0 0 0.25em 15px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .region-content ul,
|
||||
[dir="rtl"] .region-content ol {
|
||||
padding: 0 15px 0.25em 0;
|
||||
}
|
||||
#page .ui-widget {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
17
core/themes/bartik/css/components/contextual.css
Normal file
17
core/themes/bartik/css/components/contextual.css
Normal file
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* @file
|
||||
* Contextual links styles for Bartik.
|
||||
*/
|
||||
|
||||
#header .contextual .trigger,
|
||||
.site-footer .contextual .trigger {
|
||||
border: none;
|
||||
}
|
||||
.contextual-region .contextual .contextual-links a {
|
||||
border-bottom: none;
|
||||
font-size: 0.923em;
|
||||
text-shadow: 0 0 0;
|
||||
}
|
||||
.contextual-links {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
111
core/themes/bartik/css/components/dropbutton.component.css
Normal file
111
core/themes/bartik/css/components/dropbutton.component.css
Normal file
|
@ -0,0 +1,111 @@
|
|||
/* ---------- Dropbutton ----------- */
|
||||
.js .dropbutton-multiple.open .dropbutton-widget {
|
||||
border-radius: 1em;
|
||||
}
|
||||
.js .dropbutton-widget {
|
||||
position: relative !important;
|
||||
border: 1px solid #e4e4e4;
|
||||
border-bottom-color: #b4b4b4;
|
||||
border-left-color: #d2d2d2;
|
||||
border-right-color: #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;
|
||||
}
|
||||
.js .dropbutton-widget:hover {
|
||||
border-top-color: #e4e4e4;
|
||||
border-bottom-color: #b4b4b4;
|
||||
border-left-color: #d2d2d2;
|
||||
border-right-color: #d2d2d2;
|
||||
}
|
||||
.js .dropbutton-widget .button {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0.32em 1em;
|
||||
width: 100%;
|
||||
border-radius: 1em;
|
||||
}
|
||||
.js .dropbutton-widget .button:hover {
|
||||
border-radius: 1em 0 0 1em; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-widget .button:hover {
|
||||
border-radius: 0 1em 1em 0;
|
||||
}
|
||||
.js .dropbutton-single .dropbutton-widget .dropbutton-action a {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
.js .dropbutton-single .dropbutton-widget .dropbutton-action a:hover {
|
||||
background: #dedede;
|
||||
border-radius: 1em;
|
||||
}
|
||||
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
|
||||
color: #3a3a3a;
|
||||
margin-right: 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
|
||||
margin-left: 0;
|
||||
}
|
||||
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a:hover {
|
||||
background: #dedede;
|
||||
}
|
||||
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action:first-child a:hover {
|
||||
border-radius: 1em 0 0 1em; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action:first-child a:hover {
|
||||
border-radius: 0 1em 1em 0;
|
||||
}
|
||||
.js .dropbutton-multiple.open .dropbutton-widget .dropbutton-action:first-child a:hover {
|
||||
border-radius: 1em 0 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-widget .dropbutton-action:first-child a:hover {
|
||||
border-radius: 0 1em 0 0;
|
||||
}
|
||||
.js .dropdown-widget .publish .button {
|
||||
border-radius: 1em 0 0 1em; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-widget .publish .button {
|
||||
border-radius: 0 1em 1em 0;
|
||||
}
|
||||
.js .dropbutton-multiple.open .dropbutton-action:first-child a,
|
||||
.js .dropbutton-multiple.open .dropbutton-action:first-child .button {
|
||||
border-radius: 1em 0 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:first-child a,
|
||||
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:first-child .button {
|
||||
border-radius: 0 1em 0 0;
|
||||
}
|
||||
.js .dropbutton-multiple.open .dropbutton-action:last-child a,
|
||||
.js .dropbutton-multiple.open .dropbutton-action:last-child .button {
|
||||
border-radius: 0 0 0 1em; /* LTR */
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:last-child a,
|
||||
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:last-child .button {
|
||||
border-radius: 0 0 1em 0;
|
||||
}
|
||||
.js .dropbutton .secondary-action {
|
||||
border-top-color: #ccc;
|
||||
}
|
||||
.js .dropbutton-toggle button {
|
||||
border-radius: 0 1em 1em 0; /* LTR */
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2);
|
||||
background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2);
|
||||
}
|
||||
[dir="rtl"].js .dropbutton-toggle button {
|
||||
border-radius: 1em 0 0 1em;
|
||||
}
|
||||
.js .dropbutton-toggle .button:hover {
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
.js .dropbutton a {
|
||||
border-bottom: none;
|
||||
}
|
||||
.js .dropbutton a:hover {
|
||||
border-bottom-style: none;
|
||||
}
|
87
core/themes/bartik/css/components/featured-bottom.css
Normal file
87
core/themes/bartik/css/components/featured-bottom.css
Normal file
|
@ -0,0 +1,87 @@
|
|||
/* ----------------- Featured Bottom ----------------- */
|
||||
|
||||
#featured-bottom-wrapper {
|
||||
background-color: #f0f0f0;
|
||||
background: rgba(30, 50, 10, 0.08);
|
||||
border-top: 1px solid #e7e7e7;
|
||||
}
|
||||
.region-featured-bottom-first,
|
||||
.region-featured-bottom-second,
|
||||
.region-featured-bottom-third {
|
||||
box-sizing: border-box;
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
@media all and (min-width: 560px) {
|
||||
.region-featured-bottom-first,
|
||||
.region-featured-bottom-second,
|
||||
.region-featured-bottom-third {
|
||||
float: left; /* LTR */
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
padding: 20px 15px 30px;
|
||||
width: 33%;
|
||||
}
|
||||
[dir="rtl"] .region-featured-bottom-first,
|
||||
[dir="rtl"] .region-featured-bottom-second,
|
||||
[dir="rtl"] .region-featured-bottom-third {
|
||||
float: right;
|
||||
}
|
||||
.region-featured-bottom-second {
|
||||
padding: 20px 5px 30px;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 851px) {
|
||||
.region-featured-bottom-first,
|
||||
.region-featured-bottom-second,
|
||||
.region-featured-bottom-third {
|
||||
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: 1;
|
||||
}
|
||||
#featured-bottom .block {
|
||||
margin-bottom: 1em;
|
||||
padding-bottom: 1em;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
line-height: 1.3;
|
||||
}
|
||||
#featured-bottom .block:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
#featured-bottom .block ul li,
|
||||
#featured-bottom .block ol li {
|
||||
list-style: none;
|
||||
}
|
||||
#featured-bottom .block ul,
|
||||
#featured-bottom .block ol {
|
||||
padding-left: 0;
|
||||
}
|
||||
#featured-bottom #block-user-login .form-text {
|
||||
width: 185px;
|
||||
}
|
||||
#featured-bottom #block-user-online p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#featured-bottom #block-node-syndicate h2 {
|
||||
overflow: hidden;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
#featured-bottom-third #block-node-syndicate {
|
||||
text-align: right;
|
||||
}
|
||||
#featured-bottom #block-search-form .form-type-search input {
|
||||
width: 185px;
|
||||
}
|
||||
#featured-bottom-second #block-system-powered-by {
|
||||
text-align: center;
|
||||
}
|
||||
#featured-bottom-third #block-system-powered-by {
|
||||
text-align: right;
|
||||
}
|
25
core/themes/bartik/css/components/featured-top.css
Normal file
25
core/themes/bartik/css/components/featured-top.css
Normal 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;
|
||||
}
|
10
core/themes/bartik/css/components/feed-icon.css
Normal file
10
core/themes/bartik/css/components/feed-icon.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @file
|
||||
* Feed icon styles for Bartik.
|
||||
*/
|
||||
|
||||
.feed-icon {
|
||||
border-bottom: none;
|
||||
display: inline-block;
|
||||
padding: 15px 0 0 0;
|
||||
}
|
281
core/themes/bartik/css/components/form.css
Normal file
281
core/themes/bartik/css/components/form.css
Normal file
|
@ -0,0 +1,281 @@
|
|||
/* -------------- Password Field ------------- */
|
||||
|
||||
.password-field {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* -------------- Form Elements ------------- */
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
fieldset {
|
||||
margin: 1em 0;
|
||||
}
|
||||
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: 1.142857143em;
|
||||
}
|
||||
}
|
||||
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 {
|
||||
font-size: 0.929em;
|
||||
}
|
||||
.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 {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.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 */
|
||||
}
|
||||
#content h2.comment-form {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.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-error-message {
|
||||
color: #ea2800;
|
||||
}
|
6
core/themes/bartik/css/components/forum.css
Normal file
6
core/themes/bartik/css/components/forum.css
Normal file
|
@ -0,0 +1,6 @@
|
|||
.forum__name {
|
||||
font-size: 1.083em;
|
||||
}
|
||||
.forum__description {
|
||||
font-size: 1em;
|
||||
}
|
263
core/themes/bartik/css/components/header.css
Normal file
263
core/themes/bartik/css/components/header.css
Normal file
|
@ -0,0 +1,263 @@
|
|||
/* ------------------ Header ------------------ */
|
||||
#header {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.header .section {
|
||||
position: relative;
|
||||
}
|
||||
.region-header {
|
||||
float: right; /* LTR */
|
||||
margin: .5em 5px .75em;
|
||||
}
|
||||
[dir="rtl"] .region-header {
|
||||
float: left;
|
||||
}
|
||||
@media all and (min-width: 461px) and (max-width: 900px) {
|
||||
.region-header {
|
||||
margin: .5em 5px .75em;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 901px) {
|
||||
.region-header {
|
||||
margin: 1em 5px 1.5em;
|
||||
}
|
||||
}
|
||||
#logo,
|
||||
.site-logo {
|
||||
float: left; /* LTR */
|
||||
padding: 4px 4px 4px 9px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] #logo,
|
||||
[dir="rtl"] .site-logo {
|
||||
padding: 4px 9px 4px 4px;
|
||||
}
|
||||
@media all and (min-width: 461px) and (max-width: 900px) {
|
||||
#logo,
|
||||
.site-logo {
|
||||
padding: 5px 0 0 5px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] #logo,
|
||||
[dir="rtl"] .site-logo {
|
||||
padding: 5px 5px 0 0;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 901px) {
|
||||
#logo,
|
||||
.site-logo {
|
||||
padding: 9px 4px 4px 9px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] #logo,
|
||||
[dir="rtl"] .site-logo {
|
||||
padding: 9px 9px 4px 4px;
|
||||
}
|
||||
}
|
||||
#name-and-slogan,
|
||||
.site-branding-text {
|
||||
float: left; /* LTR */
|
||||
margin: 0;
|
||||
padding: 5px 10px 8px;
|
||||
}
|
||||
[dir="rtl"] #name-and-slogan,
|
||||
[dir="rtl"] .site-branding-text {
|
||||
margin: 0 15px 30px 0;
|
||||
}
|
||||
@media all and (min-width: 461px) and (max-width: 900px) {
|
||||
#name-and-slogan,
|
||||
.site-branding-text {
|
||||
padding: 10px 10px 8px;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 901px) {
|
||||
#name-and-slogan,
|
||||
.site-branding-text {
|
||||
padding: 26px 0 0;
|
||||
margin: 0 0 30px 15px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] #name-and-slogan,
|
||||
[dir="rtl"] .site-branding-text {
|
||||
margin: 0 15px 30px 0;
|
||||
}
|
||||
}
|
||||
#site-name,
|
||||
.site-name {
|
||||
font-size: 1.6em;
|
||||
color: #686868;
|
||||
line-height: 1;
|
||||
}
|
||||
@media all and (min-width: 901px) {
|
||||
#site-name,
|
||||
.site-name {
|
||||
font-size: 1.821em;
|
||||
}
|
||||
}
|
||||
h1#site-name,
|
||||
h1.site-name {
|
||||
margin: 0;
|
||||
}
|
||||
#site-name a,
|
||||
.site-name a {
|
||||
font-weight: normal;
|
||||
}
|
||||
#site-slogan,
|
||||
.site-slogan {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.929em;
|
||||
margin-top: 7px;
|
||||
word-spacing: 0.1em;
|
||||
font-style: italic;
|
||||
}
|
||||
/* Region header blocks. */
|
||||
.region-header .block {
|
||||
font-size: 0.857em;
|
||||
float: left; /* LTR */
|
||||
margin: 0 10px;
|
||||
padding: 0;
|
||||
}
|
||||
.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 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.region-header .block li {
|
||||
list-style: none;
|
||||
list-style-image: none;
|
||||
padding: 0;
|
||||
}
|
||||
.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:active,
|
||||
.region-header .form-text:focus {
|
||||
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:active,
|
||||
.region-header .block-menu li a:focus {
|
||||
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 region header. */
|
||||
.region-header #block-search-form {
|
||||
width: 208px;
|
||||
}
|
||||
.region-header #block-search-form .form-text {
|
||||
width: 154px;
|
||||
}
|
||||
/* Language switcher block in region header. */
|
||||
.region-header .block-locale ul li {
|
||||
display: inline;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
[role*=banner] a {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
[dir="rtl"] #logo,
|
||||
[dir="rtl"] .site-logo,
|
||||
[dir="rtl"] #name-and-slogan,
|
||||
[dir="rtl"] .site-branding-text,
|
||||
[dir="rtl"] .region-header .block,
|
||||
[dir="rtl"] .region-header #block-user-login .form-item,
|
||||
[dir="rtl"] .region-header #block-user-login .item-list li {
|
||||
float: right;
|
||||
}
|
12
core/themes/bartik/css/components/item-list.css
Normal file
12
core/themes/bartik/css/components/item-list.css
Normal file
|
@ -0,0 +1,12 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's item list.
|
||||
*/
|
||||
|
||||
.item-list ul li {
|
||||
margin: 0;
|
||||
padding: 0.2em 0.5em 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .item-list ul li {
|
||||
padding: 0.2em 0 0 0.5em;
|
||||
}
|
13
core/themes/bartik/css/components/list-group.css
Normal file
13
core/themes/bartik/css/components/list-group.css
Normal 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;
|
||||
}
|
18
core/themes/bartik/css/components/messages.css
Normal file
18
core/themes/bartik/css/components/messages.css
Normal file
|
@ -0,0 +1,18 @@
|
|||
/* ---------------- Messages ----------------- */
|
||||
|
||||
#messages {
|
||||
padding: 20px 0 5px;
|
||||
margin: 0 auto;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.has-featured-top .highlighted {
|
||||
background: #f0f0f0;
|
||||
background: rgba(30, 50, 10, 0.08);
|
||||
}
|
||||
div.messages {
|
||||
margin: 8px 15px 8px 23px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] div.messages {
|
||||
margin-right: 23px;
|
||||
margin-left: 15px;
|
||||
}
|
61
core/themes/bartik/css/components/node-preview.css
Normal file
61
core/themes/bartik/css/components/node-preview.css
Normal 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;
|
||||
}
|
42
core/themes/bartik/css/components/pager.css
Normal file
42
core/themes/bartik/css/components/pager.css
Normal 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;
|
||||
}
|
21
core/themes/bartik/css/components/panel.css
Normal file
21
core/themes/bartik/css/components/panel.css
Normal 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;
|
||||
}
|
192
core/themes/bartik/css/components/primary-menu.css
Normal file
192
core/themes/bartik/css/components/primary-menu.css
Normal file
|
@ -0,0 +1,192 @@
|
|||
/* --------------- 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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
10
core/themes/bartik/css/components/region-help.css
Normal file
10
core/themes/bartik/css/components/region-help.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @file
|
||||
* Styles for the help region.
|
||||
*/
|
||||
|
||||
.region-help {
|
||||
border: 1px solid #d3d7d9;
|
||||
padding: 0 1.5em;
|
||||
margin-bottom: 30px;
|
||||
}
|
31
core/themes/bartik/css/components/search-results.css
Normal file
31
core/themes/bartik/css/components/search-results.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's search results.
|
||||
*/
|
||||
|
||||
ol.search-results {
|
||||
padding-left: 0; /* LTR */
|
||||
list-style-position: inside;
|
||||
}
|
||||
[dir="rtl"] ol.search-results {
|
||||
padding-right: 0;
|
||||
}
|
||||
.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;
|
||||
}
|
52
core/themes/bartik/css/components/search.css
Normal file
52
core/themes/bartik/css/components/search.css
Normal file
|
@ -0,0 +1,52 @@
|
|||
/* --------------- Search Form ---------------- */
|
||||
|
||||
#block-search-form {
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
#block-search-form .content {
|
||||
margin-top: 0;
|
||||
}
|
||||
#search-form input[type="search"],
|
||||
#block-search-form input[type="search"] {
|
||||
box-sizing: border-box;
|
||||
padding: 4px;
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
#search-form input[type="search"]::-webkit-search-decoration,
|
||||
#block-search-form input[type="search"]::-webkit-search-decoration {
|
||||
display: none;
|
||||
}
|
||||
#search-form input#edit-keys,
|
||||
#block-search-form .form-item-search-block-form input {
|
||||
float: left; /* LTR */
|
||||
font-size: 1em;
|
||||
margin-right: 5px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] #search-form input#edit-keys,
|
||||
[dir="rtl"] #block-search-form .form-item-search-block-form input {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
}
|
||||
#search-block-form input.form-submit,
|
||||
#search-form input.form-submit {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
height: 25px;
|
||||
width: 34px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
text-indent: -9999px;
|
||||
border-color: #e4e4e4 #d2d2d2 #b4b4b4;
|
||||
background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center;
|
||||
overflow: hidden;
|
||||
}
|
||||
#search-block-form input.form-submit:hover,
|
||||
#search-block-form input.form-submit:focus,
|
||||
#search-form input.form-submit:hover,
|
||||
#search-form input.form-submit:focus {
|
||||
background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center;
|
||||
}
|
||||
#search-form .form-item-keys label {
|
||||
display: block;
|
||||
}
|
24
core/themes/bartik/css/components/secondary-menu.css
Normal file
24
core/themes/bartik/css/components/secondary-menu.css
Normal file
|
@ -0,0 +1,24 @@
|
|||
/* --------------- 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;
|
||||
}
|
||||
.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;
|
||||
}
|
15
core/themes/bartik/css/components/shortcut.css
Normal file
15
core/themes/bartik/css/components/shortcut.css
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* -------------- Shortcut Links -------------- */
|
||||
|
||||
.shortcut-wrapper {
|
||||
margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
|
||||
}
|
||||
.shortcut-wrapper h1#page-title {
|
||||
float: left; /* LTR */
|
||||
margin: 0;
|
||||
}
|
||||
[dir="rtl"] .shortcut-wrapper h1#page-title {
|
||||
float: right;
|
||||
}
|
||||
.shortcut-action {
|
||||
padding-top: 0.9em;
|
||||
}
|
67
core/themes/bartik/css/components/sidebar.css
Normal file
67
core/themes/bartik/css/components/sidebar.css
Normal 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;
|
||||
}
|
229
core/themes/bartik/css/components/site-footer.css
Normal file
229
core/themes/bartik/css/components/site-footer.css
Normal 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;
|
||||
}
|
25
core/themes/bartik/css/components/skip-link.css
Normal file
25
core/themes/bartik/css/components/skip-link.css
Normal 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;
|
||||
}
|
80
core/themes/bartik/css/components/table.css
Normal file
80
core/themes/bartik/css/components/table.css
Normal file
|
@ -0,0 +1,80 @@
|
|||
/* ------------------ Table Styles ------------------ */
|
||||
|
||||
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 */
|
||||
}
|
||||
[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;
|
||||
}
|
||||
}
|
||||
table ul.links {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
table ul.links li {
|
||||
padding: 0 1em 0 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] table ul.links li {
|
||||
padding-left: 1em;
|
||||
padding-right: 0;
|
||||
}
|
113
core/themes/bartik/css/components/tabs.css
Normal file
113
core/themes/bartik/css/components/tabs.css
Normal file
|
@ -0,0 +1,113 @@
|
|||
/* --------------- 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;
|
||||
margin: 0;
|
||||
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;
|
||||
}
|
7
core/themes/bartik/css/components/tips.css
Normal file
7
core/themes/bartik/css/components/tips.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* ----------------- Tips ----------------- */
|
||||
ul.tips {
|
||||
padding: 0 0 0 1.25em; /* LTR */
|
||||
}
|
||||
[dir="rtl"] ul.tips {
|
||||
padding: 0 1.25em 0 0;
|
||||
}
|
8
core/themes/bartik/css/components/toolbar.css
Normal file
8
core/themes/bartik/css/components/toolbar.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* @file
|
||||
* Toolbar module overrides for Bartik.
|
||||
*/
|
||||
|
||||
.toolbar a {
|
||||
border-bottom: none;
|
||||
}
|
34
core/themes/bartik/css/components/ui-dialog.css
Normal file
34
core/themes/bartik/css/components/ui-dialog.css
Normal 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;
|
||||
}
|
8
core/themes/bartik/css/components/user.css
Normal file
8
core/themes/bartik/css/components/user.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* -------------- User Profile -------------- */
|
||||
|
||||
.profile .field-name-field-user-picture {
|
||||
float: none;
|
||||
}
|
||||
div.password-suggestions {
|
||||
border: 0;
|
||||
}
|
|
@ -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;
|
||||
}
|
117
core/themes/bartik/css/components/views.css
Normal file
117
core/themes/bartik/css/components/views.css
Normal file
|
@ -0,0 +1,117 @@
|
|||
/* ---------- Views styling ---------- */
|
||||
|
||||
/* @group Lists */
|
||||
|
||||
.views-display-top .secondary .action-list {
|
||||
padding-left: 0; /* LTR */
|
||||
}
|
||||
|
||||
[dir="rtl"] .views-display-top .secondary .action-list {
|
||||
padding-left: inherit;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Attachment details tabs
|
||||
*
|
||||
* The tabs that switch between sections
|
||||
*/
|
||||
|
||||
.views-displays .region-content .secondary,
|
||||
.views-displays .region-content .secondary {
|
||||
padding-bottom: 0;
|
||||
padding-left: 0; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .views-displays .region-content .secondary {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.views-displays .secondary a {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.views-displays .secondary > li a {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.views-displays .secondary > li.open a {
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.views-displays .secondary .open > a:hover,
|
||||
.views-displays .secondary .open > a:focus {
|
||||
color: #0071B3;
|
||||
}
|
||||
|
||||
.views-displays .secondary input.form-submit {
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Modal dialog box
|
||||
*
|
||||
* The contents of the popup dialog on the views edit form.
|
||||
*/
|
||||
|
||||
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
.views-display-column .details-wrapper {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.views-display-column details summary {
|
||||
background: none;
|
||||
border: none;
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
line-height: inherit;
|
||||
position: relative;
|
||||
text-indent: 0;
|
||||
text-shadow: none;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.views-display-columns details {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.views-display-columns details summary {
|
||||
padding: 0 0 4px 2px; /* LTR */
|
||||
}
|
||||
[dir="rtl"] .views-display-columns details summary {
|
||||
padding: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
.views-display-columns a.fieldset-title {
|
||||
color: #0071B3;
|
||||
}
|
||||
|
||||
.views-display-columns a.fieldset-title:hover,
|
||||
.views-display-columns a.fieldset-title:focus {
|
||||
color: #018FE2;
|
||||
}
|
||||
|
||||
/* @group Dropbutton */
|
||||
|
||||
.views-ui-display-tab-actions .dropbutton input {
|
||||
color: #0071B3;
|
||||
}
|
||||
|
||||
.views-ui-display-tab-actions .dropbutton input:hover,
|
||||
.views-ui-display-tab-actions .dropbutton input:focus {
|
||||
color: #018FE2;
|
||||
}
|
||||
|
||||
.views-ui-display-tab-actions .dropbutton input.form-submit {
|
||||
margin-right: 0; /* LTR */
|
||||
margin-top: 0;
|
||||
}
|
||||
[dir="rtl"] .views-ui-display-tab-actions .dropbutton input.form-submit {
|
||||
margin-left: 0;
|
||||
}
|
30
core/themes/bartik/css/layout.css
Normal file
30
core/themes/bartik/css/layout.css
Normal 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;
|
||||
}
|
81
core/themes/bartik/css/maintenance-page.css
Normal file
81
core/themes/bartik/css/maintenance-page.css
Normal file
|
@ -0,0 +1,81 @@
|
|||
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,
|
||||
.maintenance-page #messages {
|
||||
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 #name-and-slogan {
|
||||
margin-bottom: 50px;
|
||||
margin-left: 0; /* LTR */
|
||||
padding-top: 20px;
|
||||
font-size: 90%;
|
||||
}
|
||||
[dir="rtl"] .maintenance-page #name-and-slogan {
|
||||
margin-right: 0;
|
||||
}
|
||||
.maintenance-page #name-and-slogan,
|
||||
.maintenance-page #name-and-slogan a,
|
||||
.maintenance-page #name-and-slogan a:hover,
|
||||
.maintenance-page #name-and-slogan a:focus {
|
||||
color: #777;
|
||||
}
|
||||
.maintenance-page h1#page-title {
|
||||
line-height: 1em;
|
||||
margin-top: 0;
|
||||
}
|
||||
.maintenance-page #messages {
|
||||
padding: 0;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.maintenance-page #messages div.messages {
|
||||
margin: 0;
|
||||
}
|
||||
@media all and (min-width: 800px) {
|
||||
.maintenance-page #page-wrapper {
|
||||
width: 800px;
|
||||
}
|
||||
.maintenance-page #header div.section,
|
||||
.maintenance-page #main {
|
||||
width: 700px;
|
||||
}
|
||||
.maintenance-page #messages div.section {
|
||||
padding: 0;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
@media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
|
||||
.maintenance-page #page {
|
||||
margin: 20px 40px 40px;
|
||||
}
|
||||
}
|
46
core/themes/bartik/css/print.css
Normal file
46
core/themes/bartik/css/print.css
Normal file
|
@ -0,0 +1,46 @@
|
|||
|
||||
/* ---------- 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 #content,
|
||||
.two-sidebars #content {
|
||||
width: 100%;
|
||||
}
|
||||
#featured-bottom-wrapper {
|
||||
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;
|
||||
}
|
Reference in a new issue