zotero/scss/components/_search.scss
Tom Najdek 9ff76d2dd9 Restyle Tag Selector
* Render a colored dot for colored tags
* Improve spacing and positioning, especially on 2x screens
* Add scss map for tag colors in light/dark scheme
* Add support for compact/comfortable in tag selector
* Restyle filter box, add a placeholder and a new icon
2024-01-24 04:03:12 -05:00

32 lines
No EOL
524 B
SCSS

.search {
position: relative;
min-width: 40px;
}
.search input {
background: var(--material-background);
border-radius: 5px;
border: var(--material-border-quinary);
color: var(--fill-primary);
flex: 1 0;
margin: 6px 4px;
min-width: 40px;
padding: 3px 7px;
&::placeholder {
color: var(--fill-tertiary);
opacity: 1.0;
}
&:focus {
outline: none;
border-color: SelectedItem;
box-shadow: 0 0 0 2px SelectedItem;
}
}
.search .search-cancel-button {
position: absolute;
right: 6px;
cursor: default;
}