Files
firewallissues/web/styles.css
T
2026-07-25 23:15:34 -05:00

525 lines
8.3 KiB
CSS

* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #2c3e50;
color: white;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.top-links {
margin-top: 10px;
display: flex;
gap: 25px;
flex-wrap: wrap;
}
.top-links a {
color: #dbe9f5;
text-decoration: none;
font-size: 14px;
}
.top-links a:hover,
.top-links a:focus {
color: #ffffff;
text-decoration: underline;
}
.top-links a[aria-current="page"] {
color: #ffffff;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 4px;
}
h1 {
margin: 0;
}
h2 {
color: #333;
}
.container {
display: flex;
align-items: flex-start;
gap: 20px;
padding: 20px;
max-width: 1400px;
margin: 0 auto;
}
.sidebar {
flex: 0 0 350px;
background-color: #f8f9fa;
border: 1px solid #ddd;
border-radius: 4px;
padding: 15px;
height: auto;
overflow: visible;
}
.sidebar h2 {
margin: 0 0 15px 0;
font-size: 18px;
}
.issue-search {
width: 100%;
margin-bottom: 12px;
padding: 6px 8px;
border: 1px solid #c8c8c8;
border-radius: 4px;
font-size: 13px;
}
.issue-search:focus {
outline: 2px solid #9ec5fe;
outline-offset: 1px;
border-color: #6ea8fe;
}
.issue-filters {
display: flex;
gap: 10px;
margin-bottom: 10px;
font-size: 13px;
}
.issue-filters label {
display: inline-flex;
align-items: center;
gap: 4px;
cursor: pointer;
user-select: none;
}
.issue-filters input[type="checkbox"] {
width: 14px;
height: 14px;
margin: 0;
}
.content {
flex: 1;
min-width: 0;
}
#issues {
display: flex;
flex-direction: column;
gap: 30px;
}
#issues h2 {
margin: 0 0 10px 0;
border-bottom: 2px solid #2c3e50;
padding-bottom: 8px;
}
.issue-count {
color: #5b6b7a;
font-weight: 500;
font-size: 0.9em;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#addressed-issues {
overflow-x: auto;
}
.issues-table {
width: 100%;
border-collapse: collapse;
border: 1px solid #ddd;
background-color: #fff;
font-size: 14px;
}
.issues-table th,
.issues-table td {
border: 1px solid #ddd;
padding: 8px 10px;
text-align: left;
vertical-align: top;
}
.issues-table th {
background-color: #eef3f7;
color: #22313f;
position: sticky;
top: 0;
z-index: 1;
}
.issues-table tbody tr:hover {
background-color: #f7fbff;
}
.issues-table .issue-id-col {
width: 160px;
white-space: nowrap;
font-weight: 600;
}
.issues-table .issue-version-col {
width: 180px;
}
.issues-table td ul,
.issues-table td ol {
margin: 8px 0 0;
padding-left: 20px;
}
.issues-table td ul {
list-style-type: disc;
}
.issues-table td ol {
list-style-type: decimal;
}
.issues-table td li {
padding: 0;
border: 0;
margin: 4px 0 0;
border-radius: 0;
background: transparent;
}
.issues-table td li:hover {
background: transparent;
}
li {
padding: 10px;
border: 1px solid #ddd;
margin: 5px 0;
border-radius: 4px;
background-color: #fafafa;
}
li:hover {
background-color: #f0f0f0;
}
.statistics-container {
width: min(900px, calc(100% - 40px));
margin: 0 auto;
padding: 28px 0 48px;
}
.statistics-intro {
margin: 0 0 28px;
color: #4e5d6c;
line-height: 1.5;
}
.stats-product {
margin-top: 32px;
}
.stats-product h2 {
display: flex;
align-items: baseline;
gap: 12px;
margin: 0 0 10px;
}
.stats-product-total {
color: #667788;
font-size: 0.65em;
font-weight: 400;
}
.stats-table-wrap {
overflow-x: auto;
}
.stats-table {
width: 100%;
border-collapse: collapse;
border: 1px solid #ccd4dc;
background: #ffffff;
}
.stats-table th,
.stats-table td {
border-bottom: 1px solid #dce2e8;
padding: 9px 14px;
text-align: left;
}
.stats-table thead th {
background: #2c3e50;
color: #ffffff;
font-size: 0.8rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.stats-table td {
width: 180px;
color: #526272;
white-space: nowrap;
}
.stats-table tbody th {
position: relative;
}
.stats-table tr[hidden] {
display: none;
}
.stats-toggle {
display: flex;
align-items: center;
width: 100%;
border: 0;
padding: 0;
background: transparent;
color: inherit;
cursor: pointer;
font: inherit;
text-align: left;
}
.stats-toggle::before {
width: 18px;
color: #617588;
content: "▶";
font-size: 0.65rem;
transform-origin: center;
transition: transform 120ms ease;
}
.stats-toggle[aria-expanded="true"]::before {
transform: rotate(90deg);
}
.stats-toggle:hover .version-label,
.stats-toggle:focus-visible .version-label {
text-decoration: underline;
text-underline-offset: 3px;
}
.stats-toggle:focus-visible {
outline: 2px solid #2c7be5;
outline-offset: 3px;
}
.stats-major th,
.stats-major td {
background: #e7edf2;
color: #22313f;
font-weight: 700;
}
.stats-minor th,
.stats-minor td {
background: #f5f7f9;
font-weight: 600;
}
.stats-minor .version-label {
display: inline-block;
margin-left: 10px;
}
.stats-patch th::before {
position: absolute;
color: #91a0ad;
content: "└";
}
.stats-patch .version-label {
display: inline-block;
margin-left: 58px;
}
.stats-patch th::before {
left: 44px;
}
@media (max-width: 600px) {
.statistics-container {
width: min(100% - 24px, 900px);
padding-top: 20px;
}
.stats-product h2 {
align-items: flex-start;
flex-direction: column;
gap: 3px;
}
.stats-table th,
.stats-table td {
padding: 8px 10px;
}
.stats-table td {
width: 120px;
}
}
@media (max-width: 900px) {
.container {
flex-direction: column;
gap: 12px;
padding: 12px;
}
.sidebar {
flex: 1 1 auto;
width: 100%;
}
.checkbox-tree {
--checkbox-tree-indent: 12px;
}
.issues-table {
font-size: 13px;
}
.issues-table th,
.issues-table td {
padding: 6px 8px;
}
.issues-table .issue-id-col {
min-width: 120px;
}
.issues-table .issue-version-col {
min-width: 150px;
}
}
@media (max-width: 600px) {
header {
padding: 14px;
}
h1 {
font-size: 1.25rem;
}
.top-links {
gap: 12px;
}
.issue-filters {
flex-wrap: wrap;
gap: 8px;
}
.issue-filters label {
min-height: 32px;
}
}
@media (max-width: 700px) {
#addressed-issues,
#known-issues {
overflow-x: visible;
}
.issue-list-table {
border: 0;
background: transparent;
}
.issue-list-table thead {
display: none;
}
.issue-list-table tbody {
display: grid;
gap: 10px;
}
.issue-list-table tbody tr {
display: grid;
grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
column-gap: 6px;
row-gap: 4px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #fff;
padding: 8px 10px;
}
.issue-list-table tbody tr:hover {
background-color: #fff;
}
.issue-list-table tbody td {
display: block;
border: 0;
padding: 0;
}
.issue-list-table tbody td::before {
content: none;
}
.issue-list-table .issue-id-col,
.issue-list-table .issue-version-col {
width: auto;
min-width: 0;
}
.issue-list-table .issue-id-col {
grid-column: 1;
grid-row: 1;
font-weight: 700;
white-space: nowrap;
}
.issue-list-table .issue-version-col {
grid-column: 2;
grid-row: 1;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
}
.issue-list-table .issue-version-col::before {
content: attr(data-label) " ";
color: #445566;
font-weight: 600;
}
.issue-list-table tbody td:last-child {
grid-column: 1 / -1;
grid-row: 2;
margin-top: 1px;
overflow-wrap: anywhere;
word-break: break-word;
}
.issues-table td ul,
.issues-table td ol {
margin: 4px 0 0;
padding-left: 18px;
}
}