admin and vendor backends features

This commit is contained in:
2025-10-19 16:16:13 +02:00
parent 7b8e31a198
commit cbe1ab09d1
25 changed files with 5787 additions and 1540 deletions

View File

@@ -347,73 +347,255 @@
}
/* Modal/Dialog */
/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--bg-overlay);
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
justify-content: center;
z-index: 1000;
}
.modal {
.modal-content {
background: white;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-xl);
border-radius: 8px;
max-width: 600px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.modal-header {
padding: var(--spacing-lg);
border-bottom: 1px solid var(--border-color);
padding: 20px;
border-bottom: 1px solid #e5e7eb;
display: flex;
justify-content: space-between;
align-items: center;
}
.modal-title {
font-size: var(--font-xl);
font-weight: 600;
.modal-header h3 {
margin: 0;
font-size: 1.25rem;
}
.modal-close {
.btn-close {
background: none;
border: none;
font-size: var(--font-2xl);
font-size: 28px;
line-height: 1;
cursor: pointer;
color: var(--text-muted);
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-md);
transition: all var(--transition-base);
color: #6b7280;
}
.modal-close:hover {
background: var(--gray-100);
color: var(--text-primary);
.btn-close:hover {
color: #1f2937;
}
.modal-body {
padding: var(--spacing-lg);
padding: 20px;
}
.modal-footer {
padding: var(--spacing-lg);
border-top: 1px solid var(--border-color);
padding: 20px;
border-top: 1px solid #e5e7eb;
display: flex;
justify-content: flex-end;
gap: var(--spacing-sm);
gap: 12px;
}
.info-box {
background-color: #eff6ff;
border: 1px solid #3b82f6;
border-radius: 6px;
padding: 12px;
color: #1e40af;
}
.checkbox-label {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
width: auto;
margin: 0;
}
.form-section-divider {
border-top: 2px solid #e5e7eb;
margin: 32px 0;
}
/* Small modal variant for confirmations */
.modal-sm {
max-width: 500px;
}
/* Info box styling */
.info-box {
background: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 12px 16px;
border-radius: 4px;
font-size: 14px;
}
/* Quick actions spacing */
.quick-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
/* Success Modal Styles */
.modal-header-success {
background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
color: white;
border-radius: 8px 8px 0 0;
}
.modal-header-success .btn-close {
color: white;
opacity: 0.9;
}
.modal-header-success .btn-close:hover {
opacity: 1;
}
.success-icon-wrapper {
display: flex;
justify-content: center;
margin: 20px 0;
}
.success-icon {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
font-weight: bold;
animation: successPulse 0.6s ease-out;
box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}
@keyframes successPulse {
0% {
transform: scale(0.5);
opacity: 0;
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
opacity: 1;
}
}
.transfer-details {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
margin: 20px 0;
}
.detail-row {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px;
background: white;
border-radius: 6px;
margin-bottom: 12px;
}
.detail-label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color: #666;
letter-spacing: 0.5px;
}
.detail-value {
font-size: 15px;
}
.detail-value strong {
color: #333;
font-size: 16px;
}
.detail-arrow {
text-align: center;
font-size: 24px;
color: #4caf50;
font-weight: bold;
margin: 8px 0;
}
.modal-md {
max-width: 600px;
}
.btn-block {
width: 100%;
padding: 12px;
font-size: 16px;
font-weight: 600;
}
/* Alert variants in modals */
.modal-body .alert {
margin-top: 16px;
padding: 12px 16px;
border-radius: 6px;
border: none;
}
.modal-body .alert-info {
background: #e3f2fd;
color: #1976d2;
}
.modal-body .alert-info strong {
color: #0d47a1;
}
/* Text utilities */
.text-center {
text-align: center;
}
.text-muted {
color: #6c757d;
font-size: 14px;
}
.mb-3 {
margin-bottom: 1rem;
}
.mb-4 {
margin-bottom: 1.5rem;
}
.mt-3 {
margin-top: 1rem;
}
/* Pagination */
@@ -553,4 +735,160 @@
.content-section {
box-shadow: none;
border: 1px solid var(--border-color);
}
}
/* Value with copy button */
.value-with-copy {
display: flex;
gap: var(--spacing-sm);
align-items: center;
flex: 1;
}
.credential-item.highlight {
background: #fff3cd;
border: 2px solid var(--warning-color);
}
.credential-item.highlight .value {
background: white;
font-weight: 600;
color: var(--text-primary);
}
.btn-copy {
background: var(--gray-100);
border: 1px solid var(--border-color);
padding: 6px 12px;
border-radius: var(--radius-sm);
cursor: pointer;
color: var(--text-secondary);
font-size: var(--font-xs);
transition: all var(--transition-base);
white-space: nowrap;
}
.btn-copy:hover {
background: var(--primary-color);
border-color: var(--primary-color);
color: white;
}
/* Text color utilities */
.text-danger {
color: var(--danger-color) !important;
}
.text-warning {
color: var(--warning-color) !important;
}
.text-success {
color: var(--success-color) !important;
}
/* Disabled button styles */
.btn-icon:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.btn-icon:disabled:hover {
background: white;
border-color: var(--border-color);
transform: none;
}
/* Alert improvements */
.alert {
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Form Section Styles */
.form-section-title {
font-size: 1.125rem;
font-weight: 600;
color: #1f2937;
margin-bottom: 16px;
padding-bottom: 8px;
border-bottom: 2px solid #e5e7eb;
}
.form-control-disabled {
background-color: #f3f4f6;
cursor: not-allowed;
color: #6b7280;
}
.form-help {
font-size: 0.875rem;
color: #6b7280;
margin-top: 4px;
}
.text-muted {
color: #6b7280;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-3 {
margin-bottom: 1rem;
}
.mt-3 {
margin-top: 1rem;
}
/* Alert Styles */
.alert {
padding: 12px 16px;
border-radius: 6px;
margin-bottom: 16px;
}
.alert-warning {
background-color: #fef3c7;
border: 1px solid #f59e0b;
color: #92400e;
}
.alert-warning strong {
color: #78350f;
}
/* Quick Actions */
.quick-actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.quick-actions .btn {
min-width: 180px;
}
/* Button Sizes */
.btn-sm {
padding: 6px 12px;
font-size: 0.875rem;
}
/* Required Field Indicator */
.required {
color: #ef4444;
font-weight: bold;
}