summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-12-07 19:10:30 -0500
committerGaming4JC <g4jc@hyperbola.info>2021-01-09 14:11:58 -0500
commitade5b63377b45743498608b0a0b5eed56235cac8 (patch)
tree09a1b5280a17358b6b6817a2182b9336a6664999 /themes
parent03c971ab052cd5c12a0464400844465435259196 (diff)
downloadiceweasel-uxp-ade5b63377b45743498608b0a0b5eed56235cac8.tar.gz
Backport UXP #1516 - Change CAN_DRAW_IN_TITLEBAR to MOZ_CAN_DRAW_IN_TITLEBAR
Diffstat (limited to 'themes')
-rw-r--r--themes/osx/moz.build2
-rw-r--r--themes/shared/customizableui/customizeMode.inc.css8
-rw-r--r--themes/windows/moz.build2
3 files changed, 5 insertions, 7 deletions
diff --git a/themes/osx/moz.build b/themes/osx/moz.build
index b787ab0..3fc798f 100644
--- a/themes/osx/moz.build
+++ b/themes/osx/moz.build
@@ -8,6 +8,6 @@ DIRS += ['communicator']
JAR_MANIFESTS += ['jar.mn']
-DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1
+DEFINES['MOZ_CAN_DRAW_IN_TITLEBAR'] = 1
include('../tab-svgs.mozbuild')
diff --git a/themes/shared/customizableui/customizeMode.inc.css b/themes/shared/customizableui/customizeMode.inc.css
index 4259017..8535637 100644
--- a/themes/shared/customizableui/customizeMode.inc.css
+++ b/themes/shared/customizableui/customizeMode.inc.css
@@ -182,7 +182,7 @@
height: 24px;
}
-%ifdef CAN_DRAW_IN_TITLEBAR
+%ifdef MOZ_CAN_DRAW_IN_TITLEBAR
#customization-titlebar-visibility-button > .button-box > .button-text,
%endif
#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text {
@@ -198,7 +198,7 @@
background-size: contain;
}
-%ifdef CAN_DRAW_IN_TITLEBAR
+%ifdef MOZ_CAN_DRAW_IN_TITLEBAR
#customization-titlebar-visibility-button {
list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
-moz-image-region: rect(0, 24px, 24px, 0);
@@ -222,7 +222,7 @@
-moz-image-region: rect(0, 96px, 48px, 48px);
}
}
-%endif /* CAN_DRAW_IN_TITLEBAR */
+%endif /* MOZ_CAN_DRAW_IN_TITLEBAR */
#main-window[customize-entered] #customization-panel-container {
background-image: url("chrome://browser/skin/customizableui/customizeMode-separatorHorizontal.png"),
@@ -456,4 +456,4 @@ toolbarpaletteitem[place="toolbar"]:not([mousedown="true"]):-moz-focusring {
.customization-lwtheme-menu-footeritem:first-child {
border-inline-end: 1px solid var(--panel-separator-color);
-} \ No newline at end of file
+}
diff --git a/themes/windows/moz.build b/themes/windows/moz.build
index b787ab0..8b61104 100644
--- a/themes/windows/moz.build
+++ b/themes/windows/moz.build
@@ -8,6 +8,4 @@ DIRS += ['communicator']
JAR_MANIFESTS += ['jar.mn']
-DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1
-
include('../tab-svgs.mozbuild')