Fix sensors

Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
Vasiliy Doylov 2025-03-02 15:59:18 +03:00
parent 5a168896e3
commit 05f751a02d
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@ class TheCatTools.GUI.BoubleCircle : Adw.Bin, Gtk.Orientable {
construct {
width_request = 60;
add_css_class ("bubble-bar");
add_css_class ("bubble-circle");
notify["value"].connect (queue_draw);
notify["orientation"].connect (orientation_changed);
orientation_changed ();

View file

@ -1,13 +1,17 @@
.bubble-circle,
.bubble-bar {
color: var(--accent-bg-color);
background-color: var(--view-bg-color);
border-radius: 20px;
}
.bubble-circle>overlay>.circle:checked,
.bubble-bar>overlay>.line:checked {
color: var(--destructive-color);
}
.bubble-circle>overlay>.circle,
.bubble-bar>overlay>.line {
color: var(--success-color);
}