Files
2026-moving-helper/app/static/style.css
T
tliu93 facf82c898
test / pytest (push) Successful in 40s
docker-image / build-and-push (push) Successful in 4m17s
add summary
2026-04-27 20:43:57 +02:00

473 lines
7.0 KiB
CSS

body {
margin: 0;
font-family: Arial, sans-serif;
background: #f4f4f4;
color: #222;
line-height: 1.5;
}
.container {
max-width: 1100px;
margin: 28px auto;
padding: 20px;
background: #fff;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
h1 {
margin-top: 0;
margin-bottom: 6px;
font-size: 1.9rem;
}
h2,
h3,
p {
margin-top: 0;
}
a {
color: #0b57d0;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
label {
display: block;
font-weight: 600;
}
input,
textarea,
button {
width: 100%;
box-sizing: border-box;
margin-top: 6px;
padding: 10px 12px;
font: inherit;
}
button,
.button {
display: inline-block;
width: auto;
background: #0b57d0;
color: #fff;
border: none;
border-radius: 8px;
cursor: pointer;
padding: 10px 14px;
text-decoration: none;
line-height: 1.2;
}
.button-primary {
background: #0b57d0;
color: #fff;
}
.button-secondary {
background: #eef3f8;
color: #1f2937;
border: 1px solid #cbd5e1;
}
.button-danger {
background: #b42318;
color: #fff;
}
.button-small {
padding: 8px 12px;
font-size: 0.92rem;
}
.button:hover,
button:hover,
.button:focus-visible,
button:focus-visible {
opacity: 0.94;
text-decoration: none;
}
.top-nav {
margin-bottom: 18px;
display: flex;
gap: 16px;
padding-bottom: 12px;
border-bottom: 1px solid #e5e7eb;
}
.page-header,
.actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
}
.page-header {
margin-bottom: 10px;
}
.stack {
display: grid;
gap: 12px;
}
.card {
border: 1px solid #ddd;
border-radius: 10px;
padding: 14px;
background: #fafafa;
}
.breadcrumb {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 12px;
color: #666;
font-size: 0.95rem;
}
.type-tag {
display: inline-block;
width: fit-content;
padding: 3px 8px;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.02em;
margin-bottom: 8px;
}
.type-box {
background: #e6f0ff;
color: #0b57d0;
}
.type-item {
background: #eef7e8;
color: #2f6b1f;
}
.type-container {
background: #fff1da;
color: #9a4d00;
}
.type-subitem {
background: #f2ebff;
color: #6f42c1;
}
.search-form {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}
.search-form input {
flex: 1 1 320px;
min-width: 220px;
margin-top: 0;
}
.search-result {
display: flex;
gap: 16px;
align-items: flex-start;
}
.result-body {
flex: 1;
min-width: 0;
}
.detail-image {
display: block;
width: 100%;
max-width: 480px;
height: auto;
border-radius: 8px;
margin-bottom: 16px;
}
.detail-image-compact {
max-width: 180px;
margin-bottom: 8px;
}
.thumb-image {
display: block;
width: 64px;
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 0;
border: 1px solid #ddd;
}
.compact-thumb {
flex: 0 0 64px;
}
.dense-list {
display: grid;
gap: 8px;
}
.overview-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
}
.summary-section {
margin-bottom: 18px;
}
.summary-block {
padding-top: 12px;
padding-bottom: 12px;
}
.summary-list {
margin: 0;
padding-left: 18px;
color: #333;
}
.summary-list li + li {
margin-top: 6px;
}
.compact-row {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 10px;
align-items: start;
padding: 8px 10px;
border: 1px solid #ddd;
border-radius: 10px;
background: #fafafa;
position: relative;
}
.compact-row-box {
grid-template-columns: 1fr auto;
}
.overview-card {
grid-template-columns: 1fr;
gap: 8px;
align-content: start;
min-height: 150px;
}
.overview-card-box {
min-height: 140px;
}
.compact-row-container {
border-left: 4px solid #d98700;
}
.compact-row-item {
border-left: 4px solid #3d7a2a;
}
.compact-row-subitem {
border-left: 4px solid #7b57c2;
}
.compact-main h2,
.compact-main h3 {
margin-bottom: 4px;
font-size: 1rem;
}
.overview-card .compact-main h2,
.overview-card .compact-main h3 {
font-size: 1.02rem;
}
.row-title-line {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 6px;
}
.row-meta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 2px 10px;
color: #555;
font-size: 0.9rem;
}
.overview-card .row-meta-grid {
grid-template-columns: 1fr;
gap: 2px;
}
.row-note {
margin-top: 4px;
margin-bottom: 0;
color: #333;
font-size: 0.9rem;
}
.clickable-card {
cursor: pointer;
transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.clickable-card:hover,
.clickable-card:focus-within {
border-color: #9fb8e8;
box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.08);
background: #fcfdff;
}
.detail-card-compact {
display: grid;
grid-template-columns: auto 1fr;
gap: 12px 16px;
align-items: start;
}
.detail-meta-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 4px 12px;
}
.detail-note {
grid-column: 1 / -1;
}
.section-heading h2 {
margin-bottom: 2px;
}
.meta,
.muted {
color: #666;
}
.checkbox-row {
display: flex;
align-items: center;
gap: 10px;
}
.checkbox-row input {
width: auto;
margin: 0;
}
.checkbox-help {
margin-top: -4px;
color: #666;
font-size: 0.92rem;
}
.form-panel {
gap: 14px;
}
.form-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.form-field {
margin: 0;
}
.context-panel {
border: 1px solid #d9e2f2;
border-radius: 10px;
background: #f5f8fd;
padding: 12px;
}
.context-title {
font-weight: 700;
margin-bottom: 8px;
}
.context-body {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 6px;
}
.context-body:last-child {
margin-bottom: 0;
}
.actions form {
margin: 0;
}
@media (max-width: 720px) {
.container {
margin: 0;
border-radius: 0;
padding: 16px;
}
.compact-row,
.compact-row-box {
grid-template-columns: 1fr;
}
.row-actions {
align-items: flex-start;
flex-direction: row;
flex-wrap: wrap;
}
.thumb-image,
.compact-thumb {
width: 72px;
}
.detail-card-compact {
grid-template-columns: 1fr;
}
}
@media (min-width: 900px) {
.overview-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (min-width: 1280px) {
.overview-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (min-width: 1600px) {
.overview-grid {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
}