Skip to content

Instantly share code, notes, and snippets.

@emranweb
Last active June 25, 2021 08:05
Show Gist options
  • Save emranweb/fb90ba90dc42eaf14dbc401cc1ff9e5e to your computer and use it in GitHub Desktop.
Save emranweb/fb90ba90dc42eaf14dbc401cc1ff9e5e to your computer and use it in GitHub Desktop.
Input Field
// Forms
.control-group {
margin-bottom: 1rem;
}
.form-group {
.input-group-prepend {
display: none;
}
}
label {
font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 34px;
text-transform: uppercase;
}
.sppb-form-group .sppb-form-control,
.form-control {
display: block;
width: 100%;
background-color: transparent;
border: 1px solid #adadad;
height: 76px;
padding: 12px 25px;
border-radius: 0px;
font-weight: 500;
font-size: 16px;
color: #FFFFFF;
&:focus {
border-color: $link_color;
box-shadow: none !important;
background-color:#ECECEC ;
}
}
.form-control.validate-password {
border-top-left-radius: 5px !important;
border-bottom-left-radius: 5px !important;
}
//placeholder color
::-webkit-input-placeholder {
font-weight: 500;
font-size: 16px;
line-height: 26px;
color: $link_color;
}
.form-check-input{
position: relative;
}
select.form-control:not([multiple]),
select.inputbox:not([multiple]),
select:not([multiple]) {
height: calc(2.25rem + 2px);
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select {
&:not(.form-control) {
@extend .form-control;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment