Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0

This commit is contained in:
Pantheon Automation 2016-10-06 15:16:20 -07:00 committed by Greg Anderson
parent 2f563ab520
commit f1c8716f57
1732 changed files with 52334 additions and 11780 deletions

View file

@ -19,6 +19,8 @@
text-align: center;
padding: 0.250em 1.063em;
border-radius: 1em;
display: inline-block;
line-height: normal;
}
.button:hover,
.button:active,

View file

@ -105,9 +105,6 @@
margin-bottom: 0.45em;
font-size: 1.171em;
}
.comment__content nav {
padding-top: 1px;
}
.indented {
margin-left: 40px; /* LTR */
}

View file

@ -16,6 +16,3 @@
.featured-top .demo-block {
font-size: 0.55em;
}
.header .demo-block {
width: 500px;
}

View file

@ -3,10 +3,6 @@
* 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 {
border: 1px solid;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
@ -29,6 +25,18 @@
padding: 0.32em 1em;
background: transparent none;
}
.js .dropbutton-multiple .dropbutton-widget,
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget {
padding: 0;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton {
padding-right: 2em; /* LTR */
position: relative;
}
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget .dropbutton {
padding-right: 0;
padding-left: 2em;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-right: 0; /* LTR */
}

View file

@ -4,7 +4,12 @@
*/
.feed-icon {
border-bottom: none;
border-bottom: 1px solid transparent;
display: inline-block;
padding: 15px 0 0 0;
padding-bottom: 2px;
}
.feed-icon:focus,
.feed-icon:hover {
border-color: #018fe2;
}

View file

@ -56,7 +56,7 @@
}
}
.field--type-image img,
.field--name-field-user-picture img {
.field--name-user-picture img {
margin: 0 0 1em;
}
.field--type-image a {

View file

@ -15,6 +15,18 @@ form {
}
fieldset {
margin: 1em 0;
min-width: 0;
}
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
fieldset {
display: table-cell;
}
}
details,
fieldset,
@ -116,9 +128,13 @@ input.form-submit:focus {
margin-right: 1.2em;
margin-left: 0;
}
.form-item label {
.form-item label,
.form-wrapper .label {
font-size: 0.929em;
}
.form-wrapper .field-multiple-table .label {
font-size: inherit;
}
.form-type-radio label,
.form-type-checkbox label {
margin-left: 4px; /* LTR */
@ -146,9 +162,13 @@ input.form-submit:focus {
margin-bottom: 2em;
}
.node-form label,
.node-form .description {
.node-form .description,
.node-form .form-wrapper .label {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.node-form .form-wrapper .field-multiple-table .label {
font-family: inherit;
}
.node-form .form-wrapper {
margin-bottom: 2em;
}
@ -280,3 +300,24 @@ input.form-submit:focus {
.form-item--error-message {
color: #e32700;
}
/**
* Improve form element usability on narrow devices.
*/
@media all and (max-width: 600px) {
.form-actions .button {
float: none;
margin: 10px 0 0;
padding-bottom: 6px;
width: 100%;
display: block;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.js .dropbutton .dropbutton-action > input, .js .dropbutton .dropbutton-action > a, .js .dropbutton .dropbutton-action > button {
text-align: center;
padding-left: 3em;
}
}

View file

@ -27,7 +27,11 @@
float: right;
}
}
@media screen and (max-width: 460px) {
.region-header {
padding-bottom: 0.357em;
}
}
/* Region header blocks. */
.region-header .block:not(.site-branding) {
font-size: 0.857em;

View file

@ -40,11 +40,11 @@
color: #68696b;
margin-bottom: -5px;
}
.node__meta .field--name-field-user-picture img {
.node__meta .field--name-user-picture img {
float: left; /* LTR */
margin: 1px 20px 0 0; /* LTR */
}
[dir="rtl"] .node__meta .field--name-field-user-picture img {
[dir="rtl"] .node__meta .field--name-user-picture img {
float: right;
margin-left: 20px;
margin-right: 0;

View file

@ -200,3 +200,13 @@ body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu .
display: none;
}
}
/**
* Ensures that the open mobile menu hides when the screen dimensions become
* 461px or wider.
*/
@media all and (min-width: 461px) {
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
display: none;
}
}

View file

@ -48,6 +48,10 @@ tr th {
border: 1px solid #fff;
text-align: left; /* LTR */
}
.tabledrag-handle:hover,
.tabledrag-handle {
border: none;
}
[dir="rtl"] tr td,
[dir="rtl"] tr th {
text-align: right;

View file

@ -103,9 +103,6 @@
<h3{{ title_attributes }}>{{ title }}</h3>
{{ title_suffix }}
{% endif %}
{{ content|without('links') }}
{% if content.links %}
<nav>{{ content.links }}</nav>
{% endif %}
{{ content }}
</div>
</article>

View file

@ -16,7 +16,13 @@
#}
<details{{ attributes }}>
{%- if title -%}
<summary{{ summary_attributes }}>{{ title }}</summary>
{%
set summary_classes = [
required ? 'js-form-required',
required ? 'form-required',
]
%}
<summary{{ summary_attributes.addClass(summary_classes) }}>{{ title }}</summary>
{%- endif -%}
<div class="details-wrapper">
{% if errors %}

View file

@ -34,10 +34,10 @@
<!DOCTYPE html>
<html{{ html_attributes }}>
<head>
<head-placeholder token="{{ placeholder_token|raw }}">
<head-placeholder token="{{ placeholder_token }}">
<title>{{ head_title|safe_join(' | ') }}</title>
<css-placeholder token="{{ placeholder_token|raw }}">
<js-placeholder token="{{ placeholder_token|raw }}">
<css-placeholder token="{{ placeholder_token }}">
<js-placeholder token="{{ placeholder_token }}">
</head>
<body{{ attributes.addClass(body_classes) }}>
{#
@ -50,6 +50,6 @@
{{ page_top }}
{{ page }}
{{ page_bottom }}
<js-bottom-placeholder token="{{ placeholder_token|raw }}">
<js-bottom-placeholder token="{{ placeholder_token }}">
</body>
</html>

View file

@ -63,9 +63,6 @@ function twig_render_template($template_file, array $variables) {
try {
$output['rendered_markup'] = $twig_service->loadTemplate($template_file)->render($variables);
}
catch (\Twig_Error_Loader $e) {
drupal_set_message($e->getMessage(), 'error');
}
catch (\Twig_Error_Runtime $e) {
// In case there is a previous exception, re-throw the previous exception,
// so that the original exception is shown, rather than

View file

@ -10,8 +10,20 @@ fieldset:not(.fieldgroup) {
border-radius: 2px;
margin: 1em 0;
padding: 30px 18px 18px;
min-width: 0;
position: relative;
}
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
fieldset:not(.fieldgroup) {
display: table-cell;
}
}
fieldset:not(.fieldgroup) > legend {
font-size: 1em;
font-weight: bold;
@ -23,6 +35,12 @@ fieldset:not(.fieldgroup) > legend {
.fieldgroup {
min-width: 0;
}
/**
* We've temporarily added this Firefox specific rule here to fix fieldset
* widths.
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
.fieldgroup {
display: table-cell;
@ -91,7 +109,6 @@ label[for] {
background-color: #fcf4f2;
}
.form-required:after {
background-image: url(../../images/required.svg);
background-size: 7px 7px;
width: 7px;
height: 7px;
@ -311,6 +328,9 @@ select {
display: block;
margin: 10px 0 0 0;
}
select {
width: 100%;
}
}
/* Exceptions */

View file

@ -236,9 +236,14 @@ details.fieldset-no-legend {
/* @group Rearrange filter criteria */
.views-ui-rearrange-filter-form .action-links {
margin: 0;
float: left;
margin: 0 0 1em;
padding: 0;
}
.views-ui-rearrange-filter-form .tabledrag-toggle-weight-wrapper {
float: right;
margin-bottom: 1em;
}
.views-ui-rearrange-filter-form table {
border: medium none;

View file

@ -0,0 +1,254 @@
/**
* @file
* CKEditor-native dialogs theming.
*/
.cke_dialog_background_cover {
display: none;
}
.cke_dialog:before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
opacity: 0.70;
}
[dir="rtl"] .cke_reset_all * {
text-align: right;
direction: rtl;
}
.cke_reset_all .cke_dialog_body {
position: relative;
border: 0;
border-radius: 0;
background: none;
}
.cke_reset_all .cke_dialog_body * {
font: 13px/1.538em "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Lucida Sans", sans-serif;
}
/* Dialog's header. */
.cke_reset_all .cke_dialog_title {
padding: 15px 49px 15px 15px;
border: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
font-size: 1.3344em;
line-height: 1.315em;
font-weight: 600;
background: #6b6b6b;
color: #fff;
box-shadow: none;
text-shadow: none;
-webkit-font-smoothing: antialiased;
}
[dir="rtl"] .cke_reset_all .cke_dialog_title {
padding: 15px 15px 15px 49px;
}
/* More specificity to prevent overriding in high density screens. */
.cke_reset_all .cke_dialog .cke_dialog_close_button {
top: 16px;
right: 20px;
width: 16px;
height: 16px;
background: url(../../../../misc/icons/ffffff/ex.svg) 0 0 no-repeat;
opacity: 1;
}
[dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_close_button {
left: 20px;
right: auto;
}
.cke_reset_all .cke_dialog .cke_label {
display: none;
}
/* Dialog's body. */
.cke_reset_all .cke_dialog_contents {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.cke_reset_all .cke_dialog_contents_body {
padding: 1em;
}
.cke_reset_all tr:hover,
.cke_reset_all tr:focus {
background: none;
}
[dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_first,
[dir="rtl"] .cke_reset_all .cke_dialog_ui_hbox_child {
padding-left: 10px;
padding-right: 0;
}
.cke_reset_all .cke_dialog_body label {
display: table;
margin: 0 0 0.1em;
padding: 0;
font-weight: bold;
}
.cke_reset_all .cke_dialog_body .cke_dialog_ui_input_text,
.cke_reset_all .cke_dialog_body .cke_dialog_ui_input_textarea,
.cke_reset_all .cke_dialog_body div.cke_dialog_ui_input_select {
border: 0;
}
.cke_reset_all .cke_dialog_body textarea,
.cke_reset_all .cke_dialog_body input[type="text"],
.cke_reset_all select.cke_dialog_ui_input_select {
box-sizing: border-box;
max-width: 100%;
margin: 0 0 3px;
padding: 0.3em 0.4em 0.3em 0.5em;
border: 1px solid #b8b8b8;
border-top-color: #999;
border-radius: 2px;
font-size: 1em;
line-height: normal;
background: #fcfcfa;
color: #595959;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
.cke_reset_all select.cke_dialog_ui_input_select {
padding-right: 1.5em;
background: #fcfcfa url(../../../../misc/icons/333333/caret-down.svg) no-repeat 99% 63%;
}
.cke_reset_all .cke_dialog_body textarea:focus,
.cke_reset_all .cke_dialog_body input[type="text"]:focus,
.cke_reset_all select.cke_dialog_ui_input_select:focus {
border-color: #40b6ff;
outline: 0;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
background-color: #fff;
}
/* Dialog's footer. */
.cke_reset_all .cke_dialog .cke_dialog_footer {
margin: 0;
padding: 15px 20px;
border: 0;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
outline: none;
text-align: left;
background: #f5f5f2;
}
[dir="rtl"] .cke_reset_all .cke_dialog .cke_dialog_footer {
text-align: right;
}
.cke_reset_all .cke_resizer {
display: none;
}
.cke_reset_all .cke_dialog_footer_buttons {
margin: 0;
}
.cke_dialog_footer_buttons td {
float: right;
}
[dir="rtl"] .cke_dialog_footer_buttons td {
float: left;
}
.cke_reset_all a.cke_dialog_ui_button {
position: relative;
box-sizing: border-box;
display: inline-block;
margin-right: 1em;
padding: 4px 1.5em;
border: 1px solid #a6a6a6;
border-radius: 20em;
text-align: center;
font-weight: 600;
font-size: 14px;
font-size: 0.875rem;
line-height: normal;
background-color: #f2f1eb;
background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df);
background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df);
color: #333;
text-decoration: none;
text-shadow: 0 1px hsla(0, 0%, 100%, 0.6);
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
-webkit-transition: all 0.1s;
transition: all 0.1s;
-webkit-font-smoothing: antialiased;
}
[dir="rtl"] .cke_reset_all a.cke_dialog_ui_button {
margin-left: 1em;
margin-right: 0;
}
/* More specificity to prevent overriding in high contrast mode. */
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover,
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
padding: 4px 1.5em;
border: 1px solid #a6a6a6;
background-color: #f9f8f6;
background-image: -webkit-linear-gradient(top, #fcfcfa, #e9e9dd);
background-image: linear-gradient(to bottom, #fcfcfa, #e9e9dd);
color: #1a1a1a;
text-decoration: none;
box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.125)
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus {
z-index: 10;
border: 1px solid #3AB2FF;
box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7);
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active {
padding: 4px 1.5em;
border: 1px solid #a6a6a6;
background-color: #dfdfd9;
background-image: -webkit-linear-gradient(top, #f6f6f3, #e7e7df);
background-image: linear-gradient(to bottom, #f6f6f3, #e7e7df);
box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2);
-webkit-transition: none;
transition: none;
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button span {
padding: 0;
font-size: 0.875rem;
line-height: normal;
text-shadow: 0 1px hsla(0, 0%, 100%, 0.6);
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:hover span,
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:focus span,
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button:active span {
padding: 0;
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok {
border-color: #1e5c90;
font-weight: 700;
background-color: #0071b8;
background-image: -webkit-linear-gradient(top, #007bc6, #0071b8);
background-image: linear-gradient(to bottom, #007bc6, #0071b8);
color: #fff;
text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
-webkit-font-smoothing: antialiased;
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:hover,
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
background-color: #2369a6;
background-image: -webkit-linear-gradient(top, #0c97ed, #1f86c7);
background-image: linear-gradient(to bottom, #0c97ed, #1f86c7);
border-color: #1e5c90;
color: #fff;
box-shadow: 0 1px 2px hsla(203, 10%, 10%, 0.25);
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:focus {
border: 1px solid #1280df;
box-shadow: 0 0 0.5em 0.1em hsla(203, 100%, 60%, 0.7);
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok:active {
background-image: -webkit-linear-gradient(top, #08639b, #0071b8);
background-image: linear-gradient(to bottom, #08639b, #0071b8);
border-color: #144b78;
box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.2);
}
.cke_reset_all .cke_dialog_footer_buttons a.cke_dialog_ui_button_ok span {
text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#e62600" d="M0,7.562l1.114-3.438c2.565,0.906,4.43,1.688,5.59,2.35C6.398,3.553,6.237,1.544,6.22,0.447h3.511 c-0.05,1.597-0.234,3.6-0.558,6.003c1.664-0.838,3.566-1.613,5.714-2.325L16,7.562c-2.05,0.678-4.06,1.131-6.028,1.356 c0.984,0.856,2.372,2.381,4.166,4.575l-2.906,2.059c-0.935-1.274-2.041-3.009-3.316-5.206c-1.194,2.275-2.244,4.013-3.147,5.206 l-2.856-2.059c1.872-2.307,3.211-3.832,4.017-4.575C3.849,8.516,1.872,8.062,0,7.562"/></svg>

Before

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

View file

@ -4,7 +4,7 @@
# As the UI of Drupal improves between minor versions, the mark up and assets
# in the Seven theme will change. The Seven theme is not backwards
# compatible. If you wish to modify the output or assets of Seven you can:
# 1. Copy the whole of Seven and rename it as your own admin theme. You
# 1. Copy the whole of Seven and rename it as your own administration theme. You
# will need to manually manage your own updates if you want to stay up to
# date with Seven's bug fixes and feature support.
#
@ -37,6 +37,8 @@ libraries-override:
classy/dialog:
seven/seven.drupal.dialog
libraries-extend:
core/ckeditor:
- seven/ckeditor-dialog
core/drupal.vertical-tabs:
- seven/vertical-tabs
core/jquery.ui:

View file

@ -93,6 +93,12 @@ seven.drupal.dialog:
theme:
css/components/dialog.css: {}
ckeditor-dialog:
version: VERSION
css:
theme:
css/theme/ckeditor-dialog.css: {}
tour-styling:
version: VERSION
css:

View file

@ -38,7 +38,7 @@
{% set title_attributes = title_attributes.addClass('visually-hidden') %}
{% endif %}
{{ title_prefix }}
<h2{{ title_attributes }}>{{ configuration.label }}</h2>
<h2{{ title_attributes.setAttribute('id', heading_id) }}>{{ configuration.label }}</h2>
{{ title_suffix }}
{# Menu. #}

View file

@ -15,8 +15,14 @@
*/
#}
<details{{ attributes }}>
{%
set summary_classes = [
required ? 'js-form-required',
required ? 'form-required',
]
%}
{%- if title -%}
<summary{{ summary_attributes }}>{{ title }}</summary>
<summary{{ summary_attributes.addClass(summary_classes) }}>{{ title }}</summary>
{%- endif -%}
{% if errors %}

View file

@ -9,7 +9,7 @@
#}
{% if breadcrumb %}
<nav role="navigation" aria-labelledby="system-breadcrumb">
<h2 class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
<h2 id="system-breadcrumb" class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
<ol>
{% for item in breadcrumb %}
<li>