Update Composer, update everything

This commit is contained in:
Oliver Davies 2018-11-23 12:29:20 +00:00
parent ea3e94409f
commit dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions

View file

@ -0,0 +1,19 @@
ABOUT BARTIK
------------
Bartik is the default theme for Drupal 8. It is a flexible, recolorable theme
with a responsive and mobile-first layout, supporting 16 regions.
The Bartik theme is named after Jean Bartik, one of the original programmers
for the ENIAC computer.
This theme is not intended to be used as a base theme.
To read more about the Bartik theme please see:
https://www.drupal.org/docs/8/core/themes/bartik-theme
ABOUT DRUPAL THEMING
--------------------
See https://www.drupal.org/docs/8/theming for more information on Drupal
theming.

View file

@ -31,7 +31,7 @@ $info = [
'footer' => '#292929',
'titleslogan' => '#fffeff',
'text' => '#3b3b3b',
'link' => '#0071B3',
'link' => '#0071b3',
],
],
'firehouse' => [

View file

@ -78,7 +78,7 @@
}
[dir="rtl"] .color-preview-sidebar,
[dir="rtl"] .color-preview-content {
float: right;
float: right;
}
.color-preview-sidebar {
margin-left: 15px; /* LTR */

View file

@ -0,0 +1,83 @@
/**
* @file
* Preview for the Bartik theme.
*/
(function($, Drupal, drupalSettings) {
Drupal.color = {
logoChanged: false,
callback(context, settings, $form) {
// Change the logo to be the real one.
if (!this.logoChanged) {
$('.color-preview .color-preview-logo img').attr(
'src',
drupalSettings.color.logo,
);
this.logoChanged = true;
}
// Remove the logo if the setting is toggled off.
if (drupalSettings.color.logo === null) {
$('div').remove('.color-preview-logo');
}
const $colorPreview = $form.find('.color-preview');
const $colorPalette = $form.find('.js-color-palette');
// Solid background.
$colorPreview.css(
'backgroundColor',
$colorPalette.find('input[name="palette[bg]"]').val(),
);
// Text preview.
$colorPreview
.find('.color-preview-main h2, .color-preview .preview-content')
.css('color', $colorPalette.find('input[name="palette[text]"]').val());
$colorPreview
.find('.color-preview-content a')
.css('color', $colorPalette.find('input[name="palette[link]"]').val());
// Sidebar block.
const $colorPreviewBlock = $colorPreview.find(
'.color-preview-sidebar .color-preview-block',
);
$colorPreviewBlock.css(
'background-color',
$colorPalette.find('input[name="palette[sidebar]"]').val(),
);
$colorPreviewBlock.css(
'border-color',
$colorPalette.find('input[name="palette[sidebarborders]"]').val(),
);
// Footer wrapper background.
$colorPreview
.find('.color-preview-footer-wrapper')
.css(
'background-color',
$colorPalette.find('input[name="palette[footer]"]').val(),
);
// CSS3 Gradients.
const gradientStart = $colorPalette
.find('input[name="palette[top]"]')
.val();
const gradientEnd = $colorPalette
.find('input[name="palette[bottom]"]')
.val();
$colorPreview
.find('.color-preview-header')
.attr(
'style',
`background-color: ${gradientStart}; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(${gradientStart}), to(${gradientEnd})); background-image: -moz-linear-gradient(-90deg, ${gradientStart}, ${gradientEnd});`,
);
$colorPreview
.find('.color-preview-site-name')
.css(
'color',
$colorPalette.find('input[name="palette[titleslogan]"]').val(),
);
},
};
})(jQuery, Drupal, drupalSettings);

View file

@ -1,20 +1,19 @@
/**
* @file
* Preview for the Bartik theme.
*/
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal, drupalSettings) {
'use strict';
Drupal.color = {
logoChanged: false,
callback: function (context, settings, $form) {
// Change the logo to be the real one.
callback: function callback(context, settings, $form) {
if (!this.logoChanged) {
$('.color-preview .color-preview-logo img').attr('src', drupalSettings.color.logo);
this.logoChanged = true;
}
// Remove the logo if the setting is toggled off.
if (drupalSettings.color.logo === null) {
$('div').remove('.color-preview-logo');
}
@ -22,28 +21,23 @@
var $colorPreview = $form.find('.color-preview');
var $colorPalette = $form.find('.js-color-palette');
// Solid background.
$colorPreview.css('backgroundColor', $colorPalette.find('input[name="palette[bg]"]').val());
// Text preview.
$colorPreview.find('.color-preview-main h2, .color-preview .preview-content').css('color', $colorPalette.find('input[name="palette[text]"]').val());
$colorPreview.find('.color-preview-content a').css('color', $colorPalette.find('input[name="palette[link]"]').val());
// Sidebar block.
var $colorPreviewBlock = $colorPreview.find('.color-preview-sidebar .color-preview-block');
$colorPreviewBlock.css('background-color', $colorPalette.find('input[name="palette[sidebar]"]').val());
$colorPreviewBlock.css('border-color', $colorPalette.find('input[name="palette[sidebarborders]"]').val());
// Footer wrapper background.
$colorPreview.find('.color-preview-footer-wrapper').css('background-color', $colorPalette.find('input[name="palette[footer]"]').val());
// CSS3 Gradients.
var gradient_start = $colorPalette.find('input[name="palette[top]"]').val();
var gradient_end = $colorPalette.find('input[name="palette[bottom]"]').val();
var gradientStart = $colorPalette.find('input[name="palette[top]"]').val();
var gradientEnd = $colorPalette.find('input[name="palette[bottom]"]').val();
$colorPreview.find('.color-preview-header').attr('style', 'background-color: ' + gradient_start + '; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(' + gradient_start + '), to(' + gradient_end + ')); background-image: -moz-linear-gradient(-90deg, ' + gradient_start + ', ' + gradient_end + ');');
$colorPreview.find('.color-preview-header').attr('style', 'background-color: ' + gradientStart + '; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(' + gradientStart + '), to(' + gradientEnd + ')); background-image: -moz-linear-gradient(-90deg, ' + gradientStart + ', ' + gradientEnd + ');');
$colorPreview.find('.color-preview-site-name').css('color', $colorPalette.find('input[name="palette[titleslogan]"]').val());
}
};
})(jQuery, Drupal, drupalSettings);
})(jQuery, Drupal, drupalSettings);

