blob: 5968dddcc1181893133261d939b08ef149e2b02c [file]
:root {
--sidebar-width: 230px;
--sidebar-width-collapsed: 55px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-margin-top: 6.125rem;
}
a {
font-weight: 450;
}
strong a {
font-weight: 600;
}
h1,
h2,
h3 {
font-weight: 475;
}
h1 {
margin-bottom: 2rem;
}
h2 {
border-bottom: 1px solid #d1d2d3;
padding-bottom: 0.5rem;
margin-top: 2.5rem;
margin-bottom: 1.5rem;
}
h3,
p,
ul,
form {
margin-bottom: 1rem;
}
h3 {
font-size: 1.35rem;
font-weight: 600;
margin-top: 2rem;
}
.reports-table {
margin-bottom: 2rem;
}
ul {
padding-left: 1rem;
}
table {
border-collapse: collapse;
}
table th {
text-align: left;
}
table td {
word-break: break-all;
}
nav {
padding: 1rem;
text-align: right;
}
pre {
white-space: pre-wrap;
/* word-wrap: anywhere; */
word-break: break-all;
}
blockquote {
background: #f9f9f9;
border-left: 10px solid #cccccc;
margin: 1.5em 10px;
padding: 1em 10px 0.1em;
}
footer {
padding: 1rem;
background: #eeeeee;
font-size: 15px;
margin: 2rem;
color: #333333;
font-variation-settings: 'opsz' 14;
border-radius: 0.5rem;
border: 2px solid #d1d2d3;
text-align: center;
}
footer a {
color: #333333;
font-weight: 425;
}
footer a:visited {
color: #333333;
font-weight: 425;
}
footer p {
margin-bottom: 0;
}
.ribbon {
height: 8px;
background: linear-gradient(90deg, #282661 0%, #662f8f 20%, #9e2165 40%, #cb2138 60%, #ea7826 80%, #f7ae18 100%);
}
.main-container {
margin-left: var(--sidebar-width-collapsed);
background-color: #f8f9fa;
min-height: 100vh;
padding: 10px;
transition: all 0.3s ease;
z-index: 1;
}
.collapsed ~ .main-container {
margin-left: var(--sidebar-width-collapsed);
}
.main-content {
/* flex: 1; */
padding: 0.5rem;
}
.reports-table {
width: 100%;
border-collapse: collapse;
}
.reports-table td {
padding: 0.25rem 0.5rem;
vertical-align: middle;
}
.reports-date,
.reports-subproject,
.reports-jira,
.reports-cves,
.reports-reporter {
width: 1px;
white-space: nowrap;
}
.reports-jira,
.reports-cves {
padding: 0.25rem 0.25rem;
}
.reports-jira:empty,
.reports-cves:empty {
padding: 0;
width: 0;
}
.reporter-initials {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.75rem;
height: 1.75rem;
border-radius: 50%;
color: #fff;
font-size: 0.7rem;
font-weight: 600;
letter-spacing: 0.02em;
}
.reports-title {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.reports-label {
overflow: hidden;
text-overflow: ellipsis;
font-family: var(--bs-font-monospace, monospace);
color: #6c757d;
user-select: all;
}
.reports-duplicates {
margin-top: 2px;
font-size: 0.85em;
}
.reports-duplicates summary {
cursor: pointer;
color: #6c757d;
}
.reports-duplicates ul {
list-style: none;
margin: 4px 0 0;
padding-left: 1rem;
}
.reports-duplicates li {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.congrats {
font-size: 2em;
}
.banner {
padding: 0.5rem 0.75rem;
border-radius: 4px;
border: 1px solid;
}
.banner-success {
border-color: #1e7a3c;
background-color: #e8f5ec;
}
.banner-error {
border-color: #a12a2a;
background-color: #fbeaea;
}
.reports-triage {
width: 1px;
white-space: nowrap;
}
.triage {
position: relative;
}
.triage summary {
cursor: pointer;
font-size: 0.9rem;
}
/* Out of flow, so opening one report's form does not resize the columns -
and with them every other row - while it is on screen. */
.triage[open] > form {
position: absolute;
top: 100%;
right: 0;
z-index: 2;
width: 80rem;
max-width: 80vw;
padding: 0.75rem;
border: 1px solid #d1d2d3;
border-radius: 4px;
background-color: #fff;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
white-space: normal;
word-break: normal;
text-align: left;
}
.triage-decision {
border: none;
margin-bottom: 0.75rem;
}
.triage-decision label {
display: flex;
align-items: center;
gap: 0.3rem;
}
/* Sits under the accept option, not between the two of them. */
.triage-decision .triage-if-accept {
margin: 0 0 0.4rem 1.1rem;
}
.triage-preview {
border: 1px solid #d1d2d3;
border-radius: 4px;
background-color: #fafafa;
font-weight: 400;
}
/* There is no message to preview until a decision is picked. Driven by
triage.js rather than :has(), which Firefox only got in 121 and which can be
switched off; the form is hidden only once that script is there to show it. */
.triage form.triage-js .triage-preview {
display: none;
}
.triage form.triage-js[data-decision] .triage-preview {
display: block;
}
.triage-headers {
display: grid;
grid-template-columns: max-content 1fr;
gap: 0.15rem 0.75rem;
margin: 0;
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #d1d2d3;
font-size: 0.85rem;
}
.triage-headers dt {
color: #555;
}
.triage-body {
padding: 0.75rem;
}
.triage-body > p {
margin-bottom: 0.75rem;
}
/* The sentence the reporter will read is the one the PMC selects. Hidden only
under .triage-js, for the same reason as the preview above. */
.triage form.triage-js .triage-if-accept,
.triage form.triage-js .triage-if-reject,
.triage form.triage-js .triage-if-duplicate {
display: none;
}
.triage form.triage-js[data-decision="accept"] .triage-if-accept,
.triage form.triage-js[data-decision="reject"] .triage-if-reject,
.triage form.triage-js[data-decision="duplicate"] .triage-if-duplicate {
display: inline;
}
.triage-if-duplicate input[name="duplicate_of"] {
font: inherit;
padding: 0.1rem 0.3rem;
}
.triage-feedback {
display: block;
margin-bottom: 0.75rem;
}
.triage-feedback textarea {
display: block;
width: 100%;
padding: 0.4rem;
font: inherit;
}
.triage-closing {
white-space: pre-line;
margin-bottom: 0;
}
.triage-actions {
margin-top: 0.75rem;
}
.triage-actions button {
padding: 0.35rem 0.75rem;
font: inherit;
cursor: pointer;
}
.incubator-table {
width: auto;
border: 1px solid #d1d2d3;
}
.incubator-table th,
.incubator-table td {
border: 1px solid #d1d2d3;
padding: 0.25rem 0.75rem;
text-align: left;
}
.incubator-table thead th {
background-color: #eeeeee;
}
.incubator-table tbody tr:nth-child(even) {
background-color: #f8f9fa;
}
.incubator-table .incubator-count {
text-align: right;
}
.sortable-table th button {
background: none;
border: none;
padding: 0;
color: inherit;
font: inherit;
cursor: pointer;
}
.sortable-table th button::after {
content: " \2195";
color: #999999;
}
.sortable-table th[aria-sort="ascending"] button::after {
content: " \25B2";
color: inherit;
}
.sortable-table th[aria-sort="descending"] button::after {
content: " \25BC";
color: inherit;
}