improved footer display

This commit is contained in:
Bachir Soussi Chiadmi 2021-01-04 11:07:16 +01:00
parent 3cebce26e6
commit 84ae91655e
6 changed files with 57 additions and 7 deletions

View File

@ -1,6 +1,6 @@
uuid: 90f98c52-9624-4758-9c38-3904d5ef5faa
langcode: en
status: true
status: false
dependencies:
module:
- commerce_cart

View File

@ -20,8 +20,7 @@ settings:
label_display: '0'
newsletters:
materio_newsletter: materio_newsletter
ze_daily_materio_: ze_daily_materio_
message: 'Stay informed - subscribe to our newsletter.'
message: 'Subscribe to our monthly newsletter.'
unique_id: d0c7bdf4-c218-4ded-840a-9c4c731ec469
visibility:
view_inclusion:

View File

@ -47,10 +47,10 @@ class MaterioSubscriptionsBlockForm extends SubscriptionsFormBase {
$form = parent::form($form, $form_state);
// $form['message'] = array(
// '#type' => 'item',
// '#markup' => $this->message,
// );
$form['message'] = array(
'#type' => 'item',
'#markup' => $this->message,
);
unset($form['subscriptions']['widget']['#title']);
unset($form['subscriptions']['widget']['#description']);

View File

@ -2029,6 +2029,9 @@ article.card {
#showrooms article.showroom figure img {
max-width: 100%; }
body:not(.path-home) footer[role="contentinfo"] {
display: none; }
footer[role="contentinfo"] #block-materiosimplenewssubscription form {
display: flex;
flex-flow: row nowrap;
@ -2044,6 +2047,8 @@ footer[role="contentinfo"] #block-materiosimplenewssubscription form {
display: flex;
flex-flow: row nowrap;
align-items: center; }
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-subscriptions input {
margin-right: 0.3em; }
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-mail-wrapper input[type="email"] {
width: 10em; }
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-actions--2 input[type="submit"] {

File diff suppressed because one or more lines are too long

View File

@ -1324,6 +1324,9 @@ article.card{
// | _/ _ \/ _ \ _/ -_) '_|
// |_|\___/\___/\__\___|_|
footer[role="contentinfo"]{
body:not(.path-home) & {
display:none;
}
#block-materiosimplenewssubscription{
form{
display: flex;
@ -1342,6 +1345,9 @@ footer[role="contentinfo"]{
flex-flow: row nowrap;
align-items: center;
}
input{
margin-right: 0.3em;
}
}
#edit-mail-wrapper{
input[type="email"]{