mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 15:52:10 +02:00
clapper-gtk: Add video placeholder widget
A simple placeholder to be shown when "ClapperGtkVideo" is used with a video sink that cannot be embedded in it (with a text explaining that).
This commit is contained in:
@@ -25,15 +25,21 @@ clapper-gtk-video clapper-gtk-status.osd {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
clapper-gtk-status box {
|
||||
clapper-gtk-video-placeholder {
|
||||
background-color: black;
|
||||
}
|
||||
clapper-gtk-status box,
|
||||
clapper-gtk-video-placeholder box {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
clapper-gtk-status box image {
|
||||
clapper-gtk-status box image,
|
||||
clapper-gtk-video-placeholder box image {
|
||||
-gtk-icon-size: 128px;
|
||||
-gtk-icon-filter: opacity(0.6);
|
||||
}
|
||||
clapper-gtk-status.adapted box image {
|
||||
clapper-gtk-status.adapted box image,
|
||||
clapper-gtk-video-placeholder.adapted box image {
|
||||
-gtk-icon-size: 96px;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user