diff --git a/Telegram/Resources/basic.style b/Telegram/Resources/basic.style index 7957db994..e06e944ed 100644 --- a/Telegram/Resources/basic.style +++ b/Telegram/Resources/basic.style @@ -279,7 +279,7 @@ shadowToggleDuration: 200; slideDuration: 240; slideShift: 100px; slideFadeOutBg: #0000003c; -slideShadow: icon {{ "slide_shadow", #000000 }}; +slideShadow: icon {{ "slide_shadow", windowShadowFg }}; btnYesColor: #0080c0; btnYesHover: #0073ad; diff --git a/Telegram/SourceFiles/dialogs/dialogs.style b/Telegram/SourceFiles/dialogs/dialogs.style index bc36e866d..a50ba0084 100644 --- a/Telegram/SourceFiles/dialogs/dialogs.style +++ b/Telegram/SourceFiles/dialogs/dialogs.style @@ -97,11 +97,10 @@ dialogsFilter: flatInput(inpDefGray) { bgColor: #f2f2f2; phColor: #949494; phFocusColor: #a4a4a4; - icon: fieldSearchIcon; width: 240px; height: 32px; - textMrg: margins(32px, 3px, 32px, 3px); + textMrg: margins(12px, 3px, 12px, 3px); } dialogsCancelSearch: IconButton(dialogsMenuToggle) { icon: icon {{ "dialogs_cancel_search", dialogsMenuIconFg, point(0px, 1px) }}; diff --git a/Telegram/SourceFiles/overview/overview.style b/Telegram/SourceFiles/overview/overview.style index 3c5ef8638..a9fb2ac68 100644 --- a/Telegram/SourceFiles/overview/overview.style +++ b/Telegram/SourceFiles/overview/overview.style @@ -20,6 +20,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org */ using "basic.style"; using "history/history.style"; +using "ui/widgets/widgets.style"; using "media/view/mediaview.style"; OverviewFileLayout { @@ -116,3 +117,15 @@ overviewLinksChecked: icon { { "overview_links_check_bg", overviewCheckedBg }, { "overview_links_check", #ffffff, point(4px, 5px) }, }; + +overviewFilter: flatInput(inpDefGray) { + font: font(fsize); + bgColor: #f2f2f2; + phColor: #949494; + phFocusColor: #a4a4a4; + icon: fieldSearchIcon; + + width: 240px; + height: 32px; + textMrg: margins(32px, 3px, 32px, 3px); +} diff --git a/Telegram/SourceFiles/overviewwidget.cpp b/Telegram/SourceFiles/overviewwidget.cpp index 7172ff36b..d5b19764c 100644 --- a/Telegram/SourceFiles/overviewwidget.cpp +++ b/Telegram/SourceFiles/overviewwidget.cpp @@ -54,7 +54,7 @@ OverviewInner::OverviewInner(OverviewWidget *overview, ScrollArea *scroll, PeerD , _history(App::history(_peer->id)) , _channel(peerToChannel(_peer->id)) , _rowWidth(st::msgMinWidth) -, _search(this, st::dialogsFilter, lang(lng_dlg_filter)) +, _search(this, st::overviewFilter, lang(lng_dlg_filter)) , _cancelSearch(this, st::dialogsCancelSearch) , _itemsToBeLoaded(LinksOverviewPerPage * 2) , _width(st::windowMinWidth) {