Fix note footer link having wrong background and border color

master
Skylar Ittner 6 years ago
parent b1248c80d8
commit 8eb196df36

@ -40,11 +40,14 @@ $colors = [
]; ];
foreach ($notes as $note) { foreach ($notes as $note) {
echo "#notecard_" . $note->getID() . ", #notecard_" . $note->getID() . " a {\n" echo "#notecard_" . $note->getID() . ", #notecard_" . $note->getID() . " .card-body a {\n"
. " background-color: #" . $note->getColor() . ";\n" . " background-color: #" . $note->getColor() . ";\n"
. " color: #" . $note->getTextColor() . ";\n" . " color: #" . $note->getTextColor() . ";\n"
. " border: 1px solid #" . $note->getColor() . ";\n" . " border: 1px solid #" . $note->getColor() . ";\n"
. "}\n"; . "}\n";
echo "#notecard_" . $note->getID() . " .card-footer a {\n"
. " color: #" . $note->getTextColor() . ";\n"
. "}\n";
} }
foreach ($colors as $c) { foreach ($colors as $c) {

Loading…
Cancel
Save