kt-contenttypes.css
2.62 KB
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
/*
Getting Mime-type CSS right is a bit tricky here.
the idea is that you apply these to a span, as follows:
<span class="contenttype presentation">My Filename</span>
*/
.contenttype {
background-position: 0% 0.5em;
background-repeat: no-repeat;
padding-left: 25px;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 0;
/*This margin-right has been moved to kt-framing
under contenttype_href to fix a display bug in IE 6 */
/*margin-right: 25px;*/
}
.contenttype.office { background-image: url(../../resources/mimetypes/office.png); }
.contenttype.office.shortcut { background-image: url(../../resources/mimetypes/shortcuts/office.png); }
.contenttype.word { background-image: url(../../resources/mimetypes/word.png); }
.contenttype.word.shortcut { background-image: url(../../resources/mimetypes/shortcuts/word.png); }
.contenttype.database { background-image: url(../../resources/mimetypes/database.png); }
.contenttype.database.shortcut { background-image: url(../../resources/mimetypes/shortcuts/database.png); }
.contenttype.excel { background-image: url(../../resources/mimetypes/excel.png); }
.contenttype.excel.shortcut { background-image: url(../../resources/mimetypes/shortcuts/excel.png); }
.contenttype.openoffice { background-image: url(../../resources/mimetypes/openoffice.png); }
.contenttype.openoffice.shortcut { background-image: url(../../resources/mimetypes/shortcuts/openoffice.png); }
.contenttype.opendocument { background-image: url(../../resources/mimetypes/openoffice.png); }
.contenttype.opendocument.shortcut { background-image: url(../../resources/mimetypes/shortcuts/openoffice.png); }
.contenttype.pdf { background-image: url(../../resources/mimetypes/pdf.png); }
.contenttype.pdf.shortcut { background-image: url(../../resources/mimetypes/shortcuts/pdf.png); }
.contenttype.image { background-image: url(../../resources/mimetypes/image.png); }
.contenttype.image.shortcut { background-image: url(../../resources/mimetypes/shortcuts/image.png); }
.contenttype.compressed { background-image: url(../../resources/mimetypes/zip.png); }
.contenttype.compressed.shortcut { background-image: url(../../resources/mimetypes/shortcuts/zip.png); }
.contenttype.html { background-image: url(../../resources/mimetypes/html.png); }
.contenttype.html.shortcut { background-image: url(../../resources/mimetypes/shortcuts/html.png); }
.contenttype.txt,
.contenttype.text,
.contenttype.unspecified_type { background-image: url(../../thirdparty/icon-theme/16x16/mimetypes/text-x-generic.png); }
.contenttype.folder { background-image: url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-normal.png); }