Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style new LFEvents country fields #920

Merged
merged 3 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ div.hs_recaptcha,
margin-right: auto;
margin-bottom: 1rem;

input {
input, select {
margin-top: 0.4rem;
margin-bottom: 0;
}
Expand All @@ -28,7 +28,7 @@ div.hs_recaptcha,
margin-right: 10px;
}

input {
input, select {
margin-top: 0;
}
}
Expand Down Expand Up @@ -110,7 +110,8 @@ div.hs_recaptcha,
overflow: hidden;
}

.searchandfilter .sf-input-text, .hbspt-form .hs-form .hs-input {
.searchandfilter .sf-input-text,
.hbspt-form .hs-form .hs-input {
&:focus,
&:focus-within {
&::placeholder {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,19 @@
}

@media (min-width: 900px) {
grid-template-columns: 2.5fr 2.5fr 3fr 1.75fr;
grid-template-columns: 2.5fr 2.5fr 2.5fr 3fr 1.75fr;
}

@media (max-width: 900px) {
input {
input, select {
margin-top: 0.75rem;
}
}

// underline input style.
input[type='text'],
input[type='email'] {
input[type='email'],
select.hs-input {
height: 40px;
padding: 0.5em 0 calc(0.5em + 1px) 0;
width: 100%;
Expand All @@ -49,6 +50,7 @@
color: $white;
border-bottom: 1px solid $lf-blue;
transition: all 0.25s ease;
margin-bottom: 0;

&::placeholder {
color: $pure-white;
Expand All @@ -69,7 +71,7 @@
}

// Control autocomplete styles.
input {
input, select {
&:focus {
box-shadow: none;
}
Expand Down
Loading