From ae0bb2a2aaf0e860946ceaeb6a79a8982474ef9c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 1 Jul 2020 15:02:20 +0200 Subject: [PATCH] rename file to mod, for all theme modifications --- res/themes/element/css/{_blur.scss => _mods.scss} | 5 +++-- res/themes/element/css/element.scss | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename res/themes/element/css/{_blur.scss => _mods.scss} (89%) diff --git a/res/themes/element/css/_blur.scss b/res/themes/element/css/_mods.scss similarity index 89% rename from res/themes/element/css/_blur.scss rename to res/themes/element/css/_mods.scss index 4f8b361674..12388200b4 100644 --- a/res/themes/element/css/_blur.scss +++ b/res/themes/element/css/_mods.scss @@ -1,3 +1,5 @@ +// sidebar blurred avatar background +// // if backdrop-filter is supported, // set the user avatar (if any) as a background so // it can be blurred by the tag panel and room list @@ -10,8 +12,7 @@ background-position: center; } - .mx_TagPanel - { + .mx_TagPanel { backdrop-filter: blur(100px); } diff --git a/res/themes/element/css/element.scss b/res/themes/element/css/element.scss index a4540ea863..e806a4a436 100644 --- a/res/themes/element/css/element.scss +++ b/res/themes/element/css/element.scss @@ -2,5 +2,5 @@ @import "_paths.scss"; @import "_fonts.scss"; @import "_element.scss"; -@import "_blur.scss"; +@import "_mods.scss"; @import "../../../../res/css/_components.scss";