mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 10:05:47 +01:00
Dewidthify and unpad appmenu button for Windows® users. Might leave a gap for those with tabs in their titlebar. We'll see who complains.
This commit is contained in:
@@ -38,12 +38,17 @@ var StatusLine = Module("statusline", {
|
|||||||
}
|
}
|
||||||
AddonButton:not(:hover) background: transparent !important;
|
AddonButton:not(:hover) background: transparent !important;
|
||||||
]]>)({ padding: util.OS.isMacOSX ? "padding-right: 10px !important;" : "" }));
|
]]>)({ padding: util.OS.isMacOSX ? "padding-right: 10px !important;" : "" }));
|
||||||
|
|
||||||
|
if (document.getElementById("appmenu-button"))
|
||||||
|
highlight.loadCSS(<![CDATA[
|
||||||
|
AppmenuButton min-width: 0 !important; padding: 0 .5em !important;
|
||||||
|
]]>);
|
||||||
}
|
}
|
||||||
|
|
||||||
XML.ignoreWhitespace = true;
|
XML.ignoreWhitespace = true;
|
||||||
let _commandline = "if (window.dactyl) return dactyl.modules.commandline";
|
let _commandline = "if (window.dactyl) return dactyl.modules.commandline";
|
||||||
let prepend = <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
let prepend = <e4x xmlns={XUL} xmlns:dactyl={NS}>
|
||||||
<button id="appmenu-button" label="" image="chrome://branding/content/icon16.png" />
|
<button id="appmenu-button" label="" image="chrome://branding/content/icon16.png" highlight="AppmenuButton" />
|
||||||
<toolbarbutton id="appmenu-toolbar-button" label="" image="chrome://branding/content/icon16.png" />
|
<toolbarbutton id="appmenu-toolbar-button" label="" image="chrome://branding/content/icon16.png" />
|
||||||
<statusbar id="status-bar" highlight="StatusLine" ordinal="0">
|
<statusbar id="status-bar" highlight="StatusLine" ordinal="0">
|
||||||
<!-- insertbefore="dactyl.statusBefore;" insertafter="dactyl.statusAfter;" -->
|
<!-- insertbefore="dactyl.statusBefore;" insertafter="dactyl.statusAfter;" -->
|
||||||
|
|||||||
Reference in New Issue
Block a user