| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | @import url("chrome://communicator/skin/"); |
| 6 | |
| 7 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 8 | |
| 9 | /* ===== directory.css ================================================== |
| 10 | == Styles specific to the directory listing window. |
| 11 | ======================================================================= */ |
| 12 | |
| 13 | page { |
| 14 | padding: 0px; |
| 15 | } |
| 16 | |
| 17 | #tree { |
| 18 | margin: 0px !important; |
| 19 | border: none; |
| 20 | } |
| 21 | |
| 22 | treechildren::-moz-tree-image(FilenameColumn) { |
| 23 | margin-inline-end: 2px; |
| 24 | list-style-image: url("chrome://communicator/skin/directory/file.gif"); |
| 25 | } |
| 26 | |
| 27 | treechildren::-moz-tree-image(FilenameColumn, selected) { |
| 28 | margin-inline-end: 2px; |
| 29 | list-style-image: url("chrome://communicator/skin/directory/file-sel.gif"); |
| 30 | } |
| 31 | |
| 32 | treechildren::-moz-tree-image(FilenameColumn, container) { |
| 33 | list-style-image: url("chrome://communicator/skin/directory/folder-closed.gif"); |
| 34 | } |
| 35 | |
| 36 | treechildren::-moz-tree-image(FilenameColumn, container, selected) { |
| 37 | list-style-image: url("chrome://communicator/skin/directory/folder-closed-sel.gif"); |
| 38 | } |
| 39 | |
| 40 | treechildren::-moz-tree-image(FilenameColumn, container, open) { |
| 41 | list-style-image: url("chrome://communicator/skin/directory/folder-open.gif"); |
| 42 | } |
| 43 | |
| 44 | treechildren::-moz-tree-image(FilenameColumn, container, open, selected) { |
| 45 | list-style-image: url("chrome://communicator/skin/directory/folder-open-sel.gif"); |
| 46 | } |
| 47 | |
| 48 | treechildren::-moz-tree-image(FilenameColumn, loading) { |
| 49 | list-style-image: url("chrome://global/skin/icons/loading.gif"); |
| 50 | } |
| 51 | |
| 52 | treechildren::-moz-tree-cell-text(symbolic-link) { |
| 53 | font-style: italic; |
| 54 | } |
| 55 | |
| 56 | /* ::::: column/row preferred sizes ::::: */ |
| 57 | |
| 58 | #FilenameColumn, |
| 59 | #LastModColumn, |
| 60 | #ContentLengthColumn { |
| 61 | width: 100px; |
| 62 | } |
| 63 | |
| 64 | div.server { |
| 65 | color: blue; |
| 66 | display: block; |
| 67 | font-size: 10pt; |
| 68 | font-family: sans-serif; |
| 69 | } |
| 70 | |
| 71 | div.client { |
| 72 | color: red; |
| 73 | display: block; |
| 74 | font-size: 10pt; |
| 75 | font-family: sans-serif; |
| 76 | } |