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,7 +16,8 @@ ...@@ -16,7 +16,8 @@
box-sizing: border-box; box-sizing: border-box;
} }
.simple-search-icon { @include icons {
&.simple-search-icon {
float: left; float: left;
display: inline; display: inline;
font-size: 1.1em; font-size: 1.1em;
...@@ -24,10 +25,11 @@ ...@@ -24,10 +25,11 @@
margin-left: -100%; margin-left: -100%;
position: relative; position: relative;
right: 19 / 14 * 1em; right: 19 / 14 * 1em;
}
}
:not(:focus) ~ & { :not(:focus) ~ .simple-search-icon {
color: $gray-lighter; color: $gray-lighter;
}
} }
.simple-search-input { .simple-search-input {
......
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