diff sat_templates/templates/default/static/styles.css @ 202:a1fa6744c78e

base: handle notifications through "notifications" variable
author Goffi <goffi@goffi.org>
date Sun, 26 May 2019 22:05:06 +0200
parents 02cbc3cf4b32
children e9bbf4462ea8
line wrap: on
line diff
--- a/sat_templates/templates/default/static/styles.css	Sun May 05 20:36:00 2019 +0200
+++ b/sat_templates/templates/default/static/styles.css	Sun May 26 22:05:06 2019 +0200
@@ -1196,7 +1196,22 @@
  * Notifications *
  *****************/
 
+
+.notification {
+    text-align: center;
+    padding: 1em;
+    font-size: 1.2em;
+    font-weight: bold;
+    width: 60%;
+    margin: 1.5em auto;
+}
+
+.notification--warning {
+    background-color: red;
+}
+
 .notification.retry {
+    /* FIXME: inconcistent naming */
     position: fixed;
     top: 1rem;
     margin: auto;