blob: aa70a167dc0671b80563091aadcf380f99b896ad (
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
44
45
46
47
48
49
50
51
52
53
|
@mixin base-notification($primaryStyleName : v-Notification) {
.#{$primaryStyleName} {
background: #999;
color: #fff;
cursor: pointer;
overflow: hidden;
padding: 1em;
max-width:85%;
opacity: .9;
filter: alpha(opacity=90);
}
.#{$primaryStyleName} h1,
.#{$primaryStyleName} p,
.#{$primaryStyleName}-error h1,
.#{$primaryStyleName}-error p,
.#{$primaryStyleName}-warning h1,
.#{$primaryStyleName}-warning p {
display: inline;
margin: 0 0.5em 0 0;
}
.#{$primaryStyleName}-warning {
background: orange;
}
.#{$primaryStyleName}-error {
background: red;
}
.#{$primaryStyleName}-tray h1 {
display: block;
}
.#{$primaryStyleName}-tray p {
display: block;
}
.#{$primaryStyleName}-system {
background-color: red;
opacity: .7;
filter: alpha(opacity=70);
}
.#{$primaryStyleName}-system h1 {
display: block;
margin: 0;
}
.#{$primaryStyleName}-animate-out {
@include animation(animate-out 400ms 1s);
}
}
@include keyframes(animate-out) {
100% {
opacity: 0;
}
}
|