1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 23:04:17 +01:00

Pad the add-on bar's grippy on OS-X.

--HG--
extra : rebase_source : 235fec352965507be716458459e2bd4e1e8e172c
This commit is contained in:
Kris Maglione
2011-01-19 12:38:23 -05:00
parent 9440fa8b3f
commit 1006ff6ecd

View File

@@ -22,8 +22,13 @@ var StatusLine = Module("statusline", {
#addon-bar > #addonbar-closebutton { visibility: collapse; }
#addon-bar > xul|toolbarspring { visibility: collapse; }
]]></css>);
highlight.loadCSS(<![CDATA[
!AddonBar;#addon-bar padding: 0 !important; min-height: 18px !important; -moz-appearance: none !important;
highlight.loadCSS(String.replace(<![CDATA[
!AddonBar;#addon-bar {
padding-left: 0 !important;
min-height: 18px !important;
-moz-appearance: none !important;
<padding>
}
!AddonButton;#addon-bar>xul|toolbarbutton {
-moz-appearance: none !important;
padding: 0 !important;
@@ -31,7 +36,7 @@ var StatusLine = Module("statusline", {
min-width: 0 !important;
}
AddonButton:not(:hover) background: transparent !important;
]]>);
]]>, "<padding>", util.OS.isMacOS ? "padding-right: 10px !important;" : ""));
}
let _commandline = "if (window.dactyl) return dactyl.modules.commandline";