profile.style 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. using "ui/basic.style";
  8. using "ui/widgets/widgets.style";
  9. using "info/info.style";
  10. profileBg: windowBg;
  11. profileTopBarHeight: topBarHeight;
  12. profileDropAreaBg: profileBg;
  13. profileDropAreaFg: lightButtonFg;
  14. profileDropAreaPadding: margins(25px, 3px, 25px, 20px);
  15. profileDropAreaTitleFont: font(24px);
  16. profileDropAreaTitleTop: 30px;
  17. profileDropAreaSubtitleFont: font(16px);
  18. profileDropAreaSubtitleTop: 68px;
  19. profileDropAreaBorderFg: profileDropAreaFg;
  20. profileDropAreaBorderWidth: 3px;
  21. profileDropAreaDuration: 200;
  22. profileBlockMarginTop: 14px;
  23. profileBlockTitleHeight: 24px;
  24. profileBlockTitleFont: font(14px semibold);
  25. profileBlockTitleFg: windowBoldFg;
  26. profileBlockTitlePosition: point(24px, 0px);
  27. profileBlockTextPart: FlatLabel(defaultFlatLabel) {
  28. minWidth: 180px;
  29. margin: margins(5px, 5px, 5px, 5px);
  30. }
  31. profileBlockOneLineTextPart: FlatLabel(profileBlockTextPart) {
  32. minWidth: 0px; // No need to set minWidth in one-line text.
  33. maxHeight: 20px;
  34. }
  35. profileMemberNameFg: windowBoldFg;