1
0
mirror of https://github.com/flarum/core.git synced 2025-07-26 03:01:22 +02:00

Add a little spin transition on the search 'x' :)

This commit is contained in:
Toby Zerner
2015-02-16 13:30:11 +10:30
parent ed55ebf7da
commit cf726f16db

View File

@@ -137,11 +137,13 @@
float: left; float: left;
margin-left: -36px; margin-left: -36px;
vertical-align: top; vertical-align: top;
.scale(0.001); opacity: 0;
.transition(~"transform 0.15s"); .rotate(-180deg);
.transition(~"transform 0.2s, opacity 0.2s");
} }
.search-input.clearable .clear { .search-input.clearable .clear {
.scale(1); opacity: 1;
.rotate(0deg);
} }
// Select inputs // Select inputs