Skip to content

Commit

Permalink
New thermostat fix and footer postition: relative.
Browse files Browse the repository at this point in the history
  • Loading branch information
th3jesta committed Dec 7, 2023
1 parent b29c062 commit 3a57442
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions themes/lcars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
border-bottom: 10px solid var(--lcars-card-bottom-color);
border-left: 35px solid var(--lcars-card-bottom-color);
margin-top: unset;
position: relative;
}
ha-card.footer > span {
background: black;
Expand All @@ -352,7 +353,7 @@
}
ha-card.footer.type-thermostat > .content {
border-radius: 0px 0px 0px 20px;
}
} /* to be depraceted eventually due to changes in the card */
ha-card.footer.type-picture-entity {
border-radius: 0px 0px 0px 20px;
}
Expand All @@ -377,6 +378,14 @@
background: black;
border-radius: 0px 0px 0px 20px;
}
ha-card.footer.type-thermostat > p {
background: black;
}
ha-card.footer > ha-state-control-climate-temperature {
background: black !important;
border-radius: 0px 0px 0px 20px;
max-width: unset;
}
/* Border on the right */
ha-card.footer-right {
background: var(--lcars-card-bottom-color) !important;
Expand Down Expand Up @@ -429,6 +438,14 @@
background: black;
border-radius: 0px 0px 20px 0px;
}
ha-card.footer-right.type-thermostat > p {
background: black;
}
ha-card.footer-right > ha-state-control-climate-temperature {
background: black !important;
border-radius: 0px 0px 20px 0px;
max-width: unset;
}
/* Border on both sides */
ha-card.footer-contained {
background: var(--lcars-card-bottom-color) !important;
Expand Down Expand Up @@ -481,6 +498,14 @@
ha-card.footer-contained > .info {
background: black !important;
}
ha-card.footer-contained.type-thermostat > p {
background: black;
}
ha-card.footer-contained > ha-state-control-climate-temperature {
background: black !important;
border-radius: 0px 0px 20px 20px;
max-width: unset;
}
/* Border on neither side */
ha-card.footer-open {
background: var(--lcars-card-bottom-color) !important;
Expand Down Expand Up @@ -522,7 +547,14 @@
ha-card.footer-open > .info {
background: black !important;
}
ha-card.footer-open.type-thermostat > p {
background: black;
}
ha-card.footer-open > ha-state-control-climate-temperature {
background: black !important;
max-width: unset;
}
/* Fixes across card types */
ha-card.footer.type-button,
ha-card.footer-right.type-button,
Expand Down

0 comments on commit 3a57442

Please sign in to comment.