bigbuffet-rw/app/styles/components/search.scss

63 lines
1,013 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 {
2020-06-02 19:11:01 -07:00
@include font-size(16);
cursor: default;
display: inline-block;
position: absolute;
top: 50%;
2022-05-06 11:24:08 -07:00
right: 16px;
transform: translateY(-50%);
2020-06-02 19:11:01 -07:00
z-index: 2;
width: 18px;
height: 18px;
2020-06-06 20:55:00 -07:00
color: var(--primary-text-color--faint);
2020-06-02 19:11:01 -07:00
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;
color: var(--highlight-text-color);
width: 22px;
height: 22px;
&:hover {
color: var(--brand-color);
}
2020-06-02 19:11:01 -07:00
}
}
.column {
.search {
padding: 10px 15px;
background-color: var(--foreground-color);
border-bottom: 1px solid hsla(var(--primary-text-color_hsl), 0.2);
}
2021-10-31 20:21:19 -07:00
.search__icon .svg-icon {
right: 24px;
}
}