From: Marcel Werk Date: Wed, 7 May 2014 15:45:08 +0000 (+0200) Subject: Mobile optimization X-Git-Tag: 2.1.0_Alpha_1~840 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6168f845a98c7c7b1bae596e5a156b9beb3197df;p=GitHub%2FWoltLab%2FWCF.git Mobile optimization --- diff --git a/wcfsetup/install/files/style/message.less b/wcfsetup/install/files/style/message.less index 4fddf24d2d..42b453e856 100644 --- a/wcfsetup/install/files/style/message.less +++ b/wcfsetup/install/files/style/message.less @@ -124,6 +124,49 @@ color: @wcfDimmedColor; } } + + .messageGroupInfo { + font-size: @wcfSmallFontSize; + + > li { + display: inline-block; + + &:not(:first-child)::before { + content: " - "; + } + } + + &.mobileOptimization { + > li { + &.messageGroupLastPoster, + &.messageGroupLastPostTime { + display: none; + } + } + } + } +} + +@media only screen and (max-width: 800px) { + .messageGroupList { + .messageGroupInfo.mobileOptimization { + > li { + &.messageGroupAuthor, + &.messageGroupTime { + display: none; + } + + &.messageGroupLastPoster, + &.messageGroupLastPostTime { + display: inline-block; + } + + &.messageGroupLastPoster::before { + display: none; + } + } + } + } } /* ### messages ### */