From 7008afd8e0c91fa97f37f0cf72b4a225e681c4be Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Wed, 17 Apr 2019 04:52:39 -0400 Subject: [BASILISK] Port PM Sync Client - Part 6a: Obvious ifdef'ing and clean up --- application/basilisk/themes/shared/menupanel.inc.css | 6 ++---- application/basilisk/themes/shared/toolbarbuttons.inc.css | 12 ++++-------- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'application/basilisk/themes/shared') diff --git a/application/basilisk/themes/shared/menupanel.inc.css b/application/basilisk/themes/shared/menupanel.inc.css index 2feb941a2..da2f07e1e 100644 --- a/application/basilisk/themes/shared/menupanel.inc.css +++ b/application/basilisk/themes/shared/menupanel.inc.css @@ -48,8 +48,7 @@ toolbarpaletteitem[place="palette"] > #save-page-button { -moz-image-region: rect(0px, 352px, 32px, 320px); } -/* Start Sync Buttons */ - +%ifdef MOZ_SERVICES_SYNC #sync-button[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #sync-button { -moz-image-region: rect(0px, 384px, 32px, 352px) @@ -71,8 +70,7 @@ toolbarpaletteitem[place="palette"] > #sync-button { toolbarpaletteitem[place="palette"] > #sync-tabs-button { -moz-image-region: rect(0px, 1024px, 32px, 992px); } - -/* End Sync Buttons */ +%endif #containers-panelmenu[cui-areatype="menu-panel"], toolbarpaletteitem[place="palette"] > #containers-panelmenu { diff --git a/application/basilisk/themes/shared/toolbarbuttons.inc.css b/application/basilisk/themes/shared/toolbarbuttons.inc.css index 2f74b8361..8992bfcb1 100644 --- a/application/basilisk/themes/shared/toolbarbuttons.inc.css +++ b/application/basilisk/themes/shared/toolbarbuttons.inc.css @@ -52,8 +52,7 @@ toolbar[brighttext] #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarke -moz-image-region: rect(0, 252px, 18px, 234px); } -/* Start Sync Buttons */ - +%ifdef MOZ_SERVICES_SYNC #sync-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 270px, 18px, 252px); } @@ -78,8 +77,7 @@ toolbar[brighttext] #sync-button[cui-areatype="toolbar"][status="active"] { #sync-tabs-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 792px, 18px, 774px); } - -/* End Sync Buttons */ +%endif #containers-panelmenu[cui-areatype="toolbar"] { -moz-image-region: rect(0, 810px, 18px, 792px); @@ -251,8 +249,7 @@ toolbar[brighttext] #sync-button[cui-areatype="toolbar"][status="active"] { -moz-image-region: rect(0, 504px, 36px, 468px); } - /* Start Sync Buttons */ - +%ifdef MOZ_SERVICES_SYNC #sync-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 540px, 36px, 504px); } @@ -277,8 +274,7 @@ toolbar[brighttext] #sync-button[cui-areatype="toolbar"][status="active"] { #sync-tabs-button[cui-areatype="toolbar"] { -moz-image-region: rect(0, 1584px, 36px, 1548px); } - - /* End Sync Buttons */ +%endif #containers-panelmenu[cui-areatype="toolbar"] { -moz-image-region: rect(0, 1620px, 36px, 1584px); -- cgit v1.2.3