aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/component/widget/style/Input.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/reading/component/widget/style/Input.scala')
-rw-r--r--src/main/scala/reading/component/widget/style/Input.scala10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/scala/reading/component/widget/style/Input.scala b/src/main/scala/reading/component/widget/style/Input.scala
index 9453640..a9d61dc 100644
--- a/src/main/scala/reading/component/widget/style/Input.scala
+++ b/src/main/scala/reading/component/widget/style/Input.scala
@@ -26,6 +26,14 @@ object Input extends StyleSheet.Inline {
display.flex,
height(100.%%),
alignItems.center,
- cursor.pointer
+ cursor.pointer,
+ opacity(0),
+ transition := "opacity 0.2s ease-in-out"
)
+
+ val showClear = style(
+ opacity(1)
+ )
+
+ val empty = style()
}