Ueberall dasselbe Beschattungs-Symbol (bi-beschattung)
Raum-Modal, Zeitleiste und Automatik-Editor zeigten drei verschiedene Zeichen; bi-blinds gibt es in der Icon-Schrift gar nicht. Das neue Symbol liegt als CSS-Maske in solar.css und verhaelt sich wie ein Icon aus der Schrift. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -178,9 +178,7 @@ function bedienform($d)
|
||||
function raumGruppenTitel()
|
||||
{
|
||||
return [
|
||||
// "bi-blinds" gibt es in der eingebundenen Icon-Version nicht - die
|
||||
// Kachel blieb leer. Ein eigenes Zeichen: Fensterrahmen mit Lamellen.
|
||||
"beschattung" => ["Beschattung", "<svg viewBox='24 24' width='16' height='16' fill='none' stroke='currentColor' stroke-width='1.8' stroke-linecap='round'><rect x='4' y='3' width='16' height='18' rx='1.5'/><path d='M4 7.5h16M4 12h16M4 16.5h16'/></svg>", "#60afbf"],
|
||||
"beschattung" => ["Beschattung", "bi-beschattung", "#60afbf"],
|
||||
"heizung" => ["Heizung", "bi-thermometer-half", "#e5624f"],
|
||||
"licht" => ["Licht", "bi-lightbulb", "#f7c000"],
|
||||
"schalter" => ["Schalten", "bi-toggle-on", "#6cbe58"],
|
||||
@@ -219,7 +217,7 @@ function zeichneGruppen($gruppen, $fertig = [])
|
||||
foreach ($vorhanden as $form => $titel) {
|
||||
$leiste .= "<button type='button' role='tab' data-rf-reiter='" . $form . "'"
|
||||
. " aria-selected='" . ($erste ? "true" : "false") . "' style='--c:" . $titel[2] . "'>"
|
||||
. "<span class='rf-sym'>" . (strpos($titel[1], "<svg") === 0 ? $titel[1] : "<i class='bi " . $titel[1] . "'></i>") . "</span>"
|
||||
. "<span class='rf-sym'><i class='bi " . $titel[1] . "'></i></span>"
|
||||
. "<b>" . htmlspecialchars($titel[0]) . "</b>"
|
||||
. "<span class='rf-st' data-rf-status='" . $form . "'></span></button>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user