added btn class for home btn, added linkint profile in wysiwyg

This commit is contained in:
2020-12-26 13:28:35 +01:00
parent 8527be2da9
commit ba503a97cb
7 changed files with 103 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ h1, h2, h3, h4, h5, h6 {
p a {
position: relative; }
p a:after {
p a:not(.btn):after {
content: '';
position: absolute;
top: 1em;
@@ -1204,6 +1204,16 @@ body {
font-style: normal;
line-height: 1.3; }
a.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; }
aside.messages {
border: none; }
@@ -1523,8 +1533,14 @@ article.node--type-frontpage .node__content > section.home-database, article.nod
article.node--type-frontpage .node__content > section.home-database > div:nth-child(2), article.node--type-frontpage .node__content > section.home-showrooms > div:nth-child(2), article.node--type-frontpage .node__content > section.home-blabla > div:nth-child(2) {
grid-column: 2; }
article.node--type-frontpage > h2 {
display: none; }
article.node--type-frontpage .node__content > section.home-database {
background-color: #69cdcf; }
article.node--type-frontpage .node__content > section.home-database .field--name-field-a-database a.btn {
background-color: #fff;
color: #69cdcf; }
article.node--type-frontpage .node__content > section.home-database .cards-list-home {
position: relative;
max-height: 580px;
@@ -1558,6 +1574,9 @@ article.node--type-frontpage .node__content > section.home-database {
article.node--type-frontpage .node__content > section.home-showrooms {
background-color: #50aa3c; }
article.node--type-frontpage .node__content > section.home-showrooms .field--name-field-showrooms a.btn {
background-color: #fff;
color: #50aa3c; }
article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference {
position: relative;
display: grid;

View File

@@ -5,3 +5,13 @@ body{
font-style: normal;
line-height: 1.3;
}
a.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;
}

View File

@@ -25,7 +25,7 @@ h1,h2,h3,h4,h5,h6{
p a{
position: relative;
&:after{
&:not(.btn):after{
content:'';
position: absolute;
top:1em; left:0;

View File

@@ -530,6 +530,10 @@ article.node--type-frontpage{
}
}
>h2{
display: none;
}
.node__content{
&>section{
@@ -539,7 +543,12 @@ article.node--type-frontpage{
&.home-database{
background-color: $color-base;
@extend %part-columned-layout;
.field--name-field-a-database{}
.field--name-field-a-database{
a.btn{
background-color: #fff;
color: $color-base;
}
}
.cards-list-home{
position: relative;
// max-height: (130px*1.4)*3;
@@ -577,6 +586,10 @@ article.node--type-frontpage{
background-color: $color-showrooms;
@extend %part-columned-layout;
.field--name-field-showrooms{
a.btn{
background-color: #fff;
color: $color-showrooms;
}
}
.field--name-computed-showrooms-reference{
position:relative;