feat: initial import (exclude templates and runtime temp files)
This commit is contained in:
914
app/static/styles.css
Normal file
914
app/static/styles.css
Normal file
@@ -0,0 +1,914 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");
|
||||
|
||||
:root {
|
||||
--bg-0: #edf3f4;
|
||||
--bg-1: #f8f5ed;
|
||||
--surface: rgba(255, 255, 255, 0.92);
|
||||
--surface-strong: #ffffff;
|
||||
--ink: #182c32;
|
||||
--muted: #61777d;
|
||||
--line: #d4e0e4;
|
||||
--line-strong: #c3d2d8;
|
||||
--brand: #0e766e;
|
||||
--brand-deep: #0a5b56;
|
||||
--accent: #d77c2e;
|
||||
--danger: #c53d34;
|
||||
--focus: rgba(14, 118, 110, 0.22);
|
||||
--shadow-soft: 0 10px 28px rgba(18, 45, 52, 0.1);
|
||||
--shadow-strong: 0 22px 48px rgba(17, 43, 49, 0.16);
|
||||
--radius-xl: 22px;
|
||||
--radius-lg: 16px;
|
||||
--radius-md: 12px;
|
||||
--radius-sm: 10px;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Sora", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
|
||||
line-height: 1.55;
|
||||
color: var(--ink);
|
||||
background: radial-gradient(circle at 7% -12%, rgba(14, 118, 110, 0.18) 0, transparent 36%),
|
||||
radial-gradient(circle at 94% 0, rgba(215, 124, 46, 0.18) 0, transparent 32%),
|
||||
linear-gradient(165deg, var(--bg-0), var(--bg-1));
|
||||
}
|
||||
|
||||
.bg-shape {
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.bg-shape-a {
|
||||
top: -130px;
|
||||
right: -100px;
|
||||
width: 340px;
|
||||
height: 340px;
|
||||
border-radius: 44% 56% 59% 41%;
|
||||
background: rgba(14, 118, 110, 0.12);
|
||||
animation: float-a 13s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.bg-shape-b {
|
||||
left: -92px;
|
||||
bottom: -92px;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
border-radius: 56% 44% 40% 60%;
|
||||
background: rgba(215, 124, 46, 0.13);
|
||||
animation: float-b 14s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes float-a {
|
||||
0%,
|
||||
100% {
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
50% {
|
||||
transform: translate(-8px, 12px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes float-b {
|
||||
0%,
|
||||
100% {
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
50% {
|
||||
transform: translate(9px, -11px);
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 1460px;
|
||||
margin: 0 auto;
|
||||
padding: 24px 16px 34px;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.top {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 20px 22px;
|
||||
background: linear-gradient(118deg, rgba(255, 255, 255, 0.94), rgba(248, 252, 252, 0.82));
|
||||
box-shadow: var(--shadow-soft);
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.top-copy h1 {
|
||||
margin: 0;
|
||||
font-size: clamp(27px, 3.7vw, 42px);
|
||||
letter-spacing: 0.012em;
|
||||
}
|
||||
|
||||
.top-copy p {
|
||||
margin: 8px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.top-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.top-meta span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(14, 118, 110, 0.24);
|
||||
background: rgba(14, 118, 110, 0.09);
|
||||
color: var(--brand-deep);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-xl);
|
||||
padding: 16px;
|
||||
background: var(--surface);
|
||||
box-shadow: var(--shadow-soft);
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
|
||||
.composer-card {
|
||||
border-color: rgba(14, 118, 110, 0.28);
|
||||
box-shadow: var(--shadow-strong);
|
||||
}
|
||||
|
||||
.metrics-bar {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.metrics {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.metric {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 12px;
|
||||
background: var(--surface-strong);
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.metric span {
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.metric strong {
|
||||
font-size: 22px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.workspace {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.main-col {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.side-col {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
position: sticky;
|
||||
top: 14px;
|
||||
max-height: calc(100vh - 28px);
|
||||
overflow: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.stage-card {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
#preview-card {
|
||||
min-height: 280px;
|
||||
}
|
||||
|
||||
#preview-card .preview-grid {
|
||||
max-height: 700px;
|
||||
overflow: auto;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
#new-card .table-wrap {
|
||||
max-height: 520px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin: 0;
|
||||
font-size: 19px;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
textarea,
|
||||
input {
|
||||
width: 100%;
|
||||
border: 1px solid var(--line-strong);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--surface-strong);
|
||||
color: var(--ink);
|
||||
font: inherit;
|
||||
outline: none;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 184px;
|
||||
resize: vertical;
|
||||
padding: 13px 14px;
|
||||
}
|
||||
|
||||
input {
|
||||
height: 40px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
textarea:focus,
|
||||
input:focus,
|
||||
button:focus-visible,
|
||||
summary:focus-visible {
|
||||
border-color: rgba(14, 118, 110, 0.56);
|
||||
box-shadow: 0 0 0 4px var(--focus);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin-top: 12px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
button,
|
||||
.mini-btn,
|
||||
.preview-btn {
|
||||
min-height: 38px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 11px;
|
||||
padding: 0 14px;
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.01em;
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
background: linear-gradient(138deg, var(--brand), var(--brand-deep));
|
||||
transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.2s ease;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
.mini-btn:hover,
|
||||
.preview-btn:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 10px 18px rgba(11, 84, 78, 0.24);
|
||||
}
|
||||
|
||||
button:disabled,
|
||||
.mini-btn:disabled,
|
||||
.preview-btn:disabled {
|
||||
opacity: 0.56;
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.secondary,
|
||||
.mini-btn.secondary,
|
||||
.preview-btn.secondary {
|
||||
color: var(--ink);
|
||||
border-color: var(--line-strong);
|
||||
background: #f7fbfc;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.secondary:hover,
|
||||
.mini-btn.secondary:hover,
|
||||
.preview-btn.secondary:hover {
|
||||
background: #eef5f7;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.danger,
|
||||
.mini-btn.danger,
|
||||
.preview-btn.danger {
|
||||
color: #ffffff;
|
||||
border-color: transparent;
|
||||
background: linear-gradient(138deg, #cd4d45, #b8362e);
|
||||
}
|
||||
|
||||
.progress-wrap {
|
||||
margin-top: 12px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
}
|
||||
|
||||
.progress-head {
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 8px;
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
background: #e4ecef;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
width: 0;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, var(--brand), var(--accent));
|
||||
transition: width 0.25s ease;
|
||||
}
|
||||
|
||||
.progress-detail {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.msg {
|
||||
min-height: 22px;
|
||||
margin-top: 10px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.fold-card {
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.fold-card > summary {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
padding: 14px 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.fold-card > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fold-card > summary::after {
|
||||
content: "展开";
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.fold-card[open] > summary {
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: rgba(249, 252, 252, 0.88);
|
||||
}
|
||||
|
||||
.fold-card[open] > summary::after {
|
||||
content: "收起";
|
||||
}
|
||||
|
||||
.fold-body {
|
||||
padding: 14px 16px 16px;
|
||||
}
|
||||
|
||||
.form-grid {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.form-grid label,
|
||||
#corr-keyword-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.config-summary {
|
||||
margin-top: 10px;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.table-wrap {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
background: #ffffff;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#history-panel .table-wrap,
|
||||
#issue-panel .table-wrap {
|
||||
max-height: 340px;
|
||||
}
|
||||
|
||||
#dup-panel .table-wrap {
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
min-width: 720px;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #ecf2f4;
|
||||
}
|
||||
|
||||
th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
background: #f4f9fa;
|
||||
color: #405960;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
tbody tr:hover td {
|
||||
background: #fbfdfd;
|
||||
}
|
||||
|
||||
#new-body td:nth-child(3),
|
||||
#dup-body td:nth-child(3),
|
||||
#history-body td:nth-child(4) {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.cell-actions {
|
||||
min-width: 170px;
|
||||
}
|
||||
|
||||
.actions-inline,
|
||||
.skip-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.mini-btn {
|
||||
min-height: 30px;
|
||||
border-radius: 9px;
|
||||
padding: 0 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.preview-grid {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
align-items: start;
|
||||
align-content: start;
|
||||
grid-auto-rows: max-content;
|
||||
}
|
||||
|
||||
.preview-empty {
|
||||
grid-column: 1 / -1;
|
||||
border: 1px dashed var(--line-strong);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 24px 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.preview-item {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
background: #ffffff;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
height: auto;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.preview-media {
|
||||
width: 100%;
|
||||
background: #f2f8f9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.preview-media.is-loading::after,
|
||||
.preview-media.is-error::after {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
color: #597278;
|
||||
background: rgba(242, 248, 249, 0.88);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.preview-media.is-loading::after {
|
||||
content: "加载中...";
|
||||
}
|
||||
|
||||
.preview-media.is-error::after {
|
||||
content: "加载失败";
|
||||
color: #8f3a33;
|
||||
}
|
||||
|
||||
.preview-image {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: none;
|
||||
height: auto;
|
||||
min-height: 220px;
|
||||
aspect-ratio: 1 / 2;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
background: #eef4f6;
|
||||
}
|
||||
|
||||
.preview-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 8px;
|
||||
border-top: 1px solid #dfeaed;
|
||||
min-height: 46px;
|
||||
}
|
||||
|
||||
.preview-name {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
font-size: 12px;
|
||||
color: #4d666d;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.preview-btn {
|
||||
min-height: 30px;
|
||||
border-radius: 9px;
|
||||
padding: 0 10px;
|
||||
font-size: 12px;
|
||||
flex: 0 0 auto;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.skip-list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
max-height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.skip-list li {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
background: #ffffff;
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.skip-list li > span {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.check-line {
|
||||
margin-top: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.check-line input[type="checkbox"] {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 50;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 18px;
|
||||
background: rgba(18, 36, 42, 0.48);
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
|
||||
.modal-card {
|
||||
width: min(880px, calc(100vw - 30px));
|
||||
max-height: 88vh;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-xl);
|
||||
background: #ffffff;
|
||||
box-shadow: 0 30px 56px rgba(13, 34, 41, 0.32);
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.modal-card p {
|
||||
margin: 8px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.correction-card .form-grid {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.insurance-list {
|
||||
margin-top: 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.insurance-item {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-md);
|
||||
background: #f8fbfc;
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.insurance-line {
|
||||
font-size: 13px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.insurance-meta {
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.insurance-options {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.insurance-options label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.insurance-error {
|
||||
margin-top: 8px;
|
||||
color: var(--danger);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.toast-msg {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 26px;
|
||||
transform: translate(-50%, 12px);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
z-index: 70;
|
||||
padding: 9px 14px;
|
||||
border-radius: 10px;
|
||||
color: #ffffff;
|
||||
background: rgba(18, 41, 49, 0.92);
|
||||
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
|
||||
transition: transform 0.2s ease, opacity 0.2s ease;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.toast-msg.show {
|
||||
transform: translate(-50%, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.toast-msg.error {
|
||||
background: rgba(163, 39, 31, 0.94);
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1360px) {
|
||||
.workspace {
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
#preview-card .preview-grid {
|
||||
max-height: 520px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.metrics-bar {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.workspace {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.side-col {
|
||||
position: static;
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
#history-panel .table-wrap,
|
||||
#issue-panel .table-wrap,
|
||||
#dup-panel .table-wrap,
|
||||
#new-card .table-wrap,
|
||||
#preview-card .preview-grid,
|
||||
.skip-list {
|
||||
max-height: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 880px) {
|
||||
.container {
|
||||
padding: 16px 12px 22px;
|
||||
}
|
||||
|
||||
.top {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.top-meta {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.card {
|
||||
border-radius: 16px;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.fold-card {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.fold-card > summary {
|
||||
padding: 12px 14px;
|
||||
}
|
||||
|
||||
.fold-body {
|
||||
padding: 12px 14px 14px;
|
||||
}
|
||||
|
||||
.metrics-bar {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.form-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.preview-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.row button {
|
||||
flex: 1 1 calc(50% - 8px);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
table {
|
||||
min-width: 620px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.top-meta span {
|
||||
min-height: 28px;
|
||||
padding: 0 10px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.preview-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.row button {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.metrics-bar {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.modal {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.modal-card {
|
||||
width: 100%;
|
||||
max-height: 92vh;
|
||||
border-radius: 14px;
|
||||
padding: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation: none !important;
|
||||
transition: none !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user