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

Commit

Permalink
Move mx_EventTile_contextual out of mx_EventTile:not([data-layout=bub…
Browse files Browse the repository at this point in the history
…ble]) (#8974)

* Move mx_EventTile_contextual out of mx_EventTile:not([data-layout=bubble])

Signed-off-by: Suguru Hirahara <[email protected]>

* Empty commit

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul authored Jul 4, 2022
1 parent 7cf0f2d commit 352df7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 0 additions & 5 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ limitations under the License.
display: none;
}
}

// Mirror rough designs for "greyed out" text
&.mx_EventTile_contextual .mx_EventTile_line {
opacity: 0.4;
}
}
}

Expand Down
10 changes: 6 additions & 4 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
}
}

.mx_RoomView_searchResultsPanel & {
&.mx_EventTile_contextual {
opacity: 0.4;
}
}

&.mx_EventTile_highlight,
&.mx_EventTile_highlight .markdown-body {
color: $alert;
Expand Down Expand Up @@ -299,10 +305,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
}
}

&.mx_EventTile_contextual {
opacity: 0.4;
}

.mx_EventTile_msgOption {
float: right;
text-align: right;
Expand Down

0 comments on commit 352df7d

Please sign in to comment.