michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* ===== filepicker.css ================================================= michael@0: == Styles used by the File Picker dialog. michael@0: ======================================================================= */ michael@0: michael@0: @import url("chrome://global/skin/"); michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: /* ::::: column widths ::::: */ michael@0: michael@0: #FilenameColumn, michael@0: #ContentLengthColumn, michael@0: #LastModifiedDateColumn { michael@0: width: 100px; michael@0: } michael@0: michael@0: /* ::::: file/directory items ::::: */ michael@0: michael@0: treechildren::-moz-tree-image(treecolAutoCompleteValue), michael@0: treechildren::-moz-tree-image(FilenameColumn) { michael@0: padding-right: 2px; michael@0: margin: 0px 2px; michael@0: width: 16px; michael@0: height: 16px; michael@0: } michael@0: michael@0: treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), michael@0: treechildren::-moz-tree-image(FilenameColumn, directory) { michael@0: list-style-image: url("moz-icon://stock/gtk-directory?size=menu"); michael@0: } michael@0: michael@0: treechildren::-moz-tree-image(treecolAutoCompleteValue, file), michael@0: treechildren::-moz-tree-image(FilenameColumn, file) { michael@0: list-style-image: url("moz-icon://stock/gtk-file?size=menu"); michael@0: } michael@0: michael@0: /* ::::: button items ::::: */ michael@0: michael@0: /* up-button */ michael@0: michael@0: .up-button { michael@0: list-style-image: url("moz-icon://stock/gtk-go-up?size=toolbar"); michael@0: max-width: 36px; michael@0: } michael@0: michael@0: /* home-button */ michael@0: michael@0: .home-button { michael@0: list-style-image: url("moz-icon://stock/gtk-home?size=toolbar"); michael@0: max-width: 36px; michael@0: } michael@0: michael@0: /* new-dir-button */ michael@0: michael@0: .new-dir-button { michael@0: list-style-image: url("chrome://global/skin/Filepicker.png"); michael@0: max-width: 36px; michael@0: } michael@0: