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