Browse Source

form modif operation

ouidade 11 months ago
parent
commit
9473263d05

+ 6 - 7
web/themes/custom/reha/css/reha.css

@@ -980,17 +980,19 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
     margin-top: 1rem; }
   #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-commentaire-0-value {
     width: 100%; }
-  #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-0-address input {
+  #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-wrapper summary {
+    display: none; }
+  #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-wrapper #edit-field-adresse-0-address input {
     width: 100%; }
-  #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-0-address-container2 {
+  #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-wrapper #edit-field-adresse-0-address-container2 {
     display: flex;
     flex-direction: row;
     width: 100%;
     margin-right: 0;
     justify-content: space-between; }
-    #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-0-address-container2 input {
+    #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-wrapper #edit-field-adresse-0-address-container2 input {
       width: 100%; }
-    #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-0-address-container2 .form-item {
+    #block-reha-contenudelapageprincipale #node-operation-edit-form #edit-field-adresse-wrapper #edit-field-adresse-0-address-container2 .form-item {
       display: flex;
       flex-direction: column;
       margin-right: 0; }
@@ -1022,6 +1024,3 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
     font-weight: 400; }
   #edit-field-dossier-de-candidature-0--description .depth3 {
     text-decoration: none !important; }
-
-html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div.layout-container main div.layout-content div.region.region-content div#block-reha-contenudelapageprincipale.block.block-system.block-system-main-block form#node-operation-edit-form.node-operation-edit-form.node-form div.js-form-item.form-item.js-form-type-vertical-tabs.form-item-.js-form-item-.form-no-label {
-  display: none; }

+ 24 - 17
web/themes/custom/reha/scss/pages/_modifier-une-operation.scss

@@ -192,26 +192,33 @@
     #edit-field-commentaire-0-value{
         width: 100%;
     }
-    #edit-field-adresse-0-address{
-        input{
-            width: 100%;
+    #edit-field-adresse-wrapper{
+        summary{
+            display: none;
         }
-    }
-    #edit-field-adresse-0-address-container2{
-        display: flex;
-        flex-direction: row;
-        width: 100%;
-        margin-right: 0;
-        justify-content:space-between;
-        input{
-            width: 100%;
+        #edit-field-adresse-0-address{
+            input{
+                width: 100%;
+            }
+            
         }
-        .form-item{
+        #edit-field-adresse-0-address-container2{
             display: flex;
-            flex-direction: column;
+            flex-direction: row;
+            width: 100%;
             margin-right: 0;
+            justify-content:space-between;
+            input{
+                width: 100%;
+            }
+            .form-item{
+                display: flex;
+                flex-direction: column;
+                margin-right: 0;
+            }
         }
     }
+
     .form-item{
         display: flex;
         flex-direction: column;
@@ -250,6 +257,6 @@ text-transform: none !important;
     text-decoration: none !important;   
 }
 }
-html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div.layout-container main div.layout-content div.region.region-content div#block-reha-contenudelapageprincipale.block.block-system.block-system-main-block form#node-operation-edit-form.node-operation-edit-form.node-form div.js-form-item.form-item.js-form-type-vertical-tabs.form-item-.js-form-item-.form-no-label{
-    display: none;
-}
+// html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div.layout-container main div.layout-content div.region.region-content div#block-reha-contenudelapageprincipale.block.block-system.block-system-main-block form#node-operation-edit-form.node-operation-edit-form.node-form div.js-form-item.form-item.js-form-type-vertical-tabs.form-item-.js-form-item-.form-no-label{
+//     display: none;
+// }