This commit is contained in:
Ondur
2026-11-04 18:07:22 +01:00
parent 1d546191c1
commit 962aad7c86

View File

@@ -2804,4 +2804,260 @@ textarea.wj-input {
align-items: stretch;
}
}
/* ===== Admin formuláøe a seznamy (globálnì) ===== */
.ap {
max-width: 1120px;
margin: 0 auto;
padding: 8px 8px 48px;
color: #1d1d1f;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.ap-hero {
padding: 28px 8px 24px;
}
.ap-hero-left {
text-align: left;
}
.ap-hero-row {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.ap-eyebrow {
margin: 0 0 8px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #6e6e73;
}
.ap h1 {
margin: 0;
font-size: 34px;
font-weight: 700;
letter-spacing: -0.03em;
}
.ap-sub {
margin: 8px 0 0;
color: #6e6e73;
font-size: 16px;
}
.ap-panel {
background: #fff;
border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 22px;
padding: 22px;
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
margin-bottom: 14px;
}
.ap-form-panel {
max-width: 560px;
}
.ap-panel-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
}
.ap-panel-head h2 {
margin: 0;
font-size: 18px;
font-weight: 650;
}
.ap-muted {
color: #6e6e73;
font-size: 13px;
}
.ap-field {
display: flex;
flex-direction: column;
gap: 8px;
margin-bottom: 16px;
}
.ap-field label {
font-size: 13px;
font-weight: 600;
}
.ap-input,
.ap-select,
.ap-textarea {
width: 100%;
box-sizing: border-box;
border: 1px solid #d2d2d7;
border-radius: 14px;
padding: 12px 14px;
font-size: 15px;
color: #1d1d1f;
background: #fff;
outline: none;
}
.ap-input:focus,
.ap-select:focus,
.ap-textarea:focus {
border-color: #1d1d1f;
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.ap-textarea {
min-height: 110px;
resize: vertical;
}
.ap-help {
color: #6e6e73;
font-size: 12px;
}
.ap-switch {
display: flex;
align-items: center;
gap: 10px;
margin: 8px 0 20px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
}
.ap-form-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-top: 8px;
}
.ap-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 16px;
border-radius: 999px;
border: 1px solid rgba(0, 0, 0, 0.08);
background: #fff;
color: #1d1d1f;
font-size: 14px;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
.ap-btn:hover {
background: #f5f5f7;
color: #1d1d1f;
}
.ap-btn-primary {
background: #1d1d1f;
border-color: #1d1d1f;
color: #fff;
}
.ap-btn-primary:hover {
background: #000;
color: #fff;
}
.ap-btn-ghost {
padding: 7px 12px;
font-size: 13px;
background: #f5f5f7;
border-color: transparent;
}
.ap-alert {
margin-bottom: 14px;
padding: 14px 16px;
border-radius: 16px;
background: #f5f5f7;
border: 1px solid #e5e5ea;
font-size: 14px;
}
.ap-loading,
.ap-empty {
color: #6e6e73;
font-size: 14px;
}
.ap-toolbar {
display: flex;
gap: 10px;
margin-bottom: 14px;
}
.ap-toolbar .ap-input {
max-width: 280px;
}
.ap-table-wrap {
overflow-x: auto;
}
.ap-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.ap-table th {
text-align: left;
padding: 10px 8px 12px;
color: #6e6e73;
font-size: 12px;
font-weight: 500;
border-bottom: 1px solid #f0f0f2;
}
.ap-table td {
padding: 14px 8px;
border-bottom: 1px solid #f4f4f6;
}
.ap-table tbody tr:hover {
background: #fafafa;
}
.ap-name {
font-weight: 600;
}
.ap-actions-cell {
text-align: right;
white-space: nowrap;
}
.ap-status {
display: inline-flex;
padding: 4px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
}
.ap-status.is-on {
background: #1d1d1f;
color: #fff;
}
.ap-status.is-off {
background: #f0f0f2;
color: #6e6e73;
}