2023-12-15 20:19:22 +00:00
|
|
|
@import "abstracts/variables";
|
|
|
|
@import "abstracts/functions";
|
|
|
|
@import "abstracts/mixins";
|
|
|
|
@import "abstracts/placeholders";
|
|
|
|
@import "abstracts/utilities";
|
|
|
|
@import "abstracts/split-button";
|
|
|
|
@import "abstracts/svgicon";
|
|
|
|
|
|
|
|
@import "themes/light";
|
|
|
|
@import "themes/dark";
|
|
|
|
|
|
|
|
// Base
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
@import "base/base";
|
|
|
|
|
|
|
|
$scaffold-toolbarbutton-icons: (
|
|
|
|
load: 'folder-open',
|
|
|
|
save: 'save',
|
|
|
|
saveToZotero: 'save-to-zotero',
|
|
|
|
detect: 'run-detect',
|
|
|
|
do: 'run-do',
|
|
|
|
template: 'plus'
|
|
|
|
);
|
|
|
|
|
|
|
|
@each $cls, $icon in $scaffold-toolbarbutton-icons {
|
|
|
|
#tb-#{$cls} {
|
|
|
|
@include svgicon-menu($icon, "universal", "20");
|
|
|
|
}
|
|
|
|
};
|
2021-12-29 01:32:56 +00:00
|
|
|
|
2023-12-15 20:19:22 +00:00
|
|
|
#zotero-toolbar {
|
|
|
|
toolbarbutton {
|
|
|
|
width: 28px;
|
|
|
|
height: 28px;
|
|
|
|
padding: 0 4px;
|
|
|
|
margin: 0 4px;
|
|
|
|
|
|
|
|
.toolbarbutton-menu-dropmarker {
|
|
|
|
margin-inline-start: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarseparator {
|
|
|
|
appearance: none;
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
|
|
|
background-color: var(--fill-quinary);
|
|
|
|
}
|
2021-12-29 01:32:56 +00:00
|
|
|
}
|
|
|
|
|
2023-12-06 20:50:13 +00:00
|
|
|
tab {
|
|
|
|
/* toolkit/themes/osx/global/tabbox.css sets selected tabs' text color to #FFF, which is incorrect */
|
|
|
|
color: initial !important;
|
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
#metadata-grid {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
display: grid;
|
|
|
|
align-content: start;
|
|
|
|
align-items: center;
|
|
|
|
grid-template-columns: max-content 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
#metadata-grid > label:nth-child(2n + 1) {
|
|
|
|
justify-self: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-row {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr max-content;
|
2019-08-02 10:09:36 +00:00
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
#tabpanel-metadata input {
|
|
|
|
height: 1.5em;
|
|
|
|
}
|
|
|
|
|
2023-12-06 20:50:13 +00:00
|
|
|
#metadata-bottom-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#metadata-bottom-row #textbox-minVersion {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
#hbox-testFrame {
|
2019-08-02 10:09:36 +00:00
|
|
|
-moz-box-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#output {
|
|
|
|
height:200px;
|
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
richlistbox {
|
2019-08-02 10:09:36 +00:00
|
|
|
min-width:200px;
|
|
|
|
}
|
|
|
|
|
2021-12-29 01:32:56 +00:00
|
|
|
#zotero-toolbar toolbarseparator {
|
|
|
|
height: 18px;
|
|
|
|
}
|
|
|
|
|
2023-12-24 05:13:25 +00:00
|
|
|
browser,
|
|
|
|
#appcontent
|
|
|
|
{
|
|
|
|
background: var(--material-toolbar);
|
|
|
|
}
|
|
|
|
|
|
|
|
#appcontent {
|
|
|
|
padding: 16px;
|
2021-12-29 01:32:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vbox > splitter {
|
2023-12-24 05:13:25 +00:00
|
|
|
cursor: row-rgb(4, 4, 4)e;
|
2021-12-29 01:32:56 +00:00
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
/* Adapted from Mozilla common-shared.css */
|
|
|
|
/* https://searchfox.org/mozilla-central/rev/2f5ed7b7244172d46f538051250b14fb4d8f1a5f/toolkit/themes/shared/in-content/common-shared.css */
|
|
|
|
|
|
|
|
select[size][multiple],
|
|
|
|
listheader,
|
|
|
|
richlistbox {
|
2023-12-15 20:19:22 +00:00
|
|
|
appearance: none;
|
|
|
|
margin-inline: 0;
|
2023-12-24 05:13:25 +00:00
|
|
|
background: var(--material-background);
|
|
|
|
border: var(--material-panedivider);
|
2022-06-08 22:16:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
listheader {
|
2023-12-15 20:19:22 +00:00
|
|
|
padding-bottom: 1px;
|
2022-06-08 22:16:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
treecol {
|
|
|
|
appearance: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
listheader + richlistbox {
|
2023-12-15 20:19:22 +00:00
|
|
|
margin-top: 0;
|
|
|
|
border-top: none;
|
2022-06-08 22:16:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
select[size][multiple] > option,
|
|
|
|
treechildren::-moz-tree-row {
|
2023-12-15 20:19:22 +00:00
|
|
|
padding: 0.3em;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
background-image: none;
|
2022-06-08 22:16:50 +00:00
|
|
|
}
|
|
|
|
|
2022-07-19 18:42:02 +00:00
|
|
|
richlistitem hbox {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
richlistitem[selected] menulist:focus-visible {
|
2023-12-15 20:19:22 +00:00
|
|
|
outline-offset: -2px;
|
2022-06-08 22:16:50 +00:00
|
|
|
}
|
|
|
|
|
2023-12-15 20:19:22 +00:00
|
|
|
richlistbox[disabled] {
|
2021-12-29 01:32:56 +00:00
|
|
|
opacity: 0.6;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2022-06-08 22:16:50 +00:00
|
|
|
dialog richlistbox > richlistitem[disabled] {
|
2021-12-29 01:32:56 +00:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#left-tabbox {
|
2023-12-24 05:13:25 +00:00
|
|
|
margin: 5px;
|
2019-08-02 10:09:36 +00:00
|
|
|
}
|
|
|
|
|
2021-12-29 01:32:56 +00:00
|
|
|
#checkboxes-translatorType checkbox {
|
|
|
|
margin-right: 10px;
|
2022-06-08 22:16:50 +00:00
|
|
|
display: inline-block;
|
2019-08-02 10:09:36 +00:00
|
|
|
}
|
|
|
|
|
2021-12-29 01:32:56 +00:00
|
|
|
#tabpanel-metadata label:first-child {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2023-12-24 05:13:25 +00:00
|
|
|
#pane-splitter {
|
|
|
|
// 16px (padding of tabbox container) - 9px
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#right-pane {
|
|
|
|
margin: -16px -16px -16px 0px;
|
|
|
|
border-left: var(--material-panedivider);
|
|
|
|
textarea {
|
|
|
|
outline: none;
|
|
|
|
border: 0;
|
|
|
|
}
|
2019-08-02 10:09:36 +00:00
|
|
|
}
|