1205 lines
21 KiB
CSS
1205 lines
21 KiB
CSS
/**
|
|
* ADMIN2000 - Modernes Admin-System CSS
|
|
* Responsive, sauber, keine Inline-Styles
|
|
* Version 2.0.0
|
|
*/
|
|
|
|
/* ============================================
|
|
RESET & BASE
|
|
============================================ */
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
background: #f5f7fa;
|
|
color: #333;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Prevent legacy CSS conflicts */
|
|
.admin2000-container * {
|
|
all: revert;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
}
|
|
|
|
/* ============================================
|
|
CONTAINER & LAYOUT
|
|
============================================ */
|
|
|
|
.admin2000-container {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
background: #f5f7fa;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Header */
|
|
.admin2000-header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
padding: 20px 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.admin2000-header-left h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.admin2000-tagline {
|
|
margin: 5px 0 0 0;
|
|
opacity: 0.9;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.admin2000-header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.admin2000-header-user {
|
|
color: rgba(255,255,255,0.9);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.admin2000-header-link {
|
|
color: rgba(255,255,255,0.8);
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
background: rgba(255,255,255,0.1);
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.admin2000-header-link:hover {
|
|
background: rgba(255,255,255,0.2);
|
|
color: white;
|
|
}
|
|
|
|
.admin2000-version {
|
|
background: rgba(255,255,255,0.2);
|
|
padding: 5px 12px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Main Layout */
|
|
.admin2000-main {
|
|
display: flex;
|
|
min-height: calc(100vh - 80px);
|
|
}
|
|
|
|
/* ============================================
|
|
SIDEBAR NAVIGATION
|
|
============================================ */
|
|
|
|
.admin2000-sidebar {
|
|
width: 280px;
|
|
background: white;
|
|
border-right: 1px solid #e1e8ed;
|
|
padding: 20px 0;
|
|
overflow-y: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.admin2000-nav-section {
|
|
margin-bottom: 30px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.admin2000-nav-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #8899a6;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin: 0 0 15px 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin2000-nav-icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.admin2000-nav-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.admin2000-nav-list li {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.admin2000-nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 12px 16px;
|
|
color: #657786;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin2000-nav-link:hover {
|
|
background: #f7f9fa;
|
|
color: #1da1f2;
|
|
}
|
|
|
|
.admin2000-nav-list li.active .admin2000-nav-link {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.admin2000-page-icon {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.admin2000-sidebar-footer {
|
|
padding: 20px;
|
|
border-top: 1px solid #e1e8ed;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.admin2000-back-link {
|
|
display: inline-block;
|
|
padding: 10px 16px;
|
|
background: #f7f9fa;
|
|
color: #657786;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.admin2000-back-link:hover {
|
|
background: #e1e8ed;
|
|
color: #1da1f2;
|
|
}
|
|
|
|
/* ============================================
|
|
CONTENT AREA
|
|
============================================ */
|
|
|
|
.admin2000-content {
|
|
flex: 1;
|
|
padding: 30px;
|
|
overflow-y: auto;
|
|
background: #f5f7fa;
|
|
}
|
|
|
|
/* ============================================
|
|
RESPONSIVE
|
|
============================================ */
|
|
|
|
@media (max-width: 1024px) {
|
|
.admin2000-sidebar {
|
|
width: 240px;
|
|
}
|
|
|
|
.admin2000-content {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.admin2000-main {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin2000-sidebar {
|
|
width: 100%;
|
|
border-right: none;
|
|
border-bottom: 1px solid #e1e8ed;
|
|
}
|
|
|
|
.admin2000-header h1 {
|
|
font-size: 22px;
|
|
}
|
|
}
|
|
|
|
/* ============================================
|
|
FILTER COMPONENTS
|
|
============================================ */
|
|
|
|
.admin2000-filter-section {
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-radius: 6px;
|
|
display: none;
|
|
}
|
|
|
|
.admin2000-filter-title {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-weight: 600;
|
|
color: #495057;
|
|
}
|
|
|
|
.admin2000-filter-grid {
|
|
display: flex;
|
|
gap: 15px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.admin2000-filter-item {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.admin2000-filter-label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-size: 13px;
|
|
color: #657786;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin2000-filter-element {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border: 1px solid #e1e8ed;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
background: white;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.admin2000-filter-element:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.admin2000-filter-toggle {
|
|
margin-bottom: 15px;
|
|
padding: 8px 16px;
|
|
background: #f8f9fa;
|
|
border: 1px solid #e1e8ed;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
color: #657786;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin2000-filter-toggle:hover {
|
|
background: #e9ecef;
|
|
border-color: #ced4da;
|
|
}
|
|
|
|
/* ============================================
|
|
UTILITY CLASSES
|
|
============================================ */
|
|
|
|
.admin2000-card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 25px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.admin2000-card-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0 0 20px 0;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.admin2000-btn {
|
|
display: inline-block;
|
|
padding: 10px 20px;
|
|
background: #667eea;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.admin2000-btn:hover {
|
|
background: #5568d3;
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.admin2000-btn-success {
|
|
background: #28a745;
|
|
}
|
|
|
|
.admin2000-btn-success:hover {
|
|
background: #218838;
|
|
}
|
|
|
|
/* ============================================
|
|
LIST & TABLE COMPONENTS
|
|
============================================ */
|
|
|
|
.admin2000-list-header {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.admin2000-toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-top: 20px;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.admin2000-search-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin2000-search-input {
|
|
padding: 10px 15px;
|
|
border: 1px solid #e1e8ed;
|
|
border-radius: 6px;
|
|
width: 300px;
|
|
font-size: 14px;
|
|
transition: border-color 0.2s ease;
|
|
}
|
|
|
|
.admin2000-search-input:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
/* Stats Row */
|
|
.admin2000-stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.admin2000-stat-card {
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
color: white;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.admin2000-stat-primary {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
}
|
|
|
|
.admin2000-stat-success {
|
|
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
|
|
}
|
|
|
|
.admin2000-stat-info {
|
|
background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
|
|
}
|
|
|
|
.admin2000-stat-label {
|
|
font-size: 14px;
|
|
opacity: 0.9;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.admin2000-stat-value {
|
|
font-size: 32px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Table */
|
|
.admin2000-table-wrapper {
|
|
overflow-x: auto;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.admin2000-table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
background: white;
|
|
}
|
|
|
|
.admin2000-table thead {
|
|
background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
|
|
}
|
|
|
|
.admin2000-table th {
|
|
padding: 15px 12px;
|
|
text-align: left;
|
|
font-weight: 600;
|
|
color: #495057;
|
|
font-size: 13px;
|
|
border-bottom: 2px solid #dee2e6;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin2000-table tbody tr {
|
|
transition: background 0.2s ease;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
/* Zebra-Streifen: Odd/Even Rows */
|
|
.admin2000-table tbody tr:nth-child(odd) {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.admin2000-table tbody tr:nth-child(even) {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.admin2000-table tbody tr:hover {
|
|
background: #e9ecef !important;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.admin2000-table td {
|
|
padding: 12px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
.admin2000-sort-link {
|
|
color: #495057;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.admin2000-sort-link:hover {
|
|
color: #667eea;
|
|
}
|
|
|
|
.admin2000-table-actions {
|
|
text-align: center;
|
|
width: 150px;
|
|
}
|
|
|
|
.admin2000-btn-small {
|
|
display: inline-block;
|
|
padding: 6px 12px;
|
|
background: #667eea;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.admin2000-btn-small:hover {
|
|
background: #5568d3;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Pagination */
|
|
.admin2000-pagination {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin-top: 20px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #e1e8ed;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.admin2000-pagination-controls {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin2000-pagination-label {
|
|
margin-right: 8px;
|
|
color: #657786;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin2000-pagination-btn {
|
|
display: inline-block;
|
|
padding: 8px 16px;
|
|
background: #f8f9fa;
|
|
color: #495057;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.admin2000-pagination-btn:hover {
|
|
background: #667eea;
|
|
color: white;
|
|
}
|
|
|
|
.admin2000-pagination-info {
|
|
color: #657786;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Loading & Error States */
|
|
.admin2000-loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #657786;
|
|
}
|
|
|
|
.admin2000-error-state {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #e74c3c;
|
|
}
|
|
|
|
.admin2000-loading-cell,
|
|
.admin2000-error-cell {
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.admin2000-loading-cell {
|
|
color: #657786;
|
|
}
|
|
|
|
.admin2000-error-cell {
|
|
color: #e74c3c;
|
|
}
|
|
|
|
/* Empty State */
|
|
.admin2000-empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #657786;
|
|
}
|
|
|
|
.admin2000-empty-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.admin2000-empty-state h3 {
|
|
color: #333;
|
|
margin: 0 0 10px 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.admin2000-empty-state p {
|
|
color: #657786;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.admin2000-hint {
|
|
color: #657786;
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Items per page controls */
|
|
.admin2000-items-per-page {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ============================================
|
|
EDITOR / FORM COMPONENTS
|
|
============================================ */
|
|
|
|
/* Editor Container */
|
|
.admin2000-editor-container {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
}
|
|
|
|
.admin2000-editor-header {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.admin2000-breadcrumb {
|
|
font-size: 14px;
|
|
color: #657786;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.admin2000-breadcrumb a {
|
|
color: #667eea;
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.admin2000-breadcrumb a:hover {
|
|
color: #5568d3;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.admin2000-breadcrumb-separator {
|
|
margin: 0 8px;
|
|
color: #ced4da;
|
|
}
|
|
|
|
.admin2000-breadcrumb-current {
|
|
color: #495057;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin2000-editor-title {
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin2000-editor-id {
|
|
font-size: 18px;
|
|
color: #657786;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* Form */
|
|
.admin2000-form {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 30px;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
/* Section Box für visuelle Trennung */
|
|
.admin2000-form-section {
|
|
background: #ffffff;
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 8px;
|
|
padding: 25px;
|
|
margin-bottom: 25px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.admin2000-form-section:first-of-type {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.admin2000-form-section-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #495057;
|
|
margin: 0 0 20px 0;
|
|
padding-bottom: 12px;
|
|
border-bottom: 2px solid #667eea;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.admin2000-form-section-title:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.admin2000-form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* ========================================
|
|
GRID LAYOUT SYSTEM - Multi-Column Forms
|
|
======================================== */
|
|
|
|
/* Grid Row Container */
|
|
.admin2000-form-row {
|
|
display: grid;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* 2 Column Layout (50% / 50%) */
|
|
.admin2000-form-row-2 {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
/* 3 Column Layout (33% / 33% / 33%) */
|
|
.admin2000-form-row-3 {
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
}
|
|
|
|
/* Mixed Column Layouts (wie Legacy edit_element_X_Y) */
|
|
.admin2000-form-row-mixed-2-3 {
|
|
grid-template-columns: 2fr 3fr; /* 40% / 60% */
|
|
}
|
|
|
|
.admin2000-form-row-mixed-3-2 {
|
|
grid-template-columns: 3fr 2fr; /* 60% / 40% */
|
|
}
|
|
|
|
/* Form Group in Grid Row - kein extra margin-bottom */
|
|
.admin2000-form-row > .admin2000-form-group {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ======================================== */
|
|
|
|
.admin2000-form-label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #495057;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.admin2000-form-input,
|
|
.admin2000-form-select,
|
|
.admin2000-form-textarea {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 4px;
|
|
background: white;
|
|
transition: all 0.2s;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.admin2000-form-input:focus,
|
|
.admin2000-form-select:focus,
|
|
.admin2000-form-textarea:focus {
|
|
outline: none;
|
|
border-color: #667eea;
|
|
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
|
|
}
|
|
|
|
.admin2000-form-textarea {
|
|
resize: vertical;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.admin2000-form-actions {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-top: 30px;
|
|
padding-top: 30px;
|
|
border-top: 1px solid #e9ecef;
|
|
}
|
|
|
|
.admin2000-btn-primary {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
|
}
|
|
|
|
.admin2000-btn-primary:hover {
|
|
background: linear-gradient(135deg, #5568d3 0%, #653a8a 100%);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.admin2000-btn-secondary {
|
|
background: #f8f9fa;
|
|
color: #495057;
|
|
border: 1px solid #ced4da;
|
|
}
|
|
|
|
.admin2000-btn-secondary:hover {
|
|
background: #e9ecef;
|
|
color: #495057;
|
|
}
|
|
|
|
/* Error Box */
|
|
.admin2000-error-box {
|
|
background: #fff3cd;
|
|
border: 1px solid #ffc107;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px;
|
|
color: #856404;
|
|
}
|
|
|
|
.admin2000-error-box strong {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ========================================
|
|
TAB SYSTEM
|
|
======================================== */
|
|
|
|
/* Tab Navigation */
|
|
.admin2000-tabs-nav {
|
|
display: flex;
|
|
gap: 10px;
|
|
border-bottom: 2px solid #e9ecef;
|
|
margin-bottom: 30px;
|
|
background: #ffffff;
|
|
padding: 15px 15px 0 15px;
|
|
border-radius: 8px 8px 0 0;
|
|
}
|
|
|
|
.admin2000-tab-button {
|
|
padding: 12px 24px;
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 3px solid transparent;
|
|
color: #6c757d;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
position: relative;
|
|
top: 2px;
|
|
}
|
|
|
|
.admin2000-tab-button:hover {
|
|
color: #495057;
|
|
background: #f8f9fa;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
.admin2000-tab-button.active {
|
|
color: #667eea;
|
|
border-bottom-color: #667eea;
|
|
}
|
|
|
|
/* Tab Content */
|
|
.admin2000-tab-content {
|
|
display: none;
|
|
}
|
|
|
|
.admin2000-tab-content.active {
|
|
display: block;
|
|
animation: fadeIn 0.3s;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(-10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* Sticky Save Actions */
|
|
.admin2000-form-actions-sticky {
|
|
position: sticky;
|
|
bottom: 0;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
margin: 30px -20px -20px -20px;
|
|
border-top: 2px solid #e9ecef;
|
|
box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
|
|
z-index: 100;
|
|
}
|
|
|
|
/* ======================================== */
|
|
|
|
/* ========================================
|
|
ADDRESS CARDS
|
|
======================================== */
|
|
|
|
/* Address Grid - 3 Spalten */
|
|
.admin2000-address-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Address Card */
|
|
.admin2000-address-card {
|
|
background: #ffffff;
|
|
border: 1px solid #dee2e6;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.admin2000-address-card:hover {
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.admin2000-address-card-header {
|
|
background: #f8f9fa;
|
|
padding: 12px 15px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
color: #495057;
|
|
border-bottom: 1px solid #dee2e6;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.admin2000-address-card-body {
|
|
padding: 15px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #495057;
|
|
}
|
|
|
|
.admin2000-address-honorific {
|
|
font-size: 12px;
|
|
color: #6c757d;
|
|
text-transform: uppercase;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.admin2000-address-company {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.admin2000-address-name {
|
|
font-weight: 600;
|
|
color: #212529;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.admin2000-address-street,
|
|
.admin2000-address-city,
|
|
.admin2000-address-country {
|
|
color: #6c757d;
|
|
font-size: 13px;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.admin2000-address-card-actions {
|
|
padding: 12px;
|
|
background: #f8f9fa;
|
|
border-top: 1px solid #dee2e6;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Add New Address Card */
|
|
.admin2000-address-card-add {
|
|
border: 2px dashed #ced4da;
|
|
background: #f8f9fa;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 250px;
|
|
}
|
|
|
|
.admin2000-address-card-add:hover {
|
|
border-color: #667eea;
|
|
background: #fff;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.admin2000-address-add-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
color: #667eea;
|
|
padding: 40px 20px;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.admin2000-address-add-icon {
|
|
font-size: 48px;
|
|
font-weight: 300;
|
|
margin-bottom: 10px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.admin2000-address-add-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Badge */
|
|
.admin2000-badge-primary {
|
|
background: #667eea;
|
|
color: white;
|
|
padding: 3px 8px;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Small Buttons */
|
|
.admin2000-btn-small {
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
border-radius: 4px;
|
|
border: none;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
text-align: center;
|
|
transition: all 0.2s;
|
|
font-weight: 500;
|
|
width: 100%;
|
|
}
|
|
|
|
.admin2000-btn-danger {
|
|
background: #dc3545;
|
|
color: white;
|
|
}
|
|
|
|
.admin2000-btn-danger:hover {
|
|
background: #c82333;
|
|
}
|
|
|
|
/* Empty State */
|
|
.admin2000-empty-state {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.admin2000-empty-state p {
|
|
margin-bottom: 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* ======================================== */
|
|
|
|
/* ========================================
|
|
ORDERS / RECHNUNGEN TABLE
|
|
======================================== */
|
|
|
|
.admin2000-orders-table-wrapper {
|
|
overflow-x: auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.admin2000-orders-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin2000-orders-table th {
|
|
text-align: left;
|
|
padding: 12px;
|
|
}
|
|
|
|
.admin2000-orders-table td {
|
|
padding: 12px;
|
|
}
|
|
|
|
.admin2000-orders-table tbody tr:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.admin2000-badge-status {
|
|
display: inline-block;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.admin2000-badge-bezahlt,
|
|
.admin2000-badge-paid {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.admin2000-badge-offen,
|
|
.admin2000-badge-open {
|
|
background: #fff3cd;
|
|
color: #856404;
|
|
}
|
|
|
|
.admin2000-badge-storniert,
|
|
.admin2000-badge-cancelled {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
.admin2000-orders-summary {
|
|
padding: 15px;
|
|
background: #f8f9fa;
|
|
border-radius: 4px;
|
|
text-align: right;
|
|
color: #495057;
|
|
}
|
|
|
|
/* ======================================== */
|
|
|
|
/* Success Box */
|
|
.admin2000-success-box {
|
|
background: #d4edda;
|
|
border: 1px solid #28a745;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
color: #155724;
|
|
animation: slideDown 0.3s ease;
|
|
}
|
|
|
|
.admin2000-success-box strong {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
@keyframes slideDown {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.admin2000-limit-btn {
|
|
display: inline-block;
|
|
padding: 6px 14px;
|
|
background: #f8f9fa;
|
|
color: #495057;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid #e1e8ed;
|
|
}
|
|
|
|
.admin2000-limit-btn:hover {
|
|
background: #e9ecef;
|
|
border-color: #ced4da;
|
|
}
|
|
|
|
.admin2000-limit-btn.active {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-color: #667eea;
|
|
box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
|
|
}
|