diff --git a/images/file-manager-icons.png b/images/file-manager-icons.png index eb101eb..275784f 100644 Binary files a/images/file-manager-icons.png and b/images/file-manager-icons.png differ diff --git a/lib/files.css b/lib/files.css index 4b031b8..0c0371e 100644 --- a/lib/files.css +++ b/lib/files.css @@ -19,7 +19,7 @@ table, caption, tbody, tfoot, thead, tr, th, td { body {margin: 0; overflow: auto} -.refresh {float: right; margin-right: 15px; cursor: pointer} +.refresh {position: fixed; right: 0; margin-right: 15px; cursor: pointer} .fileManager { margin: 15px 0 15px 22px; @@ -34,38 +34,40 @@ body {margin: 0; overflow: auto} .fileManager .open {font-style: italic} .fileManager .closed {font-style: normal} .fileManager .pft-directory, .fileManager .pft-file {list-style-image: url(../images/blank.gif)} -.fileManager li {margin-left: 15px} +.fileManager ul, .fileManager li {margin-left: 15px} /* Default file */ .fileManager LI.pft-directory:before, .fileManager LI.pft-file:before { position: absolute; display: block; width: 16px; height: 16px; content: ""; margin-top: -2px; margin-left: -23px; background:url(../images/file-manager-icons.png) no-repeat 0 0; } +.fileManager LI.dirOpen:before {background-position: -16px 0} + @media screen and (-webkit-min-device-pixel-ratio:0) { /* hacked for chrome and safari */ .fileManager LI.pft-directory:before, .fileManager LI.pft-file:before { margin-top: -19px; } } -.fileManager LI.pft-file:before {background-position: -16px 0} +.fileManager LI.pft-file:before {background-position: -32px 0} /* Additional file types */ -.fileManager LI.ext-coffee:before {background-position: -32px 0} -.fileManager LI.ext-css:before {background-position: -48px 0} -.fileManager LI.ext-gif:before {background-position: -64px 0} -.fileManager LI.ext-htm:before {background-position: -80px 0} -.fileManager LI.ext-html:before {background-position: -80px 0} -.fileManager LI.ext-jpg:before {background-position: -96px 0} -.fileManager LI.ext-jpeg:before {background-position: -96px 0} -.fileManager LI.ext-js:before {background-position: -112px 0} +.fileManager LI.ext-coffee:before {background-position: -48px 0} +.fileManager LI.ext-css:before {background-position: -64px 0} +.fileManager LI.ext-gif:before {background-position: -80px 0} +.fileManager LI.ext-htm:before {background-position: -96px 0} +.fileManager LI.ext-html:before {background-position: -96px 0} +.fileManager LI.ext-jpg:before {background-position: -112px 0} +.fileManager LI.ext-jpeg:before {background-position: -112px 0} +.fileManager LI.ext-js:before {background-position: -128px 0} /*.fileManager LI.ext-pdf:before {background-position: -???px 0} */ -.fileManager LI.ext-less:before {background-position: -128px 0} -.fileManager LI.ext-php:before {background-position: -144px 0} -.fileManager LI.ext-png:before {background-position: -160px 0} -.fileManager LI.ext-rb:before {background-position: -176px 0} -.fileManager LI.ext-rbx:before {background-position: -176px 0} -.fileManager LI.ext-rhtml:before {background-position: -176px 0} -.fileManager LI.ext-ruby:before {background-position: -176px 0} +.fileManager LI.ext-less:before {background-position: -144px 0} +.fileManager LI.ext-php:before {background-position: -160px 0} +.fileManager LI.ext-png:before {background-position: -176px 0} +.fileManager LI.ext-rb:before {background-position: -192px 0} +.fileManager LI.ext-rbx:before {background-position: -192px 0} +.fileManager LI.ext-rhtml:before {background-position: -192px 0} +.fileManager LI.ext-ruby:before {background-position: -192px 0} /*.fileManager LI.ext-sql:before {background-position: -???px 0} */ /*.fileManager LI.ext-swf:before {background-position: -???px 0} */ -.fileManager LI.ext-txt:before {background-position: -192px 0} +.fileManager LI.ext-txt:before {background-position: -208px 0} /*.fileManager LI.ext-xml:before {background-position: -???px 0} */ -.fileManager LI.ext-zip:before {background-position: -208px 0} \ No newline at end of file +.fileManager LI.ext-zip:before {background-position: -224px 0} \ No newline at end of file