mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 08:17:58 +01:00
Fix StatusLine highlighting.
This commit is contained in:
@@ -228,13 +228,8 @@ const ConfigBase = Class(ModuleBase, {
|
|||||||
Usage>LineInfo position: absolute; left: 100%; padding: 1ex; margin: -1ex -1em; background: rgba(255, 255, 255, .8); border-radius: 1ex;
|
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;
|
Usage:not(:hover)>LineInfo opacity: 0; left: 0; width: 1px; height: 1px; overflow: hidden;
|
||||||
|
|
||||||
!StatusLine { color: white !important; background: black !important;
|
!StatusLine font-weight: bold; font-family: monospace; -moz-appearance: none !important; border: 0px !important; min-height: 18px !important;
|
||||||
min-height: 18px !important;
|
!StatusLineNormal color: white !important; background: black !important;
|
||||||
border: none !important;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: monospace;
|
|
||||||
-moz-appearance: none !important;
|
|
||||||
}
|
|
||||||
StatusLineBroken color: black !important; background: #FFa0a0 !important /* light-red */
|
StatusLineBroken color: black !important; background: #FFa0a0 !important /* light-red */
|
||||||
StatusLineSecure color: black !important; background: #a0a0FF !important /* light-blue */
|
StatusLineSecure color: black !important; background: #a0a0FF !important /* light-blue */
|
||||||
StatusLineExtended color: black !important; background: #a0FFa0 !important /* light-green */
|
StatusLineExtended color: black !important; background: #a0FFa0 !important /* light-green */
|
||||||
|
|||||||
@@ -50,10 +50,10 @@ const StatusLine = Module("statusline", {
|
|||||||
extended: "StatusLineExtended",
|
extended: "StatusLineExtended",
|
||||||
secure: "StatusLineSecure",
|
secure: "StatusLineSecure",
|
||||||
broken: "StatusLineBroken",
|
broken: "StatusLineBroken",
|
||||||
insecure: "StatusLine"
|
insecure: "StatusLineNormal"
|
||||||
};
|
};
|
||||||
|
|
||||||
highlight.highlightNode(this._statusLine, highlightGroup[type]);
|
highlight.highlightNode(this._statusLine, "StatusLine " + highlightGroup[type]);
|
||||||
},
|
},
|
||||||
get class() this._class,
|
get class() this._class,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user