From fa7abf78f2d0140758ab6f44642f2820c5d52732 Mon Sep 17 00:00:00 2001 From: Er2 Date: Sat, 2 Apr 2022 12:01:45 +0300 Subject: [PATCH] search --- src/hide.less | 5 +++-- src/style.less | 17 +++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/hide.less b/src/hide.less index ba11a6d..a1c1e27 100644 --- a/src/hide.less +++ b/src/hide.less @@ -77,9 +77,10 @@ div[class^="socialLinks-"], // in settings at bottom nav[class^="nav-"], // breaks emoji panel, fixed at fixes.less // Search -[class^="searchBar-"], +nav > [class^="searchBar-"], +[role^="tab"] > [class^="searchBar-"], div[class^="quickswitcher-"], // Ctrl-K -div[class^="toolbar-3_"] > :not([aria-label="Close"]), // toolbar at top, FIXME: fixed string +div[class^="toolbar-3_"] > :nth-child(3) ~ *:not([class^="search-"]), // Sidebar div[class^="channelNotice-"], // sh** at bottom of server name like invite people, server boost etc. diff --git a/src/style.less b/src/style.less index c50435b..4fedb83 100644 --- a/src/style.less +++ b/src/style.less @@ -61,6 +61,7 @@ div[class^="categoryItem-"] > *, // in Discovery // UI parts + [class^="resultsGroup-"], // search div[class^="auditLog-"], div[class^="auditLog-"] > div, @@ -74,6 +75,7 @@ div[class^="select-"], div[class^="messagesWrapper-"] div, + div[class^="layer-"] > div[class^="container-"], div[class^="base-"] div[class^="content-"] > div:nth-child(2), div[class^="guildList-"] div[class^="container-"], div[class^="container"] > div, @@ -123,7 +125,7 @@ div[class^="messagesWrapper-"] div[class*="mentioned"] { .left-border(4px); } -// center titles +// title section, header, div[class^="content-"]::before, @@ -132,9 +134,6 @@ div[class^="tabBody-"]::before box-shadow: unset !important; } -section div[class^="children-"] -{ justify-content: center; } - // tabs div[class^="side-"] div[role="tab"], div[class^="tabBarItem-"] { @@ -145,16 +144,18 @@ div[class^="tabBarItem-"] { padding: 4px 8px; } -div[class^="tabBar-"] { - height: @tab-height; -} - [role="tab"][class*="selected-"], [role="tab"]:hover { background-color: var(--background-modifier-hover); } +// Pins +div[class^="messageGroupWrapper-"] { + border: none; + background-color: unset; +} + // Redesigned text input div[class^="attachedBars-"],