|
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(treecolAutoCompleteValue), |
|
24 treechildren::-moz-tree-image(FilenameColumn) { |
|
25 padding-right: 2px; |
|
26 margin: 0px 2px; |
|
27 width: 16px; |
|
28 height: 16px; |
|
29 } |
|
30 |
|
31 treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), |
|
32 treechildren::-moz-tree-image(FilenameColumn, directory) { |
|
33 list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); |
|
34 } |
|
35 |
|
36 treechildren::-moz-tree-image(treecolAutoCompleteValue, file), |
|
37 treechildren::-moz-tree-image(FilenameColumn, file) { |
|
38 list-style-image: url("moz-icon://stock/gtk-file?size=menu"); |
|
39 } |
|
40 |
|
41 /* ::::: button items ::::: */ |
|
42 |
|
43 /* up-button */ |
|
44 |
|
45 .up-button { |
|
46 list-style-image: url("moz-icon://stock/gtk-go-up?size=toolbar"); |
|
47 max-width: 36px; |
|
48 } |
|
49 |
|
50 /* home-button */ |
|
51 |
|
52 .home-button { |
|
53 list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); |
|
54 max-width: 36px; |
|
55 } |
|
56 |
|
57 /* new-dir-button */ |
|
58 |
|
59 .new-dir-button { |
|
60 list-style-image: url("chrome://global/skin/Filepicker.png"); |
|
61 max-width: 36px; |
|
62 } |
|
63 |