diff options
author | Denis Anisimov <denis@vaadin.com> | 2014-11-09 16:24:06 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-05-11 07:41:18 +0000 |
commit | 244faff333b77dca3fadfe964b646ff7d0eceb2f (patch) | |
tree | 6554bfe9d0c7404117b2845bc9f93f5fbd624f27 /WebContent/VAADIN/themes/chameleon | |
parent | 4eb495cac3f006b9f1aa525f04025401734a3550 (diff) | |
download | vaadin-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/chameleon')
-rw-r--r-- | WebContent/VAADIN/themes/chameleon/components/notification/notification.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/components/notification/notification.scss b/WebContent/VAADIN/themes/chameleon/components/notification/notification.scss index c1a8d119c7..a1454ccfad 100644 --- a/WebContent/VAADIN/themes/chameleon/components/notification/notification.scss +++ b/WebContent/VAADIN/themes/chameleon/components/notification/notification.scss @@ -13,7 +13,7 @@ div.#{$primaryStyleName} { background:rgba(255,255,255,.90) url(../../img/grad-light-top.png) repeat-x; } -.#{$primaryStyleName} p { +.#{$primaryStyleName}-description { line-height: 1.3; } @@ -23,7 +23,7 @@ div.#{$primaryStyleName}-warning { border: 2px solid #fee3af; } -div.#{$primaryStyleName}-warning h1 { +div.#{$primaryStyleName}-warning .#{$primaryStyleName}-caption { padding-left: 44px; background: transparent url(../../img/label-warning-icon-big.png) no-repeat 0 50%; } @@ -35,7 +35,7 @@ div.#{$primaryStyleName}-error { border: 2px solid #ca3030; } -div.#{$primaryStyleName}-error h1 { +div.#{$primaryStyleName}-error .#{$primaryStyleName}-caption { padding-left: 44px; background: transparent url(../../img/label-error-icon-big.png) no-repeat 0 50%; } @@ -52,12 +52,12 @@ div.#{$primaryStyleName}-tray { text-shadow: 0 1px 1px rgba(0,0,0,.5); } -.#{$primaryStyleName}-tray h1 { +.#{$primaryStyleName}-tray .#{$primaryStyleName}-caption { font-size: 14px; line-height: 18px; } -.#{$primaryStyleName}-tray p { +.#{$primaryStyleName}-tray .#{$primaryStyleName}-description { font-size: 12px; font-weight: normal; } @@ -68,4 +68,4 @@ div.#{$primaryStyleName}-system { background-color: #b40000; } -}
\ No newline at end of file +} |