358 lines
5.2 KiB
CSS
358 lines
5.2 KiB
CSS
html {
|
|
font-size: 14px;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: #f3f6fb;
|
|
color: #223a5f;
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
.dashboard-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.topbar {
|
|
height: 48px;
|
|
background: #0b2f6b;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 16px;
|
|
border-bottom: 2px solid #1b4383;
|
|
}
|
|
|
|
.topbar-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.brand-icon {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.topbar-siren {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #ff9aa7;
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-main {
|
|
flex: 1;
|
|
padding: 10px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.top-grid {
|
|
display: grid;
|
|
grid-template-columns: 1.15fr 0.75fr 1.1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.left-column,
|
|
.right-column {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.panel {
|
|
background: #fff;
|
|
border: 1px solid #e2e8f2;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
box-shadow: 0 1px 2px rgba(16, 36, 79, 0.06);
|
|
}
|
|
|
|
.section-title {
|
|
margin: 0 0 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #163b72;
|
|
font-size: 0.92rem;
|
|
font-weight: 800;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
.section-icon {
|
|
font-size: 0.9rem;
|
|
color: #4f6f9f;
|
|
}
|
|
|
|
.scan-input-wrap {
|
|
height: 42px;
|
|
border: 2px solid #8ec7a5;
|
|
border-radius: 7px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 10px;
|
|
background: #fff;
|
|
}
|
|
|
|
.scan-icon {
|
|
color: #7788a2;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.scan-input {
|
|
border: 0;
|
|
width: 100%;
|
|
outline: none;
|
|
color: #344d72;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.scan-input::placeholder {
|
|
color: #97a5b9;
|
|
}
|
|
|
|
.form-hint {
|
|
margin-top: 8px;
|
|
color: #5d718f;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.panel-status {
|
|
text-align: center;
|
|
}
|
|
|
|
.status-mini-icon {
|
|
width: 62px;
|
|
height: 62px;
|
|
border-radius: 50%;
|
|
margin: 2px auto 6px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #8b9cb8;
|
|
color: #fff;
|
|
font-size: 1.7rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-mini-headline {
|
|
color: #10396f;
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.status-mini-message {
|
|
color: #637898;
|
|
margin-top: 2px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.last-updated {
|
|
margin-top: 10px;
|
|
background: #ebf4ff;
|
|
border: 1px solid #d3e3f7;
|
|
border-radius: 6px;
|
|
font-size: 1.1rem;
|
|
padding: 8px;
|
|
color: #4f6687;
|
|
}
|
|
|
|
.panel-center-status {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
min-height: 314px;
|
|
}
|
|
|
|
.status-visual {
|
|
width: 94px;
|
|
height: 94px;
|
|
border-radius: 50%;
|
|
background: #8b9cb8;
|
|
color: #fff;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 2.4rem;
|
|
font-weight: 800;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.status-headline {
|
|
color: #123d73;
|
|
font-size: 2.6rem;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.status-message {
|
|
margin-top: 6px;
|
|
color: #5f7392;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.status-success .status-visual,
|
|
.status-success .status-mini-icon {
|
|
background: #3cae58;
|
|
}
|
|
|
|
.status-failed .status-visual,
|
|
.status-failed .status-mini-icon {
|
|
background: #d54d56;
|
|
}
|
|
|
|
.status-success .status-headline,
|
|
.status-success .status-mini-headline {
|
|
color: #2f9950;
|
|
}
|
|
|
|
.status-failed .status-headline,
|
|
.status-failed .status-mini-headline {
|
|
color: #bf3340;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 180px;
|
|
gap: 8px 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.info-grid span {
|
|
color: #2b456f;
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.info-grid strong {
|
|
background: #eef4fb;
|
|
border-radius: 6px;
|
|
min-height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #3f5579;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
#detail-marked-by {
|
|
background: #e3f4e9;
|
|
color: #3ca05b;
|
|
}
|
|
|
|
.panel-history {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.history-wrap {
|
|
border: 1px solid #d7e1f0;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
min-height: 132px;
|
|
}
|
|
|
|
.table {
|
|
margin: 0;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.table thead th {
|
|
background: #0d3b7a;
|
|
color: #fff;
|
|
border: 0;
|
|
text-align: left;
|
|
font-size: 0.76rem;
|
|
font-weight: 700;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.table tbody td {
|
|
padding: 8px 10px;
|
|
border-top: 1px solid #e9eff9;
|
|
color: #2a436a;
|
|
}
|
|
|
|
.status-pill {
|
|
display: inline-block;
|
|
min-width: 52px;
|
|
padding: 2px 7px;
|
|
border-radius: 6px;
|
|
font-size: 0.75rem;
|
|
text-align: center;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status-true {
|
|
background: #e4f5e8;
|
|
color: #2f9950;
|
|
}
|
|
|
|
.status-false {
|
|
background: #fdeaea;
|
|
color: #c63f4a;
|
|
}
|
|
|
|
.history-empty {
|
|
position: absolute;
|
|
inset: 37px 0 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #fff;
|
|
}
|
|
|
|
.history-empty.is-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 2.4rem;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.empty-title {
|
|
margin-top: 4px;
|
|
font-size: 1.5rem;
|
|
color: #445a7f;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 1.2rem;
|
|
color: #657a98;
|
|
}
|
|
|
|
.page-footer {
|
|
height: 36px;
|
|
background: #0b2f6b;
|
|
color: #fff;
|
|
font-size: 0.9rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.top-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.panel-center-status {
|
|
min-height: 220px;
|
|
}
|
|
|
|
.info-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|