[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:
Matt A. Tobin 2019-04-16 14:51:15 -04:00 committed by Roy Tam
commit d398d1590c
12 changed files with 89 additions and 2 deletions

View file

@ -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);