X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fcommunicator%2Fdirectory%2Fdirectory.css;h=14ab74e2cea8d46cf351f43d4e6c3495cb28875b;hp=8434d2a2cef4aea7029cd314e62df0ddd1a203e2;hb=f61804909e7809430f23196f4dc2f86fe075852a;hpb=b87c9562a4c728734927c455c6201d13d11c8a9e diff --git a/EarlyBlue/communicator/directory/directory.css b/EarlyBlue/communicator/directory/directory.css index 8434d2a2..14ab74e2 100644 --- a/EarlyBlue/communicator/directory/directory.css +++ b/EarlyBlue/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/"); + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* - - Style rules specific to the directory listing window. - -*/ - -@import url(chrome://communicator/skin/); - -/* 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; +/* ===== directory.css ================================================== + == Styles specific to the directory listing window. + ======================================================================= */ + +page { + padding: 0px; } -#ContentLengthColumn { - width: 100px; +#tree { + margin: 0px !important; + border: none; +} + +treechildren:-moz-tree-image(FilenameColumn) { + margin-right: 2px; + list-style-image: url("chrome://communicator/skin/directory/file.gif"); +} + +treechildren:-moz-tree-image(FilenameColumn, selected) { + margin-right: 2px; + list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); } -#LastModColumn { +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"); +} + +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; }