Skip to content

Commit

Permalink
Footer-right fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
th3jesta committed Jan 9, 2023
1 parent 91bb3fb commit e6c3013
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions themes/lcars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@
border-top: 10px solid var(--lcars-card-top-color);
border-left: 35px solid var(--lcars-card-top-color);
}
ha-card.header > ha-markdown {
border-radius: 20px 0 0 0;
}
ha-card.header-right {
background: var(--lcars-card-top-color) !important;
text-transform: uppercase;
Expand All @@ -214,6 +211,9 @@
padding-top: 0px !important;
padding-bottom: 0 !important;
}
ha-card.header > ha-markdown {
border-radius: 20px 0 0 0;
}
/* Middle classes and fixes for specific cards */
ha-card.middle {
background: black !important;
Expand Down Expand Up @@ -265,12 +265,28 @@
border-radius: 0px 0px 0px 20px;
}
ha-card.footer-right > span.state {
border-radius: 0px 20px 0px 0px;
border-radius: 0px 0px 20px 0px;
}
ha-card.footer > .entities {
background: black;
border-radius: 0px 0px 0px 20px;
}
ha-card.footer-right > .entities {
background: black;
border-radius: 0px 0px 20px 0px;
}
ha-card.footer > #states {
background: black;
border-radius: 0px 0px 0px 20px;
padding-top: 0px !important;
padding-bottom: 0 !important;
}
ha-card.footer-right > #states {
background: black;
border-radius: 0px 0px 20px 0px;
padding-top: 0px !important;
padding-bottom: 0 !important;
}
ha-card.footer > ha-state-icon {
background: black;
width: 100%;
Expand All @@ -283,7 +299,10 @@
margin-top: -4px;
}
ha-card.footer > ha-markdown {
border-radius: 0 0 0 20px !important;
border-radius: 0px 0px 0px 20px !important;
}
ha-card.footer-right > ha-markdown {
border-radius: 0px 0px 20px 0px !important;
}
/* Small button class and fixes for specific cards */
ha-card.button-small {
Expand Down Expand Up @@ -415,12 +434,6 @@
padding-top: 0px !important;
padding-bottom: 0 !important;
}
#states {
background: black;
border-radius: 0px 0px 0px 20px;
padding-top: 0px !important;
padding-bottom: 0 !important;
}
.details {
margin-top: 1em;
}
Expand Down

0 comments on commit e6c3013

Please sign in to comment.