fixed card print css display

This commit is contained in:
Bachir Soussi Chiadmi 2016-12-11 10:30:32 +01:00
parent 41e3e6dfb2
commit adee2f54e3
3 changed files with 23 additions and 13 deletions

View File

@ -145,9 +145,10 @@ function showroom_field_default_field_instances() {
), ),
'print' => array( 'print' => array(
'label' => 'above', 'label' => 'above',
'module' => 'materio_showroom',
'settings' => array(), 'settings' => array(),
'type' => 'hidden', 'type' => 'materio_showroom_location_simple_text',
'weight' => 0, 'weight' => 7,
), ),
'teaser' => array( 'teaser' => array(
'label' => 'above', 'label' => 'above',

View File

@ -5505,11 +5505,11 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
background-color: #69CDCF; } background-color: #69CDCF; }
/* /*
_ _ _ __ ____ _ __
___ ___ ___ _| | ___ ___|_|___| |_ _________ __________/ / / __ \_____(_)___ / /_
| _| .'| _| . | | . | _| | | _| / ___/ __ `/ ___/ __ / / /_/ / ___/ / __ \/ __/
|___|__,|_| |___| | _|_| |_|_|_|_| / /__/ /_/ / / / /_/ / / ____/ / / / / / / /_
|_| \___/\__,_/_/ \__,_/ /_/ /_/ /_/_/ /_/\__/
*/ */
.print-node-materiau { .print-node-materiau {
margin: 0 auto; } margin: 0 auto; }
@ -5721,6 +5721,8 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
position: absolute; } position: absolute; }
.print-content .node-materiau.vm-print .side.group-side-left .field-name-field-description { .print-content .node-materiau.vm-print .side.group-side-left .field-name-field-description {
font-size: 0.8em; } font-size: 0.8em; }
.print-content .node-materiau.vm-print .side.group-side-left .field-name-field-location {
font-size: 0.7em; }
.print-content .node-materiau.vm-print .side.group-side-left > .field-type-taxonomy-term-reference { .print-content .node-materiau.vm-print .side.group-side-left > .field-type-taxonomy-term-reference {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;

View File

@ -1664,11 +1664,13 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
@include fs12; @include fs12;
} }
// side 3 : Sample
.field-name-field-location{ .field-name-field-location{
@include fs12; padding:10px; @include fs300; @include fs12; padding:10px; @include fs300;
.field-label{ @include fs10; text-transform: lowercase; float: none; } .field-label{ @include fs10; text-transform: lowercase; float: none; }
} }
// side 4
// side 4 : companies
.field-name-field-company-fab, .field-name-field-company-distrib{ .field-name-field-company-fab, .field-name-field-company-distrib{
@include fs12; padding:10px; @include fs300; @include fs12; padding:10px; @include fs300;
@include inlineblock(); width:40%; @include inlineblock(); width:40%;
@ -1704,11 +1706,11 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull{
} }
/* /*
_ _ _ __ ____ _ __
___ ___ ___ _| | ___ ___|_|___| |_ _________ __________/ / / __ \_____(_)___ / /_
| _| .'| _| . | | . | _| | | _| / ___/ __ `/ ___/ __ / / /_/ / ___/ / __ \/ __/
|___|__,|_| |___| | _|_| |_|_|_|_| / /__/ /_/ / / / /_/ / / ____/ / / / / / / /_
|_| \___/\__,_/_/ \__,_/ /_/ /_/ /_/_/ /_/\__/
*/ */
body.print-body-materiau{ body.print-body-materiau{
// >*{font-size:0.8em;} // >*{font-size:0.8em;}
@ -1747,6 +1749,11 @@ body.print-body-materiau{
width:45%; width:45%;
position:absolute; position:absolute;
.field-name-field-description{font-size:0.8em;} .field-name-field-description{font-size:0.8em;}
// samples
.field-name-field-location{
font-size:0.7em;
}
// companies
>.field-type-taxonomy-term-reference{ >.field-type-taxonomy-term-reference{
display:inline-block; vertical-align: top; width: 45%; display:inline-block; vertical-align: top; width: 45%;
margin:0.5em 1em 0 0; margin:0.5em 1em 0 0;