blob: a2a9c4003242b028dc847e58d05fca1bc51fa235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
}
}
}
|