mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
[BASILISK] Port PM Sync Client - Part 5: Port the original sync toolbar button and create a synced tabs toolbar button
This commit is contained in:
parent
fa30be0161
commit
d398d1590c
12 changed files with 89 additions and 2 deletions
|
|
@ -48,11 +48,32 @@ toolbarpaletteitem[place="palette"] > #save-page-button {
|
|||
-moz-image-region: rect(0px, 352px, 32px, 320px);
|
||||
}
|
||||
|
||||
/* Start Sync Buttons */
|
||||
|
||||
#sync-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #sync-button {
|
||||
-moz-image-region: rect(0px, 384px, 32px, 352px)
|
||||
}
|
||||
|
||||
#sync-button[cui-areatype="menu-panel"][status="active"] {
|
||||
list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
|
||||
-moz-image-region: rect(0, 32px, 32px, 0);
|
||||
}
|
||||
|
||||
@media (min-resolution: 1.1dppx) {
|
||||
#sync-button[cui-areatype="menu-panel"][status="active"] {
|
||||
list-style-image: url("chrome://browser/skin/syncProgress-menuPanel@2x.png");
|
||||
-moz-image-region: rect(0, 64px, 64px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
#sync-tabs-button[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #sync-tabs-button {
|
||||
-moz-image-region: rect(0px, 1024px, 32px, 992px);
|
||||
}
|
||||
|
||||
/* End Sync Buttons */
|
||||
|
||||
#containers-panelmenu[cui-areatype="menu-panel"],
|
||||
toolbarpaletteitem[place="palette"] > #containers-panelmenu {
|
||||
-moz-image-region: rect(0px, 1056px, 32px, 1024px);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue