tdesktop/Telegram/SourceFiles/statistics/statistics.style

93 lines
2.4 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/basic.style";
using "window/window.style";
using "ui/widgets/widgets.style";
statisticsLayerMargins: margins(20px, 0px, 20px, 0px);
statisticsChartHeight: 150px;
statisticsChartEntryPadding: margins(0px, 8px, 0px, 8px);
statisticsDetailsArrowShift: 2px;
statisticsDetailsArrowStroke: 1.5;
statisticsDetailsPopupMargins: margins(8px, 8px, 8px, 8px);
statisticsDetailsPopupPadding: margins(6px, 6px, 6px, 6px);
statisticsDetailsPopupMidLineSpace: 4px;
statisticsDetailsDotRadius: 4px;
statisticsChartLineWidth: 2px;
statisticsChartFooterBetweenSide: 5px;
statisticsChartFooterSideWidth: 10px;
statisticsChartFooterArrowSize: size(10px, 30px);
statisticsChartHorizontalLineCaptionSkip: 4px;
statisticsChartBottomCaptionHeight: 30px;
statisticsChartBottomCaptionSkip: 15px;
statisticsChartBottomCaptionMaxWidth: 44px;
statisticsChartFooterSkip: 10px;
statisticsChartFooterHeight: 52px;
statisticsChartFlatCheckboxMargins: margins(4px, 4px, 4px, 4px);
statisticsChartFlatCheckboxCheckWidth: 4px;
statisticsFilterButtonsPadding: margins(0px, 6px, 0px, 0px);
statisticsDetailsPopupHeaderStyle: TextStyle(defaultTextStyle) {
font: font(9px semibold);
}
statisticsDetailsPopupStyle: TextStyle(defaultTextStyle) {
font: font(8px);
}
statisticsDetailsBottomCaptionStyle: TextStyle(defaultTextStyle) {
font: font(10px);
}
statisticsPieChartFont: font(20px);
statisticsPieChartPartOffset: 8px;
statisticsChartHeaderHeight: 20px;
statisticsHeaderTitleTextStyle: TextStyle(defaultTextStyle) {
font: font(12px semibold);
}
statisticsHeaderDatesTextStyle: TextStyle(defaultTextStyle) {
font: font(11px semibold);
}
statisticsHeaderButton: RoundButton(defaultLightButton) {
width: -14px;
height: statisticsChartHeaderHeight;
textTop: 2px;
font: font(11px semibold);
}
statisticsLoadingSubtext: FlatLabel(changePhoneDescription) {
minWidth: 256px;
}
statisticsOverviewValue: FlatLabel(boxLabel) {
minWidth: 0px;
maxHeight: 60px;
style: TextStyle(defaultTextStyle) {
font: font(12px semibold);
}
}
statisticsOverviewSecondValueSkip: 2px;
statisticsOverviewSecondValue: FlatLabel(boxLabel) {
minWidth: 152px;
maxHeight: 32px;
textFg: windowSubTextFg;
style: TextStyle(defaultTextStyle) {
font: font(10px semibold);
}
}