Skip to content

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

UX: Fix icon color for video placeholder (#23957)

Penar Musaraj87a635ed3269
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 2aa64ade0b4..de148ed4921 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -934,6 +934,17 @@ aside.onebox.mixcloud-preview {
background-repeat: no-repeat;
background-position: center;
max-width: 30%;
+ .d-icon {
+ color: var(--secondary);
+ height: 2em;
+ width: 2em;
+ transition: width 0.15s, height 0.15s;
+ }
+ }
+
+ &:hover .video-placeholder-overlay .d-icon {
+ height: 3em;
+ width: 3em;
}
}