196 lines
4.0 KiB
CSS
196 lines
4.0 KiB
CSS
/* Admin Panel Styles */
|
|
#admin-panel {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
width: 320px;
|
|
max-height: calc(100vh - 40px);
|
|
background: rgba(15, 15, 25, 0.95);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 11px;
|
|
z-index: 9999;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#admin-panel.collapsed #admin-content {
|
|
display: none;
|
|
}
|
|
|
|
.admin-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: rgba(30, 30, 50, 0.95);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.admin-header h2 {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
color: rgba(100, 200, 255, 0.9);
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
#admin-toggle {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
#admin-toggle:hover {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
#admin-content {
|
|
max-height: calc(100vh - 100px);
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.admin-section {
|
|
margin-bottom: 20px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.admin-section:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.admin-section h3 {
|
|
margin: 0 0 10px 0;
|
|
font-size: 12px;
|
|
color: rgba(200, 200, 220, 0.9);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.admin-buttons {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.admin-buttons:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.admin-buttons button {
|
|
flex: 1;
|
|
min-width: 80px;
|
|
background: rgba(60, 60, 80, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
padding: 6px 10px;
|
|
cursor: pointer;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 10px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.admin-buttons button:hover {
|
|
background: rgba(80, 80, 100, 0.8);
|
|
color: rgba(255, 255, 255, 1);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.admin-buttons button:active {
|
|
background: rgba(100, 100, 120, 0.8);
|
|
}
|
|
|
|
.admin-input-group {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.admin-input-group label {
|
|
min-width: 70px;
|
|
color: rgba(200, 200, 220, 0.8);
|
|
font-size: 10px;
|
|
}
|
|
|
|
.admin-input-group input {
|
|
flex: 1;
|
|
background: rgba(30, 30, 50, 0.8);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: rgba(255, 255, 255, 0.9);
|
|
padding: 6px 8px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 10px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.admin-input-group input:focus {
|
|
outline: none;
|
|
border-color: rgba(100, 200, 255, 0.6);
|
|
}
|
|
|
|
.admin-input-group button {
|
|
min-width: 50px;
|
|
background: rgba(60, 60, 80, 0.6);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
padding: 6px 12px;
|
|
cursor: pointer;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 10px;
|
|
border-radius: 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.admin-input-group button:hover {
|
|
background: rgba(80, 80, 100, 0.8);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.admin-info {
|
|
background: rgba(20, 20, 30, 0.6);
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.admin-info div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: rgba(180, 180, 200, 0.9);
|
|
}
|
|
|
|
.admin-info span {
|
|
color: rgba(100, 200, 255, 0.9);
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
#admin-content::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
#admin-content::-webkit-scrollbar-track {
|
|
background: rgba(20, 20, 30, 0.5);
|
|
}
|
|
|
|
#admin-content::-webkit-scrollbar-thumb {
|
|
background: rgba(100, 100, 120, 0.6);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#admin-content::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(120, 120, 140, 0.8);
|
|
}
|