refactor
This commit is contained in:
1 parent
eaf3fed5c7
commit
094e1351e3
2 files changed
+1
-35
No files matched your search
+1
-33
@@ -1,6 +1,7 @@
|
|||||||
// https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/theme/Adwaita/_colors-public.scss
|
// https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/theme/Adwaita/_colors-public.scss
|
||||||
@use "./widget/modules/Media/Media.scss";
|
@use "./widget/modules/Media/Media.scss";
|
||||||
@use "./widget/modules/Powermenu/PowerMenu.scss";
|
@use "./widget/modules/Powermenu/PowerMenu.scss";
|
||||||
|
|
||||||
$fg-color: #{"@theme_fg_color"};
|
$fg-color: #{"@theme_fg_color"};
|
||||||
$bg-color: #{"@theme_bg_color"};
|
$bg-color: #{"@theme_bg_color"};
|
||||||
|
|
||||||
@@ -50,18 +51,13 @@ window.Bar {
|
|||||||
all: unset;
|
all: unset;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
// padding: 10px;
|
|
||||||
// color: red;
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
all: unset;
|
all: unset;
|
||||||
padding: 5px 7px;
|
padding: 5px 7px;
|
||||||
border-radius: 25px;
|
border-radius: 25px;
|
||||||
border: 1pt solid black;
|
border: 1pt solid black;
|
||||||
// border-color: black;
|
|
||||||
transition: 300ms;
|
transition: 300ms;
|
||||||
// background-color: red;
|
|
||||||
// color: red;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: gray;
|
background-color: gray;
|
||||||
}
|
}
|
||||||
@@ -116,32 +112,4 @@ window.Bar {
|
|||||||
border-color: $accent;
|
border-color: $accent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// button {
|
|
||||||
// border-radius: 8px;
|
|
||||||
// padding: 0 8px;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* window.Powermenu {
|
|
||||||
margin: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
box {
|
|
||||||
margin: 5px;
|
|
||||||
background-color: black;
|
|
||||||
border-radius: 25px;
|
|
||||||
// padding: 10px;
|
|
||||||
button {
|
|
||||||
all: unset;
|
|
||||||
margin: 2px;
|
|
||||||
padding: 5px 15px 5px 13px;
|
|
||||||
background-color: black;
|
|
||||||
border-radius: 25px;
|
|
||||||
transition: 300ms;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} */
|
|
||||||
@@ -15,8 +15,6 @@ function close_all_menus(safe: string) {
|
|||||||
App.get_window(window)?.set_visible(false);
|
App.get_window(window)?.set_visible(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// App.get_window("powermenu").set_visible(false);
|
|
||||||
// App.get_window("Media").set_visible(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export { close_all_menus };
|
export { close_all_menus };
|
||||||
Reference in new issue
Block a user