mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
parent
24a249353c
commit
06ef9ab657
7 changed files with 63 additions and 1 deletions
|
|
@ -337,7 +337,12 @@ Services.scriptloader.loadSubScript('chrome://zotero/content/elements/itemTreeMe
|
||||||
patchedFunction: "connectedCallback",
|
patchedFunction: "connectedCallback",
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
linux: [],
|
linux: [
|
||||||
|
{
|
||||||
|
element: "dialog",
|
||||||
|
patchedFunction: "connectedCallback"
|
||||||
|
}
|
||||||
|
],
|
||||||
};
|
};
|
||||||
for (let [key, configs] of Object.entries(InjectCSSConfig)) {
|
for (let [key, configs] of Object.entries(InjectCSSConfig)) {
|
||||||
if (key == "win" && !Zotero.isWin) continue;
|
if (key == "win" && !Zotero.isWin) continue;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
@import "components/editBibliographyDialog";
|
@import "components/editBibliographyDialog";
|
||||||
@import "components/exportOptions";
|
@import "components/exportOptions";
|
||||||
@import "components/feedSettings";
|
@import "components/feedSettings";
|
||||||
|
@import "components/input";
|
||||||
@import "components/icons";
|
@import "components/icons";
|
||||||
@import "components/import-wizard";
|
@import "components/import-wizard";
|
||||||
@import "components/item-tree";
|
@import "components/item-tree";
|
||||||
|
|
@ -46,6 +47,7 @@
|
||||||
@import "components/longTagFixer";
|
@import "components/longTagFixer";
|
||||||
@import "components/mainWindow";
|
@import "components/mainWindow";
|
||||||
@import "components/menu";
|
@import "components/menu";
|
||||||
|
@import "components/menulist";
|
||||||
@import "components/notesList";
|
@import "components/notesList";
|
||||||
@import "components/progressMeter";
|
@import "components/progressMeter";
|
||||||
@import "components/publications-dialog";
|
@import "components/publications-dialog";
|
||||||
|
|
|
||||||
|
|
@ -37,4 +37,12 @@ button {
|
||||||
max-height: 25px;
|
max-height: 25px;
|
||||||
margin: 0 -2px -1px;
|
margin: 0 -2px -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (-moz-platform: linux) {
|
||||||
|
// fx140 form element styling fix
|
||||||
|
appearance: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: ThreeDShadow;
|
||||||
|
padding: 0.3em 1.5em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
scss/components/_input.scss
Normal file
13
scss/components/_input.scss
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
input {
|
||||||
|
@media (-moz-platform: linux) {
|
||||||
|
// fx140 form element styling fix
|
||||||
|
appearance: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: .3em .5em;
|
||||||
|
border: 1px solid ThreeDShadow;
|
||||||
|
|
||||||
|
&[type="button"] {
|
||||||
|
padding: .3em 1.5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
10
scss/components/_menulist.scss
Normal file
10
scss/components/_menulist.scss
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
menulist {
|
||||||
|
@media (-moz-platform: linux) {
|
||||||
|
// fx140 form element styling fix
|
||||||
|
appearance: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
border-color: ThreeDShadow;
|
||||||
|
padding: .3em .5em;
|
||||||
|
background: var(--arrowpanel-background);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -22,8 +22,10 @@
|
||||||
|
|
||||||
@import "components/button";
|
@import "components/button";
|
||||||
@import "components/icons";
|
@import "components/icons";
|
||||||
|
@import "components/input";
|
||||||
@import "components/listheader";
|
@import "components/listheader";
|
||||||
@import "components/menu";
|
@import "components/menu";
|
||||||
|
@import "components/menulist";
|
||||||
@import "components/richlistbox";
|
@import "components/richlistbox";
|
||||||
@import "components/search";
|
@import "components/search";
|
||||||
@import "components/spinner";
|
@import "components/spinner";
|
||||||
|
|
|
||||||
22
scss/xulElementPatches/dialog-unix.scss
Normal file
22
scss/xulElementPatches/dialog-unix.scss
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
// Override/enhance mozilla <dialog> styles. See customElements.js
|
||||||
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
|
@namespace html url("http://www.w3.org/1999/xhtml");
|
||||||
|
|
||||||
|
@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";
|
||||||
|
|
||||||
|
@import "../components/button";
|
||||||
|
@import "../components/input";
|
||||||
Loading…
Add table
Reference in a new issue