Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542

This commit is contained in:
Pantheon Automation 2015-08-27 12:03:05 -07:00 committed by Greg Anderson
parent 3b2511d96d
commit 81ccda77eb
2155 changed files with 54307 additions and 46870 deletions

View file

@ -1,7 +1,7 @@
bartik.mobile:
label: mobile
mediaQuery: ''
weight: 2
weight: 0
multipliers:
- 1x
bartik.narrow:
@ -13,6 +13,6 @@ bartik.narrow:
bartik.wide:
label: wide
mediaQuery: 'all and (min-width: 851px)'
weight: 0
weight: 2
multipliers:
- 1x

View file

@ -125,6 +125,6 @@ function _bartik_process_page(&$variables) {
if ($variables['hide_site_slogan']) {
// If toggle_site_slogan is FALSE, the site_slogan will be empty, so we
// rebuild it.
$variables['site_slogan'] = Xss::filterAdmin($site_config->get('slogan'));
$variables['site_slogan']['#markup'] = $site_config->get('slogan');
}
}

View file

@ -124,6 +124,10 @@ blockquote:after {
blockquote > p:first-child {
display: inline;
}
.feed-icon {
display: block;
margin: 25px 0 0 0;
}
img {
max-width: 100%;
height: auto;

View file

@ -7,19 +7,23 @@
#content .comment-wrapper h2 {
margin-bottom: 1em;
}
#content .comment-wrapper h2.comment-form__title {
margin-bottom: 1em;
}
.comment {
margin-bottom: 20px;
margin-bottom: 19px;
vertical-align: top;
display: table;
vertical-align: top;
}
.comment__attribution {
display: table-cell;
[dir="rtl"] .comment {
direction: rtl;
}
.comment__meta {
padding: 0 30px 0 0; /* LTR */
vertical-align: top;
overflow: hidden;
font-size: 1.071em;
}
[dir="rtl"] .comment__attribution {
float: right;
[dir="rtl"] .comment__meta {
padding: 0 0 0 30px;
}
.comment__attribution img {
@ -32,32 +36,34 @@
.comment__author .username {
white-space: nowrap;
}
.comment__submitted__data {
.comment__author {
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;
margin-bottom: 4px;
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.733em;
line-height: 1.2;
}
.comment__permalink {
font-size: 0.786em;
font-size: 0.733em;
line-height: 1.2;
}
.comment__content {
position: relative;
display: table-cell;
padding: 10px 25px 10px 25px;
vertical-align: top;
width: 100%;
border: 1px solid #d3d7d9;
font-size: 0.929em;
line-height: 1.6;
}
.comment__text {
padding: 10px 25px;
border: 1px solid #d3d7d9;
display: table-cell;
vertical-align: top;
position: relative;
width: 100%;
}
.comment__text:before {
.comment__content:before {
content: '';
position: absolute;
right: 100%; /* LTR */
@ -66,13 +72,13 @@
border-right: 20px solid #d3d7d9; /* LTR */
border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__text:before {
[dir="rtl"] .comment__content:before {
right: auto;
left: 100%;
border-right: none;
border-left: 20px solid #d3d7d9;
}
.comment__text:after {
.comment__content:after {
content: '';
position: absolute;
right: 100%; /* LTR */
@ -82,7 +88,7 @@
border-bottom: 20px solid transparent;
margin-right: -1px; /* LTR */
}
[dir="rtl"] .comment__text:after {
[dir="rtl"] .comment__content:after {
right: auto;
left: 100%;
border-right: none;
@ -90,6 +96,14 @@
margin-right: 0;
margin-left: -1px;
}
.comment__content h3 {
margin-top: 0.94em;
margin-bottom: 0.45em;
font-size: 1.171em;
}
.comment__content nav {
padding-top: 1px;
}
.comment .indented {
margin-left: 40px; /* LTR */
}
@ -97,13 +111,14 @@
margin-right: 40px;
margin-left: 0;
}
.comment ul.links {
.comment .links {
padding: 0 0 0.25em 0;
}
.comment ul.links li {
.comment .links li {
padding: 0 0.5em 0 0; /* LTR */
font-size: 1.08em;
}
[dir="rtl"] .comment ul.links li {
[dir="rtl"] .comment .links li {
padding: 0 0 0 0.5em;
}
.comment--unpublished {
@ -116,14 +131,11 @@
margin-right: 0;
padding: 5px 5px 5px 2px;
}
.comment-footer {
display: table-row;
}
.comment--unpublished .comment__text:after,
.node--unpublished .comment__text:after {
.comment--unpublished .comment__content:after,
.node--unpublished .comment__content:after {
border-right-color: #fff4f4; /* LTR */
}
[dir="rtl"] .comment--unpublished .comment__text:after,
[dir="rtl"] .node--unpublished .comment__text:after {
[dir="rtl"] .comment--unpublished .comment__content:after,
[dir="rtl"] .node--unpublished .comment__content:after {
border-left-color: #fff4f4;
}

View file

@ -3,15 +3,7 @@
* Contextual links styles for Bartik.
*/
#header .contextual .trigger,
.site-footer .contextual .trigger {
border: none;
}
.contextual-region .contextual .contextual-links a {
.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;
}

View file

@ -1,13 +1,15 @@
/* ---------- Dropbutton ----------- */
.js .dropbutton-multiple.open .dropbutton-widget {
border-radius: 1em;
/**
* @file
* Visual styles for Bartik's dropbutton component.
*/
.js .dropbutton-wrapper .dropbutton-widget {
/* This is required to win over specifity of .js td .dropbutton-widget */
position: relative;
}
.js .dropbutton-widget {
position: relative !important;
border: 1px solid #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
border: 1px solid;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
@ -16,96 +18,40 @@
text-align: center;
margin: 0.125em 0;
border-radius: 1em;
overflow: hidden;
}
.js .dropbutton-widget:hover {
border-top-color: #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #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;
background: transparent none;
}
.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 {
.js .dropbutton-toggle .dropbutton-arrow:hover {
background: #ccc;
}
.js .dropbutton a {
border-bottom: none;
color: #3a3a3a;
border-bottom: 0 none;
}
.js .dropbutton .dropbutton-action:hover,
.js .dropbutton a:hover {
border-bottom-style: none;
background: #dedede;
border-bottom: 0 none;
}

View file

@ -276,6 +276,6 @@ input.form-submit:focus {
}
/* Form error message styles. */
.form-error-message {
color: #ea2800;
.form-item--error-message {
color: #e32700;
}

View file

@ -70,6 +70,7 @@
{%
set classes = [
'comment',
'js-comment',
status != 'published' ? 'comment--' ~ status,
comment.owner.anonymous ? 'by-anonymous',
author_id and author_id == commented_entity.getOwnerId() ? 'by-' ~ commented_entity.getEntityTypeId() ~ '-author',
@ -77,43 +78,37 @@
]
%}
<article role="article"{{ attributes.addClass(classes)|without('role') }}>
<header class="comment-header">
<div class="comment__attribution">
{{ user_picture }}
<div class="comment__submitted">
<p class="comment__author comment__submitted__data">{{ author }}</p>
<p class="comment__time comment__submitted__data">{{ created }}</p>
<p class="comment__permalink comment__submitted__data">{{ permalink }}</p>
{#
// Indicate the semantic relationship between parent and child comments
// for accessibility. The list is difficult to navigate in a screen
// reader without this information.
#}
{% if parent %}
<p class="visually-hidden">{{ parent }}</p>
{% endif %}
</div>
</div>
</header>
<div class="comment__text">
{#
Hide the "new" indicator by default, let a piece of JavaScript ask the
server which comments are new for the user. Rendering the final "new"
indicator here would break the render cache.
#}
<span class="hidden" data-comment-timestamp="{{ new_indicator_timestamp }}"></span>
<footer class="comment__meta">
{{ user_picture }}
<p class="comment__author">{{ author }}</p>
<p class="comment__time">{{ created }}</p>
<p class="comment__permalink">{{ permalink }}</p>
{#
Hide the "new" indicator by default, let a piece of JavaScript ask
the server which comments are new for the user. Rendering the final
"new" indicator here would break the render cache.
Indicate the semantic relationship between parent and child comments
for accessibility. The list is difficult to navigate in a screen
reader without this information.
#}
<span class="hidden new" data-comment-timestamp="{{ new_indicator_timestamp }}"></span>
{% if parent %}
<p class="visually-hidden">{{ parent }}</p>
{% endif %}
</footer>
<div{{ content_attributes.addClass('comment__content') }}>
{% if title %}
{{ title_prefix }}
<h3{{ title_attributes }}>{{ title }}</h3>
<h3{{ title_attributes }}>{{ title }}</h3>
{{ title_suffix }}
{% endif %}
<div{{ content_attributes.addClass('comment__content') }}>
{{ content|without('links') }}
</div>
<footer class="comment__footer">
{% if content.links %}
<nav>{{ content.links }}</nav>
{% endif %}
</footer>
{{ content|without('links') }}
{% if content.links %}
<nav>{{ content.links }}</nav>
{% endif %}
</div>
</article>