Add linear gradient to images in bubble layout (#7521)
This commit is contained in:
parent
ec6c1b8272
commit
db3be7d49e
1 changed files with 18 additions and 0 deletions
|
@ -188,6 +188,24 @@ limitations under the License.
|
||||||
z-index: 3; // above media and location share maps
|
z-index: 3; // above media and location share maps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.mx_EventTile_mediaLine {
|
||||||
|
.mx_MessageTimestamp {
|
||||||
|
color: #ffffff; // regardless of theme, always visible on the below gradient
|
||||||
|
}
|
||||||
|
|
||||||
|
// linear gradient to make the timestamp more visible
|
||||||
|
.mx_MImageBody::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
|
||||||
|
z-index: 1;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//noinspection CssReplaceWithShorthandSafely
|
//noinspection CssReplaceWithShorthandSafely
|
||||||
.mx_MImageBody .mx_MImageBody_thumbnail {
|
.mx_MImageBody .mx_MImageBody_thumbnail {
|
||||||
// Note: This is intentionally not compressed because the browser gets confused
|
// Note: This is intentionally not compressed because the browser gets confused
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue