2023-12-15 17:51:39 +08:00
|
|
|
.toolbar {
|
2024-04-13 00:44:17 -07:00
|
|
|
height: $height-toolbar !important; /* Hard-code this to fix toolbar icon compression on Linux */
|
|
|
|
min-height: $height-toolbar; /* Needed to prevent squashing by stretched tag selector */
|
2023-12-15 17:51:39 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0px 8px 0px 8px;
|
|
|
|
min-width: 1px;
|
|
|
|
}
|
|
|
|
|
2024-01-10 11:39:21 -05:00
|
|
|
:root:-moz-locale-dir(rtl) {
|
2023-12-15 17:51:39 +08:00
|
|
|
.zotero-tb-button > .toolbarbutton-icon {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.zotero-toolbar {
|
|
|
|
-moz-appearance: none;
|
|
|
|
@media (-moz-platform: macos) {
|
|
|
|
-moz-window-dragging: drag;
|
|
|
|
}
|
|
|
|
@media not (-moz-platform: macos) {
|
|
|
|
-moz-window-dragging: no-drag;
|
|
|
|
}
|
2023-12-20 19:29:28 +08:00
|
|
|
|
|
|
|
@include macOS-inactive-opacity;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-layout-switcher .zotero-toolbar {
|
|
|
|
background: var(--material-toolbar);
|
|
|
|
border-bottom: var(--material-panedivider);
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-toolbar,
|
|
|
|
#zotero-items-toolbar,
|
|
|
|
#zotero-item-pane-header,
|
|
|
|
#zotero-tabs-toolbar {
|
|
|
|
toolbarbutton {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
padding: 0px 4px 0px 4px;
|
|
|
|
|
|
|
|
&[type="menu"] {
|
|
|
|
min-width: 0;
|
|
|
|
width: 40px;
|
|
|
|
}
|
|
|
|
}
|
2024-01-10 22:11:19 -06:00
|
|
|
}
|
2023-12-15 17:51:39 +08:00
|
|
|
|
2024-01-10 22:11:19 -06:00
|
|
|
#zotero-items-toolbar,
|
|
|
|
#zotero-tabs-toolbar {
|
|
|
|
toolbarbutton {
|
|
|
|
margin: 0px 4px 0px 4px;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
2024-01-10 22:11:19 -06:00
|
|
|
}
|
2023-12-15 17:51:39 +08:00
|
|
|
|
2024-01-10 22:11:19 -06:00
|
|
|
#zotero-items-toolbar:first-child {
|
|
|
|
margin-inline-start: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-toolbar {
|
|
|
|
border-bottom: 1px solid transparent;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-search {
|
|
|
|
max-width: 0;
|
2023-12-23 14:35:23 -08:00
|
|
|
transition: max-width 0.2s ease;
|
2024-01-10 11:22:18 -05:00
|
|
|
padding: 0;
|
|
|
|
padding-inline-end: 6px;
|
2023-12-15 17:51:39 +08:00
|
|
|
margin: 0;
|
|
|
|
appearance: none;
|
2024-01-09 14:11:25 -05:00
|
|
|
height: 28px;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-search.visible {
|
|
|
|
max-width: 180px;
|
2023-12-23 14:35:23 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-search.expanding {
|
2024-01-10 11:22:18 -05:00
|
|
|
padding-inline-end: 35px;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide collection search on pane collapse, otherwise it still shows when focused */
|
|
|
|
#zotero-collections-pane[collapsed=true] #zotero-collections-search.visible {
|
2024-01-24 16:46:19 -05:00
|
|
|
display: none;
|
2023-12-15 17:51:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the add button on pane collapse. Otherwise, it may show on top of 'New Item' */
|
|
|
|
#zotero-collections-pane[collapsed=true] #zotero-tb-collection-add {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.zotero-tb-button {
|
|
|
|
-moz-user-focus: normal;
|
|
|
|
}
|
2024-01-10 05:57:25 -05:00
|
|
|
|
|
|
|
/* Label in toolbar for dev mode or troubleshooting mode */
|
|
|
|
.toolbar-mode-warning {
|
2024-01-12 16:45:01 -06:00
|
|
|
font-weight: 600;
|
2024-01-10 05:57:25 -05:00
|
|
|
cursor: pointer;
|
|
|
|
margin: 0 .8em 0 .2em;
|
|
|
|
color: red;
|
|
|
|
|
|
|
|
&.safe-mode {
|
|
|
|
color: darkblue;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
color: lightblue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-18 14:32:31 +01:00
|
|
|
|
|
|
|
#zotero-tb-pq-recognize {
|
|
|
|
@include svgicon-menu('pdf-search-spinner', 'universal', '20');
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tb-pq-recognize .toolbarbutton-icon {
|
|
|
|
width: 18px;
|
|
|
|
margin-top: 1px;
|
2024-04-11 17:10:18 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
toolbox {
|
|
|
|
@media (-moz-platform: linux) {
|
|
|
|
background: Menu;
|
|
|
|
appearance: initial;
|
|
|
|
}
|
2024-04-13 00:44:17 -07:00
|
|
|
}
|