summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/notification/notification.scss
blob: 350db1a75ffddd87b164e7b42ada931b7411d715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@mixin base-notification($name : v-Notification) {

.#{$name} {
	background: #999;
	color: #fff;
	cursor: pointer;
	overflow: hidden;
	padding: 1em;
	max-width:85%;
	
}
.#{$name} h1,
.#{$name} p,
.#{$name}-error h1,
.#{$name}-error p,
.#{$name}-warning h1,
.#{$name}-warning p {
	display: inline;
	margin: 0 0.5em 0 0;
}
.#{$name}-warning {
	background: orange;
}
.#{$name}-error {
	background: red;
}
.#{$name}-tray h1 {
	display: block;
}
.#{$name}-tray p {
	display: block;
}
.#{$name}-system {
	background-color: red;
	opacity: .7;
	filter: alpha(opacity=70);
}
.#{$name}-system h1 {
	display: block;
	margin: 0;
}

}