forked from gfk-ba/meteor-notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notifications.less
executable file
·75 lines (70 loc) · 1.41 KB
/
notifications.less
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
@screen-sm: 1024px;
//Override or add extra styling for standard bootstrap alert boxes
ul.notifications {
z-index: 10001 !important;
position: absolute;
top: 0;
right: 10px;
list-style-type: none;
padding: 0;
width: 600px;
@media(max-width: @screen-sm) {
width: 80%;
}
}
li.notification {
border-radius: 3px;
padding: 14px;
margin: 10px auto 0;
color: #fff;
position: relative;
a {
&, &:hover, &:visited {
color: white;
}
}
&.error {
background-color: #F0342B;
}
&.warning {
background-color: #f5a93a;
}
&.info {
background-color: #A6C5D0;
}
&.success {
background-color: #A5DD8C;
}
& div.title {
top: 0;
font-weight: bold;
margin-bottom: 5px;
}
& div.message {
bottom: 0;
vertical-align: middle;
a {
text-decoration: underline !important;
}
}
& div.closeButton {
top: 0px;
right: 10px;
position:absolute;
font-weight: bold;
font-size: 20px;
}
&.closeable {
cursor:pointer;
}
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.notifications li.notification.notificationHidden {
display: none;
visibility: visible;
}