Commit | Line | Data |
---|---|---|
9099c61d RK |
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/. */ | |
f6e0a33f | 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 | ||
58bfce8a | 23 | treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), |
a1f525f0 | 24 | treechildren::-moz-tree-image(FilenameColumn, directory) { |
f6e0a33f | 25 | list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif"); |
26 | } | |
27 | ||
58bfce8a | 28 | treechildren::-moz-tree-image(treecolAutoCompleteValue, file), |
a1f525f0 | 29 | treechildren::-moz-tree-image(FilenameColumn, file) { |
7c110a07 | 30 | list-style-image: url("chrome://global/skin/filepicker/file.gif"); |
f6e0a33f | 31 | } |
32 | ||
7c110a07 | 33 | /* ::::: button items ::::: */ |
34 | ||
35 | .up-button { | |
36 | list-style-image: url("chrome://global/skin/filepicker/folder-up.gif"); | |
caf7fc11 | 37 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
38 | min-height: 0%; | |
09cc8186 | 39 | max-width: 28px; |
7c110a07 | 40 | } |
41 | ||
42 | .home-button { | |
43 | list-style-image: url("chrome://global/skin/filepicker/folder-home.gif"); | |
caf7fc11 | 44 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
45 | min-height: 0%; | |
09cc8186 | 46 | max-width: 28px; |
d2f0d128 | 47 | } |
48 | ||
49 | .new-dir-button { | |
50 | list-style-image: url("chrome://global/skin/filepicker/folder-new.gif"); | |
caf7fc11 | 51 | min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ |
52 | min-height: 0%; | |
d2f0d128 | 53 | max-width: 28px; |
b618d1fd | 54 | } |