updated core and modules
This commit is contained in:
@@ -46,8 +46,8 @@ regions:
|
||||
footer_fourth: 'Footer fourth'
|
||||
footer_fifth: 'Footer fifth'
|
||||
|
||||
# Information added by Drupal.org packaging script on 2016-08-03
|
||||
version: '8.1.8'
|
||||
# Information added by Drupal.org packaging script on 2017-08-16
|
||||
version: '8.3.7'
|
||||
core: '8.x'
|
||||
project: 'drupal'
|
||||
datestamp: 1470233792
|
||||
datestamp: 1502903957
|
||||
|
||||
@@ -45,14 +45,14 @@ function bartik_preprocess_page_title(&$variables) {
|
||||
if (!empty($variables['title_suffix']['add_or_remove_shortcut']) && $variables['title']) {
|
||||
// Add a wrapper div using the title_prefix and title_suffix render
|
||||
// elements.
|
||||
$variables['title_prefix']['shortcut_wrapper'] = array(
|
||||
$variables['title_prefix']['shortcut_wrapper'] = [
|
||||
'#markup' => '<div class="shortcut-wrapper clearfix">',
|
||||
'#weight' => 100,
|
||||
);
|
||||
$variables['title_suffix']['shortcut_wrapper'] = array(
|
||||
];
|
||||
$variables['title_suffix']['shortcut_wrapper'] = [
|
||||
'#markup' => '</div>',
|
||||
'#weight' => -99,
|
||||
);
|
||||
];
|
||||
// Make sure the shortcut link is the first item in title_suffix.
|
||||
$variables['title_suffix']['add_or_remove_shortcut']['#weight'] = -100;
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
* Lists available colors and color schemes for the Bartik theme.
|
||||
*/
|
||||
|
||||
$info = array(
|
||||
$info = [
|
||||
// Available colors and color labels used in theme.
|
||||
'fields' => array(
|
||||
'fields' => [
|
||||
'top' => t('Header background top'),
|
||||
'bottom' => t('Header background bottom'),
|
||||
'bg' => t('Main background'),
|
||||
@@ -17,12 +17,12 @@ $info = array(
|
||||
'titleslogan' => t('Title and slogan'),
|
||||
'text' => t('Text color'),
|
||||
'link' => t('Link color'),
|
||||
),
|
||||
],
|
||||
// Pre-defined color schemes.
|
||||
'schemes' => array(
|
||||
'default' => array(
|
||||
'schemes' => [
|
||||
'default' => [
|
||||
'title' => t('Blue Lagoon (default)'),
|
||||
'colors' => array(
|
||||
'colors' => [
|
||||
'top' => '#055a8e',
|
||||
'bottom' => '#1d84c3',
|
||||
'bg' => '#ffffff',
|
||||
@@ -32,11 +32,11 @@ $info = array(
|
||||
'titleslogan' => '#fffeff',
|
||||
'text' => '#3b3b3b',
|
||||
'link' => '#0071B3',
|
||||
),
|
||||
),
|
||||
'firehouse' => array(
|
||||
],
|
||||
],
|
||||
'firehouse' => [
|
||||
'title' => t('Firehouse'),
|
||||
'colors' => array(
|
||||
'colors' => [
|
||||
'top' => '#cd2d2d',
|
||||
'bottom' => '#d64e4e',
|
||||
'bg' => '#ffffff',
|
||||
@@ -46,11 +46,11 @@ $info = array(
|
||||
'titleslogan' => '#fffeff',
|
||||
'text' => '#888888',
|
||||
'link' => '#d6121f',
|
||||
),
|
||||
),
|
||||
'ice' => array(
|
||||
],
|
||||
],
|
||||
'ice' => [
|
||||
'title' => t('Ice'),
|
||||
'colors' => array(
|
||||
'colors' => [
|
||||
'top' => '#d0d0d0',
|
||||
'bottom' => '#c2c4c5',
|
||||
'bg' => '#ffffff',
|
||||
@@ -60,11 +60,11 @@ $info = array(
|
||||
'titleslogan' => '#000000',
|
||||
'text' => '#4a4a4a',
|
||||
'link' => '#019dbf',
|
||||
),
|
||||
),
|
||||
'plum' => array(
|
||||
],
|
||||
],
|
||||
'plum' => [
|
||||
'title' => t('Plum'),
|
||||
'colors' => array(
|
||||
'colors' => [
|
||||
'top' => '#4c1c58',
|
||||
'bottom' => '#593662',
|
||||
'bg' => '#fffdf7',
|
||||
@@ -74,11 +74,11 @@ $info = array(
|
||||
'titleslogan' => '#ffffff',
|
||||
'text' => '#301313',
|
||||
'link' => '#9d408d',
|
||||
),
|
||||
),
|
||||
'slate' => array(
|
||||
],
|
||||
],
|
||||
'slate' => [
|
||||
'title' => t('Slate'),
|
||||
'colors' => array(
|
||||
'colors' => [
|
||||
'top' => '#4a4a4a',
|
||||
'bottom' => '#4e4e4e',
|
||||
'bg' => '#ffffff',
|
||||
@@ -88,31 +88,31 @@ $info = array(
|
||||
'titleslogan' => '#ffffff',
|
||||
'text' => '#3b3b3b',
|
||||
'link' => '#0073b6',
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
// CSS files (excluding @import) to rewrite with new color scheme.
|
||||
'css' => array(
|
||||
'css' => [
|
||||
'css/colors.css',
|
||||
),
|
||||
],
|
||||
|
||||
// Files to copy.
|
||||
'copy' => array(
|
||||
'copy' => [
|
||||
'logo.svg',
|
||||
),
|
||||
],
|
||||
|
||||
// Gradient definitions.
|
||||
'gradients' => array(
|
||||
array(
|
||||
'gradients' => [
|
||||
[
|
||||
// (x, y, width, height).
|
||||
'dimension' => array(0, 0, 0, 0),
|
||||
'dimension' => [0, 0, 0, 0],
|
||||
// Direction of gradient ('vertical' or 'horizontal').
|
||||
'direction' => 'vertical',
|
||||
// Keys of colors to use for the gradient.
|
||||
'colors' => array('top', 'bottom'),
|
||||
),
|
||||
),
|
||||
'colors' => ['top', 'bottom'],
|
||||
],
|
||||
],
|
||||
|
||||
// Preview files.
|
||||
'preview_library' => 'bartik/color.preview',
|
||||
@@ -127,4 +127,4 @@ $info = array(
|
||||
],
|
||||
],
|
||||
],
|
||||
);
|
||||
];
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Visual styles for Bartik's blocks.
|
||||
*/
|
||||
|
||||
/* Block has it's own content wrapper. */
|
||||
/* Block has its own content wrapper. */
|
||||
.block .content {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -105,9 +105,6 @@
|
||||
margin-bottom: 0.45em;
|
||||
font-size: 1.171em;
|
||||
}
|
||||
.comment__content nav {
|
||||
padding-top: 1px;
|
||||
}
|
||||
.indented {
|
||||
margin-left: 40px; /* LTR */
|
||||
}
|
||||
|
||||
@@ -16,6 +16,3 @@
|
||||
.featured-top .demo-block {
|
||||
font-size: 0.55em;
|
||||
}
|
||||
.header .demo-block {
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/* This is needed to override ul.menu styles in menu.theme.css */
|
||||
ul.menu {
|
||||
margin: 0;
|
||||
padding: 0 0 0.25em 0;
|
||||
padding: 0 0 0.25em 1em;
|
||||
}
|
||||
|
||||
/* This is needed to override [dir="rtl"] ul.menu styles in menu.theme.css */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user