2023-07-06 14:09:16 +03: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-07-14 00:59:40 +03:00
|
|
|
statisticsChartHeight: 150px;
|
|
|
|
|
2023-09-08 15:08:13 +03:00
|
|
|
statisticsDetailsArrowShift: 2px;
|
|
|
|
statisticsDetailsArrowStroke: 1.5;
|
2023-07-06 14:09:16 +03:00
|
|
|
statisticsDetailsPopupMargins: margins(8px, 8px, 8px, 8px);
|
|
|
|
statisticsDetailsPopupPadding: margins(6px, 6px, 6px, 6px);
|
2023-09-08 13:46:11 +03:00
|
|
|
statisticsDetailsPopupMidLineSpace: 4px;
|
2023-07-07 11:28:50 +03:00
|
|
|
statisticsDetailsDotRadius: 4px;
|
|
|
|
statisticsChartLineWidth: 2px;
|
2023-07-06 14:09:16 +03:00
|
|
|
|
2023-09-25 22:50:19 +03:00
|
|
|
statisticsChartFooterBetweenSide: 5px;
|
|
|
|
statisticsChartFooterSideWidth: 10px;
|
2023-07-11 05:35:46 +03:00
|
|
|
statisticsChartFooterArrowSize: size(10px, 30px);
|
|
|
|
|
2023-07-11 02:55:42 +03:00
|
|
|
statisticsChartHorizontalLineCaptionSkip: 4px;
|
|
|
|
|
2023-07-07 18:17:09 +03:00
|
|
|
statisticsChartBottomCaptionHeight: 30px;
|
|
|
|
statisticsChartBottomCaptionSkip: 15px;
|
|
|
|
|
2023-07-11 01:30:09 +03:00
|
|
|
statisticsChartBottomCaptionMaxWidth: 44px;
|
|
|
|
|
2023-07-11 16:39:38 +03:00
|
|
|
statisticsChartFooterSkip: 10px;
|
|
|
|
statisticsChartFooterHeight: 52px;
|
|
|
|
|
2023-09-11 14:53:31 +03:00
|
|
|
statisticsChartFlatCheckboxMargins: margins(4px, 4px, 4px, 4px);
|
2023-07-14 06:50:26 +03:00
|
|
|
statisticsChartFlatCheckboxCheckWidth: 4px;
|
|
|
|
|
2023-09-08 13:46:11 +03:00
|
|
|
statisticsDetailsPopupHeaderStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(9px semibold);
|
|
|
|
}
|
2023-07-06 14:09:16 +03:00
|
|
|
statisticsDetailsPopupStyle: TextStyle(defaultTextStyle) {
|
2023-09-08 13:46:11 +03:00
|
|
|
font: font(8px);
|
2023-07-06 14:09:16 +03:00
|
|
|
}
|
2023-07-10 17:29:52 +03:00
|
|
|
statisticsDetailsBottomCaptionStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(10px);
|
|
|
|
}
|
2023-08-24 23:01:39 +03:00
|
|
|
|
2023-09-14 16:16:51 +03:00
|
|
|
statisticsPieChartFont: font(20px);
|
2023-09-15 04:46:28 +03:00
|
|
|
statisticsPieChartPartOffset: 8px;
|
2023-09-14 16:16:51 +03:00
|
|
|
|
2023-08-24 23:01:39 +03:00
|
|
|
statisticsChartHeaderHeight: 20px;
|
|
|
|
statisticsHeaderTitleTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(12px semibold);
|
|
|
|
}
|
|
|
|
statisticsHeaderDatesTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(11px semibold);
|
|
|
|
}
|
2023-08-25 00:08:59 +03:00
|
|
|
statisticsHeaderButton: RoundButton(defaultLightButton) {
|
|
|
|
width: -14px;
|
|
|
|
height: statisticsChartHeaderHeight;
|
|
|
|
textTop: 2px;
|
|
|
|
font: font(11px semibold);
|
|
|
|
}
|