From: Marcel Werk Date: Fri, 27 Apr 2012 17:46:51 +0000 (+0200) Subject: Small overhaul of the like system (work in progress) X-Git-Tag: 2.0.0_Beta_1~1139 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d43fbe37853373cd5188d34afffb78aa77a71a20;p=GitHub%2FWoltLab%2FWCF.git Small overhaul of the like system (work in progress) --- diff --git a/wcfsetup/install/files/style/badge.less b/wcfsetup/install/files/style/badge.less index 111f5a1574..1b5045c60f 100644 --- a/wcfsetup/install/files/style/badge.less +++ b/wcfsetup/install/files/style/badge.less @@ -44,6 +44,11 @@ .badgeShadow(@wcfTabularBoxBackgroundColor); } + + &:hover { + color: @wcfContentBackgroundColor; + text-decoration: none; + } } /* special */ @@ -57,12 +62,12 @@ top: -3px; } -.mainMenu > ul > li > .badge { +.mainMenu > ul > li > a > .badge { font-size: 70%; top: -1px; } -.mainMenu > ul > li.active > .badge { +.mainMenu > ul > li.active > a > .badge { font-size: 65%; top: -2px; } diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index d9bdf08773..797bb82918 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -131,6 +131,16 @@ > footer { padding-bottom: @wcfGapMedium; } + + > .likesSummary { + background-color: @wcfContentBackgroundColor; + border: 1px solid @wcfContainerBorderColor; + display: inline-block; + font-size: @wcfSmallFontSize; + padding: @wcfGapTiny @wcfGapMedium; + + .borderRadius(); + } } .message .messageContent { @@ -142,17 +152,17 @@ padding: @wcfGapMedium @wcfGapLarge 0; position: relative; - time { + > time { color: @wcfDimmedColor; font-size: @wcfSmallFontSize; } - .likesDisplay { + > .likesBadge { display: inline-block; margin: -2px 0 -2px 4px; } - .messageTitle { + > .messageTitle { color: @wcfColor; font-size: @wcfSubHeadlineFontSize; font-weight: bold;