removed body from production home nodes

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-28 12:07:47 +02:00
parent 4b986903cb
commit f4ad71e57a
4 changed files with 29 additions and 26 deletions
@@ -2161,20 +2161,23 @@ body.path-frontpage .layout-content .row, body.path-productions .layout-content
height: auto; }
body.path-frontpage .layout-content .row .col > .wrapper article.node header, body.path-productions .layout-content .row .col > .wrapper article.node header {
background-color: rgba(255, 255, 255, 0.95);
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
padding: 0.5em 1em; }
body.path-frontpage .layout-content .row .col > .wrapper article.node header h2.node-title, body.path-productions .layout-content .row .col > .wrapper article.node header h2.node-title {
margin: 0; }
body.path-frontpage .layout-content .row .col > .wrapper article.node header p, body.path-productions .layout-content .row .col > .wrapper article.node header p {
margin: 0; }
margin: 0;
font-size: 0.8em;
text-transform: lowercase; }
body.path-frontpage .layout-content .row .col > .wrapper article.node.node--view-mode-image-2-columns header, body.path-productions .layout-content .row .col > .wrapper article.node.node--view-mode-image-2-columns header {
position: absolute;
bottom: 0;
left: 0; }
body.path-frontpage .layout-content .row .col > .wrapper article.node.node--view-mode-image-2-columns header h2.node-title, body.path-productions .layout-content .row .col > .wrapper article.node.node--view-mode-image-2-columns header h2.node-title {
font-size: 1.6em;
font-size: 1.2em;
font-weight: 500; }
body.path-frontpage .layout-content .row .col > .wrapper article.node.node--view-mode-image-1-columns h2.node-title, body.path-productions .layout-content .row .col > .wrapper article.node.node--view-mode-image-1-columns h2.node-title {
font-size: 1.2em;
font-size: 1em;
font-weight: 500; }
body.path-frontpage .layout-content .row .col > .wrapper article.node.node--view-mode-text-1-column, body.path-productions .layout-content .row .col > .wrapper article.node.node--view-mode-text-1-column {
padding: 0 1em; }
@@ -1063,11 +1063,15 @@ body.path-frontpage, body.path-productions{
}
header{
background-color: rgba(255,255,255,0.95);
box-sizing: border-box;
width: 100%;
padding:0.5em 1em;
h2.node-title{
margin:0;
font-size: 0.8em;
text-transform: lowercase;
}
p{margin: 0;}
// p{margin: 0;}
}
&.node--view-mode-image-2-columns{
@@ -1075,14 +1079,14 @@ body.path-frontpage, body.path-productions{
position: absolute;
bottom: 0; left:0;
h2.node-title{
font-size: 1.6em;
font-size: 1.2em;
font-weight: 500;
}
}
}
&.node--view-mode-image-1-columns{
h2.node-title{
font-size: 1.2em;
font-size: 1em;
font-weight: 500;
}
}
@@ -5,6 +5,8 @@ dependencies:
config:
- core.entity_view_mode.node.image_1_columns
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -14,21 +16,12 @@ dependencies:
- node.type.page
module:
- image
- text
- user
id: node.page.image_1_columns
targetEntityType: node
bundle: page
mode: image_1_columns
content:
body:
label: hidden
type: text_summary_or_trimmed
weight: 1
settings:
trim_length: 100
third_party_settings: { }
region: content
field_visuel:
weight: 0
label: hidden
@@ -39,9 +32,14 @@ content:
type: image
region: content
hidden:
body: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_page_type: true
field_son: true
field_view_mode: true
field_workflow_generic: true
langcode: true
links: true
production_parent: true
production_subtree: true
@@ -5,6 +5,8 @@ dependencies:
config:
- core.entity_view_mode.node.image_2_columns
- field.field.node.page.body
- field.field.node.page.field_afficher_en_page_d_acceuil
- field.field.node.page.field_documents_lies
- field.field.node.page.field_page_type
- field.field.node.page.field_son
- field.field.node.page.field_view_mode
@@ -14,21 +16,12 @@ dependencies:
- node.type.page
module:
- image
- text
- user
id: node.page.image_2_columns
targetEntityType: node
bundle: page
mode: image_2_columns
content:
body:
label: hidden
type: text_summary_or_trimmed
weight: 1
settings:
trim_length: 200
third_party_settings: { }
region: content
field_visuel:
weight: 0
label: hidden
@@ -39,9 +32,14 @@ content:
type: image
region: content
hidden:
body: true
field_afficher_en_page_d_acceuil: true
field_documents_lies: true
field_page_type: true
field_son: true
field_view_mode: true
field_workflow_generic: true
langcode: true
links: true
production_parent: true
production_subtree: true