FIX: Add a boarder around the video placeholder play button (#25727)

The video placeholder play button is white, so on a video placeholder
that is also white it is very hard to see where the play button is, so
this change adds a dark grey transparent background to the play button
so that it stands out. This is similar to how we have done the
play/pause button on animated gifs.
This commit is contained in:
Blake Erickson 2024-02-16 13:48:57 -07:00 committed by Nat
parent 457c2bf5bb
commit c90488b917
No known key found for this signature in database
GPG Key ID: 4938B35D927EC773

View File

@ -971,6 +971,17 @@ aside.onebox.mixcloud-preview {
border-right-color: rgba(0, 0, 0, 0);
margin: 0;
}
.d-icon-play {
cursor: pointer;
padding: 1em;
margin: 0.5em;
background-color: rgba(0, 0, 0, 0.5);
display: inline-flex;
justify-content: center;
align-items: center;
color: var(--secondary-or-primary);
}
}
@include hover {