fix bug click open tiroir

This commit is contained in:
2024-07-02 14:48:09 +02:00
parent ef1504e66e
commit 1660d08876
4 changed files with 9 additions and 4 deletions
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -941,7 +941,6 @@ h4 {
aside.layout-sidebar-second {
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 4px;
overflow: scroll;
padding-top: 110px;
z-index: 100;
padding-left: 2rem;
@@ -994,6 +993,8 @@ aside.layout-sidebar-second .view-current-user-doc-profile .views-field-title {
font-weight: 900;
display: flex;
margin-bottom: 3rem;
position: relative;
z-index: 1000;
}
aside.layout-sidebar-second .view-current-user-doc-profile .views-field-title::after {
content: url(../images/noun-cross-1151731.svg);
+1 -1
View File
@@ -86,7 +86,7 @@ jQuery(document).ready(function($){
$("h2").addClass('__close');
}
$(".profile--type--collaborateur").click(function(event) {
$(".view-current-user-doc-profile").click(function(event) {
// Ouvrir .tiroir fichiers
$(".layout-sidebar-second").addClass('close');
$("h2").addClass('__close');
@@ -40,7 +40,6 @@
aside.layout-sidebar-second{
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 4px;
overflow: scroll;
padding-top: $header-height;
z-index: 100;
padding-left: 2rem;
@@ -53,6 +52,8 @@ aside.layout-sidebar-second{
background-color: $yellow-puca;
}
}
.block-views-blockcurrent-user-doc-profile-block-1{
}
h2{
transform: translateX(-48%) translateY(25vh) rotate(-90deg);
text-transform: uppercase;
@@ -82,6 +83,7 @@ aside.layout-sidebar-second{
top: 200px;
position: relative;
padding-top: 10rem;
&::before{
content: '' ;
width: 80%;
@@ -95,6 +97,8 @@ aside.layout-sidebar-second{
font-weight: 900;
display: flex;
margin-bottom: 3rem;
position: relative;
z-index: 1000;
&::after{
content: url(../images/noun-cross-1151731.svg);
cursor: pointer;