Overhauled default box menu styling
authorMarcel Werk <burntime@woltlab.com>
Sat, 26 Nov 2016 19:04:50 +0000 (20:04 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sat, 26 Nov 2016 19:05:03 +0000 (20:05 +0100)
com.woltlab.wcf/menu.xml
wcfsetup/install/files/style/layout/box.scss

index 112c9d20d432a32304bd17ac17409968b9216155..dfc2af76fcfe0fff1935842962cb88a15f7233e9 100644 (file)
@@ -30,7 +30,7 @@
                        
                        <box>
                                <position>footer</position>
-                               <cssClassName>footerLinks</cssClassName>
+                               <cssClassName>boxMenuLinkGroup</cssClassName>
                                <showHeader>0</showHeader>
                                <visibleEverywhere>1</visibleEverywhere>
                        </box>
index 7a86b38816ce751bf3958df6e3a1074af57b72ba..97ad36ed4eb536c55c0ef8e3e6812cf624f23461 100644 (file)
                }
        }
        
+       .boxMenuLinkGroup {
+               .boxMenu {
+                       > li {
+                               > ol {
+                                       a {
+                                               // use text color instead
+                                               color: $wcfFooterText;
+                                       }
+                               }
+                       }
+               }
+       }
+       
+       .styleChanger {
+               @include screen-sm-down {
+                       display: none;
+               }
+               
+               @include screen-md-up {
+                       float: right;
+                       padding-left: 20px;
+               }
+       }
+}
+
+.boxesTop,
+.boxesBottom,
+.boxesFooter {
        .boxMenu {
                display: inline-flex;
                margin-left: -10px;
                }
        }
        
-       .footerLinks {
+       .boxMenuLinkGroup {
                &:not(:first-child) {
                        margin-top: 40px;
                }
                                        
                                        margin-bottom: 10px;
                                }
-                               
-                               > ol {
-                                       a {
-                                               // use text color instead
-                                               color: $wcfFooterText;
-                                       }
-                               }
                        }
                }
        }
-       
-       .styleChanger {
-               @include screen-sm-down {
-                       display: none;
-               }
-               
-               @include screen-md-up {
-                       float: right;
-                       padding-left: 20px;
-               }
-       }
 }