Files
edx-platform/lms/static/sass/discussion/views/_search.scss
Adam Butterworth 42cc0d0145 Fix all stylelint errors (#23920)
* Fix all stylelint errors

For any errors that fixing would require changing the output of the css disable stylelint for that line instead of modifying.

* Update quality.py

Make stylelint quality check pass when there are no errors

* Delete empty selectors
2020-05-06 16:07:14 -04:00

42 lines
611 B
SCSS

.forum-search {
display: flex;
margin-top: $baseline;
position: relative;
.search-input {
width: input-width(short);
}
.search-button {
margin-left: 0;
}
@include media-breakpoint-up(sm) {
@include margin-left($baseline);
margin-top: 0;
}
> label {
position: absolute;
display: block;
color: #495057;
transition: all 0.1s ease-in-out;
padding-left: 10px;
padding-top: 10px;
}
input::placeholder {
color: transparent;
}
input:not(:placeholder-shown) {
& ~ label {
padding-top: 0.15rem;
font-size: 10px;
}
}
}