diff options
author | teramako | 2011-03-26 19:39:34 +0900 |
---|---|---|
committer | teramako | 2011-03-26 19:39:34 +0900 |
commit | c37e78d19cf9bbda2c234b11f8343f9ba03b0054 (patch) | |
tree | 8ff6d97b0705c7f0a6cf5b6e909d42ace9dacd6a /statusline-toolbar.js | |
parent | 6644aa2766feff6229444fe963215e93fd337838 (diff) | |
download | vimperator-plugins-c37e78d19cf9bbda2c234b11f8343f9ba03b0054.tar.bz2 |
add OS specific CSS
Diffstat (limited to 'statusline-toolbar.js')
-rw-r--r-- | statusline-toolbar.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/statusline-toolbar.js b/statusline-toolbar.js index 27516fd..bebb57d 100644 --- a/statusline-toolbar.js +++ b/statusline-toolbar.js @@ -49,7 +49,19 @@ var css = <css><![CDATA[ #liberator-customize-toolbar .statusbar-resizerpanel { display: none; } #liberator-customize-toolbar toolbarbutton { padding: 0 !important; } #status-bar { background-color: transparent !important; } -]]></css>.trim(); +]]></css>.toString() + +({ + WINNT: <css></css>, + Linux: <css></css>, + Darwin: <css><![CDATA[ + #liberator-customize-toolbar toolbarbutton { + background: transparent !important; + border: none !important; + margin: 0 !important; + padding: 0 !important; + } + ]]></css> +})[Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS].toString(); function $(id) document.getElementById(id); function createElement (name, attrs) { |