summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/css/ext.translate.navitoggle.css
blob: 96882ad7cf8cb226dea6888e4aaa1706159906f1 (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
63
64
/**
 * Introduces a toggle icon than can be used to hide navigation menu in vector
 * @author Niklas Laxström
 * @license GPL-2.0+
 */

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

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

.tux-navi-collapsed .tux-navitoggle {
	background: url('../images/expand-ltr.png') no-repeat scroll right center transparent;
	background-image: -webkit-linear-gradient(transparent, transparent), url(../images/expand-ltr.svg);
	/* @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;
}