diff options
Diffstat (limited to 'security/manager/pki/resources/content/certManager.css')
-rw-r--r-- | security/manager/pki/resources/content/certManager.css | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/security/manager/pki/resources/content/certManager.css b/security/manager/pki/resources/content/certManager.css new file mode 100644 index 0000000000..e943c721da --- /dev/null +++ b/security/manager/pki/resources/content/certManager.css @@ -0,0 +1,31 @@ +/* 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/. */ + +/* Good enough support for equalsize=always for the cert manager use cases. + * You probably shouldn't use this as-is elsewhere, this selector is somewhat + * slow, it relies on stuff having display: -moz-box, and you probably can use + * something simpler if you need this */ +[equalsize="always"] > * { + -moz-box-flex: 1; + contain: inline-size; + /* contain: inline-size should be enough, unless you have a legacy XUL layout + * box, which don't support it. */ + width: 0; +} + +#certmanager { + /* This prevents horizontal scrollbars due to <tree> and non-XUL layout + * interactions */ + padding: 0; +} + +/* This matches the <tree> height from dialog.css */ +richlistbox { + height: 15em; +} + +richlistbox, +richlistitem { + min-height: 30px; +} |