2024-01-24 20:10:08 +00:00
|
|
|
#zotero-tabs-menu-panel::part(content) {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-12-22 06:06:42 +00:00
|
|
|
#zotero-tabs-menu-wrapper {
|
2024-01-25 18:43:10 +00:00
|
|
|
width: 350px;
|
2023-12-22 06:06:42 +00:00
|
|
|
background: var(--material-sidepane);
|
2024-05-01 06:00:15 +00:00
|
|
|
padding: 0;
|
2023-12-22 06:06:42 +00:00
|
|
|
border-radius: 5px;
|
2024-01-25 18:43:10 +00:00
|
|
|
--width-focus-border: 2px;
|
2024-05-01 06:00:15 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 0;
|
2023-12-22 06:06:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tabs-menu-filter {
|
2024-05-01 06:00:15 +00:00
|
|
|
margin: 7px 7px 2px 7px;
|
2023-12-22 06:06:42 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding-inline-start: 5px !important;
|
|
|
|
padding: 2px;
|
2024-03-02 07:51:55 +00:00
|
|
|
|
|
|
|
@media not (-moz-platform: windows) {
|
|
|
|
@include focus-ring;
|
|
|
|
}
|
2023-12-22 06:06:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tabs-menu-list {
|
|
|
|
appearance: none;
|
|
|
|
margin: 0;
|
2024-05-01 06:00:15 +00:00
|
|
|
overflow-x: hidden;
|
|
|
|
scrollbar-width: thin;
|
|
|
|
padding: 5px 0;
|
2023-12-22 06:06:42 +00:00
|
|
|
|
2024-01-25 18:43:10 +00:00
|
|
|
.row {
|
|
|
|
display: flex;
|
2024-05-01 06:00:15 +00:00
|
|
|
padding-inline: 4px;
|
2024-01-25 18:43:10 +00:00
|
|
|
}
|
|
|
|
|
2023-12-22 06:06:42 +00:00
|
|
|
.zotero-tabs-menu-entry {
|
2024-01-10 20:42:53 +00:00
|
|
|
@include focus-ring;
|
2023-12-22 06:06:42 +00:00
|
|
|
border-radius: 6px;
|
|
|
|
height: 22px;
|
|
|
|
margin: 0;
|
|
|
|
&.close {
|
|
|
|
width: 22px;
|
2024-01-25 18:43:10 +00:00
|
|
|
// Center the icon within the larger box
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
&[hidden] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2023-12-22 06:06:42 +00:00
|
|
|
}
|
|
|
|
&.title {
|
|
|
|
padding: 0;
|
|
|
|
padding-inline-start: 6px;
|
|
|
|
color: unset;
|
2024-01-25 18:43:10 +00:00
|
|
|
// Align label with the icon
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
2023-12-22 06:06:42 +00:00
|
|
|
&.selected {
|
2024-01-12 22:45:01 +00:00
|
|
|
font-weight: 600;
|
2023-12-22 06:06:42 +00:00
|
|
|
}
|
2024-01-25 18:43:10 +00:00
|
|
|
label {
|
2023-12-22 06:06:42 +00:00
|
|
|
overflow: hidden;
|
2024-01-07 09:17:40 +00:00
|
|
|
// override default description margins
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-block-start: 0;
|
2024-01-29 07:40:09 +00:00
|
|
|
// show as much of the description as possible
|
|
|
|
white-space: nowrap;
|
|
|
|
min-width: 280px;
|
|
|
|
text-overflow: ellipsis;
|
2024-01-25 18:43:10 +00:00
|
|
|
// Fx115: make label have the right width
|
|
|
|
max-width: 280px;
|
|
|
|
display: inline-block;
|
2024-01-07 09:17:40 +00:00
|
|
|
}
|
|
|
|
.tab-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2024-01-25 18:43:10 +00:00
|
|
|
margin-inline-end: 4px;
|
2023-12-22 06:06:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-29 07:57:36 +00:00
|
|
|
&:hover {
|
2023-12-22 06:06:42 +00:00
|
|
|
background-color: var(--fill-quinary) !important;
|
|
|
|
}
|
|
|
|
&:active {
|
|
|
|
background-color: var(--fill-quarternary) !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#zotero-tabs-menu-dragged {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|