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.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | /* ===== filepicker.css ================================================= |
michael@0 | 6 | == Styles used by the File Picker dialog. |
michael@0 | 7 | ======================================================================= */ |
michael@0 | 8 | |
michael@0 | 9 | @import url("chrome://global/skin/"); |
michael@0 | 10 | |
michael@0 | 11 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 12 | |
michael@0 | 13 | /* ::::: column widths ::::: */ |
michael@0 | 14 | |
michael@0 | 15 | #FilenameColumn, |
michael@0 | 16 | #ContentLengthColumn, |
michael@0 | 17 | #LastModifiedDateColumn { |
michael@0 | 18 | width: 100px; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | /* ::::: file/directory items ::::: */ |
michael@0 | 22 | |
michael@0 | 23 | treechildren::-moz-tree-image(treecolAutoCompleteValue), |
michael@0 | 24 | treechildren::-moz-tree-image(FilenameColumn) { |
michael@0 | 25 | padding-right: 2px; |
michael@0 | 26 | margin: 0px 2px; |
michael@0 | 27 | width: 16px; |
michael@0 | 28 | height: 16px; |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), |
michael@0 | 32 | treechildren::-moz-tree-image(FilenameColumn, directory) { |
michael@0 | 33 | list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); |
michael@0 | 34 | } |
michael@0 | 35 | |
michael@0 | 36 | treechildren::-moz-tree-image(treecolAutoCompleteValue, file), |
michael@0 | 37 | treechildren::-moz-tree-image(FilenameColumn, file) { |
michael@0 | 38 | list-style-image: url("moz-icon://stock/gtk-file?size=menu"); |
michael@0 | 39 | } |
michael@0 | 40 | |
michael@0 | 41 | /* ::::: button items ::::: */ |
michael@0 | 42 | |
michael@0 | 43 | /* up-button */ |
michael@0 | 44 | |
michael@0 | 45 | .up-button { |
michael@0 | 46 | list-style-image: url("moz-icon://stock/gtk-go-up?size=toolbar"); |
michael@0 | 47 | max-width: 36px; |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | /* home-button */ |
michael@0 | 51 | |
michael@0 | 52 | .home-button { |
michael@0 | 53 | list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); |
michael@0 | 54 | max-width: 36px; |
michael@0 | 55 | } |
michael@0 | 56 | |
michael@0 | 57 | /* new-dir-button */ |
michael@0 | 58 | |
michael@0 | 59 | .new-dir-button { |
michael@0 | 60 | list-style-image: url("chrome://global/skin/Filepicker.png"); |
michael@0 | 61 | max-width: 36px; |
michael@0 | 62 | } |
michael@0 | 63 |