Fix duplicate x icon (cancel) on active search field.
Fixes #1136. // FREEBIE
This commit is contained in:
parent
fdf04f6229
commit
931441a057
3 changed files with 1 additions and 12 deletions
|
@ -147,8 +147,6 @@ input.search {
|
||||||
display: block;
|
display: block;
|
||||||
width: $search-x-size;
|
width: $search-x-size;
|
||||||
height: $search-x-size;
|
height: $search-x-size;
|
||||||
background: url('/images/x.svg') no-repeat center;
|
|
||||||
background-size: cover;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-search-cancel-button:hover {
|
&::-webkit-search-cancel-button:hover {
|
||||||
|
|
|
@ -112,10 +112,6 @@ $text-dark: #CCCCCC;
|
||||||
background-color: $grey-dark_l3;
|
background-color: $grey-dark_l3;
|
||||||
border-color: $grey-dark_l2;
|
border-color: $grey-dark_l2;
|
||||||
@include invert-text-color;
|
@include invert-text-color;
|
||||||
&::-webkit-search-cancel-button {
|
|
||||||
background: url('/images/x_white.svg') no-repeat center;
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
&.active.ltr, &.active.rtl {
|
&.active.ltr, &.active.rtl {
|
||||||
background-image: url('/images/x_white.svg');
|
background-image: url('/images/x_white.svg');
|
||||||
}
|
}
|
||||||
|
|
|
@ -855,9 +855,7 @@ input.search {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
display: block;
|
display: block;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px; }
|
||||||
background: url("/images/x.svg") no-repeat center;
|
|
||||||
background-size: cover; }
|
|
||||||
input.search::-webkit-search-cancel-button:hover {
|
input.search::-webkit-search-cancel-button:hover {
|
||||||
cursor: pointer; }
|
cursor: pointer; }
|
||||||
|
|
||||||
|
@ -2004,9 +2002,6 @@ li.entry .error-icon-container {
|
||||||
.android-dark .search::selection {
|
.android-dark .search::selection {
|
||||||
background: white;
|
background: white;
|
||||||
color: #454545; }
|
color: #454545; }
|
||||||
.android-dark .search::-webkit-search-cancel-button {
|
|
||||||
background: url("/images/x_white.svg") no-repeat center;
|
|
||||||
background-size: cover; }
|
|
||||||
.android-dark .search.active.ltr, .android-dark .search.active.rtl {
|
.android-dark .search.active.ltr, .android-dark .search.active.rtl {
|
||||||
background-image: url("/images/x_white.svg"); }
|
background-image: url("/images/x_white.svg"); }
|
||||||
.android-dark .bubble {
|
.android-dark .bubble {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue