mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-25 14:42:26 +01:00
Hopefully fix some Add-on Bar button styling issues on OS-X.
This commit is contained in:
@@ -24,7 +24,13 @@ var StatusLine = Module("statusline", {
|
||||
]]></css>);
|
||||
highlight.loadCSS(<![CDATA[
|
||||
!AddonBar;#addon-bar padding: 0 !important; min-height: 18px !important; -moz-appearance: none !important;
|
||||
!AddonButton;#addon-bar>xul|toolbarbutton -moz-appearance: none !important; padding: 0 !important;
|
||||
!AddonButton;#addon-bar>xul|toolbarbutton {
|
||||
-moz-appearance: none !important;
|
||||
padding: 0 !important;
|
||||
border-width: 0px !important;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
AddonButton:not(:hover) background: transparent !important;
|
||||
]]>);
|
||||
}
|
||||
|
||||
|
||||
@@ -380,7 +380,14 @@ var ConfigBase = Class("ConfigBase", {
|
||||
Usage>LineInfo position: absolute; left: 100%; padding: 1ex; margin: -1ex -1em; background: rgba(255, 255, 255, .8); border-radius: 1ex;
|
||||
Usage:not(:hover)>LineInfo opacity: 0; left: 0; width: 1px; height: 1px; overflow: hidden;
|
||||
|
||||
StatusLine;;;FontFixed font-weight: bold; background: transparent !important; -moz-appearance: none !important; border: 0px !important; min-height: 18px !important;
|
||||
StatusLine;;;FontFixed {
|
||||
-moz-appearance: none !important;
|
||||
font-weight: bold;
|
||||
background: transparent !important;
|
||||
border: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
min-height: 18px !important;
|
||||
}
|
||||
StatusLineNormal;[dactyl|highlight] color: white !important; background: black !important;
|
||||
StatusLineBroken;[dactyl|highlight] color: black !important; background: #FFa0a0 !important; /* light-red */
|
||||
StatusLineSecure;[dactyl|highlight] color: black !important; background: #a0a0FF !important; /* light-blue */
|
||||
|
||||
Reference in New Issue
Block a user