summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/notification
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-11-23 12:32:08 +0200
committerMarc Englund <marc@vaadin.com>2012-11-23 12:50:53 +0200
commitbd2caa54a548d7284e91cb7e87472deb2dcec42d (patch)
treef800bc5a9a4f847b22637106ea848b3397d5ec05 /WebContent/VAADIN/themes/base/notification
parent8b90d2e2d32e63411e44932fffbe8a06cf1dcb8b (diff)
downloadvaadin-framework-bd2caa54a548d7284e91cb7e87472deb2dcec42d.tar.gz
vaadin-framework-bd2caa54a548d7284e91cb7e87472deb2dcec42d.zip
Change sass compoent @mixin parameter from $name to $primaryStyleName, fixes #10294
Change-Id: I548fdd3b0295db980bc4d769826e7c149ec0b3b3
Diffstat (limited to 'WebContent/VAADIN/themes/base/notification')
-rw-r--r--WebContent/VAADIN/themes/base/notification/notification.scss28
1 files changed, 14 insertions, 14 deletions
diff --git a/WebContent/VAADIN/themes/base/notification/notification.scss b/WebContent/VAADIN/themes/base/notification/notification.scss
index 350db1a75f..9751422fb7 100644
--- a/WebContent/VAADIN/themes/base/notification/notification.scss
+++ b/WebContent/VAADIN/themes/base/notification/notification.scss
@@ -1,6 +1,6 @@
-@mixin base-notification($name : v-Notification) {
+@mixin base-notification($primaryStyleName : v-Notification) {
-.#{$name} {
+.#{$primaryStyleName} {
background: #999;
color: #fff;
cursor: pointer;
@@ -9,33 +9,33 @@
max-width:85%;
}
-.#{$name} h1,
-.#{$name} p,
-.#{$name}-error h1,
-.#{$name}-error p,
-.#{$name}-warning h1,
-.#{$name}-warning p {
+.#{$primaryStyleName} h1,
+.#{$primaryStyleName} p,
+.#{$primaryStyleName}-error h1,
+.#{$primaryStyleName}-error p,
+.#{$primaryStyleName}-warning h1,
+.#{$primaryStyleName}-warning p {
display: inline;
margin: 0 0.5em 0 0;
}
-.#{$name}-warning {
+.#{$primaryStyleName}-warning {
background: orange;
}
-.#{$name}-error {
+.#{$primaryStyleName}-error {
background: red;
}
-.#{$name}-tray h1 {
+.#{$primaryStyleName}-tray h1 {
display: block;
}
-.#{$name}-tray p {
+.#{$primaryStyleName}-tray p {
display: block;
}
-.#{$name}-system {
+.#{$primaryStyleName}-system {
background-color: red;
opacity: .7;
filter: alpha(opacity=70);
}
-.#{$name}-system h1 {
+.#{$primaryStyleName}-system h1 {
display: block;
margin: 0;
}