Files
2026-moving-helper/app/static/style.css
T
2026-04-19 13:26:23 +02:00

350 lines
4.9 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;
}
.button:hover,
button:hover {
opacity: 0.92;
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;
}
.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;
}
.thumb-image {
display: block;
width: 88px;
max-width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 0;
border: 1px solid #ddd;
}
.compact-thumb {
flex: 0 0 88px;
}
.dense-list {
display: grid;
gap: 8px;
}
.compact-row {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 12px;
align-items: start;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 10px;
background: #fafafa;
}
.compact-row-box {
grid-template-columns: 1fr auto;
}
.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;
}
.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: 4px 12px;
color: #555;
font-size: 0.95rem;
}
.row-note {
margin-top: 6px;
margin-bottom: 0;
color: #333;
font-size: 0.95rem;
}
.row-actions {
display: flex;
flex-direction: column;
gap: 6px;
align-items: flex-end;
white-space: nowrap;
}
.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-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;
}
.link-button {
background: none;
border: none;
color: #b42318;
padding: 0;
cursor: pointer;
}
.link-button:hover {
text-decoration: underline;
}
@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: 100px;
}
}