From b2c22e16028356f3685110af18e2e39da48ddb8c Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 3 Mar 2013 00:00:58 +0100 Subject: [PATCH] try to make mac menubar not bring up an empty toolbar --- LCARStrek/chrome.manifest | 1 + LCARStrek/global/global-platform-mac.css | 4 ++++ LCARStrek/global/global-platform.css | 0 LCARStrek/global/global.css | 1 + 4 files changed, 6 insertions(+) create mode 100644 LCARStrek/global/global-platform-mac.css create mode 100644 LCARStrek/global/global-platform.css diff --git a/LCARStrek/chrome.manifest b/LCARStrek/chrome.manifest index 343d5ed2..b922f379 100644 --- a/LCARStrek/chrome.manifest +++ b/LCARStrek/chrome.manifest @@ -1,4 +1,5 @@ skin global LCARStrek global/ +override chrome://global/content/global-platform.css chrome://global/content/global-platform-mac.css os=Darwin skin mozapps LCARStrek mozapps/ skin messenger LCARStrek messenger/ skin messenger-newsblog LCARStrek messenger-newsblog/ diff --git a/LCARStrek/global/global-platform-mac.css b/LCARStrek/global/global-platform-mac.css new file mode 100644 index 00000000..2c53f234 --- /dev/null +++ b/LCARStrek/global/global-platform-mac.css @@ -0,0 +1,4 @@ +toolbar.chromeclass-menubar { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); + border-bottom: none; +} diff --git a/LCARStrek/global/global-platform.css b/LCARStrek/global/global-platform.css new file mode 100644 index 00000000..e69de29b diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 9b99c12d..5dd43311 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -8,6 +8,7 @@ /* all localizable skin settings shall live here */ @import url("chrome://global/locale/intl.css"); +@import url("chrome://global/content/global-platform.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -- 2.43.0