diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2014-06-09 13:22:25 +0300 |
---|---|---|
committer | Jouni Koivuviita <jouni@vaadin.com> | 2014-06-16 07:55:23 +0000 |
commit | 083923c80f7b343b035d60e2df1b2f68dc214233 (patch) | |
tree | 837bb7ea3078bfd99f49b885667bfbb85e40fcc4 /WebContent/VAADIN/themes/tests-valo | |
parent | 7a92b54724133328998e7c7178b5c298bc88fcd0 (diff) | |
download | vaadin-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/tests-valo')
-rw-r--r-- | WebContent/VAADIN/themes/tests-valo/styles.css | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/WebContent/VAADIN/themes/tests-valo/styles.css b/WebContent/VAADIN/themes/tests-valo/styles.css index 2e0c1b6143..3fb0b502e8 100644 --- a/WebContent/VAADIN/themes/tests-valo/styles.css +++ b/WebContent/VAADIN/themes/tests-valo/styles.css @@ -4428,14 +4428,17 @@ h4, text-align: left; white-space: normal; line-height: 1.55; } -.tests-valo .v-Notification[style*=" top: 0"] { - margin-top: 12px !important; } -.tests-valo .v-Notification[style*="right: 0"] { - margin-right: 12px; } -.tests-valo .v-Notification[style*="bottom: 0"] { - margin-bottom: 12px; } -.tests-valo .v-Notification[style*=" left: 0"] { - margin-left: 12px !important; } +.tests-valo .v-Notification.v-position-top { + top: 12px; } +.tests-valo .v-Notification.v-position-right { + right: 12px; } +.tests-valo .v-Notification.v-position-bottom { + bottom: 12px; } +.tests-valo .v-Notification.v-position-left { + left: 12px; } +.tests-valo .v-Notification.v-position-assistive { + top: -9999px; + top: -9999px; } .tests-valo .v-Notification[style*=" top: 0"] { -webkit-animation: valo-anim-slide-down 600ms; -moz-animation: valo-anim-slide-down 600ms; |