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-07-13 21:59:40 +00:00
|
|
|
statisticsChartHeight: 150px;
|
|
|
|
|
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-07-07 08:28:50 +00:00
|
|
|
statisticsDetailsDotRadius: 4px;
|
|
|
|
statisticsChartLineWidth: 2px;
|
2023-07-06 11:09:16 +00:00
|
|
|
|
2023-07-11 02:35:46 +00:00
|
|
|
statisticsChartFooterSideWidth: 22px;
|
|
|
|
statisticsChartFooterArrowSize: size(10px, 30px);
|
|
|
|
|
2023-07-10 23:55:42 +00:00
|
|
|
statisticsChartHorizontalLineCaptionSkip: 4px;
|
|
|
|
|
2023-07-07 15:17:09 +00:00
|
|
|
statisticsChartBottomCaptionHeight: 30px;
|
|
|
|
statisticsChartBottomCaptionSkip: 15px;
|
|
|
|
|
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-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
|
|
|
|
|
|
|
statisticsChartHeaderHeight: 20px;
|
|
|
|
statisticsHeaderTitleTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(12px semibold);
|
|
|
|
}
|
|
|
|
statisticsHeaderDatesTextStyle: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(11px semibold);
|
|
|
|
}
|
2023-08-24 21:08:59 +00:00
|
|
|
statisticsHeaderButton: RoundButton(defaultLightButton) {
|
|
|
|
width: -14px;
|
|
|
|
height: statisticsChartHeaderHeight;
|
|
|
|
textTop: 2px;
|
|
|
|
font: font(11px semibold);
|
|
|
|
}
|