summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/MultimediaViewer/resources/mmv/ui/mmv.ui.dialog.less
blob: cccbfac3ee9d0719a2d746ec00899ccfd4d623d3 (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
@import '../mmv.mixins';
@import '../mmv.globals';

@background-color: #fff;
@dialog-width: 450px;
@box-shadow-dialog: 0 2px 2px 0 darken( @background-color, 33.3% );

.mw-mmv-dialog {
	position: fixed;
	right: 58px;
	display: none;
	width: @dialog-width;
	height: @dialog-height;
	background-color: @background-color;
	box-shadow: @box-shadow-dialog;
	border-radius: @border-radius;
	z-index: 1004;

	.mw-mmv-dialog-down-arrow {
		right: 48px;
		background-color: @background-color;
		width: @arrow-size;
		height: @arrow-size;
		.rotate( -45deg );
		position: fixed;
	}

	.mw-mmv-dialog-copy {
		/* @embed */
		background-image: url( img/pasting.svg );
		background-size: contain;
		background-position: right center;
		background-repeat: no-repeat;

		&:hover {
			/* @embed */
			background-image: url( img/pasting-hover.svg );
			text-decoration: none;
		}
	}

	.mw-mmv-dialog-warning {
		background-color: @dialog-warning-color;
	}
}