summaryrefslogtreecommitdiff
path: root/vendor/oojs/oojs-ui/src/styles/elements/DraggableElement.less
blob: 3f3827660d4bde8dd81fe25b8c0b3d4995f5eb1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@import '../common';

.oo-ui-draggableElement {
	cursor: -webkit-grab -moz-grab, url(images/grab.cur), move;

	&-dragging {
		cursor: -webkit-grabbing -moz-grabbing, url(images/grabbing.cur), move;
		background: rgba( 0, 0, 0, 0.2 );
		opacity: 0.4;
	}

	/*
	 * HACK: In order to style horizontally, we must override
	 * OO.ui.OptionWidget's display rule that is currently set
	 * to be 'block'
	 */
	.oo-ui-draggableGroupElement-horizontal &.oo-ui-optionWidget {
		display: inline-block;
	}

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