UI: Implement Web Assets' theme system, and add 'dark' theme #103972
@ -9,10 +9,10 @@
|
||||
.schedule-container
|
||||
&.horizontal
|
||||
|
||||
.event
|
||||
backdrop-filter: brightness(90%)
|
||||
backdrop-filter: brightness(75%)
|
||||
|
||||
&:hover
|
||||
backdrop-filter: brightness(85%)
|
||||
backdrop-filter: brightness(80%)
|
||||
|
||||
|
||||
=theme-light-schedule
|
||||
martonlente marked this conversation as resolved
Outdated
Pablo Vazquez
commented
Seems that when the button is pressed, it only adds the Perhaps we could replace the check: From: To: So it updates as it is pressed. Seems that when the button is pressed, it only adds the `data-is-checked` attribute but it doesn't assign any value. So the user has to reload the page for it to update in real time.
Perhaps we could replace the check:
From:
`&:has(button[data-is-checked="data-is-checked"])`
To:
`&:has(button[data-is-checked])`
So it updates as it is pressed.
Márton Lente
commented
Thanks, this is indeed much nicer with the less specificity, and works without page reload! 👍 I updated accordingly. Thanks, this is indeed much nicer with the less specificity, and works without page reload! 👍 I updated accordingly.
|
||||
|
Loading…
Reference in New Issue
Block a user
Any reason to limit this to the horizontal layout? The same concept could be used in the vertical schedule.
Sorry for the late reponse, just noticed the new comments.
I like the idea to display followed/assisting items in the vertical schedule more remarkably, but I think here it should look different, as the vertical layout doesn't have the coloured rows by location. Maybe we should just apply a slightly different tone of grey to highlighted items' backgrounds? Or shall we try to go for location-based colouring here as well, possibly with less saturated tones?
Based on this, I think the existing rule is correct, and we could extend vertical layout styles with additional rules.