Skip to content

A platform for community discussion. Free, open, simple.

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

Blake Ericksonffac012bbc05
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index ff495c5e914..99eeb9c1dcf 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -957,6 +957,17 @@ aside.onebox.mixcloud-preview {
width: 2em;
transition: width 0.15s, height 0.15s;
}
+
+ .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);
+ }
}
&:hover .video-placeholder-overlay .d-icon {