Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /* ===== filepicker.css ================================================= |
michael@0 | 6 | == Styles used by the File Picker dialog. |
michael@0 | 7 | ======================================================================= */ |
michael@0 | 8 | |
michael@0 | 9 | @import url("chrome://global/skin/"); |
michael@0 | 10 | |
michael@0 | 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 12 | |
michael@0 | 13 | /* ::::: column widths ::::: */ |
michael@0 | 14 | |
michael@0 | 15 | #FilenameColumn, |
michael@0 | 16 | #ContentLengthColumn, |
michael@0 | 17 | #LastModifiedDateColumn { |
michael@0 | 18 | width: 100px; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | /* ::::: file/directory items ::::: */ |
michael@0 | 22 | |
michael@0 | 23 | treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), |
michael@0 | 24 | treechildren::-moz-tree-image(FilenameColumn, directory) { |
michael@0 | 25 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); |
michael@0 | 26 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | treechildren::-moz-tree-image(treecolAutoCompleteValue, file), |
michael@0 | 30 | treechildren::-moz-tree-image(FilenameColumn, file) { |
michael@0 | 31 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); |
michael@0 | 32 | -moz-image-region: rect(16px, 16px, 32px, 0px); |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | /* ::::: button items ::::: */ |
michael@0 | 36 | |
michael@0 | 37 | /* up-button */ |
michael@0 | 38 | |
michael@0 | 39 | .up-button { |
michael@0 | 40 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 41 | -moz-image-region: rect(0px 24px 24px 0px); |
michael@0 | 42 | max-width: 36px; |
michael@0 | 43 | } |
michael@0 | 44 | |
michael@0 | 45 | .up-button:hover { |
michael@0 | 46 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 47 | -moz-image-region: rect(24px 24px 48px 0px); |
michael@0 | 48 | max-width: 36px; |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | /* home-button */ |
michael@0 | 52 | |
michael@0 | 53 | .home-button { |
michael@0 | 54 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 55 | -moz-image-region: rect(0px 48px 24px 24px); |
michael@0 | 56 | max-width: 36px; |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | .home-button:hover { |
michael@0 | 60 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 61 | -moz-image-region: rect(24px 48px 48px 24px); |
michael@0 | 62 | max-width: 36px; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | /* new-dir-button */ |
michael@0 | 66 | |
michael@0 | 67 | .new-dir-button { |
michael@0 | 68 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 69 | -moz-image-region: rect(0px 72px 24px 48px); |
michael@0 | 70 | max-width: 36px; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | .new-dir-button:hover { |
michael@0 | 74 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 75 | -moz-image-region: rect(24px 72px 48px 48px); |
michael@0 | 76 | max-width: 36px; |
michael@0 | 77 | } |