Notification.less
3.54 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// notification
.@{prefix}-notification {
position: absolute;
background-color: @notification-bg;
padding: 5px;
margin-top: 5px;
border-width: 1px;
border-style: solid;
border-color: @notification-border;
transition: transform 100ms ease-in, opacity 150ms ease-in;
opacity: 0;
}
.@{prefix}-notification.@{prefix}-in {
opacity: 1;
}
.@{prefix}-notification-success {
background-color: @notification-success-bg;
border-color: @notification-success-border;
}
.@{prefix}-notification-info {
background-color: @notification-info-bg;
border-color: @notification-info-border;
}
.@{prefix}-notification-warning {
background-color: @notification-warning-bg;
border-color: @notification-warning-border;
}
.@{prefix}-notification-error {
background-color: @notification-error-bg;
border-color: @notification-error-border;
}
.@{prefix}-notification.@{prefix}-has-close {
padding-right: 15px;
}
.@{prefix}-notification .@{prefix}-ico {
margin-top: 5px;
}
.@{prefix}-notification-inner {
display: inline-block;
font-size: @notification-font-size;
margin: 5px 8px 4px 8px;
text-align: center;
white-space: normal;
color: @notification-info-text;
}
.@{prefix}-notification-inner a {
text-decoration: underline;
cursor: pointer;
}
.@{prefix}-notification .@{prefix}-progress {
margin-right: 8px;
}
.@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
margin-top: 5px;
}
.@{prefix}-notification *, .@{prefix}-notification .@{prefix}-progress .@{prefix}-text {
color: @notification-text;
}
.@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container {
border-color: @notification-border;
}
.@{prefix}-notification .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
background-color: @notification-text;
}
.@{prefix}-notification-success *, .@{prefix}-notification-success .@{prefix}-progress .@{prefix}-text {
color: @notification-success-text;
}
.@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container {
border-color: @notification-success-border;
}
.@{prefix}-notification-success .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
background-color: @notification-success-text;
}
.@{prefix}-notification-info *, .@{prefix}-notification-info .@{prefix}-progress .@{prefix}-text {
color: @notification-info-text;
}
.@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container {
border-color: @notification-info-border;
}
.@{prefix}-notification-info .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
background-color: @notification-info-text;
}
.@{prefix}-notification-warning *, .@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-text {
color: @notification-warning-text;
}
.@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container {
border-color: @notification-warning-border;
}
.@{prefix}-notification-warning .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
background-color: @notification-warning-text;
}
.@{prefix}-notification-error *, .@{prefix}-notification-error .@{prefix}-progress .@{prefix}-text {
color: @notification-error-text;
}
.@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container {
border-color: @notification-error-border;
}
.@{prefix}-notification-error .@{prefix}-progress .@{prefix}-bar-container .@{prefix}-bar {
background-color: @notification-error-text;
}
.@{prefix}-notification .@{prefix}-close {
position: absolute;
top: 6px;
right: 8px;
font-size: 20px;
font-weight: bold;
line-height: 20px;
color: @window-head-close;
cursor: pointer;
// IE7
height: 20px;
overflow: hidden;
}