Files
2026-03-29 22:05:52 +01:00

465 lines
9.4 KiB
CSS
Executable File
Vendored
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.wm-button {
width: 95px;
height: 25px;
background: blue;
border: none;
vertical-align: top;
margin-left: 25px;
cursor: pointer;
color: white;
transition: 2s;
border-radius: 12px;
}
.wm-button:disabled {
background: #999;
color: #555;
cursor: not-allowed;
}
.wm-button:hover {
background-color: #81ecec;
border: 2px solid #00cec9;
}
.wm-button-red {
width: 95px;
height: 25px;
background: red;
border: none;
vertical-align: top;
margin-left: 25px;
cursor: pointer;
color: white;
transition: 2s;
border-radius: 12px;
}
.wm-button-red:disabled {
background: #999;
color: #555;
cursor: not-allowed;
}
.wm-button-red:hover {
background-color: #e28181;
border: 2px solid #00cec9;
}
.wm-button-small {
width: 70;
height: 20px;
background: blue;
border: none;
vertical-align: top;
margin-left: 5px;
cursor: pointer;
color: white;
transition: 2s;
border-radius: 12px;
}
.wm-button-small:disabled {
background: #999;
color: #555;
cursor: not-allowed;
}
.wm-button-small:hover {
background-color: #81ecec;
border: 2px solid #00cec9;
}
.text-content {
font-family: monospace; /* Ensures consistent character spacing */
background-color: #f8f9fa; /* Light background for contrast */
padding: 1rem; /* Comfortable padding */
border: 1px solid #dee2e6; /* Subtle border */
border-radius: 0.25rem; /* Rounded corners */
white-space: pre-wrap; /* Wraps long lines while preserving whitespace */
max-height: 500px; /* Optional: Limit height with vertical scrolling */
overflow-y: auto; /* Vertical scrollbar if content is tall */
}
input[type="file"] {
display: none;
}
.firmware-file-upload {
width: 95px;
height: 25px;
background: blue;
border: none;
vertical-align: middle;
text-align: center;
line-height: 25px;
margin-left: 35px;
margin-bottom: 0px;
cursor: pointer;
color: white;
transition: 2s;
border-radius: 12px;
}
.firmware-file-upload:hover {
background-color: #81ecec;
border: 2px solid #00cec9;
}
.keymap-file-upload {
width: 95px;
height: 25px;
background: blue;
border: none;
vertical-align: middle;
text-align: center;
line-height: 25px;
margin-left: 35px;
margin-bottom: 0px;
cursor: pointer;
color: white;
transition: 2s;
border-radius: 12px;
}
.keymap-file-upload:hover {
background-color: #81ecec;
border: 2px solid #00cec9;
}
input[type=file]::file-selector-button {
border: 2px solid #6c5ce7;
padding: .2em .4em;
border-radius: .2em;
background-color: #a29bfe;
transition: 1s;
}
input[type=file]::file-selector-button:hover {
background-color: #81ecec;
border: 2px solid #00cec9;
}
.sk-modules-table {
border: none;
border-collapse: collapse;
}
.sk-modules-table caption {
padding-bottom: 0.5em;
}
.sk-modules-table th, .sk-modules-table td {
border: none;
padding: 0.2rem 2rem;
}
.sk-modules-table td {
white-space: nowrap;
}
.sk-modules-table th {
font-weight: normal;
}
.sk-modules-table td {
border-style: none;
vertical-align: top;
}
.sk-modules-table th {
padding: 0.2em;
vertical-align: middle;
text-align: center;
}
.sk-modules-table tbody td:first-child::after {
content: leader(". ");
}
.sk-client-wifi-config-table {
border: none;
border-collapse: collapse;
width: 1px !important;
table-layout: auto !important;
}
.sk-client-wifi-config-table caption {
padding-bottom: 0.5em;
}
.sk-client-wifi-config-table th, .sk-client-wifi-config-table td {
border: none;
padding: 0.2rem 2rem;
padding-left: 0;
padding-right: 4rem;
}
.sk-client-wifi-config-table td {
white-space: nowrap;
overflow: hidden;
border-style: none;
vertical-align: top;
width: auto !important;
}
.sk-client-wifi-config-table th {
font-weight: normal;
padding: 0.2em;
vertical-align: middle;
text-align: center;
width: auto !important;
}
#client-wifi-config-area {
overflow-x: scroll;
width: fit-content;
}
#firmware-revision-area {
overflow-x: scroll;
width: fit-content;
}
#esp32-partitions-area {
overflow-x: scroll;
width: fit-content;
}
#rp2350-partitions-area {
overflow-x: scroll;
width: fit-content;
}
.sk-partitions-table {
border: none;
border-collapse: collapse;
}
.sk-partitions-table caption {
padding-bottom: 0.5em;
}
.sk-partitions-table th, .sk-partitions-table td {
border: none;
padding: 0.2rem 2rem;
}
.sk-partitions-table td {
white-space: nowrap;
border-style: none;
vertical-align: top;
}
.sk-partitions-table th {
font-weight: normal;
padding: 0.2em;
vertical-align: middle;
text-align: center;
}
.sk-partitions-table tbody td:first-child::after {
content: leader(". ");
}
.sk-partitions-table tbody td:nth-child(4) {
text-align: right;
}
.sk-partitions-table tbody td:nth-child(5) {
text-align: right;
}
.sk-partitions-table tbody td:nth-child(6) {
text-align: center;
}
.sk-partitions-table tbody td:nth-child(8) {
text-align: center;
}
.table-condensed .progress {
margin-bottom: 0 !important;
width: 400px;
display: none;
}
.table-borderless > tbody > tr > td,
.table-borderless > thead > tr > td,
.table-borderless {
border-bottom: 0;
border-top: 0;
padding: 4px;
padding-top: 2px;
padding-bottom: 0;
white-space: nowrap;
}
.table-responsive {
border-bottom: 0;
border-top: 0;
border-left: 0;
border-right: 0;
padding: 4px;
padding-top: 2px;
padding-bottom: 0;
white-space: nowrap;
table-layout: auto;
}
.table {
margin-bottom: 10px;
}
.justify {
text-align: justify;
text-justify: inter-word;
}
.keymap {
max-height: 36.2em;
overflow: auto;
}
.hr_no_margin {
margin-top: 0.2em;
margin-bottom: 0.2em;
}
fieldset {
overflow: hidden;
}
.radio-mouse {
padding-right: 1em;
}
.radio-mouse label {
float: left;
clear: none;
display: block;
padding: 0px 1em 0px 8px;
}
input[type=radio] .radio-mouse,
input.radio .radio-mouse {
float: left;
clear: none;
margin: 2px 0 0 2px;
}
.edit-buttons {
margin-right: 15px;
margin-left: 15px;
margin-top: 15px;
}
.edit-container {
margin-right: 15px;
margin-left: 15px;
}
.edit-frame {
height: 50vh;
width: 100%;
/* border: 1px solid lightgrey; */
}
.edit-inner {
height: 50vh;
width: 100%;
/* background-color: rgb(190, 190, 190); */
}
.edit-inner > .form-group {
height: inherit;
max-height: 88%;
}
.edit-inner #editFrameText {
height: 94%;
min-height: 94%;
}
.rightlower {
height: 50vh;
width: 100%;
background-color: rgb(190, 190, 190);
border-top: 5px solid blue;
}
.radio-partition {
padding-left: 15px;
padding-top: 15px;
}
.dropdown-btn::after {
content: "\25BC"; /* ▼ */
font-size: 0.8em;
float: right;
margin-top: 4px;
transition: transform 0.25s;
}
.dropdown-btn.open::after {
transform: rotate(180deg);
}
/* Base sidebar link styling (adjust as needed) */
.side-nav > li > a {
margin-left: 20px;
padding-left: 15px; /* keep some inner padding */
/* other styles like color, font-size... */
}
/* All submenu items (any level) get some base indent */
.side-nav .collapse li > a {
margin-left: 40px;
font-size: 0.95em; /* slightly smaller is common */
}
/* Second-level submenu (deeper nesting) */
.side-nav .collapse .collapse li > a {
padding-left: 55px; /* more indent for level 2 */
font-size: 0.92em;
}
/* Third level (if you ever add more nesting) */
.side-nav .collapse .collapse .collapse li > a {
padding-left: 75px;
}
/* Optional: make icons align nicely when indented */
.side-nav .collapse a > i {
margin-right: 8px;
width: 18px; /* fixed width so text aligns */
text-align: center;
}
/* Optional: subtle visual hierarchy for parents */
.side-nav li > a.dropdown-toggle {
font-weight: 500; /* slightly bolder for parents */
}
/* Sidebar hover/focus/active: semi-transparent yellow that doesn't obscure text */
.side-nav > li > a:hover,
.side-nav > li > a:focus,
.side-nav .collapse li > a:hover,
.side-nav .collapse li > a:focus {
background-color: rgba(255, 200, 50, 0.15) !important; /* translucent yellow */
color: #ffd700 !important; /* gold text */
}
/* When a submenu item is active, highlight the whole path (if using previous JS) */
.side-nav li.active > a {
background-color: #262c32; /* darker shade for parent */
color: white !important;
}
.side-nav a.active {
background-color: #322f11; /* or your brand color */
color: white !important;
font-weight: bold;
}
.side-nav .dropdown-toggle {
padding-right: 25px; /* reserve space on the right */
position: relative; /* anchor for absolute child */
}
.side-nav .dropdown-toggle .caret {
position: absolute;
right: 40px; /* distance from right edge — adjust 815px */
top: 50%;
margin-top: -2px; /* vertical center — tweak if font-size changes */
float: none; /* cancel the float from .pull-right */
}
/* Remove ugly focus for mouse users, keep for keyboard */
.side-nav a:focus:not(:focus-visible),
.side-nav .dropdown-toggle:focus:not(:focus-visible) {
outline: none !important;
box-shadow: none !important;
}
/* Optional: style keyboard focus nicely (instead of default blue) */
.side-nav a:focus-visible,
.side-nav .dropdown-toggle:focus-visible {
outline: 2px solid #1abc9c; /* your brand color, or yellow to match icons */
outline-offset: 1px;
}