X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fcommunicator%2Fdirectory%2Fdirectory.css;h=2107b99106529c67c9bb88a1995eb47a97321a42;hp=165983afff5b5212295966e07ba2ee640f4f71e0;hb=8caa872d050772c572257f23011c668f70dcaef7;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/communicator/directory/directory.css b/LCARStrek/communicator/directory/directory.css index 165983af..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,98 +36,75 @@ * * ***** END LICENSE BLOCK ***** */ -/* +@import url("chrome://communicator/skin/"); - Style rules specific to the directory listing window. +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -*/ +/* ===== directory.css ================================================== + == Styles specific to the directory listing window. + ======================================================================= */ -@import url(chrome://communicator/skin/); +page { + padding: 0px; +} -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +#tree { + margin: 0px !important; + border: none; +} -/* Hide twisty for files */ -.treecell-indent[type="FILE"] > .tree-cell-twisty - { - list-style-image : none; - } - -.treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-icon.gif"); - } - -treeitem[selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif"); - } - -treeitem[container="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif"); - } -treeitem[container="true"][selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif"); - } - -treeitem[container="true"][open="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif"); - } -treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename - { - list-style-image : url("chrome://communicator/skin/directory/file-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 - { - list-style-image : url("chrome://global/skin/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; - 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; +treechildren::-moz-tree-image(FilenameColumn) { + -moz-margin-end: 2px; + list-style-image: url("chrome://communicator/skin/directory/file.gif"); } -#ContentLengthColumn { - width: 100px; +treechildren::-moz-tree-image(FilenameColumn, selected) { + -moz-margin-end: 2px; + list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); +} + +treechildren::-moz-tree-image(FilenameColumn, container) { + list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); +} + +treechildren::-moz-tree-image(FilenameColumn, container, selected) { + list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif"); } -#LastModColumn { +treechildren::-moz-tree-image(FilenameColumn, container, open) { + list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); +} + +treechildren::-moz-tree-image(FilenameColumn, container, open, selected) { + list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif"); +} + +treechildren::-moz-tree-image(FilenameColumn, loading) { + list-style-image: url("chrome://global/skin/icons/loading.gif"); +} + +treechildren::-moz-tree-cell-text(symbolic-link) { + font-style: italic; +} + +/* ::::: column/row preferred sizes ::::: */ + +#FilenameColumn, +#LastModColumn, +#ContentLengthColumn { 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; }