2018-06-02 14:29:21 +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 "basic.style";
|
|
|
|
|
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
using "boxes/boxes.style";
|
|
|
|
|
|
|
|
exportPanelSize: size(364px, 480px);
|
|
|
|
exportSettingPadding: margins(22px, 8px, 22px, 8px);
|
2018-06-15 18:56:17 +00:00
|
|
|
exportSubSettingPadding: margins(56px, 4px, 22px, 12px);
|
|
|
|
exportHeaderLabel: FlatLabel(boxTitle) {
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(15px semibold);
|
|
|
|
linkFont: font(15px semibold);
|
|
|
|
linkFontOver: font(15px semibold underline);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
exportHeaderPadding: margins(22px, 20px, 22px, 9px);
|
2018-08-31 13:01:42 +00:00
|
|
|
exportFileSizeSlider: MediaSlider(defaultContinuousSlider) {
|
2018-06-15 18:56:17 +00:00
|
|
|
seekSize: size(15px, 15px);
|
|
|
|
}
|
|
|
|
exportFileSizeLabel: LabelSimple(defaultLabelSimple) {
|
|
|
|
font: boxTextFont;
|
|
|
|
}
|
|
|
|
exportFileSizePadding: margins(22px, 8px, 22px, 8px);
|
|
|
|
exportFileSizeLabelBottom: 18px;
|
2018-06-22 19:46:20 +00:00
|
|
|
|
|
|
|
exportLocationLabel: FlatLabel(boxLabel) {
|
|
|
|
maxHeight: 21px;
|
|
|
|
}
|
|
|
|
exportLocationPadding: margins(22px, 8px, 22px, 8px);
|
2018-10-06 11:06:07 +00:00
|
|
|
exportLimitsPadding: margins(22px, 0px, 22px, 0px);
|
2018-06-22 19:46:20 +00:00
|
|
|
|
2018-06-22 23:53:03 +00:00
|
|
|
exportAboutOptionLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
minWidth: 175px;
|
|
|
|
}
|
|
|
|
exportAboutOptionPadding: margins(22px, 0px, 22px, 16px);
|
|
|
|
|
2018-06-19 10:42:21 +00:00
|
|
|
exportErrorLabel: FlatLabel(boxLabel) {
|
|
|
|
minWidth: 175px;
|
|
|
|
align: align(top);
|
|
|
|
textFg: boxTextFgError;
|
|
|
|
}
|
2018-06-19 18:31:30 +00:00
|
|
|
|
|
|
|
exportProgressDuration: 200;
|
|
|
|
exportProgressRowHeight: 30px;
|
|
|
|
exportProgressRowPadding: margins(22px, 10px, 22px, 20px);
|
|
|
|
exportProgressLabel: FlatLabel(boxLabel) {
|
|
|
|
textFg: windowBoldFg;
|
|
|
|
maxHeight: 20px;
|
|
|
|
style: TextStyle(defaultTextStyle) {
|
|
|
|
font: font(14px semibold);
|
|
|
|
linkFont: font(14px semibold);
|
|
|
|
linkFontOver: font(14px semibold);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
exportProgressInfoLabel: FlatLabel(boxLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
maxHeight: 20px;
|
2018-06-20 15:54:13 +00:00
|
|
|
style: boxTextStyle;
|
2018-06-19 18:31:30 +00:00
|
|
|
}
|
|
|
|
exportProgressWidth: 3px;
|
|
|
|
exportProgressFg: mediaPlayerActiveFg;
|
|
|
|
exportProgressBg: mediaPlayerInactiveFg;
|
2018-06-20 00:02:36 +00:00
|
|
|
|
2018-06-20 15:54:13 +00:00
|
|
|
exportCancelButton: RoundButton(attentionBoxButton) {
|
|
|
|
width: 200px;
|
|
|
|
height: 44px;
|
|
|
|
textTop: 12px;
|
|
|
|
font: font(semibold 15px);
|
|
|
|
}
|
|
|
|
exportCancelBottom: 30px;
|
|
|
|
exportDoneButton: RoundButton(defaultActiveButton) {
|
|
|
|
width: 200px;
|
|
|
|
height: 44px;
|
|
|
|
textTop: 12px;
|
|
|
|
font: font(semibold 15px);
|
|
|
|
}
|
|
|
|
|
|
|
|
exportAboutLabel: FlatLabel(boxLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
exportAboutPadding: margins(22px, 10px, 22px, 0px);
|
|
|
|
|
2018-06-20 00:02:36 +00:00
|
|
|
exportTopBarLabel: FlatLabel(defaultFlatLabel) {
|
|
|
|
maxHeight: 20px;
|
|
|
|
palette: TextPalette(defaultTextPalette) {
|
|
|
|
linkFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
}
|
2018-10-06 18:51:07 +00:00
|
|
|
exportCalendarSizes: CalendarSizes(defaultCalendarSizes) {
|
|
|
|
width: 320px;
|
|
|
|
daysHeight: 32px;
|
|
|
|
cellSize: size(42px, 38px);
|
|
|
|
cellInner: 32px;
|
|
|
|
padding: margins(14px, 15px, 14px, 10px);
|
|
|
|
}
|