mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Avoids this CSS being applied to other browers such as Firefox and IE where it causes tree misalignment of dirs
26 lines
1.1 KiB
CSS
26 lines
1.1 KiB
CSS
.fileManager {
|
|
margin: 0 0 15px 20px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.fileManager span {font-family: helvetica, arial, swiss, verdana; padding: 1px 3px; border-radius: 3px}
|
|
.fileManager a {color: #eee; text-decoration: none; cursor: pointer}
|
|
.fileManager .pft-directory, .fileManager .pft-file {list-style-image: url(../images/blank.gif)}
|
|
.fileManager ul, .fileManager li {margin-left: 15px; white-space: nowrap}
|
|
|
|
/* 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: -20px; background:url(../images/file-folder-icons.png) no-repeat 0 0;
|
|
}
|
|
.fileManager LI.dirOpen:before {background-position: -16px 0}
|
|
|
|
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) { /* 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: -32px 0}
|