| 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 | /* ===== filepicker.css ================================================= |
| 6 | == Styles used by the File Picker dialog. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @import url("chrome://global/skin/"); |
| 10 | |
| 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 12 | |
| 13 | /* ::::: column widths ::::: */ |
| 14 | |
| 15 | #FilenameColumn, |
| 16 | #ContentLengthColumn, |
| 17 | #LastModifiedDateColumn { |
| 18 | width: 100px; |
| 19 | } |
| 20 | |
| 21 | /* ::::: file/directory items ::::: */ |
| 22 | |
| 23 | treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), |
| 24 | treechildren::-moz-tree-image(FilenameColumn, directory) { |
| 25 | list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); |
| 26 | } |
| 27 | |
| 28 | treechildren::-moz-tree-image(treecolAutoCompleteValue, file), |
| 29 | treechildren::-moz-tree-image(FilenameColumn, file) { |
| 30 | list-style-image: url("chrome://global/skin/filepicker/file.gif"); |
| 31 | } |
| 32 | |
| 33 | /* ::::: button items ::::: */ |
| 34 | |
| 35 | .up-button { |
| 36 | list-style-image: url("chrome://global/skin/filepicker/folder-up.gif"); |
| 37 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 38 | min-height: 0%; |
| 39 | max-width: 26px; |
| 40 | } |
| 41 | |
| 42 | .up-button:hover { |
| 43 | list-style-image: url("chrome://global/skin/filepicker/folder-up-hover.gif"); |
| 44 | } |
| 45 | |
| 46 | .home-button { |
| 47 | list-style-image: url("chrome://global/skin/filepicker/folder-home.gif"); |
| 48 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 49 | min-height: 0%; |
| 50 | max-width: 26px; |
| 51 | } |
| 52 | |
| 53 | .home-button:hover { |
| 54 | list-style-image: url("chrome://global/skin/filepicker/folder-home-hover.gif"); |
| 55 | } |
| 56 | |
| 57 | .new-dir-button { |
| 58 | list-style-image: url("chrome://global/skin/filepicker/folder-new.gif"); |
| 59 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 60 | min-height: 0%; |
| 61 | max-width: 28px; |
| 62 | } |
| 63 | |
| 64 | .new-dir-button:hover { |
| 65 | list-style-image: url("chrome://global/skin/filepicker/folder-new-hover.gif"); |
| 66 | } |