refactor(binto ags bar): add main css class

This commit is contained in:
matt1432 2023-11-30 15:17:57 -05:00
parent d48403d9c8
commit 6b1415d54b
3 changed files with 21 additions and 15 deletions

View file

@ -19,10 +19,12 @@ export default () => Window({
vertical: true, vertical: true,
children: [ children: [
CenterBox({ CenterBox({
className: 'bar',
start_widget: Box({ start_widget: Box({
hpack: 'start', hpack: 'start',
children: [ children: [
Separator(PADDING), Separator(PADDING),
SysTray(), SysTray(),
], ],
}), }),
@ -35,7 +37,9 @@ export default () => Window({
hpack: 'end', hpack: 'end',
children: [ children: [
NotifButton(), NotifButton(),
Separator(PADDING/2),
Clock(), Clock(),
Separator(PADDING), Separator(PADDING),
], ],
}), }),

View file

@ -19,7 +19,7 @@ export const NotifPopups = () => PopupWindow({
export const NotifCenter = () => PopupWindow({ export const NotifCenter = () => PopupWindow({
name: 'notification-center', name: 'notification-center',
anchor: ['bottom', 'right'], anchor: ['bottom', 'right'],
margins: [0, 169, 0, 0], margins: [0, 187, 0, 0],
transition: 'slide_up', transition: 'slide_up',
monitor: 1, monitor: 1,

View file

@ -1,9 +1,10 @@
.clock, .notif-panel { .bar {
padding: 2.5px 5px; .clock, .notif-panel {
padding: 4.5px 7px;
background-color: $bgfull; background-color: $bgfull;
} }
.sys-tray { .sys-tray {
menubar { menubar {
background-color: $bgfull; background-color: $bgfull;
@ -18,4 +19,5 @@
font-size: 25px; font-size: 25px;
} }
} }
}
} }