From: Marcel Werk Date: Wed, 31 Jul 2013 17:24:24 +0000 (+0200) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_7~75^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=903f09f400c856edfcd78c9dcedf809064e1ee68;p=GitHub%2FWoltLab%2FWCF.git Small style optimization --- diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index 44d31477ad..60637db109 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -167,7 +167,7 @@ } } - &.messageDisabled { + &.messageDisabled:not(.messageReduced) { background-color: @wcfDisabledBackgroundColor; .messageSidebar { @@ -179,7 +179,7 @@ } } - &.messageDeleted { + &.messageDeleted:not(.messageReduced) { background-color: @wcfDeletedBackgroundColor; .messageSidebar { @@ -191,7 +191,7 @@ } } - &.jsMarked { + &.jsMarked:not(.messageReduced) { background-color: @wcfSelectedBackgroundColor; .messageSidebar { @@ -650,6 +650,33 @@ li:nth-child(2n+1) .message { opacity: 1; position: relative; } + + &.messageDisabled { + border-color: @wcfDisabledColor; + + .messageContent { + @wcfDisabledBackgroundGradientColor: fade(@wcfDisabledBackgroundColor, 0%); + .linearGradientNative(~"to bottom, @{wcfDisabledBackgroundColor}, @{wcfDisabledBackgroundGradientColor} 90px"); + } + } + + &.messageDeleted { + border-color: @wcfDeletedColor; + + .messageContent { + @wcfDeletedBackgroundGradientColor: fade(@wcfDeletedBackgroundColor, 0%); + .linearGradientNative(~"to bottom, @{wcfDeletedBackgroundColor}, @{wcfDeletedBackgroundGradientColor} 90px"); + } + } + + &.jsMarked { + border-color: @wcfSelectedColor; + + .messageContent { + @wcfSelectedBackgroundGradientColor: fade(@wcfSelectedBackgroundColor, 0%); + .linearGradientNative(~"to bottom, @{wcfSelectedBackgroundColor}, @{wcfSelectedBackgroundGradientColor} 90px"); + } + } } .messageCollapsed {