Big Sur style fixes

- Restore active <tab> label
- Fix appearance of tabs in item pane
This commit is contained in:
Dan Stillman 2020-07-27 15:49:45 -04:00
parent 0cf27b9b7e
commit 7c201f5d59
7 changed files with 22 additions and 0 deletions

View file

@ -6,6 +6,11 @@ content zotero-platform chrome/content/zotero-platform/unix/ os=SunOS
content zotero-platform chrome/content/zotero-platform/unix/ os=FreeBSD
content zotero-platform chrome/content/zotero-platform/unix/ os=OpenBSD
content zotero-platform-version chrome/content/zotero-platform/default-version/
# Big Sur shows up as 10.0
content zotero-platform-version chrome/content/zotero-platform/mac-big-sur/ os=Darwin osversion=10.0
#content zotero-platform-version chrome/content/zotero-platform/mac-big-sur/ os=Darwin
resource zotero resource/
# Keep in sync with locale.js and zotero-standalone-build:assets/multilocale.txt

View file

@ -26,6 +26,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://scaffold/skin/scaffold.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform-version/content/style.css"?>
<!DOCTYPE window SYSTEM "chrome://scaffold/locale/scaffold.dtd">

View file

@ -0,0 +1,12 @@
/* Use standard tab appearance for item pane tabs */
#zotero-pane #zotero-view-tabbox > tabs > tab {
-moz-appearance: tab;
}
/* Active tab label color in item pane and elsewhere */
#zotero-pane tabs#zotero-editpane-tabs > tab[visuallyselected="true"][selected="true"] hbox > .tab-text,
#zotero-prefs tab[visuallyselected="true"]:not(:-moz-window-inactive),
tabs > tab[visuallyselected="true"] hbox > .tab-text {
color: black !important;
text-shadow: none;
}

View file

@ -1,6 +1,8 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/longTagFixer.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform-version/content/style.css"?>
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
<dialog id="zotero-long-tag-fixer" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View file

@ -31,6 +31,7 @@
<?xml-stylesheet href="chrome://zotero/skin/preferences.css"?>
<?xml-stylesheet href="chrome://zotero/skin/zotero.css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css"?>
<?xml-stylesheet href="chrome://zotero-platform-version/content/style.css"?>
<!--
To add an observer for a preference change, add an appropriate case in

View file

@ -27,6 +27,7 @@
<?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform-version/content/style.css"?>
<?xul-overlay href="chrome://zotero/content/containers/containers.xul"?>
<!DOCTYPE overlay [