From: Marcel Werk Date: Thu, 7 Nov 2013 21:27:13 +0000 (+0100) Subject: Fixed linear gradients X-Git-Tag: 2.0.0_RC_1~15^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=050b5ed6606861e390f0ccf64884e735c232c897;p=GitHub%2FWoltLab%2FWCF.git Fixed linear gradients --- 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"); } } }