Створення стилів панелі керування
Більше дій
/* Modern Characters Dashboard Styling */ .tuoc-dashboard {
display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; font-family: 'Source Sans 3', sans-serif;
}
.tuoc-dashboard-panel {
background: rgba(20, 20, 25, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; padding: 20px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.left-panel {
flex: 1 1 300px; max-width: 400px;
}
.right-panel {
flex: 2 1 500px;
}
.tuoc-dashboard h3 {
margin-top: 0 !important; font-family: 'Playfair Display', serif; font-weight: 700; color: #ffffff; border-bottom: 2px solid #e74c3c !important; padding-bottom: 8px; margin-bottom: 16px;
}
.tuoc-dashboard p {
color: rgba(255, 255, 255, 0.7); line-height: 1.5; font-size: 0.95rem;
}
/* Custom styles for the search/create form inputs */ .left-panel form {
margin-top: 15px;
}
.left-panel input[type="text"] {
background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1); color: #ffffff; padding: 8px 12px; border-radius: 6px; width: calc(100% - 24px); margin-bottom: 10px; transition: border-color 0.3s;
}
.left-panel input[type="text"]:focus {
border-color: #e74c3c; outline: none;
}
.left-panel input[type="submit"] {
background: #e74c3c; border: none; color: #ffffff; padding: 9px 18px; border-radius: 6px; cursor: pointer; font-weight: 600; transition: background 0.3s, transform 0.2s;
}
.left-panel input[type="submit"]:hover {
background: #c0392b; transform: translateY(-1px);
}
/* Modern Cargo Query Table */ .characters-table {
width: 100%; border-collapse: collapse !important; background: rgba(0, 0, 0, 0.1) !important; border: none !important;
}
.characters-table th {
background: rgba(231, 76, 60, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; color: #ffffff !important; font-weight: 600 !important; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.5px; padding: 10px !important;
}
.characters-table td {
border: 1px solid rgba(255, 255, 255, 0.05) !important; padding: 8px 10px !important; vertical-align: middle !important; color: rgba(255, 255, 255, 0.8) !important;
}
.characters-table tr:hover td {
background: rgba(255, 255, 255, 0.02) !important;
}
/* Status badge styling in the table */ .characters-table .tuoc-char-status-badge {
padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; display: inline-block;
}
.characters-table .tuoc-char-status-badge.status-Живий {
background: rgba(46, 204, 113, 0.15); border: 1px solid rgba(46, 204, 113, 0.4); color: #2ecc71;
}
.characters-table .tuoc-char-status-badge.status-Мертвий {
background: rgba(149, 165, 166, 0.15); border: 1px solid rgba(149, 165, 166, 0.4); color: #bdc3c7;
}
.characters-table .tuoc-char-status-badge.status-Невідомо {
background: rgba(241, 196, 15, 0.15); border: 1px solid rgba(241, 196, 15, 0.4); color: #f1c40f;
}
.characters-table .tuoc-char-status-badge.status-Ув'язнений {
background: rgba(155, 89, 182, 0.15); border: 1px solid rgba(155, 89, 182, 0.4); color: #9b59b6;
}