Fix dialog background
This commit is contained in:
parent
2f9a12c2da
commit
982289b484
16 changed files with 55 additions and 11 deletions
|
@ -8,16 +8,18 @@
|
||||||
<window
|
<window
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
onload="moveToAlertPosition(); sizeToContent(); document.getElementById('zotero-about').getButton('accept').focus();"
|
onload="moveToAlertPosition(); sizeToContent(); document.getElementById('zotero-about').getButton('accept').focus();"
|
||||||
inwindowmenu="false">
|
inwindowmenu="false"
|
||||||
|
class="zotero-window">
|
||||||
<dialog
|
<dialog
|
||||||
id="zotero-about"
|
id="zotero-about"
|
||||||
|
class="zotero-window"
|
||||||
buttons="accept"
|
buttons="accept"
|
||||||
buttonlabelaccept="&zotero.about.close;"
|
buttonlabelaccept="&zotero.about.close;"
|
||||||
ondialogaccept="return true;">
|
ondialogaccept="return true;">
|
||||||
|
|
||||||
<script src="include.js"/>
|
<script src="include.js"/>
|
||||||
|
|
||||||
<vbox id="aboutcontent">
|
<vbox id="aboutcontent" class="zotero-dialog">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<img id="logo" src="chrome://zotero/skin/zotero.svg" alt="Zotero" />
|
<img id="logo" src="chrome://zotero/skin/zotero.svg" alt="Zotero" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
||||||
|
|
||||||
<window data-l10n-id="import-window"
|
<window data-l10n-id="import-window"
|
||||||
|
id="import-wizard-window"
|
||||||
|
class="zotero-window"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
onload="Zotero_Import_Wizard.init()"
|
onload="Zotero_Import_Wizard.init()"
|
||||||
|
@ -21,7 +23,7 @@
|
||||||
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<wizard id="import-wizard" class="import-wizard" width="600" height="400">
|
<wizard id="import-wizard" class="import-wizard zotero-window" width="600" height="400">
|
||||||
<wizardpage pageid="page-start" data-header-label-id="import-where-from">
|
<wizardpage pageid="page-start" data-header-label-id="import-where-from">
|
||||||
<radiogroup id="import-source-group" align="start">
|
<radiogroup id="import-source-group" align="start">
|
||||||
<radio value="file" data-l10n-id="import-source-file" />
|
<radio value="file" data-l10n-id="import-source-file" />
|
||||||
|
|
|
@ -26,10 +26,12 @@
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
||||||
|
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css" type="text/css"?>
|
||||||
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
|
||||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
id="zotero-select-item-dialog"
|
id="zotero-select-item-dialog"
|
||||||
|
class="zotero-dialog"
|
||||||
title="&zotero.selectitems.title;" width="400" height="330"
|
title="&zotero.selectitems.title;" width="400" height="330"
|
||||||
persist="width height screenX screenY"
|
persist="width height screenX screenY"
|
||||||
onload="Zotero_Ingester_Interface_SelectItems.init()">
|
onload="Zotero_Ingester_Interface_SelectItems.init()">
|
||||||
|
@ -44,7 +46,7 @@
|
||||||
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<vbox id="zotero-select-items-container" flex="1">
|
<vbox id="zotero-select-items-container" class="zotero-dialog" flex="1">
|
||||||
<caption label="&zotero.selectitems.intro.label;" id="zotero-selectitems-intro"/>
|
<caption label="&zotero.selectitems.intro.label;" id="zotero-selectitems-intro"/>
|
||||||
<box flex="1">
|
<box flex="1">
|
||||||
<richlistbox id="zotero-selectitems-links" flex="1"></richlistbox>
|
<richlistbox id="zotero-selectitems-links" flex="1"></richlistbox>
|
||||||
|
|
|
@ -8,10 +8,13 @@
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
title="&zotero.sync.error;"
|
title="&zotero.sync.error;"
|
||||||
|
id="zotero-long-tag-fixer-window"
|
||||||
|
class="zotero-dialog"
|
||||||
width="600"
|
width="600"
|
||||||
onload="Zotero_Long_Tag_Fixer.init()">
|
onload="Zotero_Long_Tag_Fixer.init()">
|
||||||
<dialog
|
<dialog
|
||||||
id="zotero-long-tag-fixer"
|
id="zotero-long-tag-fixer"
|
||||||
|
class="zotero-dialog"
|
||||||
buttons="cancel,accept"
|
buttons="cancel,accept"
|
||||||
>
|
>
|
||||||
<html:div id="intro">
|
<html:div id="intro">
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
id="new-collection-dialog"
|
id="new-collection-dialog"
|
||||||
|
class="zotero-dialog"
|
||||||
data-l10n-id="new-collection-dialog"
|
data-l10n-id="new-collection-dialog"
|
||||||
data-l10n-attrs="title"
|
data-l10n-attrs="title"
|
||||||
width="250"
|
width="250"
|
||||||
|
@ -52,6 +53,7 @@
|
||||||
</linkset>
|
</linkset>
|
||||||
|
|
||||||
<dialog
|
<dialog
|
||||||
|
class="zotero-dialog"
|
||||||
buttons="cancel,accept"
|
buttons="cancel,accept"
|
||||||
data-l10n-id="new-collection-dialog"
|
data-l10n-id="new-collection-dialog"
|
||||||
data-l10n-attrs="buttonlabelaccept"
|
data-l10n-attrs="buttonlabelaccept"
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
|
id="rtfscan-wizard-window"
|
||||||
|
class="zotero-window"
|
||||||
onload="Zotero_RTFScan.init()"
|
onload="Zotero_RTFScan.init()"
|
||||||
>
|
>
|
||||||
<linkset>
|
<linkset>
|
||||||
|
@ -20,7 +22,7 @@
|
||||||
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
Services.scriptloader.loadSubScript("chrome://zotero/content/customElements.js", this);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<wizard id="rtfscan-wizard" class="rtfscan-wizard" width="700" height="550" data-l10n-id="rtfScan-wizard">
|
<wizard id="rtfscan-wizard" class="rtfscan-wizard zotero-window" width="700" height="550" data-l10n-id="rtfScan-wizard">
|
||||||
<wizardpage pageid="page-start" data-l10n-id="rtfScan-intro-page">
|
<wizardpage pageid="page-start" data-l10n-id="rtfScan-intro-page">
|
||||||
<div>
|
<div>
|
||||||
<span class="page-start-1" data-l10n-id="rtfScan-introPage-description" />
|
<span class="page-start-1" data-l10n-id="rtfScan-introPage-description" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>Run JavaScript</title>
|
<title>Run JavaScript</title>
|
||||||
<link href="chrome://zotero-platform/content/zotero.css" rel="stylesheet"/>
|
<link href="chrome://zotero-platform/content/zotero.css" rel="stylesheet"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="zotero-window">
|
||||||
<nav>
|
<nav>
|
||||||
<button onclick="run()">Run</button>
|
<button onclick="run()">Run</button>
|
||||||
<span id="run-label"></span>
|
<span id="run-label"></span>
|
||||||
|
|
|
@ -42,9 +42,11 @@
|
||||||
height="450"
|
height="450"
|
||||||
persist="screenX screenY width height"
|
persist="screenX screenY width height"
|
||||||
style="display: flex"
|
style="display: flex"
|
||||||
|
class="zotero-window"
|
||||||
>
|
>
|
||||||
<dialog
|
<dialog
|
||||||
id="select-items-dialog"
|
id="select-items-dialog"
|
||||||
|
class="zotero-window"
|
||||||
orient="vertical"
|
orient="vertical"
|
||||||
buttons="cancel,accept"
|
buttons="cancel,accept"
|
||||||
>
|
>
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
<window
|
<window
|
||||||
id="csl-edit"
|
id="csl-edit"
|
||||||
|
class="zotero-window"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
onload="Zotero_CSL_Editor.init();"
|
onload="Zotero_CSL_Editor.init();"
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
<script src="chrome://zotero/content/include.js"/>
|
<script src="chrome://zotero/content/include.js"/>
|
||||||
<script src="csledit.js"/>
|
<script src="csledit.js"/>
|
||||||
|
|
||||||
<vbox flex="1">
|
<vbox class="zotero-window" flex="1">
|
||||||
<vbox class="csl-edit-toolbars">
|
<vbox class="csl-edit-toolbars">
|
||||||
<hbox class="csl-edit-toolbar">
|
<hbox class="csl-edit-toolbar">
|
||||||
<button id="preview-refresh-button" label="&zotero.general.refresh;" oncommand="Zotero_CSL_Editor.refresh()"/>
|
<button id="preview-refresh-button" label="&zotero.general.refresh;" oncommand="Zotero_CSL_Editor.refresh()"/>
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
@import "components/notesList";
|
@import "components/notesList";
|
||||||
@import "components/progressMeter";
|
@import "components/progressMeter";
|
||||||
@import "components/publications-dialog";
|
@import "components/publications-dialog";
|
||||||
|
@import "components/richlistbox";
|
||||||
@import "components/rtfScan";
|
@import "components/rtfScan";
|
||||||
@import "components/runJS";
|
@import "components/runJS";
|
||||||
@import "components/search";
|
@import "components/search";
|
||||||
|
@ -53,6 +54,7 @@
|
||||||
@import "components/toolbar";
|
@import "components/toolbar";
|
||||||
@import "components/toolbarbutton";
|
@import "components/toolbarbutton";
|
||||||
@import "components/virtualized-table";
|
@import "components/virtualized-table";
|
||||||
|
@import "components/window";
|
||||||
@import "components/tabsMenu";
|
@import "components/tabsMenu";
|
||||||
@import "components/newCollectionDialog";
|
@import "components/newCollectionDialog";
|
||||||
@import "components/reader";
|
@import "components/reader";
|
||||||
|
|
|
@ -21,12 +21,10 @@ dialog
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
|
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: var(--material-sidepane);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#aboutcontent
|
#aboutcontent
|
||||||
{
|
{
|
||||||
background: var(--material-background);
|
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
12
scss/components/_richlistbox.scss
Normal file
12
scss/components/_richlistbox.scss
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
richlistbox {
|
||||||
|
background: var(--material-background);
|
||||||
|
border: var(--material-panedivider);
|
||||||
|
|
||||||
|
richlistitem {
|
||||||
|
color: var(--fill-primary);
|
||||||
|
|
||||||
|
&[selected=true] {
|
||||||
|
background: var(--color-accent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -48,6 +48,11 @@
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#result {
|
||||||
|
border: var(--material-panedivider);
|
||||||
|
background: var(--material-background);
|
||||||
|
}
|
||||||
|
|
||||||
#run-as-async-label {
|
#run-as-async-label {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
7
scss/components/_window.scss
Normal file
7
scss/components/_window.scss
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.zotero-window {
|
||||||
|
background: var(--material-sidepane);
|
||||||
|
}
|
||||||
|
|
||||||
|
.zotero-dialog {
|
||||||
|
background: var(--material-background);
|
||||||
|
}
|
|
@ -13,8 +13,8 @@ richlistcheckbox {
|
||||||
}
|
}
|
||||||
|
|
||||||
richlistcheckbox[selected="true"] {
|
richlistcheckbox[selected="true"] {
|
||||||
background-color: -moz-cellhighlight;
|
background-color: var(--color-accent);
|
||||||
color: -moz-cellhighlighttext;
|
color: var(--fill-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
richlistbox:where(:focus) > richlistcheckbox[selected="true"] {
|
richlistbox:where(:focus) > richlistcheckbox[selected="true"] {
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
|
|
||||||
:not(.specificity) {
|
:not(.specificity) {
|
||||||
|
|
||||||
|
.wizard-header-box-1 {
|
||||||
|
background: var(--material-sidepane);
|
||||||
|
}
|
||||||
|
|
||||||
.wizard-header-box-text {
|
.wizard-header-box-text {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue