diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/themes/modern/global/filepicker.css | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/themes/modern/global/filepicker.css')
-rw-r--r-- | comm/suite/themes/modern/global/filepicker.css | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/global/filepicker.css b/comm/suite/themes/modern/global/filepicker.css new file mode 100644 index 0000000000..8faebdc84e --- /dev/null +++ b/comm/suite/themes/modern/global/filepicker.css @@ -0,0 +1,59 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== filepicker.css ================================================= + == Styles used by the File Picker dialog. + ======================================================================= */ + +@import url("chrome://global/skin/global.css"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +/* ::::: column widths ::::: */ + +#FilenameColumn, +#ContentLengthColumn, +#LastModifiedDateColumn { + width: 100px; +} + +/* ::::: file/directory items ::::: */ + +treechildren::-moz-tree-image(treecolAutoCompleteValue), +treechildren::-moz-tree-image(FilenameColumn) { + margin-inline-end: 2px; +} + +treechildren::-moz-tree-image(treecolAutoCompleteValue, directory), +treechildren::-moz-tree-image(FilenameColumn, directory) { + list-style-image: url("chrome://global/skin/filepicker/dir-closed.png"); +} + +treechildren::-moz-tree-image(treecolAutoCompleteValue, file), +treechildren::-moz-tree-image(FilenameColumn, file) { + list-style-image: url("chrome://global/skin/filepicker/blank.png"); +} + +/* ::::: button items ::::: */ + +.up-button { + list-style-image: url("chrome://global/skin/filepicker/folder-up.png"); + min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ + min-height: 0%; + max-width: 36px; +} + +.home-button { + list-style-image: url("chrome://global/skin/filepicker/folder-home.png"); + min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ + min-height: 0%; + max-width: 36px; +} + +.new-dir-button { + list-style-image: url("chrome://global/skin/filepicker/folder-new.png"); + min-width: 0%; /* don't let XUL layout min-size override our max-width setting */ + min-height: 0%; + max-width: 36px; +} |