summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_search.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-07-06 18:07:43 +0500
committerJoram Wilander <jwawilander@gmail.com>2017-07-06 09:07:43 -0400
commitd64d1f4029505f48bb86035a557e2f4229e55443 (patch)
treeeb71e96007d21f96ecc4957f802cb2302748ad4f /webapp/sass/components/_search.scss
parent97cfe62309d7f94a2ea041bc04a7ff25cb1c91fd (diff)
downloadchat-d64d1f4029505f48bb86035a557e2f4229e55443.tar.gz
chat-d64d1f4029505f48bb86035a557e2f4229e55443.tar.bz2
chat-d64d1f4029505f48bb86035a557e2f4229e55443.zip
PLT-6905 - Updating channel header design (#6789)
* PLT-6905 - Updating channel header design * Updating border-radius * Updating radius for wide icons * Updating trigger for overlay * Updating UI for channel header * Updating channel header sizing * Updating channel header css * Updating sidebar css * Updating status icons * Adjusting border * Updating comment * Removing type from status icon * Fixing UI issues for the channel header/sidebar * make "Add a channel description" open the channel header modal * Updating status and opacity * Updating stauts icon positioning * Updating description and heading size * Updating UI changes * Updating UI changes * add a focused class to the parent div .search__form and then remove when hover away * Fix active state for pinned posts icon * Updating UI changes * Update channel header text
Diffstat (limited to 'webapp/sass/components/_search.scss')
-rw-r--r--webapp/sass/components/_search.scss63
1 files changed, 19 insertions, 44 deletions
diff --git a/webapp/sass/components/_search.scss b/webapp/sass/components/_search.scss
index c25915252..e7fab0290 100644
--- a/webapp/sass/components/_search.scss
+++ b/webapp/sass/components/_search.scss
@@ -1,14 +1,7 @@
@charset 'UTF-8';
-.channel-header {
- .search-bar__container {
- padding: 0 7px 0 3px;
- }
-}
-
.search-bar__container {
- @include flex(0 0 56px);
- padding: 12px 5px 0 0;
+ @include flex(0 0 79px);
.channel-header__links {
.sidebar--right & {
@@ -31,30 +24,10 @@
}
}
-.sidebar__collapse {
- @include single-transition(all, .2s, linear);
- @include translateX(0);
- cursor: pointer;
- display: none;
- fill: $white;
- font-size: 35px;
- left: 0;
- line-height: 40px;
- padding-left: 1px;
- position: absolute;
- text-align: center;
- width: 49px;
- z-index: 5;
-}
-
-.sidebar__search-icon {
- @include opacity(.5);
- color: $dark-gray;
- display: none;
- font-size: 14px;
- margin-left: 10px;
+.search__icon {
+ left: 10px;
position: absolute;
- top: 15px;
+ top: 8px;
}
.sidebar__search-clear {
@@ -69,31 +42,33 @@
width: 40px;
}
+.search-form__container {
+
+}
+
.search__form {
position: relative;
.search-bar__container & {
- @include border-radius(2px);
+ @include border-radius(50px);
border: 1px solid $light-gray;
- margin: 0;
- width: 300px;
+ margin: 16px 10px 0 0;
+ width: 229px;
}
.sidebar--right & {
- float: left;
- margin-right: 7px;
- width: 325px;
+ width: 100%;
}
.search-bar {
+ background: transparent;
+ border: none;
box-shadow: none;
- height: 40px;
- padding-right: 30px;
-
- .search-bar__container & {
- border: none;
- height: 30px;
- }
+ font-size: 14px;
+ height: 35px;
+ outline: none;
+ padding: 0 30px 0 40px;
+ width: 100%;
}
.icon--refresh {