added btn class for home btn, added linkint profile in wysiwyg
This commit is contained in:
parent
8527be2da9
commit
ba503a97cb
|
@ -21,10 +21,15 @@ settings:
|
||||||
- Bold
|
- Bold
|
||||||
- Italic
|
- Italic
|
||||||
- Underline
|
- Underline
|
||||||
|
-
|
||||||
|
name: misc
|
||||||
|
items:
|
||||||
|
- SpecialChar
|
||||||
-
|
-
|
||||||
name: Liens
|
name: Liens
|
||||||
items:
|
items:
|
||||||
- DrupalLink
|
- DrupalLink
|
||||||
|
- Linkit
|
||||||
- DrupalUnlink
|
- DrupalUnlink
|
||||||
-
|
-
|
||||||
name: Listes
|
name: Listes
|
||||||
|
@ -49,12 +54,19 @@ settings:
|
||||||
- PasteText
|
- PasteText
|
||||||
- PasteFromWord
|
- PasteFromWord
|
||||||
plugins:
|
plugins:
|
||||||
drupallink:
|
|
||||||
linkit_enabled: true
|
|
||||||
stylescombo:
|
stylescombo:
|
||||||
styles: h4.inter-titre|Inter-titre
|
styles: h4.inter-titre|Inter-titre
|
||||||
language:
|
language:
|
||||||
language_list: un
|
language_list: un
|
||||||
|
linkit:
|
||||||
|
linkit_profile: default
|
||||||
|
video_embed:
|
||||||
|
defaults:
|
||||||
|
children:
|
||||||
|
autoplay: true
|
||||||
|
responsive: true
|
||||||
|
width: '854'
|
||||||
|
height: '480'
|
||||||
image_upload:
|
image_upload:
|
||||||
status: true
|
status: true
|
||||||
scheme: public
|
scheme: public
|
||||||
|
|
|
@ -77,5 +77,5 @@ filters:
|
||||||
settings:
|
settings:
|
||||||
youtube: '1'
|
youtube: '1'
|
||||||
youtube_webp_preview: '0'
|
youtube_webp_preview: '0'
|
||||||
autoload: '0'
|
|
||||||
vimeo: '1'
|
vimeo: '1'
|
||||||
|
autoload: '0'
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
uuid: 7ef4e38a-7202-4e5f-ab8f-cbd0e20b8e03
|
||||||
|
langcode: en
|
||||||
|
status: true
|
||||||
|
dependencies:
|
||||||
|
module:
|
||||||
|
- node
|
||||||
|
- taxonomy
|
||||||
|
id: default
|
||||||
|
label: default
|
||||||
|
description: ''
|
||||||
|
attributes: { }
|
||||||
|
matchers:
|
||||||
|
d0dae55a-e60c-4b50-8489-511082d33286:
|
||||||
|
uuid: d0dae55a-e60c-4b50-8489-511082d33286
|
||||||
|
id: 'entity:menu_link_content'
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
result_description: ''
|
||||||
|
bundles: { }
|
||||||
|
group_by_bundle: false
|
||||||
|
06fa6ab9-a594-4dc1-97b0-2c0c1b157db9:
|
||||||
|
uuid: 06fa6ab9-a594-4dc1-97b0-2c0c1b157db9
|
||||||
|
id: 'entity:node'
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
result_description: ''
|
||||||
|
bundles:
|
||||||
|
article: article
|
||||||
|
materiau: materiau
|
||||||
|
simplenews_issue: simplenews_issue
|
||||||
|
thematique: thematique
|
||||||
|
group_by_bundle: false
|
||||||
|
include_unpublished: false
|
||||||
|
7e4086d4-4fe3-450a-8e33-ac95a8e7a07d:
|
||||||
|
uuid: 7e4086d4-4fe3-450a-8e33-ac95a8e7a07d
|
||||||
|
id: 'entity:taxonomy_term'
|
||||||
|
weight: 0
|
||||||
|
settings:
|
||||||
|
result_description: ''
|
||||||
|
bundles:
|
||||||
|
company: company
|
||||||
|
showroom: showroom
|
||||||
|
group_by_bundle: false
|
|
@ -101,7 +101,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
|
|
||||||
p a {
|
p a {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
p a:after {
|
p a:not(.btn):after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1em;
|
top: 1em;
|
||||||
|
@ -1204,6 +1204,16 @@ body {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: 1.3; }
|
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 {
|
aside.messages {
|
||||||
border: none; }
|
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) {
|
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; }
|
grid-column: 2; }
|
||||||
|
|
||||||
|
article.node--type-frontpage > h2 {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
article.node--type-frontpage .node__content > section.home-database {
|
article.node--type-frontpage .node__content > section.home-database {
|
||||||
background-color: #69cdcf; }
|
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 {
|
article.node--type-frontpage .node__content > section.home-database .cards-list-home {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 580px;
|
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 {
|
article.node--type-frontpage .node__content > section.home-showrooms {
|
||||||
background-color: #50aa3c; }
|
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 {
|
article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
@ -5,3 +5,13 @@ body{
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: 1.3;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ h1,h2,h3,h4,h5,h6{
|
||||||
|
|
||||||
p a{
|
p a{
|
||||||
position: relative;
|
position: relative;
|
||||||
&:after{
|
&:not(.btn):after{
|
||||||
content:'';
|
content:'';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:1em; left:0;
|
top:1em; left:0;
|
||||||
|
|
|
@ -530,6 +530,10 @@ article.node--type-frontpage{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
>h2{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.node__content{
|
.node__content{
|
||||||
|
|
||||||
&>section{
|
&>section{
|
||||||
|
@ -539,7 +543,12 @@ article.node--type-frontpage{
|
||||||
&.home-database{
|
&.home-database{
|
||||||
background-color: $color-base;
|
background-color: $color-base;
|
||||||
@extend %part-columned-layout;
|
@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{
|
.cards-list-home{
|
||||||
position: relative;
|
position: relative;
|
||||||
// max-height: (130px*1.4)*3;
|
// max-height: (130px*1.4)*3;
|
||||||
|
@ -577,6 +586,10 @@ article.node--type-frontpage{
|
||||||
background-color: $color-showrooms;
|
background-color: $color-showrooms;
|
||||||
@extend %part-columned-layout;
|
@extend %part-columned-layout;
|
||||||
.field--name-field-showrooms{
|
.field--name-field-showrooms{
|
||||||
|
a.btn{
|
||||||
|
background-color: #fff;
|
||||||
|
color: $color-showrooms;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.field--name-computed-showrooms-reference{
|
.field--name-computed-showrooms-reference{
|
||||||
position:relative;
|
position:relative;
|
||||||
|
|
Loading…
Reference in New Issue