diff --git a/ui/widgets/widgets.style b/ui/widgets/widgets.style index b443bb1..c71d09a 100644 --- a/ui/widgets/widgets.style +++ b/ui/widgets/widgets.style @@ -904,6 +904,26 @@ defaultRoundCheckbox: RoundCheckbox { bgDuration: 0.75; fgDuration: 1.; } +defaultPeerListCheckIcon: icon {{ + "default_checkbox_check", + overviewCheckFgActive, + point(3px, 6px) +}}; +defaultPeerListCheck: RoundCheckbox(defaultRoundCheckbox) { + size: 20px; + sizeSmall: 0.3; + bgInactive: overviewCheckBg; + bgActive: overviewCheckBgActive; + check: defaultPeerListCheckIcon; +} +defaultPeerListCheckbox: RoundImageCheckbox { + imageRadius: 21px; + imageSmallRadius: 18px; + selectWidth: 2px; + selectFg: windowBgActive; + selectDuration: 150; + check: defaultPeerListCheck; +} defaultMenuArrow: icon {{ "dropdown_submenu_arrow", menuSubmenuArrowFg }}; defaultMenuToggle: Toggle(defaultToggle) { @@ -1081,6 +1101,7 @@ PeerListItem { maximalWidth: pixels; button: OutlineButton; + checkbox: RoundImageCheckbox; statusFg: color; statusFgOver: color; statusFgActive: color; @@ -1116,6 +1137,7 @@ defaultPeerListItem: PeerListItem { statusPosition: point(68px, 31px); photoSize: 46px; button: defaultPeerListButton; + checkbox: defaultPeerListCheckbox; statusFg: windowSubTextFg; statusFgOver: windowSubTextFgOver; statusFgActive: windowActiveTextFg;