pleroma/app/styles/components/search.scss

45 lines
696 B
SCSS
Raw Normal View History

2020-06-02 19:11:01 -07:00
.search {
position: relative;
}
.search__icon {
&::-moz-focus-inner {
border: 0;
}
&::-moz-focus-inner,
&:focus {
outline: 0 !important;
}
2021-09-12 16:54:38 -07:00
.svg-icon {
@apply right-4 rtl:left-4 rtl:right-auto text-gray-400;
2020-06-02 19:11:01 -07:00
@include font-size(16);
cursor: default;
display: inline-block;
position: absolute;
top: 50%;
transform: translateY(-50%);
2020-06-02 19:11:01 -07:00
z-index: 2;
width: 18px;
height: 18px;
opacity: 0;
pointer-events: none;
&.active {
pointer-events: auto;
opacity: 1;
}
}
.svg-icon--search.active {
pointer-events: none;
}
.svg-icon--backspace {
2020-06-02 19:11:01 -07:00
cursor: pointer;
width: 22px;
height: 22px;
}
}