From fb3a01a55c8d1c5c56c008c98ae0549691fea212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 17 Mar 2022 09:27:58 +0100 Subject: [PATCH] MOBILE-3814 style: Remove webkit gradients supported by browsers --- .../storagemanager/pages/course-storage/course-storage.scss | 1 - src/core/features/course/pages/index/index.html | 4 +++- src/theme/components/collapsible-item.scss | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.scss b/src/addons/storagemanager/pages/course-storage/course-storage.scss index bf803e5ab..9f3ad5c36 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.scss +++ b/src/addons/storagemanager/pages/course-storage/course-storage.scss @@ -26,7 +26,6 @@ min-height: var(--course-storage-max-activity-height); position: absolute; @include position(0, 0, null, 0); - background: -webkit-linear-gradient(top, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px)); background: linear-gradient(to bottom, rgba(var(--background-gradient-rgb), 0) calc(100% - 30px), rgba(var(--background-gradient-rgb), 1) calc(100% - 20px)); z-index: 6; pointer-events: none; diff --git a/src/core/features/course/pages/index/index.html b/src/core/features/course/pages/index/index.html index 7c445a8af..dec61a652 100644 --- a/src/core/features/course/pages/index/index.html +++ b/src/core/features/course/pages/index/index.html @@ -29,7 +29,9 @@ -

{{ title }}

+

+ +

diff --git a/src/theme/components/collapsible-item.scss b/src/theme/components/collapsible-item.scss index 33d010fda..7297a8f0c 100644 --- a/src/theme/components/collapsible-item.scss +++ b/src/theme/components/collapsible-item.scss @@ -75,7 +75,6 @@ height: 60px; position: absolute; @include position(null, 0, 0, 0); - background: -webkit-linear-gradient(top, rgba(var(--background-gradient-rgb), 0) calc(100% - var(--gradient-size)), rgba(var(--background-gradient-rgb), 1) calc(100% - 4px)); background: linear-gradient(to bottom, rgba(var(--background-gradient-rgb), 0) calc(100% - var(--gradient-size)), rgba(var(--background-gradient-rgb), 1) calc(100% - 4px)); z-index: 6; }