summaryrefslogtreecommitdiffstats
path: root/skins/Vector/skinStyles/mediawiki.notification.less
blob: 783d1898a82374f5a69b74e98eab4d27ead57ae9 (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
@import "../variables";

/* mediawiki.notification */

// This wrapper element is needed to ensure these rules have larger CSS
// selector specificity than default styles
body {
	.mw-notification-area {
		font-size: 0.8em;
	}

	.mw-notification-area-layout {
		top: 7em;
	}

	.mw-notification {
		background-color: #fff;
		background-color: rgba(255, 255, 255, 0.93);
		padding: 0.75em 1.5em;
		border: solid 1px @content-border-color;
		border-radius: 0.75em;
		box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125);
	}

	.mw-notification-type-warn {
		border-color: #f5be00; /* yellow */
		box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125), 0 0 0.75em rgba(245, 190, 0, 0.25) inset;
	}

	.mw-notification-type-error {
		border-color: red;
		box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.125), 0 0 0.75em rgba(255, 0, 0, 0.25) inset;
	}
}