Small style optimization
authorMarcel Werk <burntime@woltlab.com>
Thu, 26 Sep 2013 19:14:39 +0000 (21:14 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 26 Sep 2013 19:14:39 +0000 (21:14 +0200)
wcfsetup/install/files/style/message.less

index 2b5bc3d05a5b344c52e243c9d139a6843cb26427..d543dd605d9aef861805431d75231ba2aeef4cc1 100644 (file)
        position: relative;
        
        &:hover {
-               .messageHeader .messageQuickOptions > li > a {
+               .messageHeader .messageQuickOptions > li {
                        opacity: 1;
                }
                
                        
                        > li {
                                display: inline-block;
+                               opacity: .6;
                                
-                               > a {
-                                       opacity: .6;
-                                       
-                                       .transition(opacity, .2s);
-                                       
-                                       > span.icon {
-                                               color: @wcfDimmedColor;
-                                               
-                                               .transition(color, .2s);
-                                       }
+                               .transition(opacity, .2s);
+                               
+                               span.icon {
+                                       color: @wcfDimmedColor;
                                        
-                                       &:hover {
-                                               > span.icon {
-                                                       color: @wcfLinkColor;
-                                               }
-                                       }
+                                       .transition(color, .2s);
+                               }
+                               
+                               > a:hover > span.icon {
+                                       color: @wcfLinkColor;
                                }
                        }