forked from Simnation/Main
736 lines
13 KiB
CSS
736 lines
13 KiB
CSS
/* Reset und Basis-Styles */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: transparent;
|
|
color: #ffffff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Container */
|
|
.menu-container {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
animation: fadeIn 0.3s ease-in-out;
|
|
}
|
|
|
|
.menu-content {
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
border-radius: 15px;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
max-width: 800px;
|
|
width: 90%;
|
|
max-height: 90vh;
|
|
overflow: hidden;
|
|
animation: slideIn 0.3s ease-out;
|
|
}
|
|
|
|
.menu-content.large {
|
|
max-width: 1200px;
|
|
width: 95%;
|
|
}
|
|
|
|
/* Header */
|
|
.menu-header {
|
|
background: linear-gradient(135deg, #0f3460 0%, #16537e 100%);
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.menu-header h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.close-btn {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border: none;
|
|
color: #ffffff;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.close-btn:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
/* Body */
|
|
.menu-body {
|
|
padding: 20px;
|
|
max-height: calc(90vh - 80px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.menu-body::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.menu-body::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.menu-body::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Sections */
|
|
.menu-section {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.menu-section h3 {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 15px;
|
|
color: #64b5f6;
|
|
border-bottom: 2px solid rgba(100, 181, 246, 0.3);
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.menu-section h4 {
|
|
font-size: 1rem;
|
|
margin: 20px 0 10px 0;
|
|
color: #81c784;
|
|
}
|
|
|
|
/* Button Grid */
|
|
.button-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.menu-btn {
|
|
background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
|
|
border: none;
|
|
color: #ffffff;
|
|
padding: 15px 20px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
|
|
}
|
|
|
|
.menu-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
|
|
}
|
|
|
|
.menu-btn i {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* Target Info */
|
|
.target-info {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 10px 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 15px;
|
|
border-left: 4px solid #4caf50;
|
|
}
|
|
|
|
/* Custom Form */
|
|
.custom-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.form-section {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.form-section h3 {
|
|
color: #64b5f6;
|
|
margin-bottom: 15px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
padding: 10px 15px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
font-size: 0.9rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.form-group input:focus,
|
|
.form-group select:focus,
|
|
.form-group textarea:focus {
|
|
outline: none;
|
|
border-color: #64b5f6;
|
|
box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
|
|
}
|
|
|
|
.form-group textarea {
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.form-group input[readonly] {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Checkbox Groups */
|
|
.checkbox-group {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.checkbox-item:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.checkbox-item input[type="checkbox"] {
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
/* License Preview */
|
|
.license-preview {
|
|
background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
|
|
color: #333333;
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.preview-header {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.preview-photo {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.preview-photo img {
|
|
width: 80px;
|
|
height: 100px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
border: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.preview-info h4 {
|
|
font-size: 1.2rem;
|
|
margin-bottom: 5px;
|
|
color: #1976d2;
|
|
}
|
|
|
|
.preview-info p {
|
|
color: #666666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.preview-details {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.preview-field {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.preview-field:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.preview-field .label {
|
|
font-weight: 600;
|
|
color: #555555;
|
|
}
|
|
|
|
.preview-field .value {
|
|
color: #333333;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Form Actions */
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 15px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.btn {
|
|
padding: 12px 24px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
|
|
color: #ffffff;
|
|
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #ffffff;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/* License Card */
|
|
.license-card {
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
|
|
color: #333333;
|
|
border-radius: 15px;
|
|
padding: 30px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid #e0e0e0;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.license-header {
|
|
text-align: center;
|
|
margin-bottom: 25px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 3px solid #1976d2;
|
|
}
|
|
|
|
.license-header h3 {
|
|
font-size: 1.5rem;
|
|
color: #1976d2;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.license-header p {
|
|
color: #666666;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.license-content {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.license-photo {
|
|
text-align: center;
|
|
}
|
|
|
|
.license-photo img {
|
|
width: 120px;
|
|
height: 150px;
|
|
object-fit: cover;
|
|
border-radius: 10px;
|
|
border: 3px solid #e0e0e0;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.license-details {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.license-field {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.license-field:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.license-field .label {
|
|
font-weight: 600;
|
|
color: #555555;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.license-field .value {
|
|
color: #333333;
|
|
text-align: right;
|
|
flex: 1;
|
|
}
|
|
|
|
.license-classes {
|
|
margin-top: 20px;
|
|
padding-top: 20px;
|
|
border-top: 2px solid #e0e0e0;
|
|
}
|
|
|
|
.license-classes h4 {
|
|
color: #1976d2;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.classes-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.class-badge {
|
|
background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
|
|
color: #ffffff;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Licenses Grid */
|
|
.licenses-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.license-item {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.license-item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.license-item-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.license-item-icon {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.license-item-info h4 {
|
|
color: #64b5f6;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.license-item-info p {
|
|
color: #b0b0b0;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.license-item-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.btn-small {
|
|
padding: 6px 12px;
|
|
font-size: 0.8rem;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.btn-danger {
|
|
background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
|
|
}
|
|
|
|
/* No Licenses */
|
|
.no-licenses {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #b0b0b0;
|
|
}
|
|
|
|
.no-licenses i {
|
|
font-size: 3rem;
|
|
margin-bottom: 15px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.no-licenses p {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Loading Overlay */
|
|
.loading-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 2000;
|
|
}
|
|
|
|
.loading-spinner {
|
|
text-align: center;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.loading-spinner i {
|
|
font-size: 3rem;
|
|
margin-bottom: 15px;
|
|
color: #64b5f6;
|
|
}
|
|
|
|
.loading-spinner p {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
transform: translateY(-50px);
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Error States */
|
|
.form-group.error input,
|
|
.form-group.error select,
|
|
.form-group.error textarea {
|
|
border-color: #f44336;
|
|
box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
|
|
}
|
|
|
|
.error-message {
|
|
color: #f44336;
|
|
font-size: 0.8rem;
|
|
margin-top: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.success-message {
|
|
color: #4caf50;
|
|
font-size: 0.8rem;
|
|
margin-top: 5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
/* Image Upload */
|
|
.image-upload {
|
|
position: relative;
|
|
}
|
|
|
|
.image-preview {
|
|
width: 100px;
|
|
height: 120px;
|
|
border: 2px dashed rgba(255, 255, 255, 0.3);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-top: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.image-preview:hover {
|
|
border-color: #64b5f6;
|
|
background: rgba(100, 181, 246, 0.1);
|
|
}
|
|
|
|
.image-preview img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.image-placeholder {
|
|
text-align: center;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.menu-content {
|
|
width: 95%;
|
|
margin: 10px;
|
|
}
|
|
|
|
.button-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.license-content {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
|
|
.licenses-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.form-actions {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* Utility Classes */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.mb-10 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mb-15 {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.mb-20 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.visible {
|
|
display: block !important;
|
|
}
|