From b6018c390fc935e09ba2ba87a4ae44caaa380ba6 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood
Date: Thu, 30 Jul 2015 20:21:09 +0500
Subject: [PATCH 1/2] Improving smoothness of RHS search
---
web/sass-files/sass/partials/_responsive.scss | 17 +++++++++++------
web/sass-files/sass/partials/_search.scss | 2 ++
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/web/sass-files/sass/partials/_responsive.scss b/web/sass-files/sass/partials/_responsive.scss
index 81b94ab5a25..e3f1404135c 100644
--- a/web/sass-files/sass/partials/_responsive.scss
+++ b/web/sass-files/sass/partials/_responsive.scss
@@ -427,9 +427,9 @@
body {
&.white {
.inner__wrap {
- >.row.content {
- margin-bottom: -185px;
- }
+ >.row.content {
+ margin-bottom: -185px;
+ }
}
}
}
@@ -447,6 +447,9 @@
}
}
}
+ .search__clear {
+ display: block;
+ }
.search-bar__container {
padding: 0;
height: 45px;
@@ -457,15 +460,17 @@
@include translateX(-45px);
}
.search__form {
- padding-left: 10px;
- padding-right: 67px;
+ @include translateX(-45px);
+ padding-left: 55px;
+ padding-right: 24px;
}
.search__clear {
- display: block;
+ @include translateX(0px);
}
}
.search__form {
border: none;
+ @include translateX(0px);
padding: 7px 20px 0 49px;
height: 45px;
position: relative;
diff --git a/web/sass-files/sass/partials/_search.scss b/web/sass-files/sass/partials/_search.scss
index e2168ef7573..9ae41ebb044 100644
--- a/web/sass-files/sass/partials/_search.scss
+++ b/web/sass-files/sass/partials/_search.scss
@@ -7,6 +7,8 @@
right: 0;
line-height: 45px;
margin-right: 13px;
+ @include single-transition(all, 0.2s, linear);
+ @include translateX(60px);
z-index: 5;
cursor: pointer;
}
From eae619e170d796f2003161ad0ac41525f5a32b01 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood
Date: Fri, 31 Jul 2015 15:59:37 +0500
Subject: [PATCH 2/2] MM-1473 - Updating text for close buttons
---
web/react/components/delete_channel_modal.jsx | 2 +-
web/react/components/edit_channel_modal.jsx | 2 +-
web/react/components/invite_member_modal.jsx | 2 +-
web/react/components/rename_channel_modal.jsx | 2 +-
web/react/components/rename_team_modal.jsx | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/web/react/components/delete_channel_modal.jsx b/web/react/components/delete_channel_modal.jsx
index e23a377402c..64ceec45028 100644
--- a/web/react/components/delete_channel_modal.jsx
+++ b/web/react/components/delete_channel_modal.jsx
@@ -47,7 +47,7 @@ module.exports = React.createClass({
-
+
diff --git a/web/react/components/edit_channel_modal.jsx b/web/react/components/edit_channel_modal.jsx
index a35a531b527..1b0cc185fc7 100644
--- a/web/react/components/edit_channel_modal.jsx
+++ b/web/react/components/edit_channel_modal.jsx
@@ -63,7 +63,7 @@ module.exports = React.createClass({
{ server_error }
-
+
diff --git a/web/react/components/invite_member_modal.jsx b/web/react/components/invite_member_modal.jsx
index 94be2acd6bf..fed96b50a2c 100644
--- a/web/react/components/invite_member_modal.jsx
+++ b/web/react/components/invite_member_modal.jsx
@@ -212,7 +212,7 @@ module.exports = React.createClass({
People invited automatically join Town Square channel.
-
+
diff --git a/web/react/components/rename_channel_modal.jsx b/web/react/components/rename_channel_modal.jsx
index d67ab3afe19..26593b7fa37 100644
--- a/web/react/components/rename_channel_modal.jsx
+++ b/web/react/components/rename_channel_modal.jsx
@@ -139,7 +139,7 @@ module.exports = React.createClass({
-
+
diff --git a/web/react/components/rename_team_modal.jsx b/web/react/components/rename_team_modal.jsx
index dfd775a3b1b..bebdd666277 100644
--- a/web/react/components/rename_team_modal.jsx
+++ b/web/react/components/rename_team_modal.jsx
@@ -83,7 +83,7 @@ module.exports = React.createClass({
-
+