ZaStoGram_desktop/Telegram/SourceFiles/boxes/url_auth_box_content.style
John Preston 7afdf74b6c Pinned login confirmation buttons below its scroll.
Widened the box and kept the account switcher clear of the scrollbar.
2026-10-17 11:22:02 +04:00

54 lines
1.3 KiB
Text

/*
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 "boxes/boxes.style";
urlAuthBox: Box(defaultBox) {
buttonPadding: margins(0px, 0px, 0px, 12px);
buttonHeight: 0px;
}
urlAuthDetailsBox: Box(urlAuthBox) {
buttonPadding: margins(0px, 0px, 0px, 0px);
}
urlAuthBoxTitle: FlatLabel(boxTitle) {
minWidth: 40px;
maxHeight: 0px;
align: align(top);
}
urlAuthCodesTitle: FlatLabel(defaultPeerListAbout) {
textFg: boxTitleFg;
style: TextStyle(defaultTextStyle) {
font: boxTitleFont;
}
}
urlAuthCheckboxAbout: FlatLabel(defaultPeerListAbout) {
style: TextStyle(boxTextStyle) {
font: font(12px);
}
}
urlAuthCodesButton: RoundButton(defaultLightButton) {
height: 58px;
textTop: 19px;
style: TextStyle(semiboldTextStyle) {
font: font(20px semibold);
}
}
urlAuthBoxRowTopLabel: FlatLabel(boxLabel) {
maxHeight: 30px;
}
urlAuthBoxRowBottomLabel: FlatLabel(defaultFlatLabel) {
textFg: windowSubTextFg;
maxHeight: 30px;
}
urlAuthBoxRowAddressLabel: FlatLabel(urlAuthBoxRowTopLabel) {
style: TextStyle(boxLabelStyle) {
font: font(12px);
}
palette: TextPalette(defaultTextPalette) {
monoFg: windowFg;
}
}