summaryrefslogtreecommitdiffstats
path: root/application/basilisk/themes/shared
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-17 04:52:39 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-17 04:52:39 -0400
commit7008afd8e0c91fa97f37f0cf72b4a225e681c4be (patch)
tree07aa545b9d9efd3a5796be8a3e6e458409b56ec4 /application/basilisk/themes/shared
parentdf0c78a8cbaf02fcd9fcd95a3eeb4cb68464300a (diff)
downloadUXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar
UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.gz
UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.lz
UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.tar.xz
UXP-7008afd8e0c91fa97f37f0cf72b4a225e681c4be.zip
[BASILISK] Port PM Sync Client - Part 6a: Obvious ifdef'ing and clean up
Diffstat (limited to 'application/basilisk/themes/shared')
-rw-r--r--application/basilisk/themes/shared/menupanel.inc.css6
-rw-r--r--application/basilisk/themes/shared/toolbarbuttons.inc.css12
2 files changed, 6 insertions, 12 deletions
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);