forked from platypush/platypush
[Carousel UI] Replaced blur
filter with brightness
for background.
It's much less expensive on the CPU side, and the effect is similar. Closes: #359
This commit is contained in:
parent
18f2c26725
commit
9df08de24f
1 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ import Weather from "@/components/widgets/Weather/Index";
|
|||
*
|
||||
* ```yaml
|
||||
* backend.http:
|
||||
* resources:
|
||||
* resource_dirs:
|
||||
* carousel: /mnt/hd/photos/albums/carousel
|
||||
* ```
|
||||
*/
|
||||
|
@ -239,8 +239,8 @@ export default {
|
|||
background-position: center;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
filter: blur(13px);
|
||||
-webkit-filter: blur(13px);
|
||||
filter: brightness(15%);
|
||||
-webkit-filter: brightness(15%);
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
Loading…
Reference in a new issue