[Styling Module] Cover gradient background indicator #1628
Replies: 7 comments 19 replies
-
cool ! |
Beta Was this translation helpful? Give feedback.
-
I'd like to see an option in which we could invert the gradient from the opposite direction. I do have some sunscreens which open the other way around, would love to have the gradient start from the right side and also picking a color would be nice. Love the work you did here, makes the UI look more fantastic |
Beta Was this translation helpful? Give feedback.
-
Hi @ilanhalakhmi @ZaGaPonG and @Eschwinm, Alternatively, the new options can be updated directly in YAML by providing the following information:
In this example:
Thank you for your ideas and suggestions! |
Beta Was this translation helpful? Give feedback.
-
Hi @robertofabrizi, Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi, Thank you :) |
Beta Was this translation helpful? Give feedback.
-
@j-kwan , i love this but idealy if it's possible i would like to set the position via a click on the progress bar to open the cover to a specific position, instead to open (or close), wait a specific delay then click stop |
Beta Was this translation helpful? Give feedback.
-
Hello @j-kwan And now my question: Thanks in advance |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Cover background position indicator
Version: v1.6
Creator: j-kwan
Important
Supported cards:
Add gradient background indicator regarding cover position
Configure this module via the editor or in YAML, for example (
popup
andcover
):If you want to use a
slider
type, here is an example with 3 sub-buttons to keep the possibility of closing, stopping, or opening :🧩 Get this Module
Screenshot:
Changelog
v1.7
Adding custom option to choose a colorless background for the closed part
With the options
Colorless background for the closed part
, the closed part will be transparent.v1.6
Fix - No more empty background when cover is not fully closed.
The background becomes colorless only when the cover is completely closed.
v1.5
Adding support for type button/slider type.
Note : Not recommended using the
Invert direction
option of the module with this type of card.The display wouldn't align with the direction of the input slider
v1.4
Adding custom option for inverting the highlighted part
With the option
Highlight the closed part
set totrue
, the closed percentage representation will be highlighted instead of the opened part.v1.3 (screenshot 3)
Adding advanced color field:
If the field is not empty, the entered value will overwrite the value from the color selector above.
This field is an unstructured text input, and its value will be passed directly to the CSS.
The value can therefore be in any color format (hexadecimal, RGB, RGBBA, HLS, HLSA, predefined, etc.).
v1.2
Fix error
Cannot read properties of undefined (reading 'attributes')
when cover is closedv1.1
Adding custom options :
purple
)false
)Improvement :
v1.0
Thank you everyone !
I really enjoyed working on this module ❤️
Beta Was this translation helpful? Give feedback.
All reactions