diff sat_templates/templates/bulma/static/styles.css @ 271:dea66eead698

bulma (dialogs): new `notification.html` template
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:46:03 +0200
parents 2378084522e1
children dbdaf1d7442b
line wrap: on
line diff
--- a/sat_templates/templates/bulma/static/styles.css	Fri Aug 14 08:46:00 2020 +0200
+++ b/sat_templates/templates/bulma/static/styles.css	Fri Aug 14 08:46:03 2020 +0200
@@ -131,11 +131,33 @@
     transform: scaleY(0);
 }
 
-div.state_appended .modal-content {
+div.state_appended .modal-content, div.main_notification.state_appended {
     transform: scaleY(1);
     transition: transform 0.15s ease-in;
 }
 
+div.main_notification.state_closing {
+    transform: scaleY(0);
+}
+
+.main_notification {
+    position: fixed;
+    top: 2rem;
+    left: 0;
+    right: 0;
+    z-index: 10000;
+    transform: scaleY(0);
+    transition: transform 0.15s ease-in;
+}
+
+div.main_notification>div.column {
+    display: flex;
+    max-width: 95%;
+}
+div.main_notification>div.column>div.notification {
+    max-width: 80rem;
+}
+
 .click_to_close {
     cursor: pointer;
 }