Skip to content

Commit

Permalink
Family View toggle (Fixes #7)
Browse files Browse the repository at this point in the history
Account alert button (untested)
More Settings pages
  • Loading branch information
tkashkin committed Aug 8, 2022
1 parent 075092d commit 173ec0d
Show file tree
Hide file tree
Showing 32 changed files with 1,185 additions and 892 deletions.
1 change: 1 addition & 0 deletions Adwaita/adw/colors.styles
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ colors.styles
error_fg="255 255 255 255"

window_bg="36 36 36 255"
window_bg_transparent="36 36 36 0"
window_fg="255 255 255 255"
window_border="255 255 255 28"

Expand Down
8 changes: 8 additions & 0 deletions Adwaita/adw/controls/popup.styles
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ popup.styles
colors
{
Menu.TextInset=4
Tooltip.Delay=75
Tooltip.Anchor=Parent
Notifications.PanelPosition=TopRight
Notifications.SlideDirection=None
Notifications.FadeInTime=0
Notifications.FadeOutTime=0
Notifications.DisplayTime=6
Notifications.StackSize=5
}

styles
Expand Down
55 changes: 55 additions & 0 deletions Adwaita/adw/rootdialog.styles
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,61 @@ rootdialog.styles
image="assets/icons/inbox_unread"
}

parental_lock_button
{
inset="3 0 0 0"
image="assets/icons/family_view_backdrop"
render_bg {}
}
parental_lock_button:framefocus
{
image="assets/icons/family_view"
}
parental_lock_button:hover
{
render_bg
{
0="fill(x0+6, y0, x0+28, y0+34, button_hover_bg)"
1="fill(x0, y0+6, x0+6, y0+28, button_hover_bg)"
2="fill(x0+28, y0+6, x0+34, y0+28, button_hover_bg)"
3="image(x0, y0, x0+6, y0+6, assets/corners/6_w15/tl)"
4="image(x0+28, y0, x0+34, y0+6, assets/corners/6_w15/tr)"
5="image(x0, y0+28, x0+6, y0+34, assets/corners/6_w15/bl)"
6="image(x0+28, y0+28, x0+34, y0+34, assets/corners/6_w15/br)"
}
}
parental_lock_button:selected
{
image="assets/icons/family_view_active_backdrop"
render_bg {}
}
parental_lock_button:selected:framefocus
{
image="assets/icons/family_view_active"
}
parental_lock_button:selected:hover
{
render_bg
{
0="fill(x0+6, y0, x0+28, y0+34, button_hover_bg)"
1="fill(x0, y0+6, x0+6, y0+28, button_hover_bg)"
2="fill(x0+28, y0+6, x0+34, y0+28, button_hover_bg)"
3="image(x0, y0, x0+6, y0+6, assets/corners/6_w15/tl)"
4="image(x0+28, y0, x0+34, y0+6, assets/corners/6_w15/tr)"
5="image(x0, y0+28, x0+6, y0+34, assets/corners/6_w15/bl)"
6="image(x0+28, y0+28, x0+34, y0+34, assets/corners/6_w15/br)"
}
}

support_alert
{
image="assets/icons/warning_backdrop"
}
support_alert:framefocus
{
image="assets/icons/warning"
}

CUINavButton
{
inset="8 0 8 0"
Expand Down
Loading

0 comments on commit 173ec0d

Please sign in to comment.