Revert "fx-compat: Remove Mac toolbarbutton images"
This reverts commit 280a1265c8
.
|
@ -16,26 +16,24 @@
|
|||
max-width: 31px;
|
||||
}
|
||||
|
||||
/* TODO: Proper button styling */
|
||||
.zotero-tb-button {
|
||||
border: 1px solid lightgray;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.zotero-tb-button:hover {
|
||||
background: lightgray;
|
||||
}
|
||||
|
||||
.zotero-tb-button,
|
||||
.zotero-tb-button:first-child,
|
||||
.zotero-tb-button:last-child {
|
||||
-moz-margin-start: 0 !important;
|
||||
-moz-margin-end: 3px !important;
|
||||
-moz-padding-end: 10px !important;
|
||||
background: url("chrome://zotero/skin/mac/menubutton-end.png") right center/auto 24px no-repeat;
|
||||
}
|
||||
|
||||
.zotero-tb-button[type=menu] {
|
||||
-moz-padding-end: 8px !important;
|
||||
}
|
||||
|
||||
.zotero-tb-button > .toolbarbutton-icon {
|
||||
background: url("chrome://zotero/skin/mac/menubutton-start.png") left center/auto 24px no-repeat;
|
||||
padding: 4px 4px 4px 11px;
|
||||
}
|
||||
|
||||
/* For menu buttons, decrease left padding by 1px */
|
||||
.zotero-tb-button[type=menu] > .toolbarbutton-icon {
|
||||
-moz-padding-start: 9px;
|
||||
|
@ -51,18 +49,19 @@
|
|||
}
|
||||
|
||||
.zotero-tb-button:-moz-window-inactive > .toolbarbutton-icon {
|
||||
background: url("chrome://zotero/skin/mac/menubutton-start-inactive-window.png") left center/auto 24px no-repeat;
|
||||
}
|
||||
|
||||
/* Use a darker background when inactive so the button itself doesn't get too dark at 50% */
|
||||
.zotero-tb-button:-moz-window-inactive,
|
||||
.zotero-tb-button:-moz-window-inactive:first-child,
|
||||
.zotero-tb-button:-moz-window-inactive:last-child {
|
||||
/* TODO */
|
||||
background: url("chrome://zotero/skin/mac/menubutton-end-inactive-window.png") right center/auto 24px no-repeat;
|
||||
}
|
||||
|
||||
.zotero-tb-button[open="true"],
|
||||
.zotero-tb-button:not([disabled="true"]):hover:active {
|
||||
/* TODO */
|
||||
background: url("chrome://zotero/skin/mac/menubutton-end-pressed.png") right center/auto 24px no-repeat;
|
||||
}
|
||||
|
||||
.zotero-tb-button > menupopup {
|
||||
|
@ -87,7 +86,7 @@
|
|||
|
||||
.zotero-tb-button[open="true"] > .toolbarbutton-icon,
|
||||
.zotero-tb-button:not([disabled="true"]):hover:active > .toolbarbutton-icon {
|
||||
/* TODO */
|
||||
background: url("chrome://zotero/skin/mac/menubutton-start-pressed.png") left center/auto 24px no-repeat;
|
||||
}
|
||||
|
||||
.zotero-tb-button > .toolbarbutton-text {
|
||||
|
@ -375,6 +374,12 @@ treechildren::-moz-tree-image {
|
|||
|
||||
/* BEGIN 2X BLOCK -- DO NOT EDIT MANUALLY -- USE 2XIZE */
|
||||
@media (min-resolution: 1.25dppx) {
|
||||
.zotero-tb-button,.zotero-tb-button:first-child,.zotero-tb-button:last-child { background: url("chrome://zotero/skin/mac/menubutton-end@2x.png") right center/auto 24px no-repeat; }
|
||||
.zotero-tb-button > .toolbarbutton-icon { background: url("chrome://zotero/skin/mac/menubutton-start@2x.png") left center/auto 24px no-repeat; }
|
||||
.zotero-tb-button:-moz-window-inactive > .toolbarbutton-icon { background: url("chrome://zotero/skin/mac/menubutton-start-inactive-window@2x.png") left center/auto 24px no-repeat; }
|
||||
.zotero-tb-button:-moz-window-inactive,.zotero-tb-button:-moz-window-inactive:first-child,.zotero-tb-button:-moz-window-inactive:last-child { background: url("chrome://zotero/skin/mac/menubutton-end-inactive-window@2x.png") right center/auto 24px no-repeat; }
|
||||
.zotero-tb-button[open="true"],.zotero-tb-button:not([disabled="true"]):hover:active { background: url("chrome://zotero/skin/mac/menubutton-end-pressed@2x.png") right center/auto 24px no-repeat; }
|
||||
.zotero-tb-button[open="true"] > .toolbarbutton-icon,.zotero-tb-button:not([disabled="true"]):hover:active > .toolbarbutton-icon { background: url("chrome://zotero/skin/mac/menubutton-start-pressed@2x.png") left center/auto 24px no-repeat; }
|
||||
#zotero-collections-splitter[state=collapsed] > grippy, #zotero-items-splitter[state=collapsed] > grippy { background: url(chrome://zotero/skin/mac/vgrippy@2x.png) center/auto 8px no-repeat; }
|
||||
#zotero-tags-splitter > grippy { background: url(chrome://zotero/skin/mac/hgrippy@2x.png) center/auto 8px no-repeat; }
|
||||
#zotero-tb-advanced-search { list-style-image: url('chrome://zotero/skin/mac/toolbar-advanced-search@2x.png'); }
|
||||
|
|
BIN
chrome/skin/default/zotero/mac/menubutton-end-active-pressed.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 417 B |
BIN
chrome/skin/default/zotero/mac/menubutton-end-active.png
Normal file
After Width: | Height: | Size: 233 B |
BIN
chrome/skin/default/zotero/mac/menubutton-end-active@2x.png
Normal file
After Width: | Height: | Size: 419 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 387 B |
BIN
chrome/skin/default/zotero/mac/menubutton-end-pressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
chrome/skin/default/zotero/mac/menubutton-end-pressed@2x.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
chrome/skin/default/zotero/mac/menubutton-end.png
Normal file
After Width: | Height: | Size: 256 B |
BIN
chrome/skin/default/zotero/mac/menubutton-end@2x.png
Normal file
After Width: | Height: | Size: 435 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
BIN
chrome/skin/default/zotero/mac/menubutton-start-active.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
chrome/skin/default/zotero/mac/menubutton-start-active@2x.png
Normal file
After Width: | Height: | Size: 543 B |
After Width: | Height: | Size: 241 B |
After Width: | Height: | Size: 535 B |
BIN
chrome/skin/default/zotero/mac/menubutton-start-pressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
chrome/skin/default/zotero/mac/menubutton-start-pressed@2x.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
chrome/skin/default/zotero/mac/menubutton-start.png
Normal file
After Width: | Height: | Size: 322 B |
BIN
chrome/skin/default/zotero/mac/menubutton-start@2x.png
Normal file
After Width: | Height: | Size: 592 B |