From 050b5ed6606861e390f0ccf64884e735c232c897 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 7 Nov 2013 22:27:13 +0100 Subject: [PATCH] Fixed linear gradients --- .../files/acp/style/blueTemptation/individual.less | 4 ++-- wcfsetup/install/files/style/message.less | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/acp/style/blueTemptation/individual.less b/wcfsetup/install/files/acp/style/blueTemptation/individual.less index c89cad5d60..7c074d77a3 100644 --- a/wcfsetup/install/files/acp/style/blueTemptation/individual.less +++ b/wcfsetup/install/files/acp/style/blueTemptation/individual.less @@ -755,7 +755,7 @@ select[multiple]:focus { top: 0; width: 128px; - .linearGradientNative(~"left top, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 40%"); + .linearGradientNative(~"135deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 40%"); } > .message.messageSidebarOrientationRight:before { @@ -768,7 +768,7 @@ select[multiple]:focus { top: 0; width: 128px; - .linearGradientNative(~"right top, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 40%"); + .linearGradientNative(~"225deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 40%"); } } } diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index 56a94d487b..eca197bc6b 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -461,7 +461,7 @@ padding: @wcfGapTiny @wcfGapSmall; @messageFooterNoteGradientColor: fade(@wcfContainerBorderColor, 20%); - .linearGradientNative(~"left top, @{messageFooterNoteGradientColor} 0%, transparent 40%"); + .linearGradientNative(~"90deg, @{messageFooterNoteGradientColor} 0%, transparent 40%"); } .messageHeader + .messageBody > div:first-child, @@ -655,7 +655,7 @@ li:nth-child(2n+1) .message { .messageContent { @wcfDisabledBackgroundGradientColor: fade(@wcfDisabledBackgroundColor, 0%); - .linearGradientNative(~"to bottom, @{wcfDisabledBackgroundColor}, @{wcfDisabledBackgroundGradientColor} 90px"); + .linearGradientNative(~"180deg, @{wcfDisabledBackgroundColor}, @{wcfDisabledBackgroundGradientColor} 90px"); } } @@ -664,7 +664,7 @@ li:nth-child(2n+1) .message { .messageContent { @wcfDeletedBackgroundGradientColor: fade(@wcfDeletedBackgroundColor, 0%); - .linearGradientNative(~"to bottom, @{wcfDeletedBackgroundColor}, @{wcfDeletedBackgroundGradientColor} 90px"); + .linearGradientNative(~"180deg, @{wcfDeletedBackgroundColor}, @{wcfDeletedBackgroundGradientColor} 90px"); } } @@ -673,7 +673,7 @@ li:nth-child(2n+1) .message { .messageContent { @wcfSelectedBackgroundGradientColor: fade(@wcfSelectedBackgroundColor, 0%); - .linearGradientNative(~"to bottom, @{wcfSelectedBackgroundColor}, @{wcfSelectedBackgroundGradientColor} 90px"); + .linearGradientNative(~"180deg, @{wcfSelectedBackgroundColor}, @{wcfSelectedBackgroundGradientColor} 90px"); } } } -- 2.20.1