webapp/src/components/_shared/Newsletter/Newsletter.module.scss

97 lines
1.5 KiB
SCSS
Raw Normal View History

.form {
2023-08-31 21:53:07 +00:00
@include media-breakpoint-down(xxl) {
2022-11-20 21:23:12 +00:00
margin-bottom: 2.4rem;
}
display: flex;
2024-07-12 13:19:49 +00:00
flex-direction: column;
}
2024-07-12 13:19:49 +00:00
.controls {
2023-08-31 21:53:07 +00:00
@include media-breakpoint-down(xxl) {
2022-10-19 22:16:17 +00:00
flex-direction: column;
}
2024-07-12 13:19:49 +00:00
display: flex;
width: 100%;
.input {
2024-07-12 13:19:49 +00:00
@include media-breakpoint-up(xxl) {
border-right: none;
}
@include media-breakpoint-down(xxl) {
border-bottom: none;
}
2024-10-03 09:01:44 +00:00
font-size:2rem;
2022-09-09 11:53:35 +00:00
background: none;
color: #fff;
font-family: inherit;
2022-11-02 21:43:38 +00:00
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
padding: 0.2em 0.5em;
2022-09-09 11:53:35 +00:00
width: 100%;
outline: none;
border: 1px solid #fff;
border-radius: 0;
height: 4rem;
2022-09-09 11:53:35 +00:00
&::placeholder {
color: #858585;
}
2022-09-09 11:53:35 +00:00
}
2022-11-02 21:43:38 +00:00
.button {
2023-08-31 21:53:07 +00:00
@include media-breakpoint-down(xxl) {
width: 100%;
}
2024-07-12 13:19:49 +00:00
border-radius: 0;
flex-shrink: 0;
2022-09-09 11:53:35 +00:00
}
}
.error {
position: relative;
top: 4px;
font-size: 12px;
line-height: 16px;
color: #d00820;
}
2023-11-13 14:43:08 +00:00
.mobileSubscription {
margin-bottom: 5rem;
input[type='email'] {
background: #f7f7f8;
border: none;
border-radius: 1.6rem;
padding-right: 5.6rem;
&:not(:placeholder-shown) {
& ~ .mobileSubscriptionSubmit {
display: block;
}
}
}
}
.mobileSubscriptionSubmit {
aspect-ratio: 1/1;
display: none;
height: 100%;
position: absolute;
right: 0;
top: 0;
img {
aspect-ratio: 1/1;
left: 50%;
position: relative;
transform: translateX(-50%);
width: 16px !important;
}
}