summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.navitoggle.css
blob: afe45f4bb41cc50a2540699abbdacfc5962b2e04 (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
/**
 * 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 {
	background: no-repeat scroll right center transparent;
	/* @embed */
	background-image: linear-gradient( transparent, transparent ), url( ../images/expand-rtl.svg );
	height: 40px;
	width: 20px;
	position: absolute;
	top: 0;
	z-index: 10000000004;
	cursor: pointer;
}

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

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

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

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

.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;
}