From 840089f58b876607fce91f7e677250a9875a6610 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 5 May 2013 16:06:48 +0200 Subject: [PATCH] Mobile optimization --- wcfsetup/install/files/style/layout.less | 38 +++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index b4cf068dbf..e8494b6a81 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -1187,7 +1187,43 @@ @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; + } } } -- 2.20.1