From e3f5c0d19148c6d3e53a283e1463486752f999ba Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Tue, 4 Jan 2022 08:24:34 +0100 Subject: [PATCH] MDL-73486 block_privatefiles: prevent stylelint warnings --- blocks/private_files/styles.css | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/blocks/private_files/styles.css b/blocks/private_files/styles.css index c35ad8065a9..95655fe67ea 100644 --- a/blocks/private_files/styles.css +++ b/blocks/private_files/styles.css @@ -49,8 +49,20 @@ .block_private_files [role="treeitem"]:not([aria-expanded]) { background-image: - repeating-linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .5) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 2px), - repeating-linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.5) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 2px); + repeating-linear-gradient( + to right, + rgba(0, 0, 0, .5) 0, + rgba(0, 0, 0, .5) 1px, + rgba(255, 255, 255, 0) 1px, + rgba(255, 255, 255, 0) 2px + ), + repeating-linear-gradient( + to top, + rgba(0, 0, 0, 0.5) 0, + rgba(0, 0, 0, 0.5) 1px, + rgba(255, 255, 255, 0) 1px, + rgba(255, 255, 255, 0) 2px + ); background-repeat: no-repeat, no-repeat; /*rtl:remove*/ background-position: left 10px top 50%, left 8px top 0; @@ -65,7 +77,14 @@ } .block_private_files [role="group"] { - background-image: repeating-linear-gradient(to top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0.5) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 2px); + background-image: + repeating-linear-gradient( + to top, + rgba(0, 0, 0, 0.5) 0, + rgba(0, 0, 0, 0.5) 1px, + rgba(255, 255, 255, 0) 1px, + rgba(255, 255, 255, 0) 2px + ); background-repeat: no-repeat; background-position: left 8px top 100%; background-size: 1px 100%;