mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Few small CSS optimizations for new Adwaita theme
This commit is contained in:
@@ -17,7 +17,6 @@ class ClapperHeaderBarBase extends Gtk.Box
|
||||
margin_start: 6,
|
||||
margin_end: 6,
|
||||
});
|
||||
this.add_css_class('osd');
|
||||
this.add_css_class('osdheaderbar');
|
||||
|
||||
this.isMaximized = false;
|
||||
@@ -40,11 +39,11 @@ class ClapperHeaderBarBase extends Gtk.Box
|
||||
valign: Gtk.Align.CENTER,
|
||||
can_focus: false,
|
||||
});
|
||||
const menuToggleButton = this.menuButton.get_first_child();
|
||||
menuToggleButton.add_css_class('osd');
|
||||
const mainMenuModel = uiBuilder.get_object('mainMenu');
|
||||
const mainMenuPopover = new HeaderBarPopover(mainMenuModel);
|
||||
mainMenuPopover.add_css_class('menupopover');
|
||||
this.menuButton.set_popover(mainMenuPopover);
|
||||
this.menuButton.add_css_class('osd');
|
||||
this.menuButton.add_css_class('circular');
|
||||
this.menuWidget.append(this.menuButton);
|
||||
|
||||
|
@@ -28,6 +28,7 @@ class ClapperPlaylistWidget extends Gtk.ListBox
|
||||
});
|
||||
this.activeRowId = -1;
|
||||
this.repeatMode = RepeatMode.NONE;
|
||||
this.add_css_class('playlist');
|
||||
|
||||
this.connect('row-activated', this._onRowActivated.bind(this));
|
||||
}
|
||||
@@ -254,6 +255,7 @@ class ClapperPlaylistItem extends Gtk.ListBoxRow
|
||||
}
|
||||
this.filename = filename || uri;
|
||||
this.set_tooltip_text(this.filename);
|
||||
this.add_css_class('playlistrow');
|
||||
|
||||
const box = new Gtk.Box({
|
||||
orientation: Gtk.Orientation.HORIZONTAL,
|
||||
|
Reference in New Issue
Block a user