aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-06-09 13:22:25 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-06-16 07:55:23 +0000
commit083923c80f7b343b035d60e2df1b2f68dc214233 (patch)
tree837bb7ea3078bfd99f49b885667bfbb85e40fcc4 /WebContent/VAADIN/themes/base
parent7a92b54724133328998e7c7178b5c298bc88fcd0 (diff)
downloadvaadin-framework-083923c80f7b343b035d60e2df1b2f68dc214233.tar.gz
vaadin-framework-083923c80f7b343b035d60e2df1b2f68dc214233.zip
Notification position should be controllable with CSS (#13990)
Change-Id: Ic04f97d00745c2b7d1b4c143b2a458ab47188fd2
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r--WebContent/VAADIN/themes/base/notification/notification.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/notification/notification.scss b/WebContent/VAADIN/themes/base/notification/notification.scss
index aa70a167dc..6eafcda6bc 100644
--- a/WebContent/VAADIN/themes/base/notification/notification.scss
+++ b/WebContent/VAADIN/themes/base/notification/notification.scss
@@ -44,6 +44,25 @@
@include animation(animate-out 400ms 1s);
}
+.#{$primaryStyleName} {
+ &.v-position-top {
+ top: 0;
+ }
+ &.v-position-right {
+ right: 0;
+ }
+ &.v-position-bottom {
+ bottom: 0;
+ }
+ &.v-position-left {
+ left: 0;
+ }
+ &.v-position-assistive {
+ top: -9999px;
+ left: -9999px;
+ }
+}
+
}
@include keyframes(animate-out) {