changeset 294:a587d664f62c

bulma (dialogs,css): added `modal-dialog` to avoid transforming other modals
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2020 12:15:39 +0100 (2020-11-27)
parents 7a4bd6de6a56
children 1de599c5a68f
files sat_templates/templates/bulma/dialogs/confirm.html sat_templates/templates/bulma/static/styles.css
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sat_templates/templates/bulma/dialogs/confirm.html	Fri Nov 27 12:13:59 2020 +0100
+++ b/sat_templates/templates/bulma/dialogs/confirm.html	Fri Nov 27 12:15:39 2020 +0100
@@ -1,6 +1,6 @@
 <div>
     <div class="modal has-justify-start is-active click_to_cancel">
-        <div class="modal-content">
+        <div class="modal-content modal-dialog">
             <div class="notification is-warning">
                 <div class="columns">
                     <div class="column is-flex has-items-vcentered">
--- a/sat_templates/templates/bulma/static/styles.css	Fri Nov 27 12:13:59 2020 +0100
+++ b/sat_templates/templates/bulma/static/styles.css	Fri Nov 27 12:15:39 2020 +0100
@@ -155,11 +155,11 @@
  * dialogs *
  ***********/
 
-.modal-content {
+.modal-dialog {
     transform: scaleY(0);
 }
 
-div.state_appended .modal-content, div.main_notification.state_appended {
+div.state_appended .modal-dialog, div.main_notification.state_appended {
     transform: scaleY(1);
     transition: transform 0.15s ease-in;
 }