improved footer display
This commit is contained in:
parent
3cebce26e6
commit
84ae91655e
|
@ -1,6 +1,6 @@
|
||||||
uuid: 90f98c52-9624-4758-9c38-3904d5ef5faa
|
uuid: 90f98c52-9624-4758-9c38-3904d5ef5faa
|
||||||
langcode: en
|
langcode: en
|
||||||
status: true
|
status: false
|
||||||
dependencies:
|
dependencies:
|
||||||
module:
|
module:
|
||||||
- commerce_cart
|
- commerce_cart
|
||||||
|
|
|
@ -20,8 +20,7 @@ settings:
|
||||||
label_display: '0'
|
label_display: '0'
|
||||||
newsletters:
|
newsletters:
|
||||||
materio_newsletter: materio_newsletter
|
materio_newsletter: materio_newsletter
|
||||||
ze_daily_materio_: ze_daily_materio_
|
message: 'Subscribe to our monthly newsletter.'
|
||||||
message: 'Stay informed - subscribe to our newsletter.'
|
|
||||||
unique_id: d0c7bdf4-c218-4ded-840a-9c4c731ec469
|
unique_id: d0c7bdf4-c218-4ded-840a-9c4c731ec469
|
||||||
visibility:
|
visibility:
|
||||||
view_inclusion:
|
view_inclusion:
|
||||||
|
|
|
@ -47,10 +47,10 @@ class MaterioSubscriptionsBlockForm extends SubscriptionsFormBase {
|
||||||
|
|
||||||
$form = parent::form($form, $form_state);
|
$form = parent::form($form, $form_state);
|
||||||
|
|
||||||
// $form['message'] = array(
|
$form['message'] = array(
|
||||||
// '#type' => 'item',
|
'#type' => 'item',
|
||||||
// '#markup' => $this->message,
|
'#markup' => $this->message,
|
||||||
// );
|
);
|
||||||
|
|
||||||
unset($form['subscriptions']['widget']['#title']);
|
unset($form['subscriptions']['widget']['#title']);
|
||||||
unset($form['subscriptions']['widget']['#description']);
|
unset($form['subscriptions']['widget']['#description']);
|
||||||
|
|
|
@ -2029,6 +2029,9 @@ article.card {
|
||||||
#showrooms article.showroom figure img {
|
#showrooms article.showroom figure img {
|
||||||
max-width: 100%; }
|
max-width: 100%; }
|
||||||
|
|
||||||
|
body:not(.path-home) footer[role="contentinfo"] {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
footer[role="contentinfo"] #block-materiosimplenewssubscription form {
|
footer[role="contentinfo"] #block-materiosimplenewssubscription form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
|
@ -2044,6 +2047,8 @@ footer[role="contentinfo"] #block-materiosimplenewssubscription form {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
align-items: center; }
|
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"] {
|
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-mail-wrapper input[type="email"] {
|
||||||
width: 10em; }
|
width: 10em; }
|
||||||
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-actions--2 input[type="submit"] {
|
footer[role="contentinfo"] #block-materiosimplenewssubscription form #edit-actions--2 input[type="submit"] {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1324,6 +1324,9 @@ article.card{
|
||||||
// | _/ _ \/ _ \ _/ -_) '_|
|
// | _/ _ \/ _ \ _/ -_) '_|
|
||||||
// |_|\___/\___/\__\___|_|
|
// |_|\___/\___/\__\___|_|
|
||||||
footer[role="contentinfo"]{
|
footer[role="contentinfo"]{
|
||||||
|
body:not(.path-home) & {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
#block-materiosimplenewssubscription{
|
#block-materiosimplenewssubscription{
|
||||||
form{
|
form{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -1342,6 +1345,9 @@ footer[role="contentinfo"]{
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
input{
|
||||||
|
margin-right: 0.3em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#edit-mail-wrapper{
|
#edit-mail-wrapper{
|
||||||
input[type="email"]{
|
input[type="email"]{
|
||||||
|
|
Loading…
Reference in New Issue