X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fcommunicator%2Fdirectory%2Fdirectory.css;h=2107b99106529c67c9bb88a1995eb47a97321a42;hp=fa0976d6b0607a32cf2958ee19150c4e35255e18;hb=8caa872d050772c572257f23011c668f70dcaef7;hpb=b1eaa41997928ca662ce1158215dc02e5b203eb0 diff --git a/LCARStrek/communicator/directory/directory.css b/LCARStrek/communicator/directory/directory.css index fa0976d6..2107b991 100644 --- a/LCARStrek/communicator/directory/directory.css +++ b/LCARStrek/communicator/directory/directory.css @@ -19,7 +19,8 @@ * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Robert Kaiser + * Joe Hewitt + * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or @@ -35,88 +36,75 @@ * * ***** END LICENSE BLOCK ***** */ -@import url(chrome://communicator/skin/); +@import url("chrome://communicator/skin/"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* - Style rules specific to the directory listing window. -*/ +/* ===== directory.css ================================================== + == Styles specific to the directory listing window. + ======================================================================= */ +page { + padding: 0px; +} -/* Hide twisty for files */ -.treecell-indent[type="FILE"] > .tree-cell-twisty { - list-style-image: none; +#tree { + margin: 0px !important; + border: none; } -.treecell-filename { +treechildren::-moz-tree-image(FilenameColumn) { + -moz-margin-end: 2px; list-style-image: url("chrome://communicator/skin/directory/file.gif"); -} - -treeitem[selected="true"] > treerow > .treecell-filename { +} + +treechildren::-moz-tree-image(FilenameColumn, selected) { + -moz-margin-end: 2px; list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); } - -treeitem[container="true"] > treerow > .treecell-filename { + +treechildren::-moz-tree-image(FilenameColumn, container) { list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); } -treeitem[container="true"][selected="true"] > treerow > .treecell-filename { +treechildren::-moz-tree-image(FilenameColumn, container, selected) { list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif"); } -treeitem[container="true"][open="true"] > treerow > .treecell-filename { +treechildren::-moz-tree-image(FilenameColumn, container, open) { list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); } -treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename { +treechildren::-moz-tree-image(FilenameColumn, container, open, selected) { list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif"); } - -/* Show an animated icon when a directory/symlink is loading */ -treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty, -treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty { + +treechildren::-moz-tree-image(FilenameColumn, loading) { list-style-image: url("chrome://global/skin/icons/loading.gif"); } -/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */ -.treecell-filename[type="SYMBOLIC-LINK"] { - color: inherit; - text-decoration: inherit; +treechildren::-moz-tree-cell-text(symbolic-link) { font-style: italic; } -treerow { - min-height: 19px; -} - -/** - * This fixes a bug. As you scroll down in a tree the computed column width - * can change. That would make the columns shift durning scrolling. - * So we give them inital preferred widths so they aren't computed. - */ -#FilenameColumn { - width: 100px; -} +/* ::::: column/row preferred sizes ::::: */ +#FilenameColumn, +#LastModColumn, #ContentLengthColumn { width: 100px; } -#LastModColumn { - width: 100px; -} - -div.server { - color: blue; - display: block; +div.server { + color: blue; + display: block; font-size: 10pt; font-family: sans-serif; } -div.client { - color: red; - display: block; +div.client { + color: red; + display: block; font-size: 10pt; font-family: sans-serif; }