144 lines
7.0 KiB
Plaintext
144 lines
7.0 KiB
Plaintext
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
For license and copyright information please follow this link:
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
*/
|
|
using "ui/colors.palette";
|
|
using "ui/widgets/widgets.style";
|
|
|
|
menuIconColor: windowBoldFg;
|
|
menuIconAttentionColor: attentionButtonFg;
|
|
|
|
menuIconSubmenuArrow: icon {{ "menu/submenu_arrow", menuIconColor }};
|
|
|
|
menuWithIcons: Menu(defaultMenu) {
|
|
itemIconPosition: point(15px, 5px);
|
|
itemPadding: margins(54px, 8px, 17px, 8px);
|
|
|
|
arrow: menuIconSubmenuArrow;
|
|
}
|
|
menuWithIconsAttention: Menu(menuWithIcons) {
|
|
itemFg: attentionButtonFg;
|
|
itemFgOver: attentionButtonFgOver;
|
|
}
|
|
popupMenuWithIcons: PopupMenu(defaultPopupMenu) {
|
|
scrollPadding: margins(0px, 5px, 0px, 5px);
|
|
menu: menuWithIcons;
|
|
}
|
|
dropdownMenuWithIcons: DropdownMenu(defaultDropdownMenu) {
|
|
wrap: InnerDropdown(defaultInnerDropdown) {
|
|
scrollPadding: margins(0px, 5px, 0px, 5px);
|
|
}
|
|
menu: menuWithIcons;
|
|
}
|
|
|
|
menuIconReactions: icon {{ "menu/read_reactions", menuIconColor }};
|
|
menuIconReply: icon {{ "menu/reply", menuIconColor }};
|
|
menuIconViewReplies: icon {{ "menu/view_replies", menuIconColor }};
|
|
menuIconEdit: icon {{ "menu/edit", menuIconColor }};
|
|
menuIconPin: icon {{ "menu/pin", menuIconColor }};
|
|
menuIconUnpin: icon {{ "menu/unpin", menuIconColor }};
|
|
menuIconCopy: icon {{ "menu/copy", menuIconColor }};
|
|
menuIconForward: icon {{ "menu/forward", menuIconColor }};
|
|
menuIconDelete: icon {{ "menu/delete", menuIconColor }};
|
|
menuIconSelect: icon {{ "menu/select", menuIconColor }};
|
|
menuIconSaveImage: icon {{ "menu/save_image", menuIconColor }};
|
|
menuIconStickers: icon {{ "menu/stickers", menuIconColor }};
|
|
menuIconCancel: icon {{ "menu/cancel", menuIconColor }};
|
|
menuIconShowInChat: icon {{ "menu/show_in_chat", menuIconColor }};
|
|
menuIconGif: icon {{ "menu/gif", menuIconColor }};
|
|
menuIconShowInFolder: icon {{ "menu/show_in_folder", menuIconColor }};
|
|
menuIconDownload: icon {{ "menu/download", menuIconColor }};
|
|
menuIconLink: icon {{ "menu/link", menuIconColor }};
|
|
menuIconBlock: icon {{ "menu/block", menuIconColor }};
|
|
menuIconUnblock: icon {{ "menu/unblock", menuIconColor }};
|
|
menuIconRestartBot: icon {{ "menu/restart_bot", menuIconColor }};
|
|
menuIconReport: icon {{ "menu/report", menuIconColor }};
|
|
menuIconFave: icon {{ "menu/favorite", menuIconColor }};
|
|
menuIconUnfave: icon {{ "menu/unfavorite", menuIconColor }};
|
|
menuIconProfile: icon {{ "menu/profile", menuIconColor }};
|
|
menuIconInfo: icon {{ "menu/info", menuIconColor }};
|
|
menuIconInvite: icon {{ "menu/invite", menuIconColor }};
|
|
menuIconPromote: icon {{ "menu/admin_promote", menuIconColor }};
|
|
menuIconAdmin: icon {{ "menu/admin", menuIconColor }};
|
|
menuIconRemove: icon {{ "menu/stop_poll", menuIconColor }};
|
|
menuIconStopPoll: icon {{ "menu/stop_poll", menuIconColor }};
|
|
menuIconRetractVote: icon {{ "menu/retract_vote", menuIconColor }};
|
|
menuIconRestrict: icon {{ "menu/permissions", menuIconColor }};
|
|
menuIconShare: icon {{ "menu/share", menuIconColor }};
|
|
menuIconArchive: icon {{ "menu/archive", menuIconColor }};
|
|
menuIconUnarchive: icon {{ "menu/unarchive", menuIconColor }};
|
|
menuIconMarkRead: icon {{ "menu/read", menuIconColor }};
|
|
menuIconMarkUnread: icon {{ "menu/unread", menuIconColor }};
|
|
menuIconChangeColors: icon {{ "menu/colors", menuIconColor }};
|
|
menuIconExport: icon {{ "menu/export", menuIconColor }};
|
|
menuIconClear: icon {{ "menu/clear", menuIconColor }};
|
|
menuIconManage: icon {{ "menu/manage", menuIconColor }};
|
|
menuIconDiscussion: icon {{ "menu/discussion", menuIconColor }};
|
|
menuIconCreatePoll: icon {{ "menu/create_poll", menuIconColor }};
|
|
menuIconQrCode: icon {{ "menu/qr_code", menuIconColor }};
|
|
menuIconExpand: icon {{ "menu/expand", menuIconColor }};
|
|
menuIconCollapse: icon {{ "menu/collapse", menuIconColor }};
|
|
menuIconToMainMenu: icon {{ "menu/move_to_menu", menuIconColor }};
|
|
menuIconFromMainMenu: icon {{ "menu/move_from_menu", menuIconColor }};
|
|
menuIconAddAccount: icon {{ "menu/add_account", menuIconColor }};
|
|
menuIconMute: icon {{ "menu/mute", menuIconColor }};
|
|
menuIconUnmute: icon {{ "menu/unmute", menuIconColor }};
|
|
menuIconSchedule: icon {{ "menu/calendar", menuIconColor }};
|
|
menuIconReschedule: icon {{ "menu/reschedule", menuIconColor }};
|
|
menuIconSend: icon {{ "menu/send", menuIconColor }};
|
|
menuIconFlip: icon {{ "menu/flip", menuIconColor }};
|
|
menuIconWhenOnline: icon {{ "menu/send_when_online", menuIconColor }};
|
|
menuIconPalette: icon {{ "menu/palette", menuIconColor }};
|
|
menuIconImportTheme: icon {{ "menu/import_theme", menuIconColor }};
|
|
menuIconExportTheme: icon {{ "menu/export_theme", menuIconColor }};
|
|
menuIconRestore: icon {{ "menu/restore", menuIconColor }};
|
|
menuIconSettings: icon {{ "menu/settings", menuIconColor }};
|
|
menuIconCopyright: icon {{ "menu/copyright", menuIconColor }};
|
|
menuIconDrugs: icon {{ "menu/drugs", menuIconColor }};
|
|
menuIconFake: icon {{ "menu/fake", menuIconColor }};
|
|
menuIconPersonal: icon {{ "menu/personal", menuIconColor }};
|
|
menuIconPorn: icon {{ "menu/porn", menuIconColor }};
|
|
menuIconViolence: icon {{ "menu/violence", menuIconColor }};
|
|
menuIconMuteFor: icon {{ "menu/mute_for", menuIconColor }};
|
|
menuIconSilent: icon {{ "menu/silent", menuIconColor }};
|
|
menuIconCustomize: icon {{ "menu/customize", menuIconColor }};
|
|
menuIconSoundOn: icon {{ "menu/sound_enable", menuIconColor }};
|
|
menuIconSoundOff: icon {{ "menu/sound_disable", menuIconColor }};
|
|
menuIconSoundSelect: icon {{ "menu/sound_select", menuIconColor }};
|
|
menuIconSoundAdd: icon {{ "menu/sound_add", menuIconColor }};
|
|
menuIconFile: icon {{ "menu/file", menuIconColor }};
|
|
menuIconPhoto: icon {{ "menu/image", menuIconColor }};
|
|
menuIconAddToFolder: icon {{ "menu/add_to_folder", menuIconColor }};
|
|
|
|
menuIconTTLAny: icon {{ "menu/auto_delete_plain", menuIconColor }};
|
|
menuIconTTLAnyTextPosition: point(11px, 22px);
|
|
menuIconTTL: icon {{ "menu/auto_delete", menuIconColor }};
|
|
|
|
menuIconMuteForAny: icon {{ "menu/mute_for_plain", menuIconColor }};
|
|
menuIconMuteForAnyTextPosition: point(14px, 9px);
|
|
menuIconMuteForAnyTextFont: font(8px semibold);
|
|
|
|
mediaMenuIconStickers: icon {{ "menu/stickers", mediaviewMenuFg }};
|
|
mediaMenuIconCancel: icon {{ "menu/cancel", mediaviewMenuFg }};
|
|
mediaMenuIconShowInChat: icon {{ "menu/show_in_chat", mediaviewMenuFg }};
|
|
mediaMenuIconShowInFolder: icon {{ "menu/show_in_folder", mediaviewMenuFg }};
|
|
mediaMenuIconDownload: icon {{ "menu/download", mediaviewMenuFg }};
|
|
mediaMenuIconCopy: icon {{ "menu/copy", mediaviewMenuFg }};
|
|
mediaMenuIconForward: icon {{ "menu/forward", mediaviewMenuFg }};
|
|
mediaMenuIconDelete: icon {{ "menu/delete", mediaviewMenuFg }};
|
|
mediaMenuIconShowAll: icon {{ "menu/all_media", mediaviewMenuFg }};
|
|
mediaMenuIconProfile: icon {{ "menu/profile", mediaviewMenuFg }};
|
|
mediaMenuIconReport: icon {{ "menu/report", mediaviewMenuFg }};
|
|
|
|
menuIconStartStream: icon {{ "menu/start_stream", menuIconColor }};
|
|
menuIconStartStreamWith: icon {{ "menu/start_stream_with", menuIconColor }};
|
|
|
|
menuIconDeleteAttention: icon {{ "menu/delete", menuIconAttentionColor }};
|
|
menuIconLeaveAttention: icon {{ "menu/leave", menuIconAttentionColor }};
|
|
menuIconDisableAttention: icon {{ "menu/disable", menuIconAttentionColor }};
|
|
|
|
menuIconBlockSettings: icon {{ "menu/block", windowBgActive }};
|