Enable search strings highlight on bubble layout (#9032)

* Move mx_EventTile_searchHighlight out of mx_EventTile:not([data-layout=bubble]) to enable it on bubble layout

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use a logical property

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-07-09 11:29:45 +00:00 committed by GitHub
parent 483ea9bf77
commit 03ce8ae323
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,19 @@ $left-gutter: 64px;
} }
} }
.mx_EventTile_searchHighlight {
background-color: $accent;
color: $accent-fg-color;
border-radius: 5px;
padding-inline: 2px;
cursor: pointer;
a {
background-color: $accent;
color: $accent-fg-color;
}
}
.mx_EventTileBubble { .mx_EventTileBubble {
margin-block: var(--EventTileBubble_margin-block); margin-block: var(--EventTileBubble_margin-block);
} }
@ -395,20 +408,6 @@ $left-gutter: 64px;
background-color: $event-selected-color; background-color: $event-selected-color;
} }
.mx_EventTile_searchHighlight {
background-color: $accent;
color: $accent-fg-color;
border-radius: 5px;
padding-left: 2px;
padding-right: 2px;
cursor: pointer;
a {
background-color: $accent;
color: $accent-fg-color;
}
}
/* End to end encryption stuff */ /* End to end encryption stuff */
&:hover .mx_EventTile_e2eIcon { &:hover .mx_EventTile_e2eIcon {
opacity: 1; opacity: 1;