mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
clapper-gtk: status: Apply ".osd" style class
Otherwise text is invisible on light themed apps, since it renders as black letters on a black background
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
/* Adwaita OSD background color is unacceptable:
|
||||
* https://gitlab.gnome.org/GNOME/libadwaita/-/issues/454 */
|
||||
clapper-gtk-video windowcontrols.osd {
|
||||
background-color: transparent;
|
||||
}
|
||||
clapper-gtk-video menubutton.osd,
|
||||
clapper-gtk-video button.osd,
|
||||
clapper-gtk-video box.osd,
|
||||
@@ -22,7 +19,9 @@ clapper-gtk-video button.osd:active,
|
||||
clapper-gtk-video windowcontrols.osd button:active image {
|
||||
background-color: rgba(82,82,82,0.8);
|
||||
}
|
||||
clapper-gtk-video box.osd listview.osd {
|
||||
clapper-gtk-video box.osd listview.osd,
|
||||
clapper-gtk-video windowcontrols.osd,
|
||||
clapper-gtk-video clapper-gtk-status.osd {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
@@ -6,6 +6,9 @@
|
||||
<property name="adaptive-width">560</property>
|
||||
<property name="adaptive-height">400</property>
|
||||
<signal name="adapt" handler="adapt_cb"/>
|
||||
<style>
|
||||
<class name="osd"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkBox" id="status_box">
|
||||
<property name="orientation">vertical</property>
|
||||
|
Reference in New Issue
Block a user