sticky filters

This commit is contained in:
2025-05-15 12:30:47 +02:00
parent 1e4201a45e
commit 4d6f2e4ca1
8 changed files with 19 additions and 172 deletions
+4 -17
View File
@@ -148,7 +148,6 @@
padding-top: 1rem;
padding-bottom: 1rem;
margin-bottom: 1rem;
span:nth-of-type(2){
display: none;
}
@@ -157,23 +156,17 @@
height: inherit;
margin: auto;
::before{
content: url("../images/pictos/noun_Download_file_307900.svg");
min-width:25px;
content: url("../images/pictos/download.png");
height: auto;
padding-right: 0.5rem;
// display: inline-flex;
// align-items: center;
padding-right: 1rem;
}
a{
hyphens: auto;
display: inline-flex;
// align-items: center;
color: $blue-light;
font-weight: 800;
// max-width: 80px ;
}
}
}
}
@@ -189,23 +182,19 @@
padding-left: 0.8rem;
padding-top: 1rem;
padding-bottom: 1rem;
margin-bottom: 1rem;
}
a{
display: inline-flex;
// align-items: center;
justify-items: center;
color: $blue-light;
font-weight: 800;
align-items: center;
&::before{
content: url("../images/pictos/external_link.png");
// min-width: 25px;
height: auto;
padding-right: 1rem;
// display: inline-flex;
// align-items: center;
}
svg.ext{
display: none;
@@ -228,7 +217,6 @@
.node-type-ressource{
border: 2px solid $blue-light;
background-color: $white;
// margin-left: 1rem;
margin-bottom: 1rem ;
padding: 1rem;
div{
@@ -275,7 +263,6 @@
}
}
.field--name-field-images{
// display: none;
order: 1;
width: 25%;
@@ -1,6 +1,10 @@
.path-ressources{
.layout-content{
.layout-container {
overflow: visible;
}
.layout-content{
width: 100vw;
.region-content{
width: 100%;
@@ -109,10 +113,10 @@
order: 3;
}
.view-base-de-donnees{
display: flex;
flex-direction: row;
// display: flex;
// flex-direction: row;
.view-filters{
position: fixed;
position: sticky;
top: 13rem;
left: 0;
width: 15%;