diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /browser/base/content/pageinfo/pageInfo.css | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/base/content/pageinfo/pageInfo.css')
-rw-r--r-- | browser/base/content/pageinfo/pageInfo.css | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/browser/base/content/pageinfo/pageInfo.css b/browser/base/content/pageinfo/pageInfo.css new file mode 100644 index 0000000000..d3c023a4c0 --- /dev/null +++ b/browser/base/content/pageinfo/pageInfo.css @@ -0,0 +1,89 @@ +/* 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/. */ + +:root { + min-width: 24em; + min-height: 24em; +} + +#mainDeck { + padding: 10px; + min-height: 0; +} + +#mediaPreviewBox, +#imagecontainerbox, +#thepreviewimage, +#mainDeck > vbox { + min-width: 0; + min-height: 0; +} + +#viewGroup > radio > .radio-label-box { + flex-direction: column; + align-items: center; +} + +/* Hide the radio button for the section headers */ +#viewGroup > radio > .radio-check { + display: none; +} + +#thepreviewimage { + margin: 1em auto; + flex: none; + display: block; +} + +table { + border-spacing: 0; +} + +.tableSeparator { + height: 6px; +} + +th, td { + padding: 0; +} + +th { + font: inherit; + text-align: start; + padding-inline-end: .5em; +} + +/* + Make the first column shrink to its min-content, except for #securityTable + which has full sentences in its first column. +*/ +table:not(#securityTable) th { + width: 0; +} + +th > label, +td > input, +.table-split-column { + width: 100%; + margin-block: 1px 4px; +} + +.table-split-column { + display: flex; + align-items: center; +} + +.table-split-column > label, +.table-split-column > input { + flex: 1 auto; +} + +.table-split-column > button { + flex-shrink: 0; +} + +#hostText { + flex: 1; + margin-top: 1px; /* same margin as adjacent label */ +} |