Files
Aruba-PoE/srv/poe_manager/static/css/style.css

177 lines
3.1 KiB
CSS

body {
padding: 20px;
background: #3c4346;
}
h1, h2, h3, h4, h5, h6 {
color: #fff;
}
.table-dark {
background-color: #343a40 !important;
color: #fff !important;
}
.badge {
font-size: 0.9rem;
}
pre {
background-color: #f8f9fa7c;
padding: 10px;
border-radius: 5px;
max-height: 600px;
overflow-y: scroll;
}
.mb-3 a.btn {
margin-right: 5px;
}
#dashboard-timer {
font-size: 0.9rem;
padding: 0.25rem 0.5rem;
}
.device-card {
border: 1px solid #ccc;
border-radius: 5px;
padding: 15px;
margin-bottom: 15px;
text-align: center;
min-width: 150px;
}
.device-name {
margin-bottom: 0.5rem;
font-weight: bold;
}
.status-online {
color: green;
font-weight: bold;
}
.status-offline {
color: red;
font-weight: bold;
}
.content-wrapper {
max-width: 1080px;
margin-left: auto;
margin-right: auto;
}
.navbar {
display: flex;
justify-content: flex-end;
}
.navbar-container {
display: flex;
justify-content: space-between; /* Logo links, Navbar rechts */
align-items: center;
margin-bottom: 1rem;
}
.navbar-buttons .btn {
margin-right: 0.25rem; /* kleine Lücke zwischen Buttons */
}
.navbar-logo img {
display: flex;
justify-content: flex-start;
height: 83px; /* Logo Höhe, kann angepasst werden */
}
#log-container {
position: relative;
height: calc(100vh - 251px); /* Füllt die Seite minus Header */
padding: 1rem; /* optional, Abstand innen */
box-sizing: border-box; /* damit Padding nicht die Höhe sprengt */
display: flex;
flex-direction: column;
}
#log-box {
flex: 1 1 auto; /* füllt den Container, berücksichtigt Header/Padding */
overflow: auto;
white-space: pre-wrap;
font-family: monospace;
border: 1px solid #dee2e6;
background-color: #f8f9fa;
padding: 0.5rem;
}
#refresh-timer {
position: absolute;
bottom: 18px;
right: 25px;
font-size: 0.9em;
color: gray;
background-color: rgba(255,255,255,0.7); /* optional, besser lesbar */
padding: 2px 4px;
border-radius: 3px;
pointer-events: none; /* damit Scrollbar nicht blockiert wird */
}
/* Tabelle anpassen */
.custom-table input,
.custom-table select {
height: 28px;
padding: 0.25rem 0.5rem;
font-size: 0.9rem;
}
/* Spaltenbreiten */
.custom-table .col-small {
width: 140px; /* Hostname, Port */
}
.custom-table .col-ip {
width: 140px; /* IP-Adresse schmaler */
}
.custom-table .col-mac {
width: 140px; /* MAC-Adresse schmaler */
}
/* Checkbox sichtbar auch bei disabled */
.checkbox-visible:disabled {
opacity: 1; /* nicht ausgegraut */
cursor: not-allowed;
}
/* Aktiv-Label für Neues Gerät */
label.text-white {
color: white !important;
}
.checkbox-visible:not(:checked) {
accent-color: #dc3545; /* rot wenn unchecked */
}
.checkbox-visible:disabled {
cursor: not-allowed;
opacity: 1; /* verhindert Ausgrauen */
}
.custom-actions {
margin: auto 0;
background: #fff;
}
.black {
color: #000000;
}
.white {
color: #ffffff;
}
button.login {
background-color: #ff7100;
border-color: #ff7300a9;;
}