Skip to content

Instantly share code, notes, and snippets.

@neewy
Created March 7, 2017 20:27
Show Gist options
  • Save neewy/eed2f52e0713d8d40c715a764132702d to your computer and use it in GitHub Desktop.
Save neewy/eed2f52e0713d8d40c715a764132702d to your computer and use it in GitHub Desktop.
.searchForm .formGroup {
float: right !important;
transition: all 0.35s, border-radius 0s;
width: 32px;
height: 32px;
background-color: #fff;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
border-radius: 25px;
border: 1px solid #ccc;
}
.searchForm .formGroup input.formControl {
padding-right: 20px;
border: 0 none;
background: transparent;
box-shadow: none;
display:block;
}
.searchForm .formFroup input.form-control::-webkit-input-placeholder {
display: none;
}
.searchForm .form-group input.form-control:-moz-placeholder {
/* Firefox 18- */
display: none;
}
.searchForm .form-group input.form-control::-moz-placeholder {
/* Firefox 19+ */
display: none;
}
.searchForm .formGroup input.formControl:-ms-input-placeholder {
display: none;
}
.searchForm .formGroup:hover,
.searchForm .formGroup.hover {
width: 100%;
border-radius: 4px 25px 25px 4px;
}
.searchForm .formGroup span.formControlFeedback {
position: absolute;
top: -1px;
right: -2px;
z-index: 2;
display: block;
width: 34px;
height: 34px;
line-height: 34px;
text-align: center;
color: #3596e0;
left: initial;
font-size: 14px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment