FAVRE-BONTE před 4 roky
rodič
revize
709bc77f4d

+ 15 - 0
components/Layout/Dialog.vue

@@ -5,6 +5,7 @@
     v-model="show"
     persistent
     max-width="800"
+    :content-class="contentClass"
   >
     <v-card>
       <div class="d-flex">
@@ -40,6 +41,10 @@ export default defineComponent({
     show: {
       type: Boolean,
       required: true
+    },
+    contentClass: {
+      type: String,
+      required: false
     }
   }
 })
@@ -68,4 +73,14 @@ export default defineComponent({
     max-height: 60vh;
     overflow: auto;
   }
+  .modal-level-alert{
+    .dialog-type{
+      background: #f56954;
+    }
+  }
+  .modal-level-warning{
+    .dialog-type{
+      background: #f39c12;
+    }
+  }
 </style>

+ 1 - 1
components/Layout/Header/UniversalCreation/CreateButton.vue

@@ -25,7 +25,7 @@ bouton Créer
         <div class="text-center">
           <v-btn
             color="ot_super_light_grey"
-            @click="showDialog=false"
+            @click="showDialog=false;step=1"
           >
             Annuler
           </v-btn>