Files
douyi_guaji_main/webui/css/strict_ui_panels.css
T

264 lines
4.4 KiB
CSS

/* Strict UI feature panel special cases, logs, footer, and motion. */
.panel[data-panel="keywords"] .row {
display: block;
padding: 0;
border: 0;
}
.panel[data-panel="keywords"] .row + .row {
margin-top: 26px;
}
.panel[data-panel="keywords"] .textarea {
min-height: 205px;
margin-top: 10px;
}
.panel[data-panel="license"] {
max-width: none;
}
.panel[data-panel="license"] .row {
grid-template-columns: minmax(170px, 0.3fr) minmax(320px, 0.7fr);
justify-content: center;
}
.panel[data-panel="license"] .rowActions {
display: flex;
justify-content: center;
}
.monitorPanel,
.panel[data-panel="monitor"] {
display: block;
}
.monitorPanel[hidden],
.panel[data-panel="monitor"][hidden] {
display: none !important;
}
.cardShot {
padding: 24px 28px;
}
.cardShot .cardTitle {
margin-bottom: 24px;
}
.preview {
width: min(360px, 100%);
min-height: 610px;
max-height: none;
margin: 0 auto;
border: 1px solid var(--strict-border);
border-radius: var(--strict-radius);
background: #0f172a;
box-shadow: none;
}
.preview img {
width: 100%;
height: 100%;
object-fit: contain;
}
.previewFullscreen {
position: static;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
width: auto;
min-width: 124px;
height: 40px;
margin: 16px auto 0;
padding: 0 16px;
border: 1px solid var(--strict-primary);
border-radius: 6px;
color: var(--strict-primary);
background: #ffffff;
font-size: 0;
box-shadow: none;
transform: none;
}
.previewFullscreen::after {
content: "全屏查看";
font-size: 14px;
font-weight: 700;
}
#liveShotStatus {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid var(--strict-border);
text-align: center;
}
.cardReservations {
padding: 28px;
}
.cardReservations > .cardTitle,
.cardLog > .cardTitle {
padding: 0;
margin: 0 0 22px;
border: 0;
}
.reservationsContent {
display: grid;
place-items: center;
min-height: 190px;
border: 1px solid var(--strict-border);
border-radius: var(--strict-radius);
background: #ffffff;
}
.reservationsContent .hint {
color: var(--strict-muted);
font-size: 15px;
}
.divider {
height: 22px;
border: 0;
}
details > summary.sectionTitle {
align-items: center;
margin: 0 0 14px;
padding: 0;
border: 0;
cursor: pointer;
}
.summaryActions {
margin-left: auto;
}
.summaryActions .btn {
min-height: 36px;
padding: 0 14px;
font-size: 14px;
}
.cardLog {
padding: 28px;
}
.singleLogSection {
border: 1px solid var(--strict-border);
border-radius: var(--strict-radius);
background: #ffffff;
overflow: hidden;
}
.logHeader {
display: grid;
grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
align-items: center;
gap: 18px;
padding: 18px;
border-bottom: 1px solid var(--strict-border);
}
.logHeaderActions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 12px;
min-width: 0;
}
.logHeaderActions .small {
width: 108px;
}
.logSearchBox {
width: min(100%, 520px);
}
.logHeaderActions .btn.small {
min-height: 38px;
padding: 0 18px;
}
#btnRunLogSearch,
#btnActionsRefresh {
color: #ffffff;
border-color: var(--strict-primary);
background: var(--strict-primary);
}
.log {
min-height: clamp(430px, 54vh, 640px);
max-height: clamp(430px, 54vh, 640px);
margin: 0;
padding: 20px;
border: 0;
border-radius: 0;
color: #d6e3ec;
background: #101820;
font-family: "Consolas", "Cascadia Mono", "Microsoft YaHei", monospace;
font-size: 13px;
line-height: 1.55;
white-space: pre-wrap;
}
#actionsLog {
color: #111827;
background: #ffffff;
}
.appFooter {
grid-area: footer;
display: flex;
align-items: center;
min-width: 0;
height: 38px;
margin: 0;
padding: 0 28px;
border-top: 1px solid var(--strict-border);
color: var(--strict-muted);
background: rgba(255, 255, 255, 0.78);
font-family: "Consolas", "Microsoft YaHei", monospace;
font-size: 12px;
letter-spacing: 0;
text-transform: none;
}
.appFooterLeft {
min-width: 0;
}
.premiumReveal {
animation: strictReveal 240ms ease both;
animation-delay: calc(var(--stagger, 0) * 18ms);
}
.panel.isPremiumPulse {
animation: strictPulse 420ms ease both;
}
@keyframes strictReveal {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes strictPulse {
0% {
box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18);
}
100% {
box-shadow: var(--strict-shadow-soft);
}
}