From 1cfafed23ead980b3be3e5ad4f2ae61ea0c4d86d Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Tue, 14 Feb 2017 06:07:43 +0900 Subject: [PLT-1412] Updated search buttons on mobile GH-5261 (#5306) * Update search buttons on mobile * removed commented codes in _mobile.scss * deleted 'search_bar.cancel' from webapp/i18n/en.json --- webapp/sass/components/_search.scss | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'webapp/sass/components/_search.scss') diff --git a/webapp/sass/components/_search.scss b/webapp/sass/components/_search.scss index 58216fefd..bdc285300 100644 --- a/webapp/sass/components/_search.scss +++ b/webapp/sass/components/_search.scss @@ -15,18 +15,6 @@ @include animation(spin .7s infinite linear); } -.search__clear { - @include single-transition(all, .2s, linear); - @include translateX(60px); - cursor: pointer; - display: none; - line-height: 45px; - margin-right: 13px; - position: absolute; - right: 0; - z-index: 5; -} - .search-item-snippet { @include clearfix; text-overflow: ellipsis; @@ -63,6 +51,18 @@ top: 15px; } +.sidebar__clear-icon { + @include opacity(.5); + color: $dark-gray; + width: 40px; + margin-right: 20px; + position: absolute; + top: 12px; + right: 0; + cursor: pointer; + visibility: hidden; +} + .search__form { position: relative; -- cgit v1.2.3-1-g7c22