Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
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/. */
5 /* ===== filepicker.css =================================================
6 == Styles used by the File Picker dialog.
7 ======================================================================= */
9 @import url("chrome://global/skin/");
11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13 /* ::::: column widths ::::: */
15 #FilenameColumn,
16 #ContentLengthColumn,
17 #LastModifiedDateColumn {
18 width: 100px;
19 }
21 /* ::::: file/directory items ::::: */
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 }
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 }
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 }
41 /* ::::: button items ::::: */
43 /* up-button */
45 .up-button {
46 list-style-image: url("moz-icon://stock/gtk-go-up?size=toolbar");
47 max-width: 36px;
48 }
50 /* home-button */
52 .home-button {
53 list-style-image: url("moz-icon://stock/gtk-home?size=toolbar");
54 max-width: 36px;
55 }
57 /* new-dir-button */
59 .new-dir-button {
60 list-style-image: url("chrome://global/skin/Filepicker.png");
61 max-width: 36px;
62 }