mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-03-01 06:09:49 +00:00
495 lines
7.5 KiB
CSS
495 lines
7.5 KiB
CSS
/* Minimal custom styling - mostly Bootstrap5 utilities */
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body.d-flex.bg-dark.text-white {
|
|
background-color: #0d0d0d;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Sidebar adjustments */
|
|
.navbar.flex-column {
|
|
box-shadow: 0.125rem 0 0.25rem rgba(0, 0, 0, 0.075);
|
|
}
|
|
|
|
.navbar.flex-column .navbar-nav {
|
|
width: 100%;
|
|
}
|
|
|
|
.navbar.flex-column .nav-link {
|
|
padding: 0.75rem 1.25rem;
|
|
border-left: 3px solid transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.navbar.flex-column .nav-link:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-left-color: #667eea;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.navbar.flex-column .nav-link.active {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border-left-color: #667eea;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 991.98px) {
|
|
body {
|
|
display: block !important;
|
|
}
|
|
|
|
main {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.navbar.flex-column {
|
|
width: 100% !important;
|
|
height: auto !important;
|
|
position: relative !important;
|
|
top: auto !important;
|
|
start: auto !important;
|
|
}
|
|
}
|
|
|
|
.navbar {
|
|
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
|
}
|
|
|
|
.username {
|
|
font-weight: 600;
|
|
color: #667eea;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.logout-btn {
|
|
padding: 10px 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.logout-btn:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.stat:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.stat-value {
|
|
color: #333;
|
|
font-weight: bold;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.status {
|
|
display: inline-block;
|
|
padding: 5px 15px;
|
|
border-radius: 20px;
|
|
font-size: 0.9em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.status.online {
|
|
background: #4caf50;
|
|
color: white;
|
|
}
|
|
|
|
.status.offline {
|
|
background: #f44336;
|
|
color: white;
|
|
}
|
|
|
|
.world-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.world-item {
|
|
padding: 15px;
|
|
background: #f5f5f5;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.world-item h3 {
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.world-detail {
|
|
color: #666;
|
|
font-size: 0.9em;
|
|
margin: 3px 0;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 20px;
|
|
color: #666;
|
|
}
|
|
|
|
/* Dark theme for data tables and containers */
|
|
|
|
/* Container margin for sidebar layout */
|
|
.account-view-container,
|
|
.accounts-container,
|
|
.characters-container,
|
|
.play-keys-container,
|
|
.properties-container,
|
|
.bug-reports-container {
|
|
margin-left: 280px;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Table card styling */
|
|
.table-card {
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #333;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.table-header {
|
|
background-color: #222;
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid #333;
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
}
|
|
|
|
.table-header h2 {
|
|
margin: 0;
|
|
color: #fff;
|
|
}
|
|
|
|
.table-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
/* Bootstrap card overrides for dark theme */
|
|
.card {
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #333;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.card-header {
|
|
background-color: #222;
|
|
padding: 1.5rem;
|
|
border-bottom: 1px solid #333;
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
}
|
|
|
|
.card-header h2 {
|
|
margin: 0;
|
|
color: #fff;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
/* Table styling */
|
|
.table-dark {
|
|
color: #fff;
|
|
}
|
|
|
|
.table-dark thead {
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
.table-dark thead th {
|
|
border-bottom: 2px solid #444;
|
|
color: #aaa;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.875rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.table-dark tbody td {
|
|
padding: 0.875rem 1rem;
|
|
border-bottom: 1px solid #333;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table-dark tbody tr:hover {
|
|
background-color: #252525;
|
|
}
|
|
|
|
/* DataTables customization */
|
|
.dataTables_wrapper {
|
|
color: #fff;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input {
|
|
background-color: #2a2a2a;
|
|
color: #fff;
|
|
border: 1px solid #444;
|
|
border-radius: 0.25rem;
|
|
padding: 0.4rem 0.6rem;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input::placeholder {
|
|
color: #888;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_info {
|
|
color: #aaa;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
|
background: #2a2a2a;
|
|
color: #fff;
|
|
border: 1px solid #444;
|
|
margin: 0 2px;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 0.25rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
|
background: #3a3a3a;
|
|
border: 1px solid #555;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
|
|
background: #0d6efd;
|
|
border: 1px solid #0d6efd;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_length select {
|
|
background-color: #2a2a2a;
|
|
color: #fff;
|
|
border: 1px solid #444;
|
|
padding: 0.4rem 0.6rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
/* Detail grid layout */
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.detail-item {
|
|
background-color: #0a0a0a;
|
|
padding: 1rem;
|
|
border-radius: 0.25rem;
|
|
border-left: 3px solid #0d6efd;
|
|
}
|
|
|
|
.detail-label {
|
|
color: #999;
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.detail-value {
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Badge styling */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.35rem 0.6rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.badge-active {
|
|
background-color: #28a745;
|
|
color: #fff;
|
|
}
|
|
|
|
.badge-inactive {
|
|
background-color: #6c757d;
|
|
color: #fff;
|
|
}
|
|
|
|
.badge-banned {
|
|
background-color: #dc3545;
|
|
color: #fff;
|
|
}
|
|
|
|
.badge-locked {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
}
|
|
|
|
.badge-gm {
|
|
background-color: #17a2b8;
|
|
color: #fff;
|
|
}
|
|
|
|
.badge-approved {
|
|
background-color: #28a745;
|
|
color: #fff;
|
|
}
|
|
|
|
.badge-pending {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
}
|
|
|
|
/* Button styling */
|
|
.button-group {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.25rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.25rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #0d6efd;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0b5ed7;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #6c757d;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #5c636a;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: #dc3545;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #c82333;
|
|
}
|
|
|
|
.btn-info {
|
|
background-color: #17a2b8;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-info:hover {
|
|
background-color: #138496;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #ffc107;
|
|
color: #000;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #e0a800;
|
|
}
|
|
|
|
/* Action buttons */
|
|
.account-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Utility classes */
|
|
.text-muted {
|
|
color: #999 !important;
|
|
}
|
|
|
|
.back-link {
|
|
color: #0d6efd;
|
|
text-decoration: none;
|
|
margin-bottom: 1rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.report-preview {
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.search-section {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.search-input {
|
|
background-color: #2a2a2a;
|
|
border: 1px solid #444;
|
|
color: #fff;
|
|
padding: 0.5rem;
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.search-input::placeholder {
|
|
color: #888;
|
|
} |