style(ags): make it easier on my eyes
This commit is contained in:
parent
49f0ea7750
commit
2bd7b36392
3 changed files with 111 additions and 110 deletions
|
@ -21,5 +21,5 @@ export default {
|
||||||
Closer,
|
Closer,
|
||||||
NotificationCenter,
|
NotificationCenter,
|
||||||
NotificationsPopupList,
|
NotificationsPopupList,
|
||||||
]
|
],
|
||||||
}
|
};
|
||||||
|
|
|
@ -48,7 +48,7 @@ const Placeholder = () => Box({
|
||||||
vexpand: true,
|
vexpand: true,
|
||||||
hexpand: true,
|
hexpand: true,
|
||||||
children: [
|
children: [
|
||||||
Icon('notifications-disabled-symbolic'),
|
Icon('notification-disabled-symbolic'),
|
||||||
Label('Your inbox is empty'),
|
Label('Your inbox is empty'),
|
||||||
],
|
],
|
||||||
connections: [[Notifications, box => {
|
connections: [[Notifications, box => {
|
||||||
|
@ -58,6 +58,7 @@ const Placeholder = () => Box({
|
||||||
|
|
||||||
export const NotificationCenter = Window({
|
export const NotificationCenter = Window({
|
||||||
name: 'notification-center',
|
name: 'notification-center',
|
||||||
|
popup: true,
|
||||||
layer: 'overlay',
|
layer: 'overlay',
|
||||||
anchor: 'top right',
|
anchor: 'top right',
|
||||||
className: 'dashboard',
|
className: 'dashboard',
|
||||||
|
|
|
@ -41,7 +41,7 @@ const Popups = () => Box({
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
const PopupList = ({ transition = 'slide_down' } = {}) => Box({
|
const PopupList = ({ transition = 'slide_right' } = {}) => Box({
|
||||||
className: 'notifications-popup-list',
|
className: 'notifications-popup-list',
|
||||||
style: 'padding: 1px',
|
style: 'padding: 1px',
|
||||||
children: [
|
children: [
|
||||||
|
@ -54,6 +54,6 @@ const PopupList = ({ transition = 'slide_down' } = {}) => Box({
|
||||||
|
|
||||||
export const NotificationsPopupList = Window({
|
export const NotificationsPopupList = Window({
|
||||||
name: `notifications`,
|
name: `notifications`,
|
||||||
anchor: 'top',
|
anchor: 'top left',
|
||||||
child: PopupList(),
|
child: PopupList(),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue