Add separator to linked buttons

This commit is contained in:
Rafał Dzięgiel
2021-02-19 20:26:59 +01:00
parent 8d9fecd767
commit 67ad7d8bd4
2 changed files with 10 additions and 0 deletions

View File

@@ -21,6 +21,10 @@ radio {
.osdheaderbar button { .osdheaderbar button {
border: transparent; border: transparent;
} }
.linkseparator {
background: alpha(@borders, 0.75);
min-width: 1px;
}
/* Non-osd style for popover menu */ /* Non-osd style for popover menu */
.menupopover label { .menupopover label {
color: @theme_text_color; color: @theme_text_color;

View File

@@ -55,6 +55,12 @@ class ClapperHeaderBarBase extends Gtk.Box
); );
this.extraButtonsBox.append(floatButton); this.extraButtonsBox.append(floatButton);
const separator = new Gtk.Separator({
orientation: Gtk.Orientation.VERTICAL,
});
separator.add_css_class('linkseparator');
this.extraButtonsBox.append(separator);
const fullscreenButton = new Gtk.Button({ const fullscreenButton = new Gtk.Button({
icon_name: 'view-fullscreen-symbolic', icon_name: 'view-fullscreen-symbolic',
}); });