1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/filepicker.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,77 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* ===== filepicker.css ================================================= 1.9 + == Styles used by the File Picker dialog. 1.10 + ======================================================================= */ 1.11 + 1.12 +@import url("chrome://global/skin/"); 1.13 + 1.14 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.15 + 1.16 +/* ::::: column widths ::::: */ 1.17 + 1.18 +#FilenameColumn, 1.19 +#ContentLengthColumn, 1.20 +#LastModifiedDateColumn { 1.21 + width: 100px; 1.22 +} 1.23 + 1.24 +/* ::::: file/directory items ::::: */ 1.25 + 1.26 +treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), 1.27 +treechildren::-moz-tree-image(FilenameColumn, directory) { 1.28 + list-style-image: url("chrome://global/skin/icons/folder-item.png"); 1.29 + -moz-image-region: rect(0px, 32px, 16px, 16px); 1.30 +} 1.31 + 1.32 +treechildren::-moz-tree-image(treecolAutoCompleteValue, file), 1.33 +treechildren::-moz-tree-image(FilenameColumn, file) { 1.34 + list-style-image: url("chrome://global/skin/icons/folder-item.png"); 1.35 + -moz-image-region: rect(16px, 16px, 32px, 0px); 1.36 +} 1.37 + 1.38 +/* ::::: button items ::::: */ 1.39 + 1.40 +/* up-button */ 1.41 + 1.42 +.up-button { 1.43 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.44 + -moz-image-region: rect(0px 24px 24px 0px); 1.45 + max-width: 36px; 1.46 +} 1.47 + 1.48 +.up-button:hover { 1.49 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.50 + -moz-image-region: rect(24px 24px 48px 0px); 1.51 + max-width: 36px; 1.52 +} 1.53 + 1.54 +/* home-button */ 1.55 + 1.56 +.home-button { 1.57 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.58 + -moz-image-region: rect(0px 48px 24px 24px); 1.59 + max-width: 36px; 1.60 +} 1.61 + 1.62 +.home-button:hover { 1.63 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.64 + -moz-image-region: rect(24px 48px 48px 24px); 1.65 + max-width: 36px; 1.66 +} 1.67 + 1.68 +/* new-dir-button */ 1.69 + 1.70 +.new-dir-button { 1.71 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.72 + -moz-image-region: rect(0px 72px 24px 48px); 1.73 + max-width: 36px; 1.74 +} 1.75 + 1.76 +.new-dir-button:hover { 1.77 + list-style-image: url("chrome://global/skin/Filepicker.png"); 1.78 + -moz-image-region: rect(24px 72px 48px 48px); 1.79 + max-width: 36px; 1.80 +}