View file

@ -41,32 +41,32 @@ h2 a {
*/
h1,
.heading-a {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 1.357em;
color: #000;
}
h2,
.heading-b {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 1.143em;
}
h3,
.heading-c {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 1.092em;
}
h4,
.heading-d {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 1.05em;
}
h5,
.heading-e {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 0.889em;
text-transform: uppercase;
@ -74,7 +74,7 @@ h5,
}
h6,
.heading-f {
margin: 1.0em 0 0.5em;
margin: 1em 0 0.5em;
font-weight: inherit;
font-size: 0.67em;
text-transform: uppercase;
@ -132,7 +132,8 @@ img {
max-width: 100%;
height: auto;
}
ul, ol {
ul,
ol {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}

View file

@ -8,14 +8,14 @@ body {
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
background: #ffffff;
background: #fff;
}
.tabs ul.primary li a.is-active {
background-color: #ffffff;
background-color: #fff;
}
.tabs ul.primary li.is-active a {
background-color: #ffffff;
border-bottom-color: #ffffff;
background-color: #fff;
border-bottom-color: #fff;
}
#header {
background-color: #1d84c3;
@ -46,10 +46,10 @@ a:active,
.region-header,
.region-header a,
.region-header li a.is-active,
.site-branding__text,
.site-branding,
.site-branding__text a,
.site-branding a,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
color: #fffeff;

View file

@ -17,7 +17,7 @@
font-size: 0.929em;
font-weight: normal;
text-align: center;
padding: 0.250em 1.063em;
padding: 0.25em 1.063em;
border-radius: 1em;
display: inline-block;
line-height: normal;

View file

@ -3,12 +3,12 @@
margin-bottom: 1.2em;
}
.caption > * {
background: #F3F3F3;
background: #f3f3f3;
padding: 0.5ex;
border: 1px solid #CCC;
border: 1px solid #ccc;
}
.caption > figcaption {
border: 1px solid #CCC;
border: 1px solid #ccc;
border-top: none;
padding-top: 0.5ex;
font-size: small;

View file

@ -49,7 +49,6 @@
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.733em;
line-height: 1.2;
}
.comment__permalink {
font-size: 0.733em;

View file

@ -4,7 +4,7 @@
*/
.demo-block {
background: #ffff66;
background: #ff6;
border: 1px dotted #9f9e00;
color: #000;
font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;

View file

@ -10,6 +10,7 @@
.featured-bottom .region {
padding: 0 20px;
}
@media all and (min-width: 560px) {
.featured-bottom .region {
float: left; /* LTR */
@ -22,6 +23,7 @@
float: right;
}
}
@media all and (min-width: 851px) {
.featured-bottom .region {
padding: 0 20px;

View file

@ -42,6 +42,7 @@
padding: 0 0 0 1em;
float: right;
}
@media all and (min-width: 560px) {
.node .field--type-image {
float: left; /* LTR */

View file

@ -23,7 +23,7 @@ fieldset {
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
@-moz-document url-prefix() {
@media (min--moz-device-pixel-ratio: 0) {
fieldset {
display: table-cell;
}
@ -100,8 +100,7 @@ textarea {
textarea {
line-height: 1.5;
}
textarea.form-textarea,
select.form-select {
textarea.form-textarea {
padding: 4px;
}
input.form-text,
@ -112,8 +111,7 @@ input.form-search,
input.form-file,
input.form-number,
input.form-color,
textarea.form-textarea,
select.form-select {
textarea.form-textarea {
border: 1px solid #ccc;
color: #3b3b3b;
}
@ -172,6 +170,14 @@ input.form-submit:focus {
.node-form .form-wrapper {
margin-bottom: 2em;
}
.node-form .entity-content-form-footer,
.node-form .field--name-status {
margin-bottom: 0;
}
.node-form .form-actions {
padding-top: 0;
margin-top: 0;
}
/* Contact Form */
.contact-form #edit-name {
@ -316,7 +322,9 @@ input.form-submit:focus {
-moz-box-sizing: border-box;
}
.js .dropbutton .dropbutton-action > input, .js .dropbutton .dropbutton-action > a, .js .dropbutton .dropbutton-action > button {
.js .dropbutton .dropbutton-action > input,
.js .dropbutton .dropbutton-action > a,
.js .dropbutton .dropbutton-action > button {
text-align: center;
padding-left: 3em;
}

View file

@ -11,6 +11,7 @@
.region-header .site-branding {
margin-top: 0.429em;
}
@media all and (min-width: 461px) {
.region-header .block {
float: right; /* LTR */
@ -21,12 +22,13 @@
}
.region-header .site-branding {
float: left; /* LTR */
/* margin-bottom: 1.857em;*/
/* margin-bottom: 1.857em; */
}
[dir="rtl"] .region-header .site-branding {
float: right;
}
}
@media screen and (max-width: 460px) {
.region-header {
padding-bottom: 0.357em;
@ -38,6 +40,7 @@
margin: 0 0 1em;
clear: right;
}
@media all and (min-width: 901px) {
.region-header .block:not(.site-branding) {
margin: 1.167em 0 1em;

View file

@ -7,31 +7,31 @@
position: fixed;
z-index: 499;
width: 100%;
padding: 10px;
padding: 5px 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);
border-radius: 0.4em;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
color: #fff;
font-size: 0.9em;
line-height: normal;
margin: 0;
margin: 5px 10px 5px 0; /* LTR */
padding: 4px 1em 4px 0.6em; /* LTR */
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
display: inline-block;
}
[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);
margin: 5px 0 5px 10px;
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;
@ -44,11 +44,10 @@
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);
box-shadow: inset 0 1px 2px rgba(0, 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);
@ -59,3 +58,15 @@
width: 10px;
display: inline-block;
}
[dir="rtl"] .node-preview-backlink::after {
content: '';
width: 10px;
display: inline-block;
}
.node-preview-container .form-item-view-mode {
display: inline-block;
margin: 5px 0;
}
[dir="rtl"] .node-preview-container .form-item-view-mode {
margin-right: 0;
}

View file

@ -78,7 +78,7 @@ body:not(:target) .region-primary-menu .menu-toggle {
z-index: 1000;
}
body:not(:target) .region-primary-menu .menu-toggle:after {
content:"";
content: "";
background: url(../../../../misc/icons/ffffff/hamburger.svg) no-repeat;
background-size: contain;
width: 22px;
@ -194,7 +194,7 @@ body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu .
.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);
background: rgba(240, 240, 240, 1);
}
body:not(:target) .region-primary-menu .menu-toggle {
display: none;

View file

@ -18,7 +18,7 @@
}
.region-secondary-menu .menu a {
display: inline-block;
padding: 0.8em;
padding: 0.8em;
}
.region-secondary-menu .menu a:hover,
.region-secondary-menu .menu a:focus {

View file

@ -13,6 +13,7 @@
width: 100%;
}
}
@media all and (min-width: 851px) {
.layout-one-sidebar .sidebar {
width: 25%;

View file

@ -7,6 +7,7 @@
display: inline-block;
margin-right: 1em; /* LTR */
margin-bottom: 0.286em;
border-bottom: 0;
}
[dir="rtl"] .site-branding__logo {
margin-right: 0;
@ -16,11 +17,13 @@
display: inline-block;
vertical-align: top;
}
@media all and (min-width: 461px) {
.site-branding__text {
margin-bottom: 1.857em;
}
}
@media all and (min-width: 901px) {
.site-branding__text {
padding: 1.286em 0 0;
@ -31,6 +34,7 @@
color: #686868;
line-height: 1;
}
@media all and (min-width: 901px) {
.site-branding__name {
font-size: 1.821em;

View file

@ -10,6 +10,7 @@
.site-footer .layout-container {
padding: 0 15px;
}
@media all and (min-width: 560px) {
.site-footer__top .region {
float: left; /* LTR */
@ -20,6 +21,7 @@
float: right;
}
}
@media all and (min-width: 560px) and (max-width: 850px) {
.site-footer .region {
box-sizing: border-box;
@ -42,6 +44,7 @@
clear: both;
}
}
@media all and (min-width: 851px) {
.site-footer__top .region {
width: 24%;

View file

@ -68,6 +68,7 @@ tr th {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {

View file

@ -21,9 +21,10 @@ div.tabs {
text-shadow: 0 1px 0 #fff;
}
.tabs ul.primary li.is-active a {
background-color: #ffffff;
background-color: #fff;
border: 1px solid #bbb;
}
@media screen and (max-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-bottom: 1px solid #bbb;
@ -39,6 +40,7 @@ div.tabs {
border-bottom: none;
}
}
@media screen and (min-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-collapse: collapse;

View file

@ -18,8 +18,8 @@
}
.ui-dialog .button {
background-color: #fff;
background-image: -webkit-linear-gradient(top,#f3f3f3,#e8e8e8);
background-image: linear-gradient(to bottom,#f3f3f3,#e8e8e8);
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;
@ -29,6 +29,6 @@
font-size: 0.929em;
font-weight: normal;
text-align: center;
padding: 0.250em 1.063em;
padding: 0.25em 1.063em;
border-radius: 1em;
}

View file

@ -9,7 +9,7 @@
}
.views-displays .tabs .open > a:hover,
.views-displays .tabs .open > a:focus {
color: #0071B3;
color: #0071b3;
}
.views-displays .secondary .form-submit {
font-size: 0.846em;
@ -22,14 +22,14 @@
/* Contextual filter options styles */
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
background-color: #F9F9F9;
background-color: #f9f9f9;
}
/* Views action dropbutton styles */
.views-ui-display-tab-actions .dropbutton .form-submit {
color: #0071B3;
color: #0071b3;
}
.views-ui-display-tab-actions .dropbutton .form-submit:hover,
.views-ui-display-tab-actions .dropbutton .form-submit:focus {
color: #018FE2;
color: #018fe2;
}

View file

@ -12,6 +12,7 @@
margin-right: auto;
box-sizing: border-box;
}
@media all and (min-width: 851px) {
.layout-container {
max-width: 1290px;

View file

@ -49,10 +49,11 @@ body.maintenance-page {
.maintenance-page .site-branding-text a:focus {
color: #777;
}
.maintenance-page .page-title {
.maintenance-page .page-title {
line-height: 1em;
margin-top: 0;
}
@media all and (min-width: 800px) {
.maintenance-page #page-wrapper {
width: 800px;
@ -62,6 +63,7 @@ body.maintenance-page {
width: 700px;
}
}
@media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
.maintenance-page #page {
margin: 20px 40px 40px;

View file

@ -45,7 +45,7 @@
*
* These variables are provided to give context about the parent comment (if
* any):
* - comment_parent: Full parent comment entity (if any).
* - parent_comment: Full parent comment entity (if any).
* - parent_author: Equivalent to author for the parent comment.
* - parent_created: Equivalent to created for the parent comment.
* - parent_changed: Equivalent to changed for the parent comment.

View file

@ -16,8 +16,6 @@
* Available variables:
* - message_list: List of messages to be displayed, grouped by type.
* - status_headings: List of all status types.
* - display: (optional) May have a value of 'status' or 'error' when only
* displaying messages of that specific type.
*/
#}
{% block messages %}