2023-12-15 09:51:39 +00:00
|
|
|
// | 6px padding | 16px icon width | 2px padding | 8px dropmarker width | 4px padding |
|
2023-04-01 05:37:55 +00:00
|
|
|
quick-search-textbox {
|
2023-12-15 09:51:39 +00:00
|
|
|
--search-textbox-width: 172px;
|
2023-04-01 05:37:55 +00:00
|
|
|
font-size: var(--zotero-font-size);
|
2022-07-07 03:42:23 +00:00
|
|
|
margin-right: 0;
|
2023-12-15 09:51:39 +00:00
|
|
|
width: var(--search-textbox-width);
|
|
|
|
height: 28px;
|
|
|
|
|
|
|
|
*[zoteroFontSize=small] {
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(search-textbox)::part(search-sign),
|
|
|
|
:is(search-textbox)::part(search-icon) {
|
|
|
|
@include svgicon-menu("magnifier", "universal", "16");
|
|
|
|
color: var(--fill-secondary);
|
2024-01-10 16:34:36 +00:00
|
|
|
// right: 2px padding + 8px dropmarker width + 4px padding + 6px padding
|
|
|
|
// Use explicit left/right padding here because this element is flipped in RTL (see _search.scss)
|
|
|
|
padding: 6px 14px 6px 6px;
|
2024-01-10 15:49:38 +00:00
|
|
|
margin: 0;
|
2023-12-15 09:51:39 +00:00
|
|
|
}
|
2022-07-07 03:42:23 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
#zotero-tb-search-dropmarker {
|
|
|
|
position: relative;
|
|
|
|
// 6px padding + 16px icon width + 2px padding + 8px dropmarker width + 4px padding
|
|
|
|
width: 36px;
|
2024-01-10 15:49:38 +00:00
|
|
|
margin-inline-end: -36px;
|
2023-12-15 09:51:39 +00:00
|
|
|
z-index: 2;
|
2023-04-01 05:37:55 +00:00
|
|
|
}
|
|
|
|
|
2022-07-07 03:42:23 +00:00
|
|
|
#zotero-tb-search-menu-button {
|
2023-12-15 09:51:39 +00:00
|
|
|
width: 36px;
|
|
|
|
height: 28px;
|
|
|
|
// 6px padding + 16px icon width + 2px padding
|
2024-01-10 15:49:38 +00:00
|
|
|
padding-block: 0;
|
|
|
|
padding-inline: 24px 4px;
|
2022-07-07 03:42:23 +00:00
|
|
|
margin: 0;
|
2023-12-15 09:51:39 +00:00
|
|
|
border: 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
appearance: none;
|
2022-07-07 03:42:23 +00:00
|
|
|
min-width: 0;
|
|
|
|
cursor: default;
|
2023-12-15 09:51:39 +00:00
|
|
|
@include svgicon-menu("chevron-6", "universal", "8");
|
|
|
|
color: var(--fill-secondary);
|
|
|
|
background: transparent;
|
2022-07-07 03:42:23 +00:00
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
&:focus-visible {
|
|
|
|
outline: none;
|
|
|
|
box-shadow: 0 0 0 var(--width-focus-border) var(--color-focus-border);
|
|
|
|
}
|
2022-07-07 03:42:23 +00:00
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
.button-menu-dropmarker {
|
|
|
|
display: none; /* Hide automatic dropmarker */
|
|
|
|
}
|
2022-07-07 03:42:23 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 09:51:39 +00:00
|
|
|
#zotero-tb-search-textbox {
|
2024-01-10 15:49:38 +00:00
|
|
|
padding: 0;
|
|
|
|
padding-inline-end: 6px;
|
2023-12-15 09:51:39 +00:00
|
|
|
margin: 0;
|
2023-10-31 08:04:13 +00:00
|
|
|
position: relative;
|
2024-01-10 15:49:38 +00:00
|
|
|
inset-inline-start: 0;
|
2023-12-15 09:51:39 +00:00
|
|
|
width: var(--search-textbox-width);
|
|
|
|
height: 28px;
|
|
|
|
z-index: 1;
|
2022-07-07 03:42:23 +00:00
|
|
|
}
|
2023-12-19 08:26:52 +00:00
|
|
|
|
|
|
|
#zotero-tb-search-spinner {
|
|
|
|
margin: 0 8px;
|
2024-01-10 15:49:38 +00:00
|
|
|
}
|