mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 09:48:00 +01:00
Fix a typo in revision ae79abb4ff88.
This commit is contained in:
@@ -1154,7 +1154,10 @@ const Buffer = Module("buffer", {
|
|||||||
}
|
}
|
||||||
catch (e) {}
|
catch (e) {}
|
||||||
|
|
||||||
let sel = buffer.focusedFrame.getSelection();
|
try {
|
||||||
|
var sel = buffer.focusedFrame.getSelection();
|
||||||
|
}
|
||||||
|
catch (e) {}
|
||||||
if (!elem && sel && sel.rangeCount)
|
if (!elem && sel && sel.rangeCount)
|
||||||
elem = sel.getRangeAt(0).startContainer;
|
elem = sel.getRangeAt(0).startContainer;
|
||||||
if (elem)
|
if (elem)
|
||||||
|
|||||||
@@ -225,7 +225,13 @@ 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 { color: white !important; background: black !important;
|
||||||
|
min-height: 18px !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 */
|
||||||
@@ -290,7 +296,7 @@ const ConfigBase = Class(ModuleBase, {
|
|||||||
HelpBorder;*;dactyl://help/* border-color: silver; border-width: 0px; border-style: solid;
|
HelpBorder;*;dactyl://help/* border-color: silver; border-width: 0px; border-style: solid;
|
||||||
HelpCode display: block; white-space: pre; margin-left: 2em; font-family: monospace;
|
HelpCode display: block; white-space: pre; margin-left: 2em; font-family: monospace;
|
||||||
|
|
||||||
HelpDefault display: inline-block; margin-right: 1ex; white-space: pre;
|
HelpDefault display: inline-block; margin-right: 1ex; white-space: pre; vertical-align: text-top;
|
||||||
|
|
||||||
HelpDescription display: block; clear: right;
|
HelpDescription display: block; clear: right;
|
||||||
HelpDescription[short] clear: none;
|
HelpDescription[short] clear: none;
|
||||||
@@ -319,9 +325,11 @@ const ConfigBase = Class(ModuleBase, {
|
|||||||
padding-right: 13px;
|
padding-right: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
HelpOrderedList;ol[level="1"],ol;dactyl://help/* display: block; list-style: outside decimal;
|
HelpOrderedList;ol;dactyl://help/*
|
||||||
HelpOrderedList2;ol[level="2"],ol ol;dactyl://help/* list-style: outside upper-alpha;
|
HelpOrderedList1;ol[level="1"],ol;dactyl://help/* list-style: outside decimal; display: block;
|
||||||
HelpOrderedList3;ol[level="3"],ol ol ol;dactyl://help/* list-style: outside lower-roman;
|
HelpOrderedList2;ol[level="2"],ol ol;dactyl://help/* list-style: outside upper-alpha;
|
||||||
|
HelpOrderedList3;ol[level="3"],ol ol ol;dactyl://help/* list-style: outside lower-roman;
|
||||||
|
HelpOrderedList4;ol[level="4"],ol ol ol ol;dactyl://help/* list-style: outside decimal;
|
||||||
HelpList;html|ul;dactyl://help/* display: block; list-style: outside disc;
|
HelpList;html|ul;dactyl://help/* display: block; list-style: outside disc;
|
||||||
HelpListItem;html|li;dactyl://help/* display: list-item;
|
HelpListItem;html|li;dactyl://help/* display: list-item;
|
||||||
|
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ const Events = Module("events", {
|
|||||||
if (dactyl.focusedElement) {
|
if (dactyl.focusedElement) {
|
||||||
let rect = dactyl.focusedElement.getBoundingClientRect();
|
let rect = dactyl.focusedElement.getBoundingClientRect();
|
||||||
if (!rect.width || !rect.height) {
|
if (!rect.width || !rect.height) {
|
||||||
services.focusManager.clearFocus(window);
|
services.focus.clearFocus(window);
|
||||||
// onFocusChange needs to die.
|
// onFocusChange needs to die.
|
||||||
this.onFocusChange();
|
this.onFocusChange();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,25 +130,12 @@ label[collapsed=true] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* fixes the min-height: 22px from firefox */
|
/* fixes the min-height: 22px from firefox */
|
||||||
#status-bar,
|
|
||||||
statusbarpanel {
|
statusbarpanel {
|
||||||
-moz-appearance: none !important;
|
-moz-appearance: none !important;
|
||||||
min-height: 18px !important;
|
min-height: 18px !important;
|
||||||
border: none !important;
|
background: transparent;
|
||||||
font-weight: bold;
|
|
||||||
font-family: monospace;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#dactyl-statusline {
|
|
||||||
font-family: monospace;
|
|
||||||
margin: 0px;
|
|
||||||
}
|
|
||||||
#dactyl-statusline > label {
|
|
||||||
padding: 0px 0px 0px 8px;
|
|
||||||
}
|
|
||||||
#dactyl-statusline > label:first-child {
|
|
||||||
padding: 0px;
|
|
||||||
}
|
|
||||||
#dactyl-statusline-field-url {
|
#dactyl-statusline-field-url {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|||||||
Reference in New Issue
Block a user