Remove green "verified" bar for e2e events (#11496)
There is a little-known feature where, if you have verified a user (eg, via the emoji game), then when you mouse-over a message that they sent, it gets a green highlight. We also show a brown bar sometimes, and according to the CSS there may be a yellow bar too? Very few people seem to know this exists, and even if you do know it exists nobody seems to understand what exactly the various colours are supposed to be. So, rather than porting this magic mystery feature to Rust Crypto, let's rip it out.
This commit is contained in:
committed by
GitHub
parent
6faad7aae3
commit
30d997e21c
@@ -257,21 +257,6 @@ $left-gutter: 64px;
|
||||
.mx_EventTile_line {
|
||||
background-color: $event-selected-color;
|
||||
}
|
||||
|
||||
&.mx_EventTile_verified .mx_EventTile_line {
|
||||
box-shadow: inset var(--EventTile-box-shadow-offset-x) 0 0 var(--EventTile-box-shadow-spread-radius)
|
||||
$e2e-verified-color;
|
||||
}
|
||||
|
||||
&.mx_EventTile_unverified .mx_EventTile_line {
|
||||
box-shadow: inset var(--EventTile-box-shadow-offset-x) 0 0 var(--EventTile-box-shadow-spread-radius)
|
||||
$e2e-unverified-color;
|
||||
}
|
||||
|
||||
&.mx_EventTile_unknown .mx_EventTile_line {
|
||||
box-shadow: inset var(--EventTile-box-shadow-offset-x) 0 0 var(--EventTile-box-shadow-spread-radius)
|
||||
$e2e-unknown-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -596,14 +581,6 @@ $left-gutter: 64px;
|
||||
padding-inline-start: calc(var(--EventTile_group_line-spacing-inline-start) + 20px);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&.mx_EventTile_verified.mx_EventTile_info .mx_EventTile_line,
|
||||
&.mx_EventTile_unverified.mx_EventTile_info .mx_EventTile_line,
|
||||
&.mx_EventTile_unknown.mx_EventTile_info .mx_EventTile_line {
|
||||
padding-inline-start: calc($left-gutter + 18px + var(--selected-message-border-width));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout="bubble"] {
|
||||
@@ -1327,14 +1304,6 @@ $left-gutter: 64px;
|
||||
position: absolute; /* for IRC layout */
|
||||
top: 2px; /* Align with mx_EventTile_content */
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&.mx_EventTile_verified.mx_EventTile_info .mx_EventTile_line,
|
||||
&.mx_EventTile_unverified.mx_EventTile_info .mx_EventTile_line,
|
||||
&.mx_EventTile_unknown.mx_EventTile_info .mx_EventTile_line {
|
||||
padding-inline-start: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout="bubble"] {
|
||||
|
||||
Reference in New Issue
Block a user