From cf726f16dbb63198804c8720f10d8cc2a6097417 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 16 Feb 2015 13:30:11 +1030 Subject: [PATCH] Add a little spin transition on the search 'x' :) --- ember/app/styles/flarum/components.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ember/app/styles/flarum/components.less b/ember/app/styles/flarum/components.less index 8aa70c8df..74d69b6f0 100644 --- a/ember/app/styles/flarum/components.less +++ b/ember/app/styles/flarum/components.less @@ -137,11 +137,13 @@ float: left; margin-left: -36px; vertical-align: top; - .scale(0.001); - .transition(~"transform 0.15s"); + opacity: 0; + .rotate(-180deg); + .transition(~"transform 0.2s, opacity 0.2s"); } .search-input.clearable .clear { - .scale(1); + opacity: 1; + .rotate(0deg); } // Select inputs