From a782c4c60a1119cc38feabe6d84a4309dd734dd2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 24 Aug 2022 17:47:52 +0200 Subject: [PATCH] Remove the dynamic replacement of the message image MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This doesn‘t work out with the new icons and offers horrible a11y. --- .../install/files/style/ui/messageGroup.scss | 73 ------------------- 1 file changed, 73 deletions(-) diff --git a/wcfsetup/install/files/style/ui/messageGroup.scss b/wcfsetup/install/files/style/ui/messageGroup.scss index 61289e7758..46932d043d 100644 --- a/wcfsetup/install/files/style/ui/messageGroup.scss +++ b/wcfsetup/install/files/style/ui/messageGroup.scss @@ -57,79 +57,6 @@ } } - .jsMarked .columnMark > label::after { - display: block; - font-size: 13px; - left: 3px; - top: 1px; - } - - .tabularListRowHead { - .columnMark > label::before { - top: -3px; - } - - .jsMarked .columnMark > label::after { - top: 4px; - } - } - - .messageDeleted .columnAvatar, - .messageDisabled .columnAvatar { - position: relative; - - &::before { - display: block; - font-family: FontAwesome; - position: absolute; - - @include screen-md-up { - font-size: 42px; - } - - @include screen-sm-down { - font-size: 28px; - } - } - - > div img, - > div .icon:first-child { - visibility: hidden; - } - } - - .messageDisabled .columnAvatar::before { - color: rgb(0, 140, 0); - content: $fa-var-eye-slash; - - @include screen-md-up { - left: 13px; - top: -2px; - } - - @include screen-sm-down { - left: 3px; - top: -4px; - } - } - - .messageDeleted .columnAvatar::before { - color: rgb(180, 0, 0); - content: $fa-var-trash-o; - left: 17px; - top: -2px; - - @include screen-md-up { - left: 17px; - top: -2px; - } - - @include screen-sm-down { - left: 7px; - top: -4px; - } - } - .columnAvatar { div { position: relative; -- 2.20.1