1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:17:59 +01:00

Fix a typo in revision ae79abb4ff88.

This commit is contained in:
Kris Maglione
2010-12-19 09:45:59 -05:00
parent 5431819524
commit d9b7d909bc
4 changed files with 19 additions and 21 deletions

View File

@@ -1154,7 +1154,10 @@ const Buffer = Module("buffer", {
}
catch (e) {}
let sel = buffer.focusedFrame.getSelection();
try {
var sel = buffer.focusedFrame.getSelection();
}
catch (e) {}
if (!elem && sel && sel.rangeCount)
elem = sel.getRangeAt(0).startContainer;
if (elem)

View File

@@ -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: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 */
StatusLineSecure color: black !important; background: #a0a0FF !important /* light-blue */
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;
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[short] clear: none;
@@ -319,9 +325,11 @@ const ConfigBase = Class(ModuleBase, {
padding-right: 13px;
}
HelpOrderedList;ol[level="1"],ol;dactyl://help/* display: block; list-style: outside decimal;
HelpOrderedList;ol;dactyl://help/*
HelpOrderedList1;ol[level="1"],ol;dactyl://help/* list-style: outside decimal; display: block;
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;
HelpListItem;html|li;dactyl://help/* display: list-item;

View File

@@ -678,7 +678,7 @@ const Events = Module("events", {
if (dactyl.focusedElement) {
let rect = dactyl.focusedElement.getBoundingClientRect();
if (!rect.width || !rect.height) {
services.focusManager.clearFocus(window);
services.focus.clearFocus(window);
// onFocusChange needs to die.
this.onFocusChange();
}

View File

@@ -130,25 +130,12 @@ label[collapsed=true] {
}
/* fixes the min-height: 22px from firefox */
#status-bar,
statusbarpanel {
-moz-appearance: none !important;
min-height: 18px !important;
border: none !important;
font-weight: bold;
font-family: monospace;
background: transparent;
}
#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 {
background-color: inherit;
color: inherit;