Small overhaul of the like system (work in progress)
authorMarcel Werk <burntime@woltlab.com>
Fri, 27 Apr 2012 17:46:51 +0000 (19:46 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 27 Apr 2012 17:46:51 +0000 (19:46 +0200)
wcfsetup/install/files/style/badge.less
wcfsetup/install/files/style/message.less

index 111f5a15745b09577d8b54d43101491e1ee5177f..1b5045c60f2a02aaa38491fffbb0260ac721a4a2 100644 (file)
                
                .badgeShadow(@wcfTabularBoxBackgroundColor);
        }
+       
+       &:hover {
+               color: @wcfContentBackgroundColor;
+               text-decoration: none;
+       }
 }
 
 /* special */
        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;
 }
index d9bdf0877398d316ae04100c99db5e727ec26de0..797bb82918cddbc568cacb9a58a37e3fb967a337 100644 (file)
        > footer {
                padding-bottom: @wcfGapMedium;
        }
+       
+       > .likesSummary {
+               background-color: @wcfContentBackgroundColor;
+               border: 1px solid @wcfContainerBorderColor;
+               display: inline-block;
+               font-size: @wcfSmallFontSize;
+               padding: @wcfGapTiny @wcfGapMedium;
+               
+               .borderRadius();
+       }
 }
 
 .message .messageContent {
                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;