From d3f56ae99ba5f72a30c67dcd2891d68bb57a52fe Mon Sep 17 00:00:00 2001 From: th3jesta Date: Sun, 1 Jan 2023 20:16:58 -0500 Subject: [PATCH] Fixed pseudo-element dynamic resize: https://github.com/th3jesta/ha-lcars/issues/4 --- themes/lcars.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/themes/lcars.yaml b/themes/lcars.yaml index 97b6f62..874b0ea 100644 --- a/themes/lcars.yaml +++ b/themes/lcars.yaml @@ -467,9 +467,6 @@ border-top-right-radius: 40px !important; border-top-left-radius: 40px !important; } - ha-card:focus { - background: unset !important; - } ha-card > .name { color: black; } @@ -761,7 +758,8 @@ opacity: 0 !important; } paper-listbox::before { - content: linear-gradient(to bottom left, transparent 10%, #AAAAAADD 30%, #000000AA 60%, transparent 90%); + content: ""; + background: linear-gradient(to bottom left, transparent 10%, #AAAAAADD 30%, #000000AA 60%, transparent 90%); width: 100%; height: 120%; margin-top: -130px;