Add more filetypes to eepsite jetty-dir.css

This commit is contained in:
str4d
2017-01-07 16:47:32 +00:00
parent 23f835781c
commit bd69499f8f
6 changed files with 69 additions and 14 deletions

View File

@@ -1,8 +1,14 @@
html {
min-height: 100%;
}
body {
background: #235;
background: #bfbfff;
background: linear-gradient(to bottom, #bfbfff, #dfdfff) !important;
color: #333;
font-family: sans-serif;
margin: 0;
font-size: 10pt;
}
h1 {
@@ -10,23 +16,24 @@ h1 {
font-size: 12pt;
color: #fff;
width: auto;
padding: 5px 5px 5px 30px;
background: #227 url(itoopie.png) 5px center no-repeat;
padding: 7px 5px 7px 30px;
background: #bbf url(itoopie.png) 5px center no-repeat;
background: url(itoopie.png) 5px center no-repeat, linear-gradient(to right, #ddf, #bbf);
background-size: auto 80%, 100% 100%;
}
a {
text-decoration: none;
outline: none;
color: #620;
color: #23b;
}
a:hover, a:focus {
a:hover, a:focus, a:visited:hover, a:visited:focus {
color: #d40;
}
a:visited {
color: #a20;
color: #125;
}
table {
@@ -38,20 +45,23 @@ table {
}
tr {
border: 1px solid #337;
border-top: 1px solid #337;
border-bottom: 1px solid #337;
}
tr:hover td {
background: #ffd;
background: #ffe;
color: #111;
border-top: 1px solid #115;
border-bottom: 1px solid #115;
}
tr:nth-child(odd) {
background: #eee;
background: #efefff;
}
tr:nth-child(even) {
background: #fff;
background: #dfdfff;
}
td {
@@ -69,9 +79,10 @@ td:first-child {
td:last-child {
text-align: right;
font-style: italic;
/* display: none;*/
}
/* filetype icons */
td:first-child a {
display: inline-block;
padding: 0 0 0 25px;
@@ -89,7 +100,11 @@ td:first-child a:hover[href$="/"] {
td:first-child a[href$=".png"],
td:first-child a[href$=".jpg"],
td:first-child a[href$=".gif"] {
td:first-child a[href$=".jpeg"],
td:first-child a[href$=".gif"],
td:first-child a[href$=".tif"],
td:first-child a[href$=".tga"],
td:first-child a[href$=".bmp"] {
background: url(resources/image.png) left center no-repeat;
}
@@ -97,18 +112,31 @@ td:first-child a[href$=".txt"],
td:first-child a[href$=".css"],
td:first-child a[href$=".html"],
td:first-child a[href$=".htm"],
td:first-child a[href$=".css"] {
background: url(resources/image.png) left center no-repeat;
td:first-child a[href$=".js"],
td:first-child a[href$=".log"],
td:first-child a[href$=".nfo"] {
background: url(resources/text.png) left center no-repeat;
}
td:first-child a[href$=".wav"],
td:first-child a[href$=".mp3"],
td:first-child a[href$=".flac"],
td:first-child a[href$=".mpa"],
td:first-child a[href$=".mka"],
td:first-child a[href$=".wma"],
td:first-child a[href$=".pcm"],
td:first-child a[href$=".cda"],
td:first-child a[href$=".ape"] {
background: url(resources/audio.png) left center no-repeat;
}
td:first-child a[href$=".m3u"],
td:first-child a[href$=".m3a"],
td:first-child a[href$=".wpl"] {
background: url(resources/playlist.png) left center no-repeat;
}
td:first-child a[href$=".mpg"],
td:first-child a[href$=".mp4"],
td:first-child a[href$=".mov"],
@@ -119,3 +147,30 @@ td:first-child a[href$=".webm"],
td:first-child a[href$=".divx"] {
background: url(resources/video.png) left center no-repeat;
}
td:first-child a[href$=".zip"],
td:first-child a[href$=".7z"],
td:first-child a[href$=".rar"],
td:first-child a[href$=".tar"],
td:first-child a[href$=".gz"] {
background: url(resources/zip.png) left center no-repeat;
}
td:first-child a[href$=".fla"],
td:first-child a[href$=".swf"] {
background: url(resources/flash.png) left center no-repeat;
}
td:first-child a[href$=".docx"],
td:first-child a[href$=".doc"] {
background: url(resources/word.png) left center no-repeat;
}
td:first-child a[href$=".pdf"] {
background: url(resources/pdf.png) left center no-repeat;
}
td:first-child a[href$=".iso"],
td:first-child a[href$=".nrg"] {
background: url(resources/iso.png) left center no-repeat;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B