kt-contenttypes.css 2.9 KB
/*
    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.txt_shortcut,
.contenttype.text_shortcut,
.contenttype.unspecified_type_shortcut { background-image: url(../../resources/mimetypes/shortcuts/text-x-generic.png); }

.contenttype.folder { background-image: url(../../thirdparty/icon-theme/16x16/mimetypes/x-directory-normal.png); }
.contenttype.folder_shortcut { background-image: url(../../resources/mimetypes/shortcuts/x-directory-normal.png); }