mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Bump onebox version.
- Add a placeholder icon for Twitch onebox preview - Add CSS for showing fontawesome play icon for placeholder class
This commit is contained in:
@@ -581,3 +581,12 @@ aside.onebox.stackexchange .onebox-body {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.onebox-video-placeholder {
|
||||
&:before {
|
||||
opacity: 0.8;
|
||||
content: svg-uri(
|
||||
'<svg width="128px" height="128px" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M896 128q209 0 385.5 103t279.5 279.5 103 385.5-103 385.5-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103zm384 823q32-18 32-55t-32-55l-544-320q-31-19-64-1-32 19-32 56v640q0 37 32 56 16 8 32 8 17 0 32-9z"/></svg>'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user