Added missing sitemap styling
authorMarcel Werk <burntime@woltlab.com>
Thu, 31 Jan 2013 01:54:02 +0000 (02:54 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 31 Jan 2013 01:54:02 +0000 (02:54 +0100)
wcfsetup/install/files/style/layout.less

index 7d5926aa6fb3c507c7f4b68fdda52813342514ba..7dc16699ff6788c0eaa22f525b8600deeddbcced 100644 (file)
        }
 }
 
+/* sitemap */
+.sitemapList {
+       margin: 0 -@wcfGapSmall;
+       
+       li {
+               a,
+               h1 {
+                       overflow: hidden;
+                       padding: @wcfGapTiny @wcfGapMedium;
+               }
+               
+               a {
+                       display: block;
+                       
+                       .borderRadius(6px);
+                       .transition(background-color, .1s); 
+                       
+                       &:hover {
+                               background-color: @wcfContainerHoverBackgroundColor;
+                               text-decoration: none;
+                       }
+               }
+       }
+       
+       > li {
+               &:not(:first-child) {
+                       margin-top: @wcfGapSmall;
+               }
+               
+               &:not(:last-child) {
+                       border-bottom: 1px solid @wcfContainerBorderColor;
+                       padding-bottom: @wcfGapSmall;
+               }
+               
+               > ul > li {
+                       > a {
+                               padding-left: @wcfGapMedium + @wcfGapLarge;
+                       }
+                       
+                       > ul > li a {
+                               padding-left: @wcfGapMedium + @wcfGapLarge * 2;
+                       }
+               }
+       }
+}
+
 /* main menu */
 .mainMenu {
        > ul {