浏览代码

filtres translateX

ouidade 1 天之前
父节点
当前提交
334a9e1508
共有 2 个文件被更改,包括 10 次插入2 次删除
  1. 5 1
      web/themes/custom/eql/dist/assets/css/bundle.css
  2. 5 1
      web/themes/custom/eql/scss/pages/ressources.scss

+ 5 - 1
web/themes/custom/eql/dist/assets/css/bundle.css

@@ -5266,6 +5266,8 @@ svg.ext {
   font-weight: 400;
   text-align: center;
   margin-bottom: 1rem;
+  width: fit-content;
+  margin-left: 30%;
 }
 .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content {
   display: flex;
@@ -5376,7 +5378,7 @@ svg.ext {
 .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-filters {
   position: sticky;
   align-self: start;
-  top: 9rem;
+  top: 14rem;
   left: 0;
   background-color: rgb(255, 255, 255);
   margin-bottom: 5rem;
@@ -5384,6 +5386,8 @@ svg.ext {
   padding-left: 2rem;
   padding-right: 3rem;
   z-index: 1;
+  transform: translateY(-100px);
+  margin-bottom: -100px;
 }
 @media (max-width: 810px) {
   .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-filters {

+ 5 - 1
web/themes/custom/eql/scss/pages/ressources.scss

@@ -16,6 +16,8 @@
                     font-weight: 400;
                     text-align: center;
                     margin-bottom: 1rem;
+                    width: fit-content;
+                    margin-left: 30%;
                 }
                 .layout--onecol{
                     .layout__region--content{
@@ -125,7 +127,7 @@
                                     .view-filters{
                                         position: sticky;
                                         align-self: start;
-                                        top: 9rem;
+                                        top: 14rem;
                                         left: 0;
                                         background-color: $white;
                                         margin-bottom: 5rem;
@@ -133,6 +135,8 @@
                                         padding-left: 2rem;
                                         padding-right: 3rem;
                                         z-index: 1;
+                                        transform: translateY(-100px);
+                                        margin-bottom: -100px;
 
                                         @media (max-width: 810px) {
                                             position: static;