summaryrefslogtreecommitdiffstats
path: root/src/components/Form
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Form')
-rw-r--r--src/components/Form/Form.module.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/Form/Form.module.scss b/src/components/Form/Form.module.scss
index fcf8d15..577c3c8 100644
--- a/src/components/Form/Form.module.scss
+++ b/src/components/Form/Form.module.scss
@@ -54,3 +54,17 @@
.required {
color: var(--color-secondary);
}
+
+.wrapper--search {
+ > input {
+ padding-right: calc(var(--btn-size) + var(--spacing-2xs));
+
+ &:hover ~ button {
+ transform: translate(fun.convert-px(-3), fun.convert-px(-3));
+ }
+
+ &:focus ~ button {
+ transform: translate(fun.convert-px(3), fun.convert-px(3));
+ }
+ }
+}