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

.oo-ui-dropdownWidget {
	display: inline-block;
	position: relative;

	&-handle {
		width: 100%;
		display: inline-block;
		cursor: pointer;

		.oo-ui-unselectable();
		.oo-ui-box-sizing(border-box);

		.oo-ui-indicatorElement-indicator,
		.oo-ui-iconElement-icon {
			position: absolute;
			background-position: center center;
			background-repeat: no-repeat;
		}
	}

	> .oo-ui-menuSelectWidget {
		z-index: 1;
		width: 100%;
	}

	&.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
		cursor: default;
	}

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