Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023
This commit is contained in:
parent
2720a9ec4b
commit
f3791f1da3
1898 changed files with 54300 additions and 11481 deletions
|
@ -3,6 +3,12 @@
|
|||
* Visual styles for Bartik's blocks.
|
||||
*/
|
||||
|
||||
/* Block has it's own content wrapper. */
|
||||
.block .content {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* List in block. */
|
||||
.block ol,
|
||||
.block ul {
|
||||
margin: 0;
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
/* ---------------- Buttons ---------------- */
|
||||
/**
|
||||
* @file
|
||||
* Styles for Bartik's buttons.
|
||||
*/
|
||||
|
||||
.button {
|
||||
background-color: #fff;
|
||||
|
@ -33,11 +36,3 @@
|
|||
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;
|
||||
}
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
.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 {
|
||||
/* This is required to win over specificity of .field--type-image img */
|
||||
.comment .field--name-user-picture img {
|
||||
margin: 0;
|
||||
}
|
||||
.comment__author .username {
|
||||
|
@ -131,8 +131,23 @@
|
|||
margin-right: 0;
|
||||
padding: 5px 5px 5px 2px;
|
||||
}
|
||||
.comment--unpublished .comment__content:after,
|
||||
.node--unpublished .comment__content:after {
|
||||
|
||||
/**
|
||||
* @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,
|
||||
|
|
21
core/themes/bartik/css/components/demo-block.css
Normal file
21
core/themes/bartik/css/components/demo-block.css
Normal file
|
@ -0,0 +1,21 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
||||
.header .demo-block {
|
||||
width: 500px;
|
||||
}
|
|
@ -1,87 +1,63 @@
|
|||
/* ----------------- Featured Bottom ----------------- */
|
||||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's featured bottom component.
|
||||
*/
|
||||
|
||||
#featured-bottom-wrapper {
|
||||
background-color: #f0f0f0;
|
||||
.featured-bottom {
|
||||
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;
|
||||
.featured-bottom .region {
|
||||
padding: 0 20px;
|
||||
}
|
||||
@media all and (min-width: 560px) {
|
||||
.region-featured-bottom-first,
|
||||
.region-featured-bottom-second,
|
||||
.region-featured-bottom-third {
|
||||
.featured-bottom .region {
|
||||
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 {
|
||||
[dir="rtl"] .featured-bottom .region {
|
||||
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 {
|
||||
.featured-bottom .region {
|
||||
padding: 0 20px;
|
||||
}
|
||||
}
|
||||
#featured-bottom h2 {
|
||||
.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;
|
||||
line-height: 1em;
|
||||
}
|
||||
#featured-bottom .block {
|
||||
.featured-bottom .block {
|
||||
margin-bottom: 1em;
|
||||
padding-bottom: 1em;
|
||||
border-bottom: 1px solid #dfdfdf;
|
||||
line-height: 1.3;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
#featured-bottom .block:last-child {
|
||||
.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 {
|
||||
.featured-bottom ul,
|
||||
.featured-bottom ol {
|
||||
padding-left: 0;
|
||||
}
|
||||
#featured-bottom #block-user-login .form-text {
|
||||
.featured-bottom ul li,
|
||||
.featured-bottom ol li {
|
||||
list-style: none;
|
||||
}
|
||||
.featured-bottom input:not(.form-submit) {
|
||||
width: 185px;
|
||||
}
|
||||
#featured-bottom #block-user-online p {
|
||||
margin-bottom: 0;
|
||||
.region-featured-bottom-third .feed-icon {
|
||||
float: right;
|
||||
}
|
||||
#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 {
|
||||
.region-featured-bottom-second .block-system-powered-by-block {
|
||||
text-align: center;
|
||||
}
|
||||
#featured-bottom-third #block-system-powered-by {
|
||||
text-align: right;
|
||||
}
|
||||
|
|
95
core/themes/bartik/css/components/field.css
Normal file
95
core/themes/bartik/css/components/field.css
Normal file
|
@ -0,0 +1,95 @@
|
|||
/**
|
||||
* @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;
|
||||
}
|
||||
.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-field-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;
|
||||
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;
|
||||
}
|
|
@ -1,11 +1,14 @@
|
|||
/* -------------- Password Field ------------- */
|
||||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's forms.
|
||||
*/
|
||||
|
||||
/* Password field. */
|
||||
.password-field {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* -------------- Form Elements ------------- */
|
||||
|
||||
/* Form elements. */
|
||||
form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -137,6 +140,7 @@ input.form-submit:focus {
|
|||
.form-actions {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
/* Node Form */
|
||||
#edit-body {
|
||||
margin-bottom: 2em;
|
||||
|
@ -237,9 +241,6 @@ input.form-submit:focus {
|
|||
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;
|
||||
|
|
10
core/themes/bartik/css/components/help.css
Normal file
10
core/themes/bartik/css/components/help.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @file
|
||||
* Styles for the help block.
|
||||
*/
|
||||
|
||||
.block-help {
|
||||
border: 1px solid #d3d7d9;
|
||||
padding: 0 1.5em;
|
||||
margin-bottom: 30px;
|
||||
}
|
13
core/themes/bartik/css/components/image-button.css
Normal file
13
core/themes/bartik/css/components/image-button.css
Normal 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;
|
||||
}
|
|
@ -10,3 +10,10 @@
|
|||
[dir="rtl"] .item-list ul li {
|
||||
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 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
10
core/themes/bartik/css/components/list.css
Normal file
10
core/themes/bartik/css/components/list.css
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's lists.
|
||||
*/
|
||||
|
||||
ul.links {
|
||||
color: #68696b;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 0.821em;
|
||||
}
|
65
core/themes/bartik/css/components/main-content.css
Normal file
65
core/themes/bartik/css/components/main-content.css
Normal file
|
@ -0,0 +1,65 @@
|
|||
/**
|
||||
* @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%;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo Decide if we want to keep this.
|
||||
* It should be in layout.css but it would be
|
||||
* overridden there by block.css.
|
||||
*/
|
||||
.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;
|
||||
}
|
68
core/themes/bartik/css/components/node.css
Normal file
68
core/themes/bartik/css/components/node.css
Normal file
|
@ -0,0 +1,68 @@
|
|||
/**
|
||||
* @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-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;
|
||||
}
|
||||
|
||||
/* Node links styles. */
|
||||
.node__links {
|
||||
text-align: right; /* LTR */
|
||||
}
|
||||
[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;
|
||||
}
|
9
core/themes/bartik/css/components/page-title.css
Normal file
9
core/themes/bartik/css/components/page-title.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* @file
|
||||
* Visual styles for Bartik's page-title component.
|
||||
*/
|
||||
|
||||
.page-title {
|
||||
font-size: 2em;
|
||||
line-height: 1em;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* @file
|
||||
* Styles for password suggestions in Bartik.
|
||||
*/
|
||||
|
||||
.password-suggestions {
|
||||
border: 0;
|
||||
}
|
|
@ -1,13 +1,13 @@
|
|||
/* -------------- Shortcut Links -------------- */
|
||||
|
||||
.shortcut-wrapper {
|
||||
margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
|
||||
margin: 2.2em 0 1.1em 0; /* Same as usual .page-title margin. */
|
||||
}
|
||||
.shortcut-wrapper h1#page-title {
|
||||
.shortcut-wrapper .page-title {
|
||||
float: left; /* LTR */
|
||||
margin: 0;
|
||||
}
|
||||
[dir="rtl"] .shortcut-wrapper h1#page-title {
|
||||
[dir="rtl"] .shortcut-wrapper .page-title {
|
||||
float: right;
|
||||
}
|
||||
.shortcut-action {
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
/* ------------------ Table Styles ------------------ */
|
||||
/**
|
||||
* @file
|
||||
* Styles for Bartik's tables.
|
||||
*/
|
||||
|
||||
table {
|
||||
border: 0;
|
||||
|
@ -49,6 +52,7 @@ tr th {
|
|||
[dir="rtl"] tr th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsive tables.
|
||||
*/
|
||||
|
|
8
core/themes/bartik/css/components/ui.widget.css
Normal file
8
core/themes/bartik/css/components/ui.widget.css
Normal 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;
|
||||
}
|
Reference in a new issue