summaryrefslogtreecommitdiff
path: root/skins/vector/externalLinks.less
blob: 5b02abbd7ccce4ff87583ef39220062f8ab87456 (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
65
66
67
68
69
70
71
72
73
74
75
// FIXME: This size of this CSS is ridiculous. Please refactor (see bug 54604)
@import "mediawiki.mixins.less";

div#content a.external {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/external-link-ltr-icon.png');
	padding-right: 13px;
}
div#content a.external[href ^="https://"],
.link-https {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/lock-icon.png');
	padding-right: 13px;
}
div#content a.external[href ^="mailto:"],
.link-mailto {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/mail-icon.png');
	padding-right: 13px;
}
div#content a.external[href ^="news:"] {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/news-icon.png');
	padding-right: 13px;
}
div#content a.external[href ^="ftp://"],
.link-ftp {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/file-icon.png');
	padding-right: 13px;
}
div#content a.external[href ^="irc://"],
div#content a.external[href ^="ircs://"],
.link-irc {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/talk-icon.png');
	padding-right: 13px;
}
div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
.link-audio {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/audio-icon.png');
	padding-right: 13px;
}
div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
.link-video {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/video-icon.png');
	padding-right: 13px;
}
div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
.link-document {
	background-position: center right;
	background-repeat: no-repeat;
	.background-image('images/document-icon.png');
	padding-right: 13px;
}