new network model and mfBaseModelV2
This commit is contained in:
@@ -0,0 +1,530 @@
|
||||
/**
|
||||
* ADBNetzgebiet - Netzgebietverwaltung Styles
|
||||
* Optimized for ~1720px width (50% of 21:9 1440p)
|
||||
*/
|
||||
|
||||
/* ===== Container ===== */
|
||||
.tt-scope.netzgebiet-container {
|
||||
background: transparent;
|
||||
color: var(--tt-text);
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
max-width: 90vw;
|
||||
margin: 24px auto 0;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .card {
|
||||
margin: 0;
|
||||
border-radius: var(--tt-radius, 10px);
|
||||
border: none;
|
||||
box-shadow: var(--tt-shadow, 0 8px 24px rgba(0, 83, 132, .08));
|
||||
}
|
||||
|
||||
/* ===== Header ===== */
|
||||
.tt-scope.netzgebiet-container .pane-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
background: linear-gradient(135deg, #f8fbff 0%, #f0f7fd 100%);
|
||||
padding: 16px 20px;
|
||||
margin: -14px -14px 14px -14px;
|
||||
border-radius: var(--tt-radius, 10px) var(--tt-radius, 10px) 0 0;
|
||||
border-bottom: 2px solid #e3f0f8;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .pane-header .title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .4px;
|
||||
font-size: 22px;
|
||||
user-select: none;
|
||||
color: var(--tt-accent, #005384);
|
||||
text-shadow: 0 1px 2px rgba(0,83,132,.1);
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .logo-dot {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle at 30% 30%, #37d26b, #0f9d58 70%);
|
||||
box-shadow: 0 0 0 3px rgba(15,157,88,.15);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .content-divider {
|
||||
border: none;
|
||||
height: 1px;
|
||||
background-color: var(--tt-border);
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
/* ===== Filter Bar ===== */
|
||||
.tt-scope.netzgebiet-container .filter-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 14px 20px;
|
||||
background: #f8fafc;
|
||||
border-bottom: 1px solid var(--tt-border);
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-center {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-main { width: 200px; }
|
||||
.tt-scope.netzgebiet-container .filter-md { width: 140px; }
|
||||
.tt-scope.netzgebiet-container .filter-sm { width: 120px; }
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-bar .ri,
|
||||
.tt-scope.netzgebiet-container .filter-bar select {
|
||||
height: 34px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-bar .ri {
|
||||
padding: 6px 10px 6px 34px;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-bar .select select {
|
||||
padding: 6px 28px 6px 10px;
|
||||
}
|
||||
|
||||
.tt-scope.netzgebiet-container .filter-bar .input-icon {
|
||||
font-size: 13px;
|
||||
left: 11px;
|
||||
}
|
||||
|
||||
/* ===== Table Container ===== */
|
||||
.tt-scope .table-container {
|
||||
overflow-x: auto;
|
||||
overflow-y: auto;
|
||||
max-height: calc(100vh - 200px);
|
||||
}
|
||||
|
||||
/* ===== Table ===== */
|
||||
.tt-scope .netzgebiet-table {
|
||||
width: 100%;
|
||||
min-width: 900px;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tt-scope .netzgebiet-table th,
|
||||
.tt-scope .netzgebiet-table td {
|
||||
padding: 10px 12px;
|
||||
vertical-align: top;
|
||||
border-bottom: 1px solid #eef1f5;
|
||||
}
|
||||
|
||||
.tt-scope .netzgebiet-table thead th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: #f6f9fc;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
color: #667085;
|
||||
z-index: 10;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.tt-scope .netzgebiet-table tbody tr:hover {
|
||||
background: #fafbfc;
|
||||
}
|
||||
|
||||
/* Column Widths - optimized for 1720px */
|
||||
.tt-scope .col-name { width: 20%; }
|
||||
.tt-scope .col-source { width: 14%; }
|
||||
.tt-scope .col-freigabe { width: 10%; }
|
||||
.tt-scope .col-network { width: 18%; }
|
||||
.tt-scope .col-campaign { width: 16%; }
|
||||
.tt-scope .col-consent { width: 16%; }
|
||||
.tt-scope .col-actions { width: 6%; text-align: right; }
|
||||
|
||||
/* ===== Name Cell ===== */
|
||||
.tt-scope .name-link {
|
||||
font-weight: 600;
|
||||
color: var(--tt-accent);
|
||||
}
|
||||
|
||||
.tt-scope .name-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.tt-scope .sub-text {
|
||||
font-size: 11px;
|
||||
color: var(--tt-muted);
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.tt-scope .truncate {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ===== Source Badge ===== */
|
||||
.tt-scope .source-badge {
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 3px 8px;
|
||||
border-radius: 4px;
|
||||
background: #e8f0f6;
|
||||
color: #3a5a70;
|
||||
}
|
||||
|
||||
/* ===== Freigabe Badges ===== */
|
||||
.tt-scope .freigabe-badges {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tt-scope .freigabe-badge {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
border-radius: 4px;
|
||||
color: #fff;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.tt-scope .freigabe-badge.f-interest { background: #1565c0; }
|
||||
.tt-scope .freigabe-badge.f-provision { background: #e65100; }
|
||||
.tt-scope .freigabe-badge.f-order { background: #2e7d32; }
|
||||
.tt-scope .freigabe-badge.f-reorder { background: #7b1fa2; }
|
||||
|
||||
/* ===== Related Links ===== */
|
||||
.tt-scope .related-link {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
color: var(--tt-accent);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.tt-scope .related-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.tt-scope .more-badge {
|
||||
display: inline-block;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
background: var(--tt-accent);
|
||||
color: #fff;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.tt-scope .create-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 12px;
|
||||
color: var(--tt-muted);
|
||||
text-decoration: none;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.tt-scope .create-link:hover {
|
||||
opacity: 1;
|
||||
color: var(--tt-accent);
|
||||
}
|
||||
|
||||
.tt-scope .create-link i {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* ===== Action Buttons ===== */
|
||||
.tt-scope .col-actions {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tt-scope .col-actions .icon-btn {
|
||||
padding: 5px 7px;
|
||||
}
|
||||
|
||||
/* ===== Pagination Bar ===== */
|
||||
.tt-scope .pagination-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 10px 20px;
|
||||
background: #f8fafc;
|
||||
border-top: 1px solid var(--tt-border);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tt-scope .pagination-info {
|
||||
color: var(--tt-muted);
|
||||
}
|
||||
|
||||
.tt-scope .pagination-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.tt-scope .page-size-select {
|
||||
height: 30px;
|
||||
font-size: 12px;
|
||||
padding: 4px 24px 4px 8px;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--tt-border);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tt-scope .page-indicator {
|
||||
font-size: 12px;
|
||||
color: var(--tt-muted);
|
||||
min-width: 60px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ===== Table Placeholder ===== */
|
||||
.tt-scope .table-placeholder {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 60px 20px;
|
||||
color: var(--tt-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tt-scope .table-placeholder.compact {
|
||||
padding: 30px 16px;
|
||||
}
|
||||
|
||||
.tt-scope .table-placeholder i {
|
||||
font-size: 28px;
|
||||
color: var(--tt-brand-blue);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* ===== Modal Form ===== */
|
||||
.tt-scope .modal-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.tt-scope .form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.tt-scope .form-grid .field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.tt-scope .form-grid .span-2 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.tt-scope .form-grid label,
|
||||
.tt-scope .form-section label:not(.checkbox-field) {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--tt-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.tt-scope .form-section {
|
||||
border-top: 1px solid var(--tt-border);
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.tt-scope .section-label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
color: var(--tt-text);
|
||||
}
|
||||
|
||||
/* ===== Checkbox Fields ===== */
|
||||
.tt-scope .checkbox-row {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tt-scope .checkbox-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.tt-scope .checkbox-field input[type="checkbox"] {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
accent-color: var(--tt-brand-blue);
|
||||
}
|
||||
|
||||
.tt-scope .options-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* ===== History ===== */
|
||||
.tt-scope .history-container {
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.tt-scope .history-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.tt-scope .history-entry {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
background: #fff;
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--tt-border);
|
||||
border-left-width: 3px;
|
||||
}
|
||||
|
||||
.tt-scope .history-entry.action-update { border-left-color: #f59f0b; }
|
||||
.tt-scope .history-entry.action-create { border-left-color: var(--tt-ok); }
|
||||
.tt-scope .history-entry.action-delete { border-left-color: var(--tt-bad); }
|
||||
|
||||
.tt-scope .history-icon {
|
||||
font-size: 12px;
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
padding-top: 1px;
|
||||
color: var(--tt-muted);
|
||||
}
|
||||
|
||||
.tt-scope .history-entry.action-update .history-icon { color: #f59f0b; }
|
||||
.tt-scope .history-entry.action-create .history-icon { color: var(--tt-ok); }
|
||||
.tt-scope .history-entry.action-delete .history-icon { color: var(--tt-bad); }
|
||||
|
||||
.tt-scope .history-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.tt-scope .history-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.tt-scope .history-header strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.tt-scope .history-header .field-label {
|
||||
background: #f1f3f5;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
font-family: var(--tt-mono);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.tt-scope .history-meta {
|
||||
margin-left: auto;
|
||||
font-size: 10px;
|
||||
color: var(--tt-muted);
|
||||
}
|
||||
|
||||
.tt-scope .history-diff {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 4px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff i {
|
||||
color: var(--tt-muted);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-old,
|
||||
.tt-scope .history-diff .diff-new {
|
||||
display: inline-block;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
font-family: var(--tt-mono);
|
||||
max-width: 320px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-old.expandable,
|
||||
.tt-scope .history-diff .diff-new.expandable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-old.expandable:hover,
|
||||
.tt-scope .history-diff .diff-new.expandable:hover {
|
||||
filter: brightness(0.97);
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-old.expanded,
|
||||
.tt-scope .history-diff .diff-new.expanded {
|
||||
max-width: 400px;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-old {
|
||||
background: #fff5f5;
|
||||
color: #c92a2a;
|
||||
border: 1px solid #ffc9c9;
|
||||
}
|
||||
|
||||
.tt-scope .history-diff .diff-new {
|
||||
background: #eaf7ef;
|
||||
color: #15803d;
|
||||
border: 1px solid #c9e6d8;
|
||||
}
|
||||
|
||||
/* ===== Utilities ===== */
|
||||
.tt-scope .mono { font-family: var(--tt-mono); }
|
||||
.tt-scope .muted { color: var(--tt-muted); }
|
||||
.tt-scope .mt-3 { margin-top: 12px; }
|
||||
Reference in New Issue
Block a user