2023-07-06 11:09:16 +00:00
|
|
|
/*
|
|
|
|
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 "window/window.style";
|
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
|
2023-10-02 20:35:48 +00:00
|
|
|
statisticsLayerOverviewMargins: margins(0px, 17px, 0px, 3px);
|
2023-10-02 15:36:25 +00:00
|
|
|
statisticsLayerMargins: margins(20px, 0px, 20px, 0px);
|
|
|
|
|
2023-07-13 21:59:40 +00:00
|
|
|
statisticsChartHeight: 150px;
|
|
|
|
|
2023-10-02 18:30:42 +00:00
|
|
|
statisticsChartEntryPadding: margins(0px, 13px, 0px, 8px);
|
2023-09-28 15:03:12 +00:00
|
|
|
|
2023-09-08 12:08:13 +00:00
|
|
|
statisticsDetailsArrowShift: 2px;
|
|
|
|
statisticsDetailsArrowStroke: 1.5;
|
2023-07-06 11:09:16 +00:00
|
|
|
statisticsDetailsPopupMargins: margins(8px, 8px, 8px, 8px);
|
|
|
|
statisticsDetailsPopupPadding: margins(6px, 6px, 6px, 6px);
|
2023-09-08 10:46:11 +00:00
|
|
|
statisticsDetailsPopupMidLineSpace: 4px;
|
2023-10-02 23:07:05 +00:00
|
|
|
statisticsDetailsDotRadius: 5px;
|
2023-07-07 08:28:50 +00:00
|
|
|
statisticsChartLineWidth: 2px;
|
2023-07-06 11:09:16 +00:00
|
|
|
|
2023-09-25 19:50:19 +00:00
|
|
|
statisticsChartFooterBetweenSide: 5px;
|
|
|
|
statisticsChartFooterSideWidth: 10px;
|
2023-07-11 02:35:46 +00:00
|
|
|
statisticsChartFooterArrowSize: size(10px, 30px);
|
|
|
|
|
2023-10-02 23:07:05 +00:00
|
|
|
statisticsChartRulerCaptionSkip: 4px;
|
2023-07-10 23:55:42 +00:00
|
|
|
|
2023-10-02 23:07:05 +00:00
|
|
|
statisticsChartBottomCaptionHeight: 15px;
|
|
|
|
statisticsChartBottomCaptionSkip: 6px;
|
2023-07-07 15:17:09 +00:00
|
|
|
|
2023-07-10 22:30:09 +00:00
|
|
|
statisticsChartBottomCaptionMaxWidth: 44px;
|
|
|
|
|
2023-07-11 13:39:38 +00:00
|
|
|
statisticsChartFooterSkip: 10px;
|
|
|
|
statisticsChartFooterHeight: 52px;
|
|
|
|
|
2023-09-11 11:53:31 +00:00
|
|
|
statisticsChartFlatCheckboxMargins: margins(4px, 4px, 4px, 4px);
|
2023-07-14 03:50:26 +00:00
|
|
|
statisticsChartFlatCheckboxCheckWidth: 4px;
|
|
|
|
|
2023-09-28 15:03:12 +00:00
|
|
|
statisticsFilterButtonsPadding: margins(0px, 6px, 0px, 0px);
|
|
|
|
|
2023-09-08 10:46:11 +00:00
|
|
|
statisticsDetailsPopupHeaderStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(9px semibold);
|
|
|
|
}
|
2023-07-06 11:09:16 +00:00
|
|
|
statisticsDetailsPopupStyle: TextStyle(defaultTextStyle) {
|
2023-09-08 10:46:11 +00:00
|
|
|
font: font(8px);
|
2023-07-06 11:09:16 +00:00
|
|
|
}
|
2023-07-10 14:29:52 +00:00
|
|
|
statisticsDetailsBottomCaptionStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(10px);
|
|
|
|
}
|
2023-08-24 20:01:39 +00:00
|
|
|
|
2023-09-14 13:16:51 +00:00
|
|
|
statisticsPieChartFont: font(20px);
|
2023-09-15 01:46:28 +00:00
|
|
|
statisticsPieChartPartOffset: 8px;
|
2023-09-14 13:16:51 +00:00
|
|
|
|
2023-10-02 18:30:42 +00:00
|
|
|
statisticsChartHeaderHeight: 36px;
|
|
|
|
statisticsChartHeaderPadding: margins(2px, 0px, 0px, 10px);
|
2023-08-24 20:01:39 +00:00
|
|
|
statisticsHeaderTitleTextStyle: TextStyle(defaultTextStyle) {
|
2023-10-02 18:30:42 +00:00
|
|
|
font: font(13px);
|
2023-08-24 20:01:39 +00:00
|
|
|
}
|
|
|
|
statisticsHeaderDatesTextStyle: TextStyle(defaultTextStyle) {
|
2023-10-02 18:30:42 +00:00
|
|
|
font: font(11px);
|
2023-08-24 20:01:39 +00:00
|
|
|
}
|
2023-08-24 21:08:59 +00:00
|
|
|
statisticsHeaderButton: RoundButton(defaultLightButton) {
|
|
|
|
width: -14px;
|
|
|
|
height: statisticsChartHeaderHeight;
|
|
|
|
textTop: 2px;
|
|
|
|
font: font(11px semibold);
|
|
|
|
}
|
2023-09-28 14:13:42 +00:00
|
|
|
|
|
|
|
statisticsLoadingSubtext: FlatLabel(changePhoneDescription) {
|
|
|
|
minWidth: 256px;
|
|
|
|
}
|
2023-09-28 19:30:10 +00:00
|
|
|
|
|
|
|
statisticsOverviewValue: FlatLabel(boxLabel) {
|
|
|
|
minWidth: 0px;
|
|
|
|
maxHeight: 60px;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
2023-10-02 20:35:48 +00:00
|
|
|
font: font(14px);
|
2023-09-28 19:30:10 +00:00
|
|
|
}
|
|
|
|
}
|
2023-10-02 20:35:48 +00:00
|
|
|
statisticsOverviewValuePadding: margins(2px, 1px, 0px, 0px);
|
|
|
|
statisticsOverviewSecondValuePadding: margins(5px, 3px, 0px, 0px);
|
2023-09-28 19:30:10 +00:00
|
|
|
statisticsOverviewSecondValue: FlatLabel(boxLabel) {
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
2023-10-02 20:35:48 +00:00
|
|
|
font: font(11px);
|
2023-09-28 19:30:10 +00:00
|
|
|
}
|
|
|
|
}
|
2023-10-02 20:35:48 +00:00
|
|
|
statisticsOverviewSubtext: FlatLabel(boxLabel) {
|
|
|
|
minWidth: 152px;
|
|
|
|
maxHeight: 32px;
|
|
|
|
style: statisticsHeaderDatesTextStyle;
|
|
|
|
}
|
|
|
|
statisticsOverviewMidSkip: 50px;
|
|
|
|
statisticsOverviewRightSkip: 14px;
|