-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent-newsletter.css
71 lines (59 loc) · 1.38 KB
/
component-newsletter.css
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
60
61
62
63
64
65
66
67
68
69
70
71
.newsletter-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
position: relative;
}
@media screen and (min-width: 750px) {
.newsletter-form {
align-items: flex-start;
margin: 0 auto;
max-width: 36rem;
}
}
.newsletter-form__field-wrapper {
width: 100%;
}
.newsletter-form__field-wrapper .field__input {
padding-right: 5rem;
}
.newsletter-form__field-wrapper .field {
z-index: 0;
}
.newsletter-form__message {
justify-content: center;
margin-bottom: 0;
}
.newsletter-form__message--success {
margin-top: 2rem;
}
@media screen and (min-width: 750px) {
.newsletter-form__message {
justify-content: flex-start;
}
}
.newsletter-form__button {
width: 4.4rem;
margin: 0;
right: var(--inputs-border-width);
top: 0;
height: 100%;
z-index: 2;
}
.newsletter-form__button:focus-visible {
box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0 0.4rem rgba(var(--color-foreground));
background-color: rgb(var(--color-background));
}
.newsletter-form__button:focus {
box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0 0.4rem rgba(var(--color-foreground));
background-color: rgb(var(--color-background));
}
.newsletter-form__button:not(:focus-visible):not(.focused) {
box-shadow: inherit;
background-color: inherit;
}
.newsletter-form__button .icon {
width: 1.5rem;
}