From ffcd4b61134d90f38360e44a3840cc7cf3c9798c Mon Sep 17 00:00:00 2001 From: AronDemian Date: Thu, 16 Apr 2020 07:19:34 +0200 Subject: [PATCH] refactor: Move up `.portal` underline gradient from `.body` to `h3` Change-Id: I3c057e048ada0601497ee6697c19bf207c3bc821 --- resources/skins.vector.styles/Portal.less | 9 +++++---- resources/skins.vector.styles/Sidebar.less | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/skins.vector.styles/Portal.less b/resources/skins.vector.styles/Portal.less index a53a2721..aab604a7 100644 --- a/resources/skins.vector.styles/Portal.less +++ b/resources/skins.vector.styles/Portal.less @@ -7,6 +7,11 @@ direction: ltr; h3 { + background-image: url( images/portal-separator.png ); // Support: IE 8 & 9, Fx 3.6-15, Safari 5.1-6, Chrome 10-25 + background-image: linear-gradient( to right, transparent 0, #c8ccd1 35%, #c8ccd1 70%, transparent 100% ); // Standard (Firefox 16+, IE 10+, Safari 6.1+, Chrome 26+) + background-position: center bottom; + background-repeat: no-repeat; + background-size: 100% @border-width-base; color: @color-nav-subtle; font-weight: normal; margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading ); @@ -17,10 +22,6 @@ } .body { - background-image: url( images/portal-separator.png ); // Support: IE 8 & 9, Fx 3.6-15, Safari 5.1-6, Chrome 10-25 - background-image: linear-gradient( to right, transparent 0, #c8ccd1 35%, #c8ccd1 70%, transparent 100% ); // Standard (Firefox 16+, IE 10+, Safari 6.1+, Chrome 26+) - background-repeat: no-repeat; - background-size: 100% @border-width-base; margin-left: @margin-start-portal-body; padding-top: 0; diff --git a/resources/skins.vector.styles/Sidebar.less b/resources/skins.vector.styles/Sidebar.less index 786a2d0f..5b9e1afb 100644 --- a/resources/skins.vector.styles/Sidebar.less +++ b/resources/skins.vector.styles/Sidebar.less @@ -14,7 +14,6 @@ } .body { - background-image: none; margin-left: @margin-start-nav-main-body; } }