added home links as individual links, improved the home layout with field_group
This commit is contained in:
@@ -536,6 +536,17 @@ article.node--type-frontpage{
|
||||
|
||||
.node__content{
|
||||
|
||||
@mixin btn{
|
||||
display: inline-block;
|
||||
font-size: 0.9em;
|
||||
font-weight: bold;
|
||||
padding: 0.7em 1em;
|
||||
margin-bottom: 0.3em;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&>section{
|
||||
&.home-intro{
|
||||
@extend %part-centered-layout;
|
||||
@@ -544,9 +555,15 @@ article.node--type-frontpage{
|
||||
background-color: $color-base;
|
||||
@extend %part-columned-layout;
|
||||
.field--name-field-a-database{
|
||||
a.btn{
|
||||
background-color: #fff;
|
||||
color: $color-base;
|
||||
}
|
||||
.field--name-field-database-links{
|
||||
.field__item{
|
||||
display: inline-block;
|
||||
a{
|
||||
@include btn;
|
||||
background-color: #fff;
|
||||
color: $color-base;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cards-list-home{
|
||||
@@ -585,10 +602,15 @@ article.node--type-frontpage{
|
||||
&.home-showrooms{
|
||||
background-color: $color-showrooms;
|
||||
@extend %part-columned-layout;
|
||||
.field--name-field-showrooms{
|
||||
a.btn{
|
||||
background-color: #fff;
|
||||
color: $color-showrooms;
|
||||
.field--name-field-showrooms{}
|
||||
.field--name-field-showroom-links{
|
||||
.field__item{
|
||||
display: inline-block;
|
||||
a{
|
||||
@include btn;
|
||||
background-color: #fff;
|
||||
color: $color-showrooms;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-computed-showrooms-reference{
|
||||
@@ -657,6 +679,16 @@ article.node--type-frontpage{
|
||||
background-color: $color-blabla;
|
||||
@extend %part-columned-layout;
|
||||
|
||||
.field--name-field-blabla-links{
|
||||
.field__item{
|
||||
display: inline-block;
|
||||
a{
|
||||
@include btn;
|
||||
background-color: #fff;
|
||||
color: $color-blabla;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cards-list-home{
|
||||
position: relative;
|
||||
$bp: ($column_width*2 + $column_goutiere );
|
||||
|
Reference in New Issue
Block a user