| 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(FilenameColumn, directory) { |
| 24 | list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); |
| 25 | } |
| 26 | |
| 27 | treechildren::-moz-tree-image(FilenameColumn, file) { |
| 28 | list-style-image: url("chrome://global/skin/filepicker/file.gif"); |
| 29 | } |
| 30 | |
| 31 | /* ::::: button items ::::: */ |
| 32 | |
| 33 | .up-button { |
| 34 | list-style-image: url("chrome://global/skin/filepicker/folder-up.gif"); |
| 35 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 36 | min-height: 0%; |
| 37 | max-width: 26px; |
| 38 | } |
| 39 | |
| 40 | .up-button:hover { |
| 41 | list-style-image: url("chrome://global/skin/filepicker/folder-up-hover.gif"); |
| 42 | } |
| 43 | |
| 44 | .home-button { |
| 45 | list-style-image: url("chrome://global/skin/filepicker/folder-home.gif"); |
| 46 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 47 | min-height: 0%; |
| 48 | max-width: 26px; |
| 49 | } |
| 50 | |
| 51 | .home-button:hover { |
| 52 | list-style-image: url("chrome://global/skin/filepicker/folder-home-hover.gif"); |
| 53 | } |
| 54 | |
| 55 | .new-dir-button { |
| 56 | list-style-image: url("chrome://global/skin/filepicker/folder-new.gif"); |
| 57 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
| 58 | min-height: 0%; |
| 59 | max-width: 28px; |
| 60 | } |
| 61 | |
| 62 | .new-dir-button:hover { |
| 63 | list-style-image: url("chrome://global/skin/filepicker/folder-new-hover.gif"); |
| 64 | } |