Minor style improvements
authorMarcel Werk <burntime@woltlab.com>
Sun, 23 Dec 2012 23:00:02 +0000 (00:00 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 23 Dec 2012 23:00:02 +0000 (00:00 +0100)
wcfsetup/install/files/style/layout.less

index c748e17093f061a9e8187f4833bfb5adc2d4f393..2011e99752e4059f76ee8e026852e7679af8fe56 100644 (file)
                        > a {
                                color: @wcfMainMenuColor;
                                display: inline-block;
-                               padding: 9px 35px;
+                               padding: 9px 21px;
                                                                
                                &:hover {
                                        color: @wcfMainMenuActiveColor;
                                        background-color: @wcfNavigationHeaderBackgroundColor;
                                        color: @wcfMainMenuActiveColor;
                                        font-weight: bold;
-                                       padding: 14px 35px 8px;
+                                       min-width: 80px;
+                                       padding: 14px 21px 8px;
+                                       text-align: center;
                                }
                        }
                        
 .box32 { .box(32px, 7px); }
 .box48 { .box(48px, 7px); }
 .box64 { .box(64px, 7px); }
-.box96 { .box(96px, 14px); }
-.box128 { .box(128px, 14px); }
+.box96 { .box(96px, 11px); }
+.box128 { .box(128px, 11px); }
 .box256 { .box(256px, 21px); }
 
 /* bread crumbs */
@@ -1177,6 +1179,10 @@ ul.inlineDataList {
                                color: @wcfColor;
                                text-decoration: none;
                        }
+                       
+                       &.invisible + div {
+                               margin-top: -@wcfGapSmall;
+                       }
                }
                
                &:after {