370 lines
6.5 KiB
CSS
370 lines
6.5 KiB
CSS
.kosmos-storage-audit .window-content {
|
|
padding: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.storage-audit {
|
|
display: grid;
|
|
gap: 1rem;
|
|
padding: 1.1rem;
|
|
color: inherit;
|
|
font: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.storage-audit code {
|
|
color: inherit;
|
|
}
|
|
|
|
.storage-audit__hero,
|
|
.storage-audit__summary,
|
|
.storage-audit__progress,
|
|
.storage-audit__group,
|
|
.storage-audit__finding,
|
|
.storage-audit__list {
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.storage-audit__hero,
|
|
.storage-audit__summary {
|
|
padding: 1.1rem 1.2rem;
|
|
}
|
|
|
|
.storage-audit__summary--notices {
|
|
padding-top: 0.95rem;
|
|
padding-bottom: 0.95rem;
|
|
}
|
|
|
|
.storage-audit__grouped {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.storage-audit__table-wrap {
|
|
padding: 0 1.1rem 1.1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.storage-audit__progress {
|
|
padding: 1rem 1.1rem;
|
|
}
|
|
|
|
.storage-audit__progress-bar {
|
|
height: 10px;
|
|
border-radius: 999px;
|
|
background: color-mix(in srgb, currentColor 12%, transparent);
|
|
overflow: hidden;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.storage-audit__progress-fill {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, currentColor, transparent, currentColor);
|
|
background-size: 200% 100%;
|
|
opacity: 0.35;
|
|
animation: storage-audit-progress 1.6s linear infinite;
|
|
}
|
|
|
|
.storage-audit__progress-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
font-size: 0.92rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.storage-audit__progress-source {
|
|
margin-top: 0.5rem;
|
|
opacity: 0.8;
|
|
word-break: break-word;
|
|
display: block;
|
|
}
|
|
|
|
.storage-audit__group-header {
|
|
padding: 1rem 1.1rem 0;
|
|
}
|
|
|
|
.storage-audit__group-header h3 {
|
|
margin: 0 0 0.25rem;
|
|
}
|
|
|
|
.storage-audit__group-header p {
|
|
margin: 0;
|
|
opacity: 0.82;
|
|
}
|
|
|
|
.storage-audit__hero {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 18rem;
|
|
gap: 1rem 1.25rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.storage-audit__hero h2,
|
|
.storage-audit__summary h3 {
|
|
margin: 0 0 0.45rem;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.storage-audit__hero h2 {
|
|
font-weight: 800;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.storage-audit__hero p,
|
|
.storage-audit__finding p,
|
|
.storage-audit__list p {
|
|
margin: 0;
|
|
}
|
|
|
|
.storage-audit__hero p {
|
|
max-width: 52rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.storage-audit__hero > div:first-child {
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.storage-audit__actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
align-items: stretch;
|
|
justify-content: flex-start;
|
|
min-width: 18rem;
|
|
width: 18rem;
|
|
}
|
|
|
|
.storage-audit__actions .button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
border-radius: 999px;
|
|
padding: 0.62rem 0.95rem;
|
|
font-weight: 700;
|
|
min-height: 2.55rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.storage-audit__toggle-group {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.storage-audit__toggle-label {
|
|
font-size: 0.9em;
|
|
opacity: 0.8;
|
|
padding: 0 0.2rem;
|
|
}
|
|
|
|
.storage-audit__toggle-buttons {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.45rem;
|
|
}
|
|
|
|
.storage-audit__toggle-buttons .button {
|
|
min-width: 0;
|
|
}
|
|
|
|
.storage-audit__toggle-buttons .button.active {
|
|
box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent);
|
|
background: color-mix(in srgb, currentColor 10%, transparent);
|
|
}
|
|
|
|
.storage-audit__actions .button[disabled] {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.storage-audit__stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.storage-audit__stats article {
|
|
background: color-mix(in srgb, currentColor 4%, transparent);
|
|
border-radius: 12px;
|
|
padding: 0.9rem;
|
|
border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
|
|
}
|
|
|
|
.storage-audit__stats span {
|
|
display: block;
|
|
opacity: 0.8;
|
|
margin-bottom: 0.18rem;
|
|
}
|
|
|
|
.storage-audit__stats strong { line-height: 1; }
|
|
|
|
.storage-audit__kinds ul,
|
|
.storage-audit__list {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.storage-audit__kinds ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.storage-audit__kinds li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px solid color-mix(in srgb, currentColor 10%, transparent);
|
|
}
|
|
|
|
.storage-audit__kinds li:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.storage-audit__notice-list {
|
|
margin: 0;
|
|
padding-left: 1.2rem;
|
|
display: grid;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.storage-audit__list {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.storage-audit__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.storage-audit__table th,
|
|
.storage-audit__table td {
|
|
padding: 0.55rem 0.5rem;
|
|
vertical-align: top;
|
|
text-align: left;
|
|
border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.storage-audit__table thead th {
|
|
border-top: 0;
|
|
opacity: 0.75;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.storage-audit__table th:first-child,
|
|
.storage-audit__table td:first-child,
|
|
.storage-audit__table th:nth-child(3),
|
|
.storage-audit__table td:nth-child(3) {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.storage-audit__source-list {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.storage-audit__list--raw h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.storage-audit__finding {
|
|
padding: 0.9rem 1rem;
|
|
}
|
|
|
|
.storage-audit__finding header {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.storage-audit__finding header strong { opacity: 0.9; }
|
|
|
|
.storage-audit__severity {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 4.75rem;
|
|
border-radius: 999px;
|
|
padding: 0.2rem 0.6rem;
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.storage-audit__severity--inline {
|
|
min-width: 0;
|
|
}
|
|
|
|
.storage-audit__severity--hint {
|
|
cursor: help;
|
|
}
|
|
|
|
.severity-high .storage-audit__severity {
|
|
background: color-mix(in srgb, #b03e29 80%, transparent);
|
|
color: white;
|
|
}
|
|
|
|
.severity-warning .storage-audit__severity {
|
|
background: color-mix(in srgb, #b8902b 80%, transparent);
|
|
color: black;
|
|
}
|
|
|
|
.severity-info .storage-audit__severity {
|
|
background: color-mix(in srgb, #466d7a 80%, transparent);
|
|
color: white;
|
|
}
|
|
|
|
.storage-audit__finding dl {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
margin: 0.75rem 0 0;
|
|
}
|
|
|
|
.storage-audit__finding dl div {
|
|
display: grid;
|
|
gap: 0.2rem;
|
|
}
|
|
|
|
.storage-audit__finding dt {
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.storage-audit__finding dd { margin: 0; }
|
|
|
|
.storage-audit__recommendation {
|
|
margin-top: 0.75rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.storage-audit__samples {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.storage-audit__samples span {
|
|
display: block;
|
|
opacity: 0.75;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.storage-audit__samples ul {
|
|
margin: 0;
|
|
padding-left: 1.25rem;
|
|
}
|
|
|
|
.storage-audit__samples li,
|
|
.storage-audit__finding dd {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
@keyframes storage-audit-progress {
|
|
0% { background-position: 0% 0; }
|
|
100% { background-position: 200% 0; }
|
|
}
|