fichiers liés page 1 actu

This commit is contained in:
2021-12-23 18:04:45 +01:00
parent f7191629d0
commit 6d1b2cb5b5
4 changed files with 32 additions and 35 deletions
+19 -21
View File
@@ -793,33 +793,31 @@ a {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 65%; } width: 65%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .field__item {
height: fit-content; height: fit-content;
border: 2px solid #009ee3; border: 2px solid #009ee3;
background-color: white; background-color: white;
margin-bottom: 1rem; } margin-bottom: 1rem;
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers {
min-height: 4rem; min-height: 4rem;
background: white;
color: #009ee3; color: #009ee3;
padding-left: 1rem; padding-left: 1rem;
padding-top: 1rem; } padding-top: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
display: none; } display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
height: inherit; height: inherit;
margin: auto; } margin: auto; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
content: url("../images/pictos/noun_Download_file_307900.svg"); content: url("../images/pictos/noun_Download_file_307900.svg");
min-width: 50px; min-width: 40px;
height: auto; height: auto;
padding-right: 1rem; } padding-right: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
hyphens: auto; hyphens: auto;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
color: #009ee3; color: #009ee3;
font-weight: 800; } font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
margin: auto; margin: auto;
height: fit-content; height: fit-content;
@@ -837,7 +835,7 @@ a {
font-weight: 800; } font-weight: 800; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
content: url("../images/pictos/noun_External Link_674151.svg"); content: url("../images/pictos/noun_External Link_674151.svg");
min-width: 50px; min-width: 40px;
height: auto; height: auto;
padding-right: 1rem; } padding-right: 1rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

@@ -148,20 +148,19 @@
flex-direction: column; flex-direction: column;
width: 65%; width: 65%;
.block-entity-fieldnodefield-fichiers{ .block-entity-fieldnodefield-fichiers{
height: fit-content;
border: 2px solid $blue-light;
background-color: $white;
margin-bottom: 1rem;
} }
.field--name-field-fichiers{ .field--name-field-fichiers{
min-height: 4rem; .field__item{
background: $white; height: fit-content;
color: $blue-light; border: 2px solid $blue-light;
padding-left: 1rem; background-color: $white;
padding-top: 1rem; margin-bottom: 1rem;
min-height: 4rem;
// background: $white;
color: $blue-light;
padding-left: 1rem;
padding-top: 1rem;
}
span:nth-of-type(2){ span:nth-of-type(2){
display: none; display: none;
} }
@@ -171,7 +170,7 @@
margin: auto; margin: auto;
::before{ ::before{
content: url("../images/pictos/noun_Download_file_307900.svg"); content: url("../images/pictos/noun_Download_file_307900.svg");
min-width:50px; min-width:40px;
height: auto; height: auto;
padding-right: 1rem; padding-right: 1rem;
} }
@@ -206,7 +205,7 @@
font-weight: 800; font-weight: 800;
&::before{ &::before{
content: url("../images/pictos/noun_External Link_674151.svg"); content: url("../images/pictos/noun_External Link_674151.svg");
min-width: 50px; min-width: 40px;
height: auto; height: auto;
padding-right: 1rem; padding-right: 1rem;
} }