2025-02-12 21:10:25 +01:00
|
|
|
/* Allgemeine Stile */
|
|
|
|
body {
|
|
|
|
font-family: Arial, sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
color: #333;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 100vh;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
height: 40px; /* Anpassen an die Navbar-Höhe */
|
|
|
|
width: auto;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Navigationsleiste */
|
|
|
|
.navbar {
|
|
|
|
background-color: #007bff;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center; /* Zentriert die Navigation */
|
|
|
|
padding: 10px 0;
|
|
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a {
|
|
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
|
|
text-align: center;
|
|
|
|
padding: 14px 20px;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
transition: background 0.3s, color 0.3s;
|
|
|
|
cursor: pointer !important; /* Wichtig: cursor-Definition für Nav-Links */
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar a:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Inhalt */
|
|
|
|
.container {
|
|
|
|
padding: 20px;
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
background: white;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
margin-top: 20px; /* Platz für die fixe Navbar */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Überschriften */
|
|
|
|
h1 {
|
|
|
|
color: #007bff;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
color: #007bff;
|
|
|
|
font-size: 24px;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Formulare */
|
|
|
|
form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 10px;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"], input[type="submit"] {
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"]:focus {
|
|
|
|
border-color: #007bff;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"] {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"]:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Buttons */
|
|
|
|
button {
|
|
|
|
padding: 10px 15px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
font-size: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Statusnachricht */
|
|
|
|
#statusMessage {
|
|
|
|
margin-top: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: #8cc4fd;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.features {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: 30px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.feature {
|
|
|
|
flex: 1;
|
|
|
|
padding: 20px;
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin: 0 10px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
.feature h3 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
.feature p {
|
|
|
|
font-size: 1rem;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 1rem;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #007bff;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Karten-Stil für optische Trennung */
|
|
|
|
.card {
|
|
|
|
background: #f9f9f9;
|
|
|
|
padding: 15px;
|
|
|
|
margin: 20px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Versteckte Elemente */
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Dropdown-Stil */
|
|
|
|
.styled-select {
|
|
|
|
width: 100%;
|
|
|
|
padding: 12px 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
border: 2px solid #e0e0e0;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 15px center;
|
|
|
|
background-size: 15px;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styled-select:hover {
|
|
|
|
border-color: #007bff;
|
|
|
|
box-shadow: 0 3px 6px rgba(0, 123, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styled-select:focus {
|
|
|
|
border-color: #007bff;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styled-select:disabled {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* NFC-Status */
|
|
|
|
.nfc-status {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-success {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-error {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Füge diese neuen Styles zu deiner style.css hinzu */
|
|
|
|
|
|
|
|
.three-column-layout {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
gap: 20px;
|
|
|
|
margin-top: 20px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0; /* Verhindert Überlauf bei flex-Elementen */
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-box {
|
|
|
|
background: white;
|
|
|
|
padding: 5px 20px 20px 20px;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-box h2 {
|
|
|
|
color: #007bff;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-box ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature-box ul li {
|
|
|
|
padding: 8px 5px 5px 5px;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
width: 95%;
|
|
|
|
max-width: 1400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-top: 60px;
|
|
|
|
padding-bottom: 20px;;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tray {
|
|
|
|
background: #ffffff;
|
|
|
|
padding: 15px;
|
|
|
|
margin: 10px 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
border-left: 4px solid #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tray p {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tray b {
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive Design */
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
.three-column-layout {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-status-display {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 10px;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-circle {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
border: 2px solid #ccc;
|
|
|
|
background-color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-circle.success {
|
|
|
|
background-color: #28a745;
|
|
|
|
border-color: #218838;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-circle.error {
|
|
|
|
background-color: #dc3545;
|
|
|
|
border-color: #c82333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-data {
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 5px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-data p {
|
|
|
|
margin: 5px 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-status-display {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #fff3f3;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-left: 4px solid #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
.info-message {
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #fff3f3;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-left: 4px solid #39d82e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-header {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 40px 1fr 40px;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-header h2 {
|
|
|
|
margin: 0;
|
|
|
|
grid-column: 2;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-header .status-circle {
|
|
|
|
grid-column: 3;
|
|
|
|
justify-self: end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.connection-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 10px;
|
|
|
|
background-color: #fff3f3;
|
|
|
|
border: 1px solid #dc3545;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px 15px;
|
|
|
|
margin: 15px auto;
|
|
|
|
color: #dc3545;
|
|
|
|
position: fixed;
|
|
|
|
top: 20px;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
z-index: 1000;
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
max-width: 90%;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.connection-status.visible {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border: 2px solid rgba(220, 53, 69, 0.2);
|
|
|
|
border-top-color: #dc3545;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.connection-status.visible .spinner {
|
|
|
|
animation: spin 0.8s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
to { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
.connection-status.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nfc-actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
justify-content: center; /* Zentriert das div */
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
padding: 8px 16px;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-danger {
|
|
|
|
background-color: #dc3545;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-danger:hover {
|
|
|
|
background-color: #c82333;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Filament Select Styling */
|
|
|
|
#filamentSelect {
|
|
|
|
width: 100%;
|
|
|
|
padding: 12px 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
border: 2px solid #e0e0e0;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
appearance: none;
|
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 15px center;
|
|
|
|
background-size: 15px;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect:hover {
|
|
|
|
border-color: #007bff;
|
|
|
|
box-shadow: 0 3px 6px rgba(0, 123, 255, 0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect:focus {
|
|
|
|
border-color: #007bff;
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect option {
|
|
|
|
padding: 8px 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000; /* Standard Textfarbe für alles außer dem Farbblock */
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect option::first-letter {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect option::before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Color Box im Select */
|
|
|
|
.color-box {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border: 1px solid #333;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin-right: 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect option span {
|
|
|
|
display: inline-block;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#filamentSelect option span:first-child {
|
|
|
|
margin-right: 5px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Filament Select Option Styling */
|
|
|
|
#filamentSelect option span.color-circle {
|
|
|
|
display: inline-block;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 8px;
|
|
|
|
border: 1px solid #333;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom Dropdown */
|
|
|
|
.custom-dropdown {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
font-family: inherit;
|
|
|
|
cursor: default; /* Container selbst soll normalen Cursor haben */
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-button {
|
|
|
|
padding: 12px 15px;
|
|
|
|
border: 2px solid #e0e0e0;
|
|
|
|
border-radius: 8px;
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-button:hover {
|
|
|
|
border-color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected-color {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 1px solid #333;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-arrow {
|
|
|
|
margin-left: auto;
|
|
|
|
color: #007bff;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 4px;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
z-index: 1000;
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-content.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-option {
|
|
|
|
padding: 10px 15px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-option:hover {
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-color {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 1px solid #333;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification {
|
|
|
|
position: fixed;
|
|
|
|
top: 20px;
|
|
|
|
right: 20px;
|
|
|
|
padding: 15px 25px;
|
|
|
|
border-radius: 4px;
|
|
|
|
color: white;
|
|
|
|
z-index: 1000;
|
|
|
|
animation: slideIn 0.3s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification.success {
|
|
|
|
background-color: #28a745;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification.error {
|
|
|
|
background-color: #dc3545;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification.fade-out {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s ease-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes slideIn {
|
|
|
|
from {
|
|
|
|
transform: translateX(100%);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
transform: translateX(0);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Neue Styles für die Statistiken */
|
|
|
|
.statistics-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
gap: 20px;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-column {
|
|
|
|
background: #f8f9fa;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-column h3 {
|
|
|
|
color: #007bff;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
border-bottom: 2px solid #e9ecef;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-list li {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 8px 5px 0 5px;
|
|
|
|
border-bottom: 1px solid #e9ecef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-list li:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-label {
|
|
|
|
color: #495057;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stat-value {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Responsive Design Anpassung */
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.statistics-grid {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.statistics-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 1px solid #e9ecef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refresh-button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 8px 16px;
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 14px;
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refresh-button:hover {
|
|
|
|
background-color: #0056b3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refresh-button:active {
|
|
|
|
background-color: #004494;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spools-info {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
gap: 20px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spool-stat {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spool-stat .stat-label {
|
|
|
|
color: #495057;
|
|
|
|
font-weight: 500;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spool-stat .stat-value {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #007bff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Buttons und klickbare Elemente */
|
|
|
|
button,
|
|
|
|
input[type="submit"],
|
|
|
|
.dropdown-button,
|
|
|
|
.dropdown-option,
|
|
|
|
.refresh-button,
|
|
|
|
.btn,
|
|
|
|
.styled-select,
|
|
|
|
select,
|
|
|
|
a {
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Disabled Zustände */
|
|
|
|
button:disabled,
|
|
|
|
input[type="submit"]:disabled,
|
|
|
|
.btn:disabled,
|
|
|
|
.styled-select:disabled {
|
|
|
|
cursor: not-allowed !important;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Schreib-Button */
|
|
|
|
#writeNfcButton {
|
|
|
|
background-color: #007bff;
|
|
|
|
color: white;
|
|
|
|
transition: background-color 0.3s, color 0.3s;
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#writeNfcButton.writing {
|
|
|
|
background-color: #ffc107;
|
|
|
|
color: black;
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#writeNfcButton.success {
|
|
|
|
background-color: #28a745;
|
|
|
|
color: white;
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#writeNfcButton.error {
|
|
|
|
background-color: #dc3545;
|
|
|
|
color: white;
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes dots {
|
|
|
|
0% { content: ""; }
|
|
|
|
33% { content: "."; }
|
|
|
|
66% { content: ".."; }
|
|
|
|
100% { content: "..."; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#writeNfcButton.writing::after {
|
|
|
|
content: "...";
|
|
|
|
animation: dots 1s steps(3, end) infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Bambu Settings Erweiterung */
|
|
|
|
.bambu-settings {
|
|
|
|
background: white;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 20px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bambu-settings .input-group {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bambu-settings .input-group label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bambu-settings .input-group input {
|
2025-02-13 09:25:03 +01:00
|
|
|
width: 95%;
|
2025-02-12 21:10:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#bambuStatusMessage {
|
|
|
|
margin-top: 15px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 10px;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tray {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spool-button:hover {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|