2015-04-07 07:03:52 +00:00
|
|
|
/*
|
2015-02-22 08:55:52 +00:00
|
|
|
As of Fx36, the built-in styles don't properly handle a menu-button within combined buttons.
|
2015-07-05 19:37:11 +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 08:55:52 +00:00
|
|
|
*/
|
2015-07-05 19:37:11 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Nav bar
|
|
|
|
*/
|
2016-02-10 09:52:25 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button .toolbarbutton-icon {
|
|
|
|
width: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button .toolbarbutton-icon {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons #zotero-toolbar-main-button {
|
2015-02-22 08:55:52 +00:00
|
|
|
margin-right: -1px;
|
2016-02-10 08:20:55 +00:00
|
|
|
padding: 0; /* avoid shift on :active */
|
2015-02-22 08:55:52 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-main-button .toolbarbutton-icon {
|
2015-02-22 19:12:04 +00:00
|
|
|
margin-left: 2px;
|
|
|
|
padding-left: 5px !important;
|
|
|
|
padding-right: 5px !important;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button > .toolbarbutton-menubutton-button {
|
2015-02-22 19:12:04 +00:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button > .toolbarbutton-menubutton-button .toolbarbutton-icon {
|
2015-02-22 19:12:04 +00:00
|
|
|
padding-left: 6px !important;
|
|
|
|
padding-right: 6px !important;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
width: 18px !important;
|
2015-02-22 19:12:04 +00:00
|
|
|
margin-top: 6px;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
2015-04-07 07:03:52 +00:00
|
|
|
padding-left: 14px !important;
|
|
|
|
padding-right: 3px !important;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button-single > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2015-04-07 07:03:52 +00:00
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
2015-07-05 19:37:11 +00:00
|
|
|
padding-left: 8px !important;
|
|
|
|
padding-right: 8px !important;
|
2015-04-07 07:03:52 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button[open] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-save-button-single > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > separator {
|
2015-02-22 08:55:52 +00:00
|
|
|
/* Copied from .toolbarbutton-menubutton-dropmarker::before */
|
|
|
|
display: -moz-box;
|
|
|
|
width: 1px;
|
|
|
|
height: 18px;
|
|
|
|
-moz-margin-end: -1px;
|
|
|
|
background-clip: padding-box;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 1px 18px;
|
|
|
|
box-shadow: var(--toolbarbutton-combined-boxshadow);
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +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 .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons:hover > #zotero-toolbar-save-button .dropmarker-icon {
|
2015-02-22 08:55:52 +00:00
|
|
|
border-color: var(--toolbarbutton-hover-bordercolor) !important;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button:hover:not(:active) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
|
2015-02-22 08:55:52 +00:00
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button > .toolbarbutton-menubutton-button:hover:not(:active) > .toolbarbutton-icon,
|
2015-02-22 08:55:52 +00:00
|
|
|
/* This selector doesn't work, so the dropmarker doesn't get a hover effect. :hover doesn't seem
|
|
|
|
to have an effect on either part of the dropmarker */
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button > .toolbarbutton-menubutton-dropmarker:hover > .dropmarker-icon {
|
2015-02-22 08:55:52 +00:00
|
|
|
background: var(--toolbarbutton-hover-background) !important;
|
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button:hover:active:not([open]):not([disabled]) .toolbarbutton-menubutton-button .toolbarbutton-icon,
|
|
|
|
toolbar[id="nav-bar"] #zotero-toolbar-buttons > #zotero-toolbar-save-button:hover[open]:not([disabled]) .toolbarbutton-menubutton-dropmarker .dropmarker-icon {
|
2015-02-22 08:55:52 +00:00
|
|
|
background: var(--toolbarbutton-active-background);
|
|
|
|
border-color: var(--toolbarbutton-active-bordercolor);
|
2015-02-22 19:12:04 +00:00
|
|
|
box-shadow: var(--toolbarbutton-active-boxshadow);
|
2015-02-22 08:55:52 +00:00
|
|
|
transition-duration: 10ms;
|
|
|
|
}
|
2015-06-29 09:59:19 +00:00
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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;
|
2015-06-29 09:59:19 +00:00
|
|
|
width: 16px;
|
2015-07-05 19:37:11 +00:00
|
|
|
padding: 0;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
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 {
|
|
|
|
margin-left: -1px;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
toolbar:not([id="nav-bar"]) #zotero-toolbar-buttons separator {
|
|
|
|
display: none;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
/* Alterations for overflow panel */
|
|
|
|
#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,
|
2015-06-29 09:59:19 +00:00
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-icon {
|
2015-07-05 19:37:11 +00:00
|
|
|
width: 16px;
|
2015-06-29 09:59:19 +00:00
|
|
|
}
|
2015-06-30 21:58:32 +00:00
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
padding: 0 !important;
|
2015-06-30 21:58:32 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-main-button {
|
|
|
|
max-width: 28px !important;
|
|
|
|
margin: 0 4px 0 0 !important;
|
2015-06-30 21:58:32 +00:00
|
|
|
}
|
|
|
|
|
2015-07-05 19:37:11 +00:00
|
|
|
#zotero-toolbar-buttons[overflowedItem=true] #zotero-toolbar-save-button .toolbarbutton-menubutton-button {
|
|
|
|
margin-left: 8px;
|
2015-06-30 21:58:32 +00:00
|
|
|
}
|
2015-02-22 08:55:52 +00:00
|
|
|
/* End toolbar buttons */
|
|
|
|
|
|
|
|
|
2016-02-20 22:30:14 +00:00
|
|
|
/*
|
|
|
|
Override selected, unfocused tree row highlight color, which is too similar to the alternating
|
|
|
|
row color by default
|
|
|
|
*/
|
|
|
|
#zotero-collections-tree treechildren::-moz-tree-row(selected),
|
|
|
|
#zotero-items-tree treechildren::-moz-tree-row(selected) {
|
|
|
|
background-color: #D4D4D4;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-collections-tree treechildren::-moz-tree-row(selected, focus),
|
|
|
|
#zotero-items-tree treechildren::-moz-tree-row(selected, focus) {
|
|
|
|
background-color: Highlight;
|
|
|
|
}
|
|
|
|
|
2017-11-17 11:17:18 +00:00
|
|
|
#zotero-collections-tree treechildren::-moz-tree-row {
|
|
|
|
height: 1.3em;
|
|
|
|
}
|
|
|
|
|
2016-02-20 22:30:14 +00:00
|
|
|
|
2018-03-19 20:46:50 +00:00
|
|
|
@media (min-resolution: 1.25dppx) {
|
2016-04-10 20:05:33 +00:00
|
|
|
#zotero-pane .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
2015-04-06 20:40:52 +00:00
|
|
|
#zotero-tb-sync > .toolbarbutton-icon {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-20 22:15:27 +00:00
|
|
|
/* Dropmarker added automatically on Linux */
|
|
|
|
.toolbarbutton-menu-dropmarker, #zotero-tb-search-menu-button {
|
|
|
|
list-style-image: none;
|
|
|
|
}
|
|
|
|
|
2011-06-14 03:24:21 +00:00
|
|
|
.zotero-tb-button:not([type=menu]) {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2011-04-25 15:29:09 +00:00
|
|
|
#zotero-tb-search-menu-button {
|
|
|
|
-moz-appearance: toolbarbutton-dropdown !important;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
2011-06-14 03:24:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tb-search-menu-button .button-menu-dropmarker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#zotero-tb-search .textbox-search-icon {
|
|
|
|
visibility: hidden;
|
2017-01-03 15:51:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Fixes tabs missing styling on (GTK 3.20) Ubuntu 16.10. See https://bugzilla.mozilla.org/show_bug.cgi?id=1306425 */
|
2017-09-22 10:10:27 +00:00
|
|
|
tabpanels {
|
2017-01-03 15:51:08 +00:00
|
|
|
-moz-appearance: none;
|
2017-01-03 17:13:38 +00:00
|
|
|
border: 1px solid hsla(0, 0%, 0%, 0.2);
|
2017-01-03 15:51:08 +00:00
|
|
|
|
|
|
|
}
|
2017-09-22 10:10:27 +00:00
|
|
|
tab {
|
2017-01-03 15:51:08 +00:00
|
|
|
-moz-appearance: none;
|
2017-01-03 17:13:38 +00:00
|
|
|
border-top: 1px solid hsla(0, 0%, 0%, 0.2);
|
|
|
|
border-right: 1px solid hsla(0, 0%, 0%, 0.2);
|
|
|
|
border-left: 1px solid hsla(0, 0%, 0%, 0.2);
|
2017-01-03 15:51:08 +00:00
|
|
|
-moz-border-top-colors: none;
|
|
|
|
-moz-border-right-colors: none;
|
|
|
|
-moz-border-left-colors: none;
|
|
|
|
}
|
|
|
|
/* Fixes misc Ubuntu 16.10 rendering issue fixes. */
|
|
|
|
#zotero-prefs menulist dropmarker{
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
#zotero-prefs .numberbox-input-box{
|
|
|
|
-moz-appearance: textfield;
|
|
|
|
}
|
2018-03-03 00:50:11 +00:00
|
|
|
|
2018-03-07 09:26:52 +00:00
|
|
|
#zotero-prefs #noteFontSize {
|
|
|
|
min-width: 3.8em;
|
|
|
|
}
|
|
|
|
|
2018-03-03 00:50:11 +00:00
|
|
|
#zotero-pane splitter {
|
|
|
|
border: 0;
|
2017-01-03 16:25:14 +00:00
|
|
|
width: 6px;
|
2018-03-03 00:50:11 +00:00
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
2017-01-03 16:25:14 +00:00
|
|
|
}
|