Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Include mx_MessageActionBar_downloadButton.mx_MessageActionBar_downlo…
Browse files Browse the repository at this point in the history
…adSpinnerButton in mx_MessageActionBar_downloadButton

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Jun 8, 2022
1 parent f077ca1 commit de9fc39
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions res/css/views/messages/_MessageActionBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,15 @@ limitations under the License.
mask-image: url('$(res)/img/element-icons/trashcan.svg');
}

&.mx_MessageActionBar_downloadButton::after {
&.mx_MessageActionBar_downloadButton {
&::after {
mask-size: 14px;
mask-image: url('$(res)/img/download.svg');

&.mx_MessageActionBar_downloadSpinnerButton::after {
background-color: transparent; // hide the download icon mask
}
}
}

&.mx_MessageActionBar_expandMessageButton::after {
Expand All @@ -150,8 +156,4 @@ limitations under the License.
&.mx_MessageActionBar_copyLinkToThread::after {
mask-image: url('$(res)/img/element-icons/link.svg');
}

&.mx_MessageActionBar_downloadButton.mx_MessageActionBar_downloadSpinnerButton::after {
background-color: transparent; // hide the download icon mask
}
}

0 comments on commit de9fc39

Please sign in to comment.