110 lines
2.8 KiB
Plaintext
110 lines
2.8 KiB
Plaintext
/*
|
|
This file is part of Telegram Desktop,
|
|
the official desktop version of Telegram messaging app, see https://telegram.org
|
|
|
|
Telegram Desktop is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
It is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
In addition, as a special exception, the copyright holders give permission
|
|
to link the code of portions of this program with the OpenSSL library.
|
|
|
|
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
|
Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
|
*/
|
|
using "basic.style";
|
|
using "basic_types.style";
|
|
|
|
dialogsUnreadFg: #ffffff;
|
|
dialogsUnreadFgActive: #5b94bf;
|
|
dialogsUnreadBg: windowActiveBg;
|
|
dialogsUnreadBgMuted: #bbbbbb;
|
|
dialogsUnreadBgActive: #ffffff;
|
|
dialogsUnreadBgMutedActive: #d3e2ee;
|
|
dialogsUnreadFont: font(12px bold);
|
|
dialogsUnreadHeight: 19px;
|
|
dialogsUnreadPadding: 5px;
|
|
|
|
dialogsBg: windowBg;
|
|
dialogsBgOver: #f5f5f5;
|
|
dialogsBgActive: #6a91b1;
|
|
dialogsTextFont: font(fsize);
|
|
dialogsTextFg: #888888;
|
|
dialogsTextFgService: #4981af;
|
|
dialogsTextFgActive: #ffffff;
|
|
dialogsDateFont: font(13px);
|
|
dialogsDateFgActive: #ffffff;
|
|
dialogsDateFg: #a8a8a8;
|
|
dialogsDateSkip: 5px;
|
|
dialogsNameFg: #000;
|
|
dialogsNameTop: 2px;
|
|
|
|
dialogsRowHeight: 62px;
|
|
dialogsFilterPadding: 10px;
|
|
dialogsPhotoSize: 46px;
|
|
dialogsPhotoPadding: 12px;
|
|
dialogsPadding: point(10px, 8px);
|
|
|
|
dialogsImportantBarHeight: 37px;
|
|
|
|
dialogsSkip: 8px;
|
|
|
|
dialogsWidthMin: 260px;
|
|
dialogsWidthMax: 540px;
|
|
dialogsTextWidthMin: 150px;
|
|
dialogsScroll: flatScroll(scrollDef) {
|
|
topsh: 0px;
|
|
bottomsh: 0px;
|
|
}
|
|
|
|
dialogsChatImgPos: point(1px, 4px);
|
|
dialogsChannelImgPos: point(3px, 4px);
|
|
dialogsImgSkip: 22px;
|
|
|
|
dialogsCheckLeft: 5px;
|
|
dialogsCheckTop: 4px;
|
|
dialogsCheckSkip: 3px;
|
|
|
|
dialogsTextStyle: textStyle(defaultTextStyle) {
|
|
linkFg: dialogsTextFgService;
|
|
linkFgDown: dialogsTextFgService;
|
|
linkFlagsOver: font(fsize);
|
|
}
|
|
dialogsTextStyleDraft: textStyle(dialogsTextStyle) {
|
|
linkFg: #dd4b39;
|
|
linkFgDown: #dd4b39;
|
|
}
|
|
dialogsTextStyleActive: textStyle(dialogsTextStyle) {
|
|
linkFg: dialogsTextFgActive;
|
|
linkFgDown: dialogsTextFgActive;
|
|
}
|
|
dialogsTextStyleDraftActive: textStyle(dialogsTextStyle) {
|
|
linkFg: #c6e1f7;
|
|
linkFgDown: #c6e1f7;
|
|
}
|
|
|
|
dialogsNewChatIcon: icon {
|
|
{ "dialogs_new_chat", #b7b7b7, point(9px, 10px) }
|
|
};
|
|
dialogsNewChatButton: RoundButton {
|
|
width: 36px;
|
|
height: 36px;
|
|
icon: dialogsNewChatIcon;
|
|
|
|
textTop: 5px;
|
|
downTextTop: 6px;
|
|
|
|
textFg: transparent;
|
|
textFgOver: transparent;
|
|
secondaryTextFg: transparent;
|
|
secondaryTextFgOver: transparent;
|
|
textBg: transparent;
|
|
textBgOver: transparent;
|
|
}
|