938 lines
19 KiB
CSS
938 lines
19 KiB
CSS
/* style.css */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
background: linear-gradient(135deg, #0a1929, #0c1424);
|
|
color: #e6f0ff;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
:root {
|
|
--header-h: 64px;
|
|
--header-bg: linear-gradient(90deg, #0a1929, #0c1424);
|
|
--header-color: #e6f0ff;
|
|
--footer-h: 52px;
|
|
--footer-bg: linear-gradient(90deg, #0a1929, #0c1424);
|
|
--footer-color: #e6f0ff;
|
|
--card-bg: rgba(13, 27, 45, 0.7);
|
|
--card-border: rgba(92, 158, 255, 0.2);
|
|
--accent-blue: #00a8ff;
|
|
--accent-blue-light: #00b8ff;
|
|
--accent-blue-dark: #0077b6;
|
|
--text-primary: #e6f0ff;
|
|
--text-secondary: #a9c7ff;
|
|
}
|
|
|
|
main {
|
|
height: calc(100vh - var(--header-h) - var(--footer-h));
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
padding: 16px;
|
|
padding-bottom: calc(var(--footer-h) + 16px);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1100px;
|
|
margin: 12px auto;
|
|
padding: 12px;
|
|
background: var(--card-bg);
|
|
border-radius: 16px;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
|
|
border: 1px solid var(--card-border);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.containerindex {
|
|
max-width: 1100px;
|
|
margin: 12px auto;
|
|
padding: 12px;
|
|
padding-top: 160px;
|
|
background: var(--card-bg);
|
|
border-radius: 16px;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
|
|
border: 1px solid var(--card-border);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.grid {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.card {
|
|
flex: 1 1 43%;
|
|
min-width: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--card-bg);
|
|
border-radius: 14px;
|
|
padding: 16px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
|
|
border: 1px solid var(--card-border);
|
|
backdrop-filter: blur(10px);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 30px rgba(0, 168, 255, 0.25);
|
|
}
|
|
|
|
.card.wide {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.card h3 {
|
|
margin: 0 0 12px 0;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
color: var(--accent-blue-light);
|
|
text-shadow: 0 0 8px rgba(0, 168, 255, 0.5);
|
|
}
|
|
|
|
.card .chart-wrap {
|
|
flex: 1 1 auto;
|
|
min-height: 180px;
|
|
height: 247px;
|
|
position: relative;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.card canvas {
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.status-row {
|
|
margin-top: 12px;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
:root {
|
|
--header-h: 56px;
|
|
--footer-h: 56px;
|
|
}
|
|
|
|
main {
|
|
padding: 10px;
|
|
}
|
|
|
|
.card {
|
|
flex: 1 1 100%;
|
|
min-width: auto;
|
|
}
|
|
|
|
.card .chart-wrap {
|
|
height: 220px;
|
|
min-height: 160px;
|
|
}
|
|
}
|
|
|
|
.site-footer {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: var(--footer-h);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
padding: 0 32px;
|
|
background: var(--footer-bg);
|
|
color: var(--footer-color);
|
|
z-index: 999;
|
|
box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
|
|
font-size: 14px;
|
|
border-top: 1px solid rgba(92, 158, 255, 0.1);
|
|
}
|
|
|
|
/* === MULTIPLE TOP HEADERS === */
|
|
.top-header-1 {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-primary);
|
|
font-size: 17px;
|
|
z-index: 1001;
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
background: rgba(10, 25, 41, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.top-header-2 {
|
|
position: fixed;
|
|
top: 50px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
z-index: 1001;
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
background: rgba(10, 25, 41, 0.95);
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.top-header-1 {
|
|
top: 0;
|
|
background: linear-gradient(90deg, #0a1929, #0c1424);
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.top-header-2 {
|
|
position: fixed;
|
|
top: 50px;
|
|
left: 0;
|
|
right: 0;
|
|
height: var(--footer-h, 73px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 48px;
|
|
margin-bottom: 57px;
|
|
background: linear-gradient(90deg, #0a1929, #0c1424);
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
letter-spacing: 0.4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
z-index: 999;
|
|
transition: all 0.3s ease;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.top-header-2 nav a {
|
|
margin-left: 28px;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
position: relative;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.top-header-2 nav a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--accent-blue-light);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.top-header-2 nav a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
/* === MAIN NAV HEADER === */
|
|
.site-header {
|
|
position: fixed;
|
|
top: 90px;
|
|
left: 0;
|
|
right: 0;
|
|
height: var(--footer-h, 73px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 48px;
|
|
margin-bottom: 57px;
|
|
background: linear-gradient(90deg, #0a1929, #0c1424);
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
font-size: 15px;
|
|
letter-spacing: 0.4px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
z-index: 999;
|
|
transition: all 0.3s ease;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.site-header nav a {
|
|
margin-left: 28px;
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
position: relative;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.site-header nav a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--accent-blue-light);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.site-header nav a:hover {
|
|
color: var(--accent-blue-light);
|
|
}
|
|
|
|
.site-header nav a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.dropdown-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 7px;
|
|
}
|
|
|
|
.dropdown-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.dropdown select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
color: var(--text-primary);
|
|
padding: 12px 40px 12px 16px;
|
|
border: 1px solid rgba(92, 158, 255, 0.3);
|
|
border-radius: 12px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
|
transition: all 0.2s ease;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.dropdown select:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
|
|
border-color: var(--accent-blue-light);
|
|
}
|
|
|
|
.dropdown::after {
|
|
content: "▼";
|
|
position: absolute;
|
|
right: 16px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
color: var(--accent-blue-light);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.dropdown select option {
|
|
background: #0a1929;
|
|
color: var(--text-primary);
|
|
padding: 7px;
|
|
}
|
|
|
|
.input-container {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.input-group {
|
|
position: relative;
|
|
width: auto;
|
|
min-width: 333px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.input-group input {
|
|
width: 100%;
|
|
padding: 11px 11px;
|
|
font-size: 13px;
|
|
border: 2px solid rgba(92, 158, 255, 0.3);
|
|
border-radius: 8px;
|
|
outline: none;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
transition: all 0.3s ease;
|
|
margin: 5px;
|
|
color: var(--text-primary);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.input-group input:focus {
|
|
border-color: var(--accent-blue-light);
|
|
box-shadow: 0 0 10px rgba(0, 168, 255, 0.3);
|
|
}
|
|
|
|
.input-group label {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
transition: 0.3s ease all;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
padding: 0 4px;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.input-group input:focus+label,
|
|
.input-group input:not(:placeholder-shown)+label {
|
|
top: -6px;
|
|
left: 8px;
|
|
font-size: 12px;
|
|
color: var(--accent-blue-light);
|
|
}
|
|
|
|
.checkbox-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.checkbox-group input[type="checkbox"] {
|
|
accent-color: var(--accent-blue-light);
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-group label {
|
|
font-size: 13px;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.green-btn {
|
|
background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
width: 33%;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 12px rgba(0, 168, 255, 0.2);
|
|
}
|
|
|
|
.red-btn {
|
|
background: linear-gradient(90deg, #ff4757, #ff6b81);
|
|
color: white;
|
|
font-weight: bold;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
width: 33%;
|
|
border-radius: 7px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
|
|
}
|
|
|
|
.red-btn:hover {
|
|
background: linear-gradient(90deg, #ff6b81, #ff4757);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(255, 71, 87, 0.3);
|
|
}
|
|
|
|
.form-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.social-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 8px;
|
|
}
|
|
|
|
.social-btn {
|
|
width: 67px;
|
|
height: 67px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
border-radius: 8px;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
text-decoration: none;
|
|
transition: transform .12s, box-shadow .12s;
|
|
border: 1px solid rgba(92, 158, 255, 0.2);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.social-btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
|
|
border-color: var(--accent-blue-light);
|
|
}
|
|
|
|
.social-btn svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
display: block;
|
|
color: var(--accent-blue-light);
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
left: -10000px;
|
|
top: auto;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Animation for futuristic effect */
|
|
@keyframes pulse {
|
|
0% {
|
|
box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.4);
|
|
}
|
|
|
|
70% {
|
|
box-shadow: 0 0 0 10px rgba(0, 168, 255, 0);
|
|
}
|
|
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(0, 168, 255, 0);
|
|
}
|
|
}
|
|
|
|
.pulse {
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
/* Network configuration specific styles */
|
|
.network-settings-container {
|
|
padding: 20px;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
border-radius: 16px;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
|
|
border: 1px solid rgba(92, 158, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.interface-tabs {
|
|
margin-bottom: 20px;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
}
|
|
|
|
.interface-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tab-button {
|
|
padding: 10px 20px;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
border: 1px solid rgba(92, 158, 255, 0.3);
|
|
border-radius: 8px;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.tab-button:hover {
|
|
background: rgba(0, 168, 255, 0.2);
|
|
border-color: var(--accent-blue-light);
|
|
}
|
|
|
|
.tab-button.active {
|
|
background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
|
|
color: white;
|
|
border-color: var(--accent-blue-light);
|
|
box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
|
|
}
|
|
|
|
/* Activation buttons */
|
|
.activation-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 20px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
/* Network interface card styling */
|
|
.interface-card {
|
|
flex: 1 1 300px;
|
|
min-width: 300px;
|
|
background: rgba(10, 25, 41, 0.7);
|
|
border-radius: 14px;
|
|
padding: 20px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
|
|
border: 1px solid rgba(92, 158, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.interface-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 30px rgba(0, 168, 255, 0.25);
|
|
}
|
|
|
|
.interface-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid rgba(92, 158, 255, 0.2);
|
|
}
|
|
|
|
.interface-header h5 {
|
|
margin: 0;
|
|
color: var(--accent-blue-light);
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.interface-body {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.interface-body p {
|
|
margin: 8px 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.interface-footer {
|
|
padding-top: 15px;
|
|
border-top: 1px solid rgba(92, 158, 255, 0.2);
|
|
}
|
|
|
|
.interface-form {
|
|
margin: 0;
|
|
}
|
|
|
|
.interface-form .mb-3 {
|
|
margin-bottom: 15px !important;
|
|
}
|
|
|
|
.interface-form .form-check {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.interface-form .form-check-label {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.interface-form .form-control {
|
|
background: rgba(13, 27, 45, 0.7);
|
|
border: 1px solid rgba(92, 158, 255, 0.3);
|
|
color: var(--text-primary);
|
|
backdrop-filter: blur(5px);
|
|
border-radius: 8px;
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.interface-form .form-control:focus {
|
|
border-color: var(--accent-blue-light);
|
|
box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.3);
|
|
}
|
|
|
|
/* Button styling */
|
|
.btn-primary {
|
|
background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-light));
|
|
border: none;
|
|
border-radius: 8px;
|
|
color: white;
|
|
padding: 12px 25px;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: linear-gradient(90deg, var(--accent-blue-light), var(--accent-blue));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Toggle switch styling */
|
|
.form-switch .form-check-input {
|
|
height: 24px;
|
|
width: 48px;
|
|
border-radius: 12px;
|
|
background-color: rgba(92, 158, 255, 0.3);
|
|
border: none;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.form-switch .form-check-input:checked {
|
|
background-color: var(--accent-blue-light);
|
|
}
|
|
|
|
.form-switch .form-check-input::before {
|
|
content: '';
|
|
position: absolute;
|
|
height: 18px;
|
|
width: 18px;
|
|
border-radius: 50%;
|
|
background-color: white;
|
|
top: 3px;
|
|
left: 3px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.form-switch .form-check-input:checked::before {
|
|
transform: translateX(24px);
|
|
}
|
|
|
|
/* Input group styling for network config */
|
|
.input-group.network-input {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.input-group.network-input label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
color: var(--text-primary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.input-group.network-input input {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
font-size: 1rem;
|
|
border: 1px solid rgba(92, 158, 255, 0.3);
|
|
border-radius: 8px;
|
|
outline: none;
|
|
background: rgba(13, 27, 45, 0.7);
|
|
transition: all 0.3s ease;
|
|
color: var(--text-primary);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.input-group.network-input input:focus {
|
|
border-color: var(--accent-blue-light);
|
|
box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.3);
|
|
}
|
|
|
|
/* Multicast toggle styling */
|
|
.multicast-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input {
|
|
width: 50px;
|
|
height: 25px;
|
|
border-radius: 12px;
|
|
background-color: rgba(92, 158, 255, 0.3);
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input:checked {
|
|
background-color: var(--accent-blue-light);
|
|
}
|
|
|
|
.multicast-toggle .form-check-input::before {
|
|
content: '';
|
|
position: absolute;
|
|
height: 19px;
|
|
width: 19px;
|
|
border-radius: 50%;
|
|
background-color: white;
|
|
top: 3px;
|
|
left: 3px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input:checked::before {
|
|
transform: translateX(25px);
|
|
}
|
|
|
|
.multicast-toggle .form-check-label {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.network-settings-container {
|
|
margin-top: 120px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.network-interfaces-horizontal {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.interface-card {
|
|
width: 100%;
|
|
min-width: auto;
|
|
}
|
|
|
|
.interface-list {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.tab-button {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.activation-buttons {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.activation-buttons button {
|
|
width: 100%;
|
|
}
|
|
|
|
.input-group {
|
|
min-width: 250px;
|
|
}
|
|
|
|
.green-btn,
|
|
.red-btn {
|
|
width: 100%;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.input-group.network-input {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.input-group.network-input input {
|
|
padding: 10px 12px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input {
|
|
width: 40px;
|
|
height: 20px;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input::before {
|
|
height: 14px;
|
|
width: 14px;
|
|
top: 3px;
|
|
left: 3px;
|
|
}
|
|
|
|
.multicast-toggle .form-check-input:checked::before {
|
|
transform: translateX(20px);
|
|
}
|
|
}
|
|
|
|
.switch-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 24px;
|
|
margin: 0;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #ccc;
|
|
transition: .4s;
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 16px;
|
|
width: 16px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
transition: .4s;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input:checked+.slider {
|
|
background-color: var(--accent-blue-light);
|
|
}
|
|
|
|
input:checked+.slider:before {
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
.switch-label {
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
font-size: 0.9rem;
|
|
color: var(--text-primary);
|
|
} |