Redesigned online status display
authorMarcel Werk <burntime@woltlab.com>
Mon, 30 Apr 2012 12:59:54 +0000 (14:59 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 30 Apr 2012 12:59:54 +0000 (14:59 +0200)
wcfsetup/install/files/style/message.less

index 797bb82918cddbc568cacb9a58a37e3fb967a337..946a48328270b7e8493e429c92dc3831cb0052f6 100644 (file)
        .userAvatar {
                display: inline-block;
                margin: @wcfGapSmall 0 0;
+               position: relative;
+               text-align: left;
+               
+               > .badgeOnline {
+                       border-bottom: 1px solid #fff;
+                       bottom: 7px;
+                       position: absolute;
+                       right: -7px;
+                       text-transform: uppercase;
+                       
+                       //.borderRadius(0);
+                       .boxShadow(0, 1px, rgba(0, 0, 0, .3), 7px);
+               }
        }
        
        .userCredits {
                }
        }
        
-       &.online {
+       /*&.online {
                .userAvatar {
                        .boxShadow(0, 0, @wcfSuccessBackgroundColor, 10px);
                        
-                       /* todo */
+                       // todo
                        -webkit-animation-name: onlineStatus;
                        -webkit-animation-duration: 2s;
                        -webkit-animation-iteration-count: infinite;
                        -webkit-animation-direction: alternate;
                        -webkit-animation-timing-function: ease-in-out;
                }
-       }
+       }*/
 }
 
 .message {
@@ -281,11 +294,11 @@ li:nth-child(2n+1) .message {
 }
 
 /* todo */
-@-webkit-keyframes onlineStatus {
+/*@-webkit-keyframes onlineStatus {
        0% {
                -webkit-box-shadow: 0 0 10px @wcfSuccessBackgroundColor;
        }
        100% {
                -webkit-box-shadow: 0 0 20px @wcfSuccessBackgroundColor;
        }
-} 
\ No newline at end of file
+}*/
\ No newline at end of file