Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
5a168896e3
commit
05f751a02d
2 changed files with 5 additions and 1 deletions
|
@ -8,7 +8,7 @@ class TheCatTools.GUI.BoubleCircle : Adw.Bin, Gtk.Orientable {
|
||||||
|
|
||||||
construct {
|
construct {
|
||||||
width_request = 60;
|
width_request = 60;
|
||||||
add_css_class ("bubble-bar");
|
add_css_class ("bubble-circle");
|
||||||
notify["value"].connect (queue_draw);
|
notify["value"].connect (queue_draw);
|
||||||
notify["orientation"].connect (orientation_changed);
|
notify["orientation"].connect (orientation_changed);
|
||||||
orientation_changed ();
|
orientation_changed ();
|
||||||
|
|
|
@ -1,13 +1,17 @@
|
||||||
|
.bubble-circle,
|
||||||
.bubble-bar {
|
.bubble-bar {
|
||||||
color: var(--accent-bg-color);
|
color: var(--accent-bg-color);
|
||||||
background-color: var(--view-bg-color);
|
background-color: var(--view-bg-color);
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bubble-circle>overlay>.circle:checked,
|
||||||
.bubble-bar>overlay>.line:checked {
|
.bubble-bar>overlay>.line:checked {
|
||||||
color: var(--destructive-color);
|
color: var(--destructive-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.bubble-circle>overlay>.circle,
|
||||||
.bubble-bar>overlay>.line {
|
.bubble-bar>overlay>.line {
|
||||||
color: var(--success-color);
|
color: var(--success-color);
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue