mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-01-31 16:09:55 +00:00
178 lines
2.7 KiB
CSS
178 lines
2.7 KiB
CSS
/* Minimal custom styling - mostly Bootstrap5 utilities */
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background-color: #f8f9fa;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* 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;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.card h2 {
|
|
color: #333;
|
|
margin-bottom: 15px;
|
|
font-size: 1.5em;
|
|
border-bottom: 2px solid #667eea;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.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;
|
|
}
|