From: Alexander Ebert Date: Mon, 11 Nov 2013 13:48:24 +0000 (+0100) Subject: Overriding collapsed sidebar in mobile optimization X-Git-Tag: 2.0.0_RC_2~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3274716c1441bcba970a521a16b376f38c562a86;p=GitHub%2FWoltLab%2FWCF.git Overriding collapsed sidebar in mobile optimization --- diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 40c4754e8b..9c33bc1f8b 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -644,24 +644,6 @@ display: none; } } - - &.sidebarOrientationRight { - &.sidebarCollapsed > div > div { - > .sidebar { - width: 20px; - - > span > .collapsibleButton { - &::before { - content: "\f053"; - } - } - - > div { - width: 0; - } - } - } - } } @media only screen and (max-width: 800px) { @@ -787,6 +769,26 @@ } } +@media only screen and (min-width: 801px) { + #main.sidebarOrientationRight.sidebarCollapsed { + > div > div { + > .sidebar { + width: 20px; + + > span > .collapsibleButton { + &::before { + content: "\f053"; + } + } + + > div { + width: 0; + } + } + } + } +} + /* basic layout elements */ .boxHeadline { margin-top: @wcfGapMedium;