Commit 5963eb53 authored by Felix Häcker's avatar Felix Häcker

Some style tweaks for minicontroller

parent ba583366
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="spacing">3</property>
<child> <child>
<object class="GtkButton" id="show_player_button"> <object class="GtkButton" id="show_player_button">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -39,6 +38,7 @@ ...@@ -39,6 +38,7 @@
<object class="GtkStack" id="playback_button_stack"> <object class="GtkStack" id="playback_button_stack">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="margin_right">6</property>
<child> <child>
<object class="GtkButton" id="stop_playback_button"> <object class="GtkButton" id="stop_playback_button">
<property name="visible">True</property> <property name="visible">True</property>
...@@ -116,6 +116,9 @@ ...@@ -116,6 +116,9 @@
<property name="pixel_size">24</property> <property name="pixel_size">24</property>
<property name="icon_name">emblem-music-symbolic</property> <property name="icon_name">emblem-music-symbolic</property>
<property name="icon_size">6</property> <property name="icon_size">6</property>
<style>
<class name="smallcover"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,10 @@
background-color: @theme_base_color; background-color: @theme_base_color;
} }
.hide{ .smallcover {
opacity: 0; background-color: @theme_base_color;
}
.minicontroller{
border-top: 1px solid @borders;
} }
...@@ -228,38 +228,19 @@ ...@@ -228,38 +228,19 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox" id="mini_controller"> <object class="GtkBox" id="mini_controller_box">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <style>
<child> <class name="minicontroller"/>
<object class="GtkSeparator"> </style>
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="mini_controller_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="name">main</property> <property name="name">main</property>
</packing>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
...@@ -281,3 +262,4 @@ ...@@ -281,3 +262,4 @@
</child> </child>
</object> </object>
</interface> </interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment