summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/widgets/PopupWidget.less
blob: d8fdd40ceefb340d2b3d0affdf7089f6d8d47e6a (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
@import '../common';

.oo-ui-popupWidget {
	position: absolute;
	/* @noflip */
	left: 0;

	&-popup {
		position: relative;
		overflow: hidden;
		z-index: 1;
	}

	&-anchor {
		display: none;
		z-index: 1;
	}

	&-anchored {
		.oo-ui-popupWidget-anchor {
			display: block;
			position: absolute;
			top: 0;
			/* @noflip */
			left: 0;
			background-repeat: no-repeat;
		}
	}

	&-head {
		.oo-ui-unselectable();

		.oo-ui-buttonWidget {
			float: right;
		}

		.oo-ui-labelElement-label {
			float: left;
			cursor: default;
		}
	}

	&-body {
		clear: both;
		overflow: hidden;
	}

	.theme-oo-ui-popupWidget();
}