2018-03-03 00:50:11 +00:00
|
|
|
:root {
|
|
|
|
--theme-border-color: #cecece;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide horrible blue effect for menu bar and toolbar */
|
|
|
|
#navigator-toolbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-pane #zotero-toolbar {
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
margin-top: -4px;
|
|
|
|
border-bottom-color: var(--theme-border-color);
|
|
|
|
}
|
|
|
|
|
2015-04-07 07:03:52 +00:00
|
|
|
/*
|
2015-02-22 11:40:25 +00:00
|
|
|
As of Fx36, the built-in styles don't properly handle a menu-button within combined buttons.
|
2015-07-02 09:46:28 +00:00
|
|
|
|
|
|
|
On Windows and Linux, the padding and hover effect (border and shading) are applied directly to
|
|
|
|
the .toolbarbutton-icon (image) instead of the toolbarbutton, so proper sizing of the SVG depends
|
|
|
|
on the total width including border and padding.
|
2015-02-22 11:40:25 +00:00
|
|
|
*/
|
2015-07-02 09:46:28 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Nav bar
|
|
|
|
*/
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button .toolbarbutton-icon {
|
2016-02-10 09:52:25 +00:00
|
|
|
width: 30px; /* 16 + 1 + 1 + 6 + 6 */
|
2016-02-10 08:20:55 +00:00
|
|
|
padding-left: 6px !important;
|
|
|
|
padding-right: 6px !important;
|
2015-04-07 07:03:52 +00:00
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button .toolbarbutton-icon {
|
2016-02-10 09:52:25 +00:00
|
|
|
width: 29px; /* 16 + 6 + 6 + 1 */
|
2015-07-02 09:46:28 +00:00
|
|
|
padding-left: 6px !important;
|
2016-02-10 08:20:55 +00:00
|
|
|
padding-right: 6px !important;
|
2015-07-02 09:46:28 +00:00
|
|
|
}
|
|
|
|
|
2016-02-10 09:52:25 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button-single .toolbarbutton-icon {
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button-single .toolbarbutton-icon {
|
|
|
|
width: 31px; /* Compensate for border on only one side */
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
2015-02-22 22:48:36 +00:00
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > separator {
|
|
|
|
margin-top: 11px;
|
|
|
|
margin-bottom: 11px;
|
2016-02-10 08:20:55 +00:00
|
|
|
-moz-margin-start: -1px !important;
|
|
|
|
-moz-margin-end: -3px !important;
|
2015-02-22 11:40:25 +00:00
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > separator,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker::before {
|
2015-02-22 11:40:25 +00:00
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker::before {
|
|
|
|
-moz-margin-end: -1px;
|
2015-02-22 11:40:25 +00:00
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > separator,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button:not([disabled]) > .toolbarbutton-menubutton-dropmarker::before {
|
|
|
|
background-image: none;
|
2015-02-22 11:40:25 +00:00
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-main-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button:not([disabled]) .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button:not([disabled]) .dropmarker-icon {
|
2015-02-22 11:40:25 +00:00
|
|
|
border-color: var(--toolbarbutton-hover-bordercolor) !important;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-main-button:not(:active) .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover:not([disabled]) > #zotero-toolbar-save-button:not(:active) .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover:not([disabled]) > #zotero-toolbar-save-button:not(:active) .dropmarker-icon {
|
2015-02-22 11:40:25 +00:00
|
|
|
background: var(--toolbarbutton-hover-background);
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button .dropmarker-icon {
|
2015-02-22 11:40:25 +00:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-main-button .toolbarbutton-icon {
|
2015-06-29 11:06:20 +00:00
|
|
|
border-top-right-radius: 0px !important;
|
|
|
|
border-bottom-right-radius: 0px !important;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button .toolbarbutton-icon {
|
2015-06-29 11:06:20 +00:00
|
|
|
border-top-left-radius: 0px !important;
|
|
|
|
border-bottom-left-radius: 0px !important;
|
|
|
|
}
|
|
|
|
|
2015-02-22 11:40:25 +00:00
|
|
|
/*
|
|
|
|
There are two hover effects: when the toolbaritem is hovered over, and when the button is hovered over.
|
|
|
|
This applies the latter (and may not be right on different versions of Windows).
|
|
|
|
*/
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button:hover:not(:active):not([disabled]) > .toolbarbutton-icon,
|
2015-02-22 11:40:25 +00:00
|
|
|
/*
|
|
|
|
The dropmarker doesn't honor :hover, so instead of showing the hover effect for each segment individually, do the
|
|
|
|
menu-button parts together, which at least looks like a choice.
|
|
|
|
*/
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover .toolbarbutton-menubutton-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] > #zotero-toolbar-save-button:hover:not(:active):not([disabled]) .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
2015-02-22 11:40:25 +00:00
|
|
|
background-color: hsla(210,48%,96%,.75) !important;
|
|
|
|
}
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button:hover > .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover:not([disabled]) .toolbarbutton-menubutton-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover:not([disabled]) .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
2015-02-22 11:40:25 +00:00
|
|
|
border-color: hsla(210,54%,20%,.3) hsla(210,54%,20%,.35) hsla(210,54%,20%,.4) !important;
|
|
|
|
box-shadow: 0 0 1px hsla(210,54%,20%,.03),
|
|
|
|
0 0 2px hsla(210,54%,20%,.1) !important;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover:active:not([open]):not([disabled]) .toolbarbutton-menubutton-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover[open]:not([disabled]) .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
2015-06-29 09:59:19 +00:00
|
|
|
background: var(--toolbarbutton-active-background) !important;
|
|
|
|
border-color: var(--toolbarbutton-active-bordercolor) !important;
|
|
|
|
box-shadow: var(--toolbarbutton-active-boxshadow) !important;
|
2015-02-22 11:40:25 +00:00
|
|
|
transition-duration: 10ms;
|
|
|
|
}
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
#zotero-toolbar-save-button[cui-areatype="toolbar"] > menupopup,
|
|
|
|
#zotero-toolbar-save-button-single[cui-areatype="toolbar"] > menupopup {
|
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Alterations for non-nav-bar toolbars
|
|
|
|
*/
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-main-button > .toolbarbutton-icon,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-main-button-single > .toolbarbutton-icon,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button-single > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-main-button-single,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button-single > .toolbarbutton-menubutton-button,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button > .toolbarbutton-menubutton-button {
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker,
|
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-save-button-single > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 3px;
|
2015-02-22 11:40:25 +00:00
|
|
|
}
|
2015-06-29 09:59:19 +00:00
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-buttons separator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Alterations for overflow panel
|
|
|
|
*/
|
2015-06-30 20:54:59 +00:00
|
|
|
#zotero-toolbar-main-button-single[overflowedItem=true] .toolbarbutton-icon,
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-main-button .toolbarbutton-icon,
|
|
|
|
#zotero-toolbar-save-button-single[overflowedItem=true] .toolbarbutton-icon,
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-icon {
|
|
|
|
height: 16px;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] {
|
2015-07-02 09:46:28 +00:00
|
|
|
margin: 6px 0 0 0 !important;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-main-button {
|
2015-07-02 09:46:28 +00:00
|
|
|
max-width: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button toolbarbutton {
|
|
|
|
margin-left: 0 !important;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-icon {
|
2015-07-02 09:46:28 +00:00
|
|
|
margin-left: 8px;
|
2015-06-29 09:59:19 +00:00
|
|
|
padding-right: 0 !important;
|
|
|
|
}
|
2015-07-02 09:46:28 +00:00
|
|
|
|
2015-02-22 11:40:25 +00:00
|
|
|
/* End toolbar buttons */
|
|
|
|
|
2015-07-02 09:46:28 +00:00
|
|
|
|
2015-04-06 21:39:21 +00:00
|
|
|
@media (min-resolution: 1.5dppx) {
|
2015-04-06 20:40:52 +00:00
|
|
|
#zotero-toolbar .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tb-sync > .toolbarbutton-icon {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-04-25 15:29:09 +00:00
|
|
|
#zotero-tb-search-menu-button {
|
2011-06-07 05:47:58 +00:00
|
|
|
margin: 0 -1px 0 -4px;
|
2017-10-18 00:36:49 +00:00
|
|
|
padding: 5px 0 5px 5px;
|
2011-06-07 05:47:58 +00:00
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
2011-04-25 15:29:09 +00:00
|
|
|
}
|
|
|
|
|
2011-06-07 05:47:58 +00:00
|
|
|
#zotero-tb-search-menu-button .button-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-06-14 03:24:21 +00:00
|
|
|
#zotero-tb-search .textbox-search-icon {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2012-12-11 20:16:40 +00:00
|
|
|
#zotero-tb-sync-error {
|
2013-04-11 08:30:51 +00:00
|
|
|
margin-right: 4px;
|
|
|
|
padding-top: 4px;
|
2010-03-17 07:59:43 +00:00
|
|
|
}
|
|
|
|
|
2010-02-02 21:31:19 +00:00
|
|
|
#zotero-tb-sync {
|
|
|
|
margin-right: 1px;
|
2011-06-14 03:24:21 +00:00
|
|
|
padding-top: 4px;
|
2010-02-02 21:31:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-view-tabbox tab {
|
|
|
|
padding-left: .7em;
|
|
|
|
padding-right: .7em;
|
2011-08-11 23:37:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-toolbar {
|
2012-02-02 01:05:28 +00:00
|
|
|
-moz-appearance: toolbox !important;
|
|
|
|
padding-left: 2px;
|
|
|
|
}
|
|
|
|
|
2018-03-03 00:50:11 +00:00
|
|
|
#zotero-collections-splitter:not([state=collapsed]),
|
|
|
|
#zotero-items-splitter:not([state=collapsed]),
|
|
|
|
#zotero-tags-splitter:not([state=collapsed]) {
|
|
|
|
border: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
position: relative;
|
|
|
|
/* Positive z-index positions the splitter on top of its siblings and makes
|
|
|
|
it clickable on both sides. */
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-splitter:not([state=collapsed]),
|
|
|
|
#zotero-items-splitter:not([state=collapsed]):not([orient=vertical]),
|
|
|
|
#zotero-tags-splitter:not([state=collapsed]) {
|
|
|
|
border-inline-end: 1px solid var(--theme-border-color);
|
|
|
|
min-width: 0;
|
|
|
|
width: 3px;
|
|
|
|
margin-inline-start: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tags-splitter:not([state=collapsed]),
|
|
|
|
#zotero-items-splitter:not([state=collapsed])[orient=vertical] {
|
|
|
|
border-block-end: 1px solid var(--theme-border-color);
|
|
|
|
min-height: 0;
|
|
|
|
height: 3px;
|
|
|
|
margin-block-start: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-splitter > grippy,
|
|
|
|
#zotero-items-splitter > grippy,
|
|
|
|
#zotero-tags-splitter > grippy {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-splitter:not([state=collapsed]) > grippy,
|
|
|
|
#zotero-items-splitter:not([state=collapsed]) > grippy,
|
|
|
|
#zotero-tags-splitter:not([state=collapsed]) > grippy {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-08-11 23:37:18 +00:00
|
|
|
#zotero-collections-tree, #zotero-items-tree, #zotero-view-item {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #818790;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
-moz-border-top-colors: none;
|
|
|
|
-moz-border-bottom-colors: none;
|
|
|
|
-moz-border-right-colors: none;
|
|
|
|
-moz-border-left-colors: none;
|
|
|
|
}
|
|
|
|
|
2018-03-03 00:50:11 +00:00
|
|
|
treechildren::-moz-tree-twisty {
|
|
|
|
padding: 0 4px;
|
|
|
|
}
|
|
|
|
|
2013-11-07 08:07:18 +00:00
|
|
|
/* Undo tree row spacing change in Fx25 on Windows */
|
|
|
|
#zotero-collections-tree treechildren::-moz-tree-row,
|
|
|
|
#zotero-items-tree treechildren::-moz-tree-row,
|
|
|
|
#zotero-prefs treechildren::-moz-tree-row {
|
2013-11-08 07:57:09 +00:00
|
|
|
height: 1.6em;
|
2013-11-07 08:07:18 +00:00
|
|
|
}
|
|
|
|
|
2018-03-03 00:50:11 +00:00
|
|
|
tree {
|
|
|
|
border-width: 0;
|
2011-08-11 23:37:18 +00:00
|
|
|
}
|
|
|
|
|
2014-07-20 06:03:02 +00:00
|
|
|
/* Restore row highlighting on drag over, though I'm not sure how we're losing it to begin with. */
|
|
|
|
#zotero-collections-tree treechildren::-moz-tree-row(dropOn) {
|
|
|
|
background-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2018-03-03 00:50:11 +00:00
|
|
|
#zotero-tag-selector groupbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tags-box {
|
|
|
|
padding-top: 0.1em;
|
|
|
|
padding-left: 0.05em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tags-box button {
|
|
|
|
margin: .04em 0 0 .15em !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-editpane-tabs spacer {
|
|
|
|
border: 0;
|
2011-08-11 23:37:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-view-item {
|
|
|
|
padding: 0 !important;
|
|
|
|
-moz-appearance: none;
|
2014-08-26 08:11:24 +00:00
|
|
|
background-color: -moz-field;
|
2018-03-03 00:50:11 +00:00
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
border-color: var(--theme-border-color);
|
2011-08-11 23:37:18 +00:00
|
|
|
}
|
|
|
|
|
2012-02-02 01:45:35 +00:00
|
|
|
#zotero-view-tabbox > tabs {
|
2011-08-17 06:50:16 +00:00
|
|
|
margin-top: 2px;
|
2011-08-11 23:37:18 +00:00
|
|
|
}
|
|
|
|
|
2012-02-02 01:45:35 +00:00
|
|
|
#zotero-item-pane-groupbox {
|
|
|
|
-moz-appearance: none !important;
|
2018-03-03 00:50:11 +00:00
|
|
|
border-width: 0;
|
2012-02-02 01:45:35 +00:00
|
|
|
}
|
|
|
|
|
2011-08-11 23:37:18 +00:00
|
|
|
#zotero-editpane-item-box > scrollbox, #zotero-view-item > tabpanel > vbox,
|
|
|
|
#zotero-editpane-tags > scrollbox, #zotero-editpane-related {
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-editpane-tags > scrollbox {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-view-item > tabpanel > vbox {
|
|
|
|
padding-left: 5px;
|
2010-02-02 21:31:19 +00:00
|
|
|
}
|