summaryrefslogtreecommitdiff
blob: 4ac921a7898f48235ad5b94f66447d483a910a56 (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
53
54
55
56
57
58
59
60
61
62
/**
 * Introduces a toggle icon than can be used to hide navigation menu in vector
 * @author Niklas Laxström
 * @license GPL-2.0-or-later
 */

.tux-navitoggle {
	height: 40px;
	width: 20px;
	position: absolute;
	top: 0;
	z-index: 10000000004;
	cursor: pointer;
}

.tux-navitoggle {
	background: no-repeat scroll right center transparent;
	/* @embed */
	background-image: linear-gradient( transparent, transparent ), url( ../images/expand-rtl.svg );
}

.tux-navi-collapsed .tux-navitoggle {
	background: no-repeat scroll right center transparent;
	/* @embed */
	background-image: linear-gradient( transparent, transparent ), url( ../images/expand-ltr.svg );
}

.tux-navi-collapsed #mw-panel {
	display: none;
}

.tux-navi-collapsed #content {
	margin-left: 0;
}

.tux-navi-collapsed #left-navigation {
	left: 0;
}

.tux-navi-collapsed .tux-navitoggle {
	left: 40px !important;
}

.tux-navi-minilogo {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}

.tux-navi-collapsed .tux-navi-minilogo {
	display: block;
}

.tux-navi-minilogo a {
	width: 40px;
	height: 40px;
	background-size: 30px;
	display: block;
	background-repeat: no-repeat;
	background-position: center center;
}