| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- /*
- 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/basic.style";
- using "ui/chat/chat.style";
- using "ui/widgets/widgets.style";
- using "boxes/boxes.style";
- OverviewFileLayout {
- maxWidth: pixels;
- songPadding: margins;
- songThumbSize: pixels;
- songNameTop: pixels;
- songStatusTop: pixels;
- songIconBg: color;
- songOverBg: color;
- songPause: icon;
- songPauseSelected: icon;
- songPlay: icon;
- songPlaySelected: icon;
- songCancel: icon;
- songCancelSelected: icon;
- songDownload: icon;
- songDownloadSelected: icon;
- voicePause: icon;
- voicePauseSelected: icon;
- voicePlay: icon;
- voicePlaySelected: icon;
- voiceCancel: icon;
- voiceCancelSelected: icon;
- voiceDownload: icon;
- voiceDownloadSelected: icon;
- filePadding: margins;
- fileThumbSize: pixels;
- fileNameTop: pixels;
- fileStatusTop: pixels;
- fileDateTop: pixels;
- }
- overviewCheckPressedSize: 0.8;
- overviewCheck: RoundCheckbox(defaultRoundCheckbox) {
- bgInactive: overviewCheckBg;
- bgActive: overviewCheckBgActive;
- border: overviewCheckBorder;
- size: 29px;
- sizeSmall: 0.3;
- check: icon {{ "overview_photo_check", overviewCheckFgActive, point(4px, 8px) }};
- }
- overviewSmallCheck: RoundCheckbox(defaultPeerListCheck) {
- border: overviewCheckBorder;
- }
- overviewCheckSkip: 5px;
- overviewPhotoBg: windowBgOver;
- overviewPhotoMinSize: 90px;
- overviewVideoBg: imageBg;
- overviewFileThumbBg: imageBg;
- overviewFileExtPadding: 5px;
- overviewFileExtTop: 24px;
- overviewFileExtFg: windowFgActive;
- overviewFileExtFont: font(18px semibold);
- overviewVoicePause: icon {{ "player/playlist_pause", historyFileInIconFg }};
- overviewVoicePauseSelected: icon {{ "player/playlist_pause", historyFileInIconFgSelected }};
- overviewVoicePlay: icon {{ "player/playlist_play", historyFileInIconFg }};
- overviewVoicePlaySelected: icon {{ "player/playlist_play", historyFileInIconFgSelected }};
- overviewVoiceCancel: icon {{ "player/playlist_cancel", historyFileInIconFg }};
- overviewVoiceCancelSelected: icon {{ "player/playlist_cancel", historyFileInIconFgSelected }};
- overviewVoiceDownload: icon {{ "player/playlist_download", historyFileInIconFg }};
- overviewVoiceDownloadSelected: icon {{ "player/playlist_download", historyFileInIconFgSelected }};
- overviewSongPause: icon {{ "player/playlist_pause", historyFileThumbIconFg }};
- overviewSongPauseSelected: icon {{ "player/playlist_pause", historyFileThumbIconFgSelected }};
- overviewSongPlay: icon {{ "player/playlist_play", historyFileThumbIconFg }};
- overviewSongPlaySelected: icon {{ "player/playlist_play", historyFileThumbIconFgSelected }};
- overviewSongCancel: icon {{ "player/playlist_cancel", historyFileThumbIconFg }};
- overviewSongCancelSelected: icon {{ "player/playlist_cancel", historyFileThumbIconFgSelected }};
- overviewSongDownload: icon {{ "player/playlist_download", historyFileThumbIconFg }};
- overviewSongDownloadSelected: icon {{ "player/playlist_download", historyFileThumbIconFgSelected }};
- overviewSmallCancel: icon {{ "history_audio_cancel", historyFileInIconFg }};
- overviewSmallCancelSelected: icon {{ "history_audio_cancel", historyFileInIconFgSelected }};
- overviewSmallDownload: icon {{ "history_audio_download", historyFileInIconFg }};
- overviewSmallDownloadSelected: icon {{ "history_audio_download", historyFileInIconFgSelected }};
- overviewFileLayout: OverviewFileLayout {
- maxWidth: 520px;
- songPadding: margins(17px, 7px, 10px, 6px);
- songThumbSize: 36px;
- songNameTop: 7px;
- songStatusTop: 25px;
- songIconBg: msgFileInBg;
- songOverBg: msgFileInBgOver;
- songPause: overviewSongPause;
- songPauseSelected: overviewSongPauseSelected;
- songPlay: overviewSongPlay;
- songPlaySelected: overviewSongPlaySelected;
- songCancel: overviewSongCancel;
- songCancelSelected: overviewSongCancelSelected;
- songDownload: overviewSongDownload;
- songDownloadSelected: overviewSongDownloadSelected;
- voicePause: overviewVoicePause;
- voicePauseSelected: overviewVoicePauseSelected;
- voicePlay: overviewVoicePlay;
- voicePlaySelected: overviewVoicePlaySelected;
- voiceCancel: overviewVoiceCancel;
- voiceCancelSelected: overviewVoiceCancelSelected;
- voiceDownload: overviewVoiceDownload;
- voiceDownloadSelected: overviewVoiceDownloadSelected;
- filePadding: margins(0px, 3px, 16px, 3px);
- fileThumbSize: 70px;
- fileNameTop: 7px;
- fileStatusTop: 24px;
- fileDateTop: 49px;
- }
- linksMaxWidth: 520px;
- linksLetterFg: windowFgActive;
- linksLetterFont: font(24px);
- linksMargin: margins(0px, 7px, 0px, 5px);
- linksTextFg: windowFg;
- linksTextTop: 6px;
- linksBorder: 1px;
- linksBorderFg: shadowFg;
- linksPhotoSize: 46px;
- linksPhotoPadding: 12px;
- overviewVideoStatusMargin: 3px;
- overviewVideoStatusPadding: point(6px, 0px);
- overviewVideoStatusRadius: 4px;
- overviewVideoPlay: icon {{ "overview_video_play", historyFileThumbIconFg }};
- overviewVideoPlaySelected: icon {{ "overview_video_play", historyFileThumbIconFgSelected }};
- overviewVideoDownload: icon {{ "overview_video_download", historyFileThumbIconFg }};
- overviewVideoDownloadSelected: icon {{ "overview_video_download", historyFileThumbIconFgSelected }};
- overviewVideoRadialSize: 36px;
- storyPinnedIcon: icon{
- { "dialogs/dialogs_pinned_shadow", windowShadowFg },
- { "dialogs/dialogs_pinned", historyFileThumbIconFg }
- };
- storyPinnedIconSelected: icon{
- { "dialogs/dialogs_pinned_shadow", windowShadowFg },
- { "dialogs/dialogs_pinned", historyFileThumbIconFgSelected }
- };
|