mirror of
https://github.com/tuxdotrs/tpanel.git
synced 2025-10-10 12:51:54 +05:30
feat: update style
This commit is contained in:
@@ -8,7 +8,7 @@ import { Network } from "./network";
|
|||||||
export const WINDOW_NAME = "bar";
|
export const WINDOW_NAME = "bar";
|
||||||
|
|
||||||
export const Bar = (gdkmonitor: Gdk.Monitor) => {
|
export const Bar = (gdkmonitor: Gdk.Monitor) => {
|
||||||
const { TOP } = Astal.WindowAnchor;
|
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<window
|
<window
|
||||||
@@ -17,7 +17,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
|
|||||||
cssClasses={["Bar"]}
|
cssClasses={["Bar"]}
|
||||||
gdkmonitor={gdkmonitor}
|
gdkmonitor={gdkmonitor}
|
||||||
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
||||||
anchor={TOP}
|
anchor={TOP | LEFT | RIGHT}
|
||||||
application={App}
|
application={App}
|
||||||
>
|
>
|
||||||
<centerbox>
|
<centerbox>
|
||||||
|
@@ -4,10 +4,7 @@
|
|||||||
window.Bar {
|
window.Bar {
|
||||||
background: $bg-color;
|
background: $bg-color;
|
||||||
color: $fg-color;
|
color: $fg-color;
|
||||||
margin: 5px;
|
|
||||||
border-radius: $rounded;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
min-width: 100rem;
|
|
||||||
|
|
||||||
.launcher {
|
.launcher {
|
||||||
background-color: $inactive-color;
|
background-color: $inactive-color;
|
||||||
|
Reference in New Issue
Block a user