From 79e20d95a9e63e00f021cb04f2135705cbf32e48 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Thu, 23 Mar 2023 17:50:07 +0000 Subject: [PATCH] remove duplicated css code, fixes #2439 Closes #2439 Merge request studip/studip!1633 --- resources/assets/stylesheets/mixins/studip.less | 16 ---------------- resources/assets/stylesheets/mixins/studip.scss | 16 ---------------- 2 files changed, 32 deletions(-) diff --git a/resources/assets/stylesheets/mixins/studip.less b/resources/assets/stylesheets/mixins/studip.less index 57847cfc750..5f0418d286f 100644 --- a/resources/assets/stylesheets/mixins/studip.less +++ b/resources/assets/stylesheets/mixins/studip.less @@ -166,14 +166,6 @@ .scrollbox-vertical { overflow: auto; - background: - /* Shadow covers */ - linear-gradient(white 30%, rgba(255,255,255,0)), - linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, - - /* Shadows */ - radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)), - radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%; background: /* Shadow covers */ linear-gradient(white 30%, rgba(255,255,255,0)), @@ -192,14 +184,6 @@ .scrollbox-horizontal { overflow: auto; - background: - /* Shadow covers */ - linear-gradient(90deg, white 30%, rgba(255,255,255,0)), - linear-gradient(90deg, rgba(255,255,255,0), white 70%) 100% 0, - - /* Shadows */ - radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.2), rgba(0,0,0,0)), - radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 100% 0; background: /* Shadow covers */ linear-gradient(90deg, white 30%, rgba(255,255,255,0)), diff --git a/resources/assets/stylesheets/mixins/studip.scss b/resources/assets/stylesheets/mixins/studip.scss index eb156bb66b0..344f8027114 100644 --- a/resources/assets/stylesheets/mixins/studip.scss +++ b/resources/assets/stylesheets/mixins/studip.scss @@ -182,14 +182,6 @@ %scrollbox-vertical { overflow: auto; - background: - /* Shadow covers */ - linear-gradient(white 30%, rgba(255,255,255,0)), - linear-gradient(rgba(255,255,255,0), white 70%) 0 100%, - - /* Shadows */ - radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)), - radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%; background: /* Shadow covers */ linear-gradient(white 30%, rgba(255,255,255,0)), @@ -208,14 +200,6 @@ @mixin scrollbox-horizontal { overflow: auto; - background: - /* Shadow covers */ - linear-gradient(90deg, white 30%, rgba(255,255,255,0)), - linear-gradient(90deg, rgba(255,255,255,0), white 70%) 100% 0, - - /* Shadows */ - radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.2), rgba(0,0,0,0)), - radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 100% 0; background: /* Shadow covers */ linear-gradient(90deg, white 30%, rgba(255,255,255,0)), -- GitLab