From 79e20d95a9e63e00f021cb04f2135705cbf32e48 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Thu, 23 Mar 2023 17:50:07 +0000 Subject: 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 57847cf..5f0418d 100644 --- a/resources/assets/stylesheets/mixins/studip.less +++ b/resources/assets/stylesheets/mixins/studip.less @@ -174,14 +174,6 @@ /* 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)), - 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-repeat: no-repeat; background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px; @@ -200,14 +192,6 @@ /* 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)), - 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-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; diff --git a/resources/assets/stylesheets/mixins/studip.scss b/resources/assets/stylesheets/mixins/studip.scss index eb156bb..344f802 100644 --- a/resources/assets/stylesheets/mixins/studip.scss +++ b/resources/assets/stylesheets/mixins/studip.scss @@ -190,14 +190,6 @@ /* 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)), - 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-repeat: no-repeat; background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px; @@ -216,14 +208,6 @@ /* 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)), - 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-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; -- cgit v1.0