init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
104
Telegram/SourceFiles/export/view/export.style
Normal file
104
Telegram/SourceFiles/export/view/export.style
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
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 "ui/widgets/widgets.style";
|
||||
using "boxes/boxes.style";
|
||||
|
||||
exportPanelSize: size(364px, 480px);
|
||||
exportSettingPadding: margins(22px, 8px, 22px, 8px);
|
||||
exportSubSettingPadding: margins(56px, 4px, 22px, 12px);
|
||||
exportHeaderLabel: FlatLabel(boxTitle) {
|
||||
style: TextStyle(defaultTextStyle) {
|
||||
font: font(15px semibold);
|
||||
}
|
||||
}
|
||||
exportHeaderPadding: margins(22px, 20px, 22px, 9px);
|
||||
exportFileSizeSlider: MediaSlider(defaultContinuousSlider) {
|
||||
seekSize: size(15px, 15px);
|
||||
}
|
||||
exportFileSizeLabel: LabelSimple(defaultLabelSimple) {
|
||||
font: boxTextFont;
|
||||
}
|
||||
exportFileSizePadding: margins(22px, 8px, 22px, 8px);
|
||||
exportFileSizeLabelBottom: 18px;
|
||||
|
||||
exportLocationLabel: FlatLabel(boxLabel) {
|
||||
maxHeight: 21px;
|
||||
}
|
||||
exportLocationPadding: margins(22px, 8px, 22px, 8px);
|
||||
exportLimitsPadding: margins(22px, 0px, 22px, 0px);
|
||||
|
||||
exportAboutOptionLabel: FlatLabel(defaultFlatLabel) {
|
||||
textFg: windowSubTextFg;
|
||||
minWidth: 175px;
|
||||
}
|
||||
exportAboutOptionPadding: margins(22px, 0px, 22px, 16px);
|
||||
|
||||
exportErrorLabel: FlatLabel(boxLabel) {
|
||||
minWidth: 175px;
|
||||
align: align(top);
|
||||
textFg: boxTextFgError;
|
||||
}
|
||||
|
||||
exportProgressDuration: 200;
|
||||
exportProgressRowHeight: 30px;
|
||||
exportProgressRowPadding: margins(22px, 10px, 22px, 10px);
|
||||
exportProgressRowSkip: 10px;
|
||||
exportProgressLabel: FlatLabel(boxLabel) {
|
||||
textFg: windowBoldFg;
|
||||
maxHeight: 20px;
|
||||
style: TextStyle(defaultTextStyle) {
|
||||
font: font(14px semibold);
|
||||
}
|
||||
}
|
||||
exportProgressInfoLabel: FlatLabel(boxLabel) {
|
||||
textFg: windowSubTextFg;
|
||||
maxHeight: 20px;
|
||||
style: boxTextStyle;
|
||||
}
|
||||
exportProgressWidth: 3px;
|
||||
exportProgressFg: mediaPlayerActiveFg;
|
||||
exportProgressBg: mediaPlayerInactiveFg;
|
||||
|
||||
exportCancelButton: RoundButton(attentionBoxButton) {
|
||||
width: 200px;
|
||||
height: 44px;
|
||||
textTop: 12px;
|
||||
style: TextStyle(semiboldTextStyle) {
|
||||
font: font(semibold 15px);
|
||||
}
|
||||
}
|
||||
exportCancelBottom: 30px;
|
||||
exportDoneButton: RoundButton(defaultActiveButton) {
|
||||
width: 200px;
|
||||
height: 44px;
|
||||
textTop: 12px;
|
||||
style: TextStyle(semiboldTextStyle) {
|
||||
font: font(semibold 15px);
|
||||
}
|
||||
}
|
||||
|
||||
exportAboutLabel: FlatLabel(boxLabel) {
|
||||
textFg: windowSubTextFg;
|
||||
}
|
||||
exportAboutPadding: margins(22px, 10px, 22px, 0px);
|
||||
|
||||
exportTopBarLabel: FlatLabel(defaultFlatLabel) {
|
||||
maxHeight: 20px;
|
||||
palette: TextPalette(defaultTextPalette) {
|
||||
linkFg: windowSubTextFg;
|
||||
}
|
||||
}
|
||||
exportCalendarSizes: CalendarSizes(defaultCalendarSizes) {
|
||||
width: 320px;
|
||||
daysHeight: 40px;
|
||||
cellSize: size(42px, 38px);
|
||||
cellInner: 32px;
|
||||
padding: margins(14px, 0px, 14px, 0px);
|
||||
}
|
||||
Reference in New Issue
Block a user