File: /www/wwwroot/www.cytocare.cn/wp-content/themes/peakshops/assets/sass/shortcodes/_newsletter.scss
.thb-newsletter-form {
max-width: 650px;
h4 {
text-transform: uppercase;
letter-spacing: 0.07em;
font-weight: 600;
}
.widget_subscribe {
flex: 1;
border-radius: 3px;
min-width: 0;
@include min-break($break-small) {
margin-bottom: 0;
}
}
.thb-checkbox {
display: inline-block;
margin-top: 10px;
padding-left: 20px;
position: relative;
line-height: 1.2;
input {
position: absolute;
top: 3px;
left: 0;
}
label {
display: inline;
text-align: left;
font-size: 11px;
}
}
&.thb-subscribe-element {
margin: 0 auto;
.widget_subscribe {
@include min-break($break-small) {
min-width: 230px;
}
}
.newsletter-form {
max-width: 410px;
display: inline-flex;
width: 100%;
}
&.style2 {
display: flex;
flex-direction: column;
@include min-break($break-small) {
flex-direction: row;
}
justify-content: space-between;
align-items: center;
text-align: left;
max-width: none;
margin: 0;
p {
display: none;
}
h4 {
text-transform: uppercase;
line-height: 1;
letter-spacing: 0.1em;
margin: 15px 0;
font-size: 14px;
}
.newsletter-form {
@include min-break($break-small) {
max-width: 360px;
}
}
}
}
.btn {
border-radius: 3px;
font-size: 11px;
font-weight: 600;
padding: 0 15px;
@include min-break($break-small) {
margin-left: 6px;
.rtl & {
margin-left: 0;
margin-right: 8px;
}
}
}
.newsletter-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
.widget_subscribe,
.btn {
width: 100%;
}
@include min-break($break-small) {
flex-direction: row;
.widget_subscribe,
.btn {
width: auto;
}
}
&.thb-loading {
pointer-events: none;
input,
.btn {
opacity: 0.3;
}
&:after {
background-color: transparent;
width: 16px;
height: 16px;
top: 50%;
left: 50%;
margin: -8px 0 0 -8px;
background-size: 16px 16px;
}
}
} // .newsletter-form
}