Mobile optimization
authorMarcel Werk <burntime@woltlab.com>
Sun, 5 May 2013 14:06:48 +0000 (16:06 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 5 May 2013 14:06:48 +0000 (16:06 +0200)
wcfsetup/install/files/style/layout.less

index b4cf068dbfc4075d3c102fefc41aeed3b4cd8bb3..e8494b6a81e534379a0ae3d986a9e5adfb82cbff 100644 (file)
 
 @media only screen and (max-width: 800px) {
        .content > .breadcrumbs {
-               display: none;
+               background-color: @wcfContentBackgroundColor;
+               border: 1px solid @wcfContainerBorderColor;
+               display: inline-block;
+               margin-left: @wcfGapSmall;
+               margin-right: @wcfGapSmall;
+               
+               .borderRadius(6px);
+               
+               > ul {
+                       > li {
+                               max-width: none;
+                               padding-right: 0;
+                               
+                               &:not(:last-child) {
+                                       display: none;
+                               }
+                               
+                               > a {
+                                       padding: @wcfGapTiny @wcfGapMedium;
+                                       
+                                       &:before {
+                                               content: "\f060";
+                                               font-family: FontAwesome;
+                                               font-size: 14px;
+                                               padding-right: @wcfGapSmall;
+                                       }
+                               }
+                               
+                               > .pointer {
+                                       display: none;
+                               }
+                       }
+               }
+               
+               + .boxHeadline {
+                       margin-top: 0;
+               }
        }
 }