summaryrefslogtreecommitdiff
path: root/sass/components/_contact-form.scss
diff options
context:
space:
mode:
authorArne Rief <arne.rief@gmail.com>2023-02-10 21:40:00 +0100
committerArne Rief <arne.rief@gmail.com>2023-02-11 14:53:10 +0100
commit5bab4502a098eb0e3b5a59b68bc9d8d23529ea55 (patch)
treeb8a737694d1217f7af9a6884720678a179cacbb0 /sass/components/_contact-form.scss
Desktop version
Diffstat (limited to 'sass/components/_contact-form.scss')
-rw-r--r--sass/components/_contact-form.scss40
1 files changed, 40 insertions, 0 deletions
diff --git a/sass/components/_contact-form.scss b/sass/components/_contact-form.scss
new file mode 100644
index 0000000..a2a9c40
--- /dev/null
+++ b/sass/components/_contact-form.scss
@@ -0,0 +1,40 @@
+@use "../abstracts/" as *;
+
+.messenger-form {
+ @include standard-grid;
+ gap: 2rem;
+ width: 50%;
+
+ // container for each label & input
+ div {
+ display: flex;
+ align-items: flex-start;
+ justify-content: center;
+ flex-direction: column;
+ gap: 1rem;
+
+ // div container with textarea input spans entire column, pushes button to next row
+ &.text-area {
+ grid-column: 1 / 3;
+ }
+ }
+
+ label {
+ font-weight: bold;
+ }
+
+ input,
+ textarea {
+ background-color: $text-main;
+ border: none;
+ border-radius: 10px;
+ padding: 0.5rem;
+ width: 100%;
+
+ &:focus {
+ color: $text-main;
+ background-color: $bg-text-container;
+ outline: 3px solid $text-special-dark;
+ }
+ }
+}