summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/notification/notification.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/base/notification/notification.scss')
-rw-r--r--WebContent/VAADIN/themes/base/notification/notification.scss43
1 files changed, 43 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/notification/notification.scss b/WebContent/VAADIN/themes/base/notification/notification.scss
new file mode 100644
index 0000000000..e67ac14050
--- /dev/null
+++ b/WebContent/VAADIN/themes/base/notification/notification.scss
@@ -0,0 +1,43 @@
+@mixin base-notification {
+
+.v-Notification {
+ background: #999;
+ color: #fff;
+ cursor: pointer;
+ overflow: hidden;
+ padding: 1em;
+ max-width:85%;
+
+}
+.v-Notification h1,
+.v-Notification p,
+.v-Notification-error h1,
+.v-Notification-error p,
+.v-Notification-warning h1,
+.v-Notification-warning p {
+ display: inline;
+ margin: 0 0.5em 0 0;
+}
+.v-Notification-warning {
+ background: orange;
+}
+.v-Notification-error {
+ background: red;
+}
+.v-Notification-tray h1 {
+ display: block;
+}
+.v-Notification-tray p {
+ display: block;
+}
+.v-Notification-system {
+ background-color: red;
+ opacity: .7;
+ filter: alpha(opacity=70);
+}
+.v-Notification-system h1 {
+ display: block;
+ margin: 0;
+}
+
+} \ No newline at end of file