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