X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2FaboutTabCrashed.css;h=24e7677658882a8640f027a02c03f693887e78c1;hp=d8658ad346fdb923f5bdfa8b94595b570817224e;hb=b1d1a8bbaca0a31b2c2581911368b6892d447718;hpb=c8618eaacf7389abc4d9f467d4981ebc1398c300 diff --git a/LCARStrek/browser/aboutTabCrashed.css b/LCARStrek/browser/aboutTabCrashed.css index d8658ad3..24e76776 100644 --- a/LCARStrek/browser/aboutTabCrashed.css +++ b/LCARStrek/browser/aboutTabCrashed.css @@ -2,15 +2,35 @@ * 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/. */ +body { + font-size: 1.25rem; +} + .title { background-image: url("chrome://browser/skin/tab-crashed.svg"); } +.title > h1, +.offers { + margin-left: 14px; +} + +.title > h1 { + /** + * Add commentary? + */ + padding-right: 14px; +} + +.container { + width: 45%; +} + #reportSent { font-weight: bold; } -#crash-reporter-container { +#reportBox { width: 80%; background-color: var(--in-content-box-background); margin: 24px 0; @@ -19,6 +39,10 @@ border-radius: 2px; } +#reportBox > h2:first-child { + margin-top: 0; +} + #crash-reporter-title { font-weight: bold; margin: 0 0 14px 0; @@ -31,12 +55,48 @@ textarea { resize: none; } +input[type="text"], +input[type="checkbox"] { + -moz-margin-start: 0px; +} + #options { list-style: none; margin-inline-start: 0; } -input[type="text"], -#options > li { - margin: 14px 0 0 0; +#options > li, +#email { + margin-top: 14px; +} + +.checkbox-with-label { + display: flex; +} + +.checkbox-with-label > label { + margin-top: auto; + margin-bottom: auto; +} + +/** + * Hack alert: the #autoSubmit checkbox has a long label, which means + * it often wraps, at least in en-US. Bug 418833 and bug 1317795 allows + * us to fix this properly, but bug 418833 didn't uplift in time for this + * release. We use some hackery here to make sure that this label wraps + * properly, and doesn't end up underneath the checkbox pseudoelement. + * We do this by setting a negative margin on the pseudoelement, and then + * a positive equivalent margin on the label itself. + * + * The magic number of 35px is derived from the total width of the checkbox. + * The checkbox width is explicitly set at 23px. This, plus the 1px border on either + * side gives us 25px. Then there's the 10px margin-inline-end, which gives us 35px. + */ +#autoSubmit + label:before { + margin-inline-start: -35px; +} + +#autoSubmit + label { + margin-inline-start: 35px; + line-height: 1.75em; }