remove templates for app_library and cleanup window styling
This commit is contained in:
parent
7c0cf048ee
commit
346701b16d
15 changed files with 185 additions and 256 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue