summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/Toolbar.less
blob: 42eeeaa59e1831be9598ba9ed5945abbfabd0883 (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
50
51
52
@import 'common';

.oo-ui-toolbar {
	clear: both;

	&-bar {
		line-height: 1em;
		position: relative;
	}

	&-actions {
		float: right;

		.oo-ui-toolbar {
			display: inline-block;
		}
	}

	&-tools {
		display: inline;
		white-space: nowrap;

		.oo-ui-toolbar-narrow & {
			white-space: normal;
		}

		// Tools like PopupToolGroup can have a lot of content, which should be wrapped normally
		.oo-ui-tool {
			white-space: normal;
		}
	}

	&-tools,
	&-actions,
	&-shadow {
		.oo-ui-unselectable();
	}

	&-actions .oo-ui-popupWidget {
		.oo-ui-selectable();
	}

	&-shadow {
		background-position: left top;
		background-repeat: repeat-x;
		position: absolute;
		width: 100%;
		pointer-events: none;
	}

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