Commit 8f7af991 authored by Aron Carroll's avatar Aron Carroll

Increase specificity of simple-search icon

We were seeing the styles being over-ridden if icomoon.css was injected
after simple-search.scss.

Fixes #1764
parent 2cac6563
......@@ -16,20 +16,22 @@
box-sizing: border-box;
}
.simple-search-icon {
float: left;
display: inline;
font-size: 1.1em;
line-height: 2;
margin-left: -100%;
position: relative;
right: 19 / 14 * 1em;
:not(:focus) ~ & {
color: $gray-lighter;
@include icons {
&.simple-search-icon {
float: left;
display: inline;
font-size: 1.1em;
line-height: 2;
margin-left: -100%;
position: relative;
right: 19 / 14 * 1em;
}
}
:not(:focus) ~ .simple-search-icon {
color: $gray-lighter;
}
.simple-search-input {
float: left;
outline: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment