summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base
diff options
context:
space:
mode:
authorDenis Anisimov <denis@vaadin.com>2014-11-09 16:24:06 +0200
committerVaadin Code Review <review@vaadin.com>2015-05-11 07:41:18 +0000
commit244faff333b77dca3fadfe964b646ff7d0eceb2f (patch)
tree6554bfe9d0c7404117b2845bc9f93f5fbd624f27 /WebContent/VAADIN/themes/base
parent4eb495cac3f006b9f1aa525f04025401734a3550 (diff)
downloadvaadin-framework-244faff333b77dca3fadfe964b646ff7d0eceb2f.tar.gz
vaadin-framework-244faff333b77dca3fadfe964b646ff7d0eceb2f.zip
Notification styles should be scoped more eagerly (#14872)
Change-Id: Ifb648b8913c9999d3c0c855f05f79c8356577887
Diffstat (limited to 'WebContent/VAADIN/themes/base')
-rw-r--r--WebContent/VAADIN/themes/base/notification/notification.scss18
1 files changed, 9 insertions, 9 deletions
diff --git a/WebContent/VAADIN/themes/base/notification/notification.scss b/WebContent/VAADIN/themes/base/notification/notification.scss
index a91e26947d..7f7262b1b4 100644
--- a/WebContent/VAADIN/themes/base/notification/notification.scss
+++ b/WebContent/VAADIN/themes/base/notification/notification.scss
@@ -10,12 +10,12 @@
opacity: .9;
filter: alpha(opacity=90);
}
-.#{$primaryStyleName} h1,
-.#{$primaryStyleName} p,
-.#{$primaryStyleName}-error h1,
-.#{$primaryStyleName}-error p,
-.#{$primaryStyleName}-warning h1,
-.#{$primaryStyleName}-warning p {
+.#{$primaryStyleName} .#{$primaryStyleName}-caption,
+.#{$primaryStyleName} .#{$primaryStyleName}-description,
+.#{$primaryStyleName}-error .#{$primaryStyleName}-caption,
+.#{$primaryStyleName}-error .#{$primaryStyleName}-description,
+.#{$primaryStyleName}-warning .#{$primaryStyleName}-caption,
+.#{$primaryStyleName}-warning .#{$primaryStyleName}-description {
display: inline;
margin: 0 0.5em 0 0;
}
@@ -25,16 +25,16 @@
.#{$primaryStyleName}-error {
background: red;
}
-.#{$primaryStyleName}-tray h1 {
+.#{$primaryStyleName}-tray .#{$primaryStyleName}-caption {
display: block;
}
-.#{$primaryStyleName}-tray p {
+.#{$primaryStyleName}-tray .#{$primaryStyleName}-description {
display: block;
}
.#{$primaryStyleName}-system {
background-color: red;
}
-.#{$primaryStyleName}-system h1 {
+.#{$primaryStyleName}-system .#{$primaryStyleName}-caption {
display: block;
margin: 0;
}