blob: 87b79c15939e4e1d47629d44afecede7a6434f19 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
@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;
}
}
}
// larger tablet to smaller laptop screen size
@media screen and (max-width: 1380px) {
.messenger-form {
width: 100%;
}
}
// mobile to smaller tablet screen sizes
@media screen and (max-width: 820px) {
.messenger-form {
@include flex-column-center;
width: 100%;
& div {
width: 100%;
}
}
}
|