2019-03-20 08:42:53 +00:00
|
|
|
.search {
|
|
|
|
position: relative;
|
2019-03-29 05:45:32 +00:00
|
|
|
min-width: 40px;
|
2023-12-15 09:51:39 +00:00
|
|
|
height: 36px;
|
|
|
|
|
|
|
|
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;
|
2023-12-20 11:47:07 +00:00
|
|
|
border-color: var(--color-focus-search);
|
|
|
|
box-shadow: 0 0 0 calc(var(--width-focus-border) - 1px) var(--color-focus-search);
|
2023-12-15 09:51:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-cancel-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
padding: 5px 8px 5px 5px;
|
|
|
|
margin: 6px 4px 6px 0px;
|
|
|
|
cursor: default;
|
|
|
|
background: url(resource://gre-resources/searchfield-cancel.svg) no-repeat center/contain;
|
|
|
|
background-size: unset;
|
|
|
|
}
|
2019-03-20 08:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
search-textbox {
|
|
|
|
appearance: none;
|
2023-10-18 12:16:08 +00:00
|
|
|
background: var(--material-background);
|
|
|
|
border-radius: 5px;
|
|
|
|
border: var(--material-border-quinary);
|
|
|
|
color: var(--fill-primary);
|
2023-12-15 09:51:39 +00:00
|
|
|
padding: 0px 6px 0px 0px;
|
2023-10-18 12:16:08 +00:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: var(--fill-tertiary);
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2023-12-15 09:51:39 +00:00
|
|
|
border-color: transparent;
|
2023-12-20 11:47:07 +00:00
|
|
|
box-shadow: 0 0 0 var(--width-focus-border) var(--color-focus-search);
|
2023-10-18 12:16:08 +00:00
|
|
|
}
|
2019-03-20 08:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
:is(search-textbox)::part(search-sign),
|
|
|
|
:is(search-textbox)::part(search-icon) {
|
|
|
|
@include svgicon-menu("magnifier", "universal", "16");
|
|
|
|
color: var(--fill-secondary);
|
|
|
|
// right: 2px padding + 8px dropmarker width + 4px padding + 6px padding
|
|
|
|
padding: 6px 4px 6px 6px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|