209 lines
2.9 KiB
CSS
209 lines
2.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
width: 350px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: #1a1a1a;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.container {
|
|
padding: 16px;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 11px;
|
|
color: #888;
|
|
}
|
|
|
|
/* Master Control */
|
|
.master-control {
|
|
background: #252525;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.control-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.control-label {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Switch Component */
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 44px;
|
|
height: 24px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #444;
|
|
transition: 0.3s;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 18px;
|
|
width: 18px;
|
|
left: 3px;
|
|
bottom: 3px;
|
|
background-color: white;
|
|
transition: 0.3s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: #4CAF50;
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
transform: translateX(20px);
|
|
}
|
|
|
|
/* Modules Section */
|
|
.modules {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.modules h2 {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #aaa;
|
|
margin-bottom: 8px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.module-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 12px;
|
|
background: #252525;
|
|
border-radius: 6px;
|
|
margin-bottom: 6px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.module-item:hover {
|
|
background: #2a2a2a;
|
|
}
|
|
|
|
.module-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.module-name {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.module-status {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.module-status.active {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.module-status.inactive {
|
|
color: #666;
|
|
}
|
|
|
|
/* Stats Section */
|
|
.stats {
|
|
background: #252525;
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.stat-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stat-label {
|
|
color: #aaa;
|
|
}
|
|
|
|
.stat-value {
|
|
color: #4CAF50;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-secondary {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: #333;
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: #fff;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #3a3a3a;
|
|
}
|
|
|
|
.warning {
|
|
font-size: 10px;
|
|
color: #ff9800;
|
|
margin-top: 8px;
|
|
}
|