remove templates for app_library and cleanup window styling

This commit is contained in:
Ashley Wulber 2021-12-31 16:03:47 -05:00
parent 7c0cf048ee
commit 346701b16d
15 changed files with 185 additions and 256 deletions

View file

@ -5,7 +5,6 @@ use gtk4::glib;
use gtk4::prelude::*;
use gtk4::subclass::prelude::*;
use gtk4::Align;
use gtk4::AspectFrame;
use gtk4::Box;
use gtk4::Image;
use gtk4::Label;

View file

@ -28,11 +28,11 @@ listview {
background: #333333;
}
window {
background: rgba(50, 50, 50, 0.0);
}
box.dock {
border-radius: 12px;
background: #333333;
}
window.root_window {
background: rgba(50, 50, 50, 0.0);
}

View file

@ -63,6 +63,7 @@ impl Window {
..set_title(Some("Cosmic Dock"));
..set_decorated(false);
..set_resizable(false);
..add_css_class("root_window");
};
let cursor_handle = Box::new(Orientation::Vertical, 0);
self_.set_child(Some(&cursor_handle));