Added footer menu styling
authorMarcel Werk <burntime@woltlab.com>
Thu, 10 Mar 2016 23:55:30 +0000 (00:55 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 10 Mar 2016 23:55:30 +0000 (00:55 +0100)
wcfsetup/install/files/style/layout/box.scss

index bacff2cc13d386f84f03c355932fcb331555ce06..1225c6db7503dfd6972915bb50c519b32297d76d 100644 (file)
                float: left;
                width: 20%;
        }
+       
+       .boxMenu {
+               display: flex;
+               flex-wrap: wrap;
+               margin-bottom: -20px;
+               margin-left: -10px;
+               margin-right: -10px;
+               
+               .boxMenuLink {
+                       display: inline-block;
+               }
+               
+               > li {
+                       flex: 0 0 25%;
+                       margin-bottom: 20px;
+                       padding-left: 10px;
+                       padding-right: 10px;
+                       
+                       &.boxMenuHasChildren {
+                               > .boxMenuLink {
+                                       @extend .wcfFontHeadline;
+                                       
+                                       margin-bottom: 10px;
+                               }
+                               
+                               > ol {
+                                       a {
+                                               // use text color instead
+                                               color: $wcfFooterText;
+                                       }
+                               }
+                       }
+               }
+       }
 }