File: mmv.bootstrap.less

package info (click to toggle)
mediawiki 1%3A1.39.13-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320,416 kB
  • sloc: php: 815,516; javascript: 601,264; sql: 11,218; python: 4,863; xml: 3,080; sh: 990; ruby: 82; makefile: 78
file content (66 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.mw-mmv-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	background-color: #000;
}

body.mw-mmv-lightbox-open {
	overflow-y: auto;

	// Stop the article from scrolling in the background
	> *:not( .mw-notification-area-overlay ) {
		display: none;
	}

	> .mw-mmv-overlay,
	> .mw-mmv-wrapper {
		display: block;
	}
}

.mw-mmv-filepage-buttons {
	margin-top: 5px;

	.mw-mmv-view-expanded,
	.mw-mmv-view-config {
		display: block;
		// Work around some weirdness of MW-UI buttons. T127052
		line-height: inherit;
	}

	.mw-mmv-view-expanded .mw-ui-icon:before {
		/* @embed */
		background-image: url( img/expand.svg );
	}

	.mw-mmv-view-config .mw-ui-icon:before {
		/* @embed */
		background-image: url( img/gear.svg );
		margin-right: 0;
		opacity: 0.75;

		&:hover {
			opacity: 1;
		}
	}

	.mw-mmv-view-config {

		.mw-ui-icon span {
			display: none;
		}
	}
}

.mw-mmv-button {
	background-color: transparent;
	min-width: 0;
	border: 0;
	padding: 0;
	overflow-x: hidden;
	text-indent: -9999em;
}