summaryrefslogtreecommitdiff
path: root/resources/mediawiki/mediawiki.notification.css
blob: 3aa358acbcbdf12582524fc6b4c1a6640799a7ca (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
/**
 * Stylesheet for mediawiki.notification module
 */

.mw-notification-area {
	position: absolute;
	top: 0;
	right: 0;
	padding: 1em 1em 0 0;
	width: 20em;
	line-height: 1.35;
	z-index: 10000;
}

.mw-notification-area-floating {
	position: fixed;
}

* html .mw-notification-area-floating {
	/* Make it at least 'absolute' in IE6 since 'fixed' is not supported */
	position: absolute;
}

.mw-notification {
	padding: 0.25em 1em;
	margin-bottom: 0.5em;
	border: solid 1px #ddd;
	background-color: #fcfcfc;
	/* Message hides on-click */
	/* See also mediawiki.notification.js */
	cursor: pointer;
}

.mw-notification-title {
	font-weight: bold;
}