1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10 background-image: url("chrome://browser/skin/tab-crashed.svg");
35 background-color: var(--in-content-box-background);
38 border: 1px solid var(--in-content-box-border-color);
42 #reportBox > h2:first-child {
46 #crash-reporter-title {
54 box-sizing: border-box;
59 input[type="checkbox"] {
60 -moz-margin-start: 0px;
65 margin-inline-start: 0;
73 .checkbox-with-label {
77 .checkbox-with-label > label {
83 * Hack alert: the #autoSubmit checkbox has a long label, which means
84 * it often wraps, at least in en-US. Bug 418833 and bug 1317795 allows
85 * us to fix this properly, but bug 418833 didn't uplift in time for this
86 * release. We use some hackery here to make sure that this label wraps
87 * properly, and doesn't end up underneath the checkbox pseudoelement.
88 * We do this by setting a negative margin on the pseudoelement, and then
89 * a positive equivalent margin on the label itself.
91 * The magic number of 35px is derived from the total width of the checkbox.
92 * The checkbox width is explicitly set at 23px. This, plus the 1px border on either
93 * side gives us 25px. Then there's the 10px margin-inline-end, which gives us 35px.
95 #autoSubmit + label:before {
96 margin-inline-start: -35px;
100 margin-inline-start: 35px;