Merge pull request #1845 from kethinov/hide_encryption_icons

Hide inline encryption icons except when hovering over a message
This commit is contained in:
Luke Barnard 2018-04-30 17:57:22 +01:00 committed by GitHub
commit 22047d7e72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 1 deletions

View file

@ -298,6 +298,16 @@ limitations under the License.
cursor: pointer;
}
.mx_EventTile_e2eIcon_hidden {
display: none;
}
/* always override hidden attribute for blocked and warning */
.mx_EventTile_e2eIcon_hidden[src="img/e2e-blocked.svg"],
.mx_EventTile_e2eIcon_hidden[src="img/e2e-warning.svg"] {
display: block;
}
.mx_EventTile_keyRequestInfo {
font-size: 12px;
}