mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Fix mark as read button for dark theme
This changes the mark as read button to a mask image so that it can be themed like other images. Fixes https://github.com/vector-im/riot-web/issues/12640
This commit is contained in:
parent
49fe1887df
commit
c541bc0705
1 changed files with 15 additions and 7 deletions
|
@ -51,7 +51,7 @@ limitations under the License.
|
|||
position: absolute;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
mask: url('$(res)/img/icon-jump-to-first-unread.svg');
|
||||
mask-image: url('$(res)/img/icon-jump-to-first-unread.svg');
|
||||
mask-repeat: no-repeat;
|
||||
mask-position: 9px 13px;
|
||||
background: $roomtile-name-color;
|
||||
|
@ -61,12 +61,20 @@ limitations under the License.
|
|||
display: block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background-image: url('$(res)/img/cancel.svg');
|
||||
background-position: center;
|
||||
background-size: 10px;
|
||||
background-repeat: no-repeat;
|
||||
background-color: $primary-bg-color;
|
||||
background: $primary-bg-color;
|
||||
border: 1.3px solid $roomtile-name-color;
|
||||
border-radius: 99px;
|
||||
border-radius: 10px;
|
||||
margin: 5px auto;
|
||||
}
|
||||
|
||||
.mx_TopUnreadMessagesBar_markAsRead::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
mask-image: url('$(res)/img/cancel.svg');
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: 10px;
|
||||
mask-position: 4px 4px;
|
||||
background: $roomtile-name-color;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue