2018-09-05 22:05:49 +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 "basic.style";
|
|
|
|
using "ui/widgets/widgets.style";
|
|
|
|
using "info/info.style";
|
2018-09-07 12:40:25 +03:00
|
|
|
using "boxes/boxes.style";
|
2018-09-05 22:05:49 +03:00
|
|
|
|
2018-09-07 12:40:25 +03:00
|
|
|
settingsSectionButton: InfoProfileButton(infoProfileButton) {
|
|
|
|
font: boxTextFont;
|
|
|
|
}
|
|
|
|
settingsButton: InfoProfileButton(settingsSectionButton) {
|
|
|
|
padding: margins(28px, 10px, 8px, 8px);
|
|
|
|
}
|
2018-09-06 00:01:50 +03:00
|
|
|
settingsSectionSkip: infoProfileSkip;
|
|
|
|
settingsButtonRightPosition: point(28px, 10px);
|
|
|
|
settingsButtonRight: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowActiveTextFg;
|
2018-09-07 12:40:25 +03:00
|
|
|
style: boxTextStyle;
|
2018-09-06 00:01:50 +03:00
|
|
|
}
|
2018-09-06 13:18:49 +03:00
|
|
|
settingsScalePadding: margins(79px, 10px, 28px, 8px);
|
|
|
|
settingsSlider: SettingsSlider(defaultSettingsSlider) {
|
|
|
|
labelFg: windowSubTextFg;
|
|
|
|
labelFgActive: windowActiveTextFg;
|
|
|
|
}
|
2018-09-07 12:40:25 +03:00
|
|
|
settingsUpdateToggle: InfoProfileButton(settingsButton) {
|
|
|
|
height: 38px;
|
|
|
|
}
|
|
|
|
settingsUpdateState: FlatLabel(defaultFlatLabel) {
|
|
|
|
textFg: windowSubTextFg;
|
|
|
|
}
|
|
|
|
settingsUpdate: InfoProfileButton(infoMainButton, settingsButton) {
|
|
|
|
}
|
|
|
|
settingsUpdateStatePosition: point(28px, 30px);
|
2018-09-06 20:58:44 +03:00
|
|
|
|
|
|
|
settingsNotificationsCheckbox: defaultBoxCheckbox;
|
|
|
|
settingsNotificationsCheckboxPadding: margins(22px, 10px, 10px, 10px);
|
|
|
|
settingsLink: boxLinkButton;
|
|
|
|
settingsAdvancedNotificationsPadding: margins(22px, 20px, 10px, 10px);
|