mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 22:07:59 +01:00
replace readonly textboxes in the commandline and statusbar with labels and
simplify the skin styling
This commit is contained in:
1
TODO
1
TODO
@@ -13,6 +13,7 @@ BUGS:
|
||||
dpb| 09:11:50 dpb :: and this happens only when saving the complete
|
||||
webpage, saving only the html works just fine..
|
||||
- add window resize support to hints
|
||||
- can't reverse tab through the vimperator toolbar
|
||||
|
||||
FEATURES:
|
||||
9 :map commands to keys
|
||||
|
||||
@@ -531,10 +531,11 @@ function Marks() //{{{
|
||||
// NS_ERROR_NOT_AVAILABLE" exception when used here?
|
||||
umarks.sort(function(a, b) {
|
||||
if (a[0] < b[0])
|
||||
return -1
|
||||
return -1;
|
||||
else if (a[0] > b[0])
|
||||
return 1;
|
||||
return 0
|
||||
else
|
||||
return 0;
|
||||
});
|
||||
|
||||
return lmarks.concat(umarks);
|
||||
|
||||
@@ -88,10 +88,29 @@ fieldset.paypal {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.command { font-weight: bold; color: #632610; }
|
||||
.mapping { font-weight: bold; color: #102663; }
|
||||
.option { font-weight: bold; color: #106326; }
|
||||
.argument { color: #6A97D4; }
|
||||
.argument {
|
||||
color: #6A97D4;
|
||||
}
|
||||
|
||||
.command {
|
||||
font-weight: bold;
|
||||
color: #632610;
|
||||
}
|
||||
|
||||
.mapping {
|
||||
font-weight: bold;
|
||||
color: #102663;
|
||||
}
|
||||
|
||||
.option {
|
||||
font-weight: bold;
|
||||
color: #106326;
|
||||
}
|
||||
|
||||
.shorthelp {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.version {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
@@ -99,11 +118,11 @@ fieldset.paypal {
|
||||
color: #C0C0C0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.warning {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
.shorthelp { font-weight: bold; }
|
||||
|
||||
/*
|
||||
* XUL
|
||||
@@ -111,42 +130,27 @@ fieldset.paypal {
|
||||
* TODO: move to the standard location: chrome/skin/vimperator.css...if I can
|
||||
* ever convince MS ;-) -- djk
|
||||
*/
|
||||
#vimperator-bufferwindow {
|
||||
#vimperator-toolbar {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
#vimperator-bufferwindow, #vimperator-completion, #vimperator-previewwindow {
|
||||
-moz-user-focus: ignore;
|
||||
overflow: -moz-scrollbars-none;
|
||||
}
|
||||
#vimperator-previewwindow {
|
||||
font-family: monospace;
|
||||
overflow:-moz-scrollbars-none;
|
||||
}
|
||||
#vimperator-statusline {
|
||||
-moz-user-focus:ignore;
|
||||
}
|
||||
#vimperator-statusline-field-url {
|
||||
font-family: monospace;
|
||||
background-color: transparent;
|
||||
-moz-user-focus:ignore;
|
||||
}
|
||||
|
||||
#vimperator-statusline > label {
|
||||
font-family: monospace;
|
||||
padding: 0px 0px 0px 8px;
|
||||
}
|
||||
#vimperator-completion {
|
||||
font-family: monospace;
|
||||
-moz-user-focus:ignore;
|
||||
overflow:-moz-scrollbars-none;
|
||||
}
|
||||
|
||||
#vimperator-commandline {
|
||||
-moz-user-focus:ignore;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
#vimperator-commandline-prompt {
|
||||
font-family: monospace;
|
||||
/* FIXME: black on white or default skin colours? */
|
||||
background-color: white;
|
||||
-moz-user-focus:ignore;
|
||||
}
|
||||
#vimperator-commandline-command {
|
||||
font-family: monospace;
|
||||
-moz-user-focus:ignore;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.status_insecure, .status_insecure * {
|
||||
|
||||
@@ -77,7 +77,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
||||
</listbox>
|
||||
|
||||
<hbox id="vimperator-statusline" flex="1" height="10" hidden="false">
|
||||
<textbox class="plain" id="vimperator-statusline-field-url" flex="1" readonly="true"/>
|
||||
<label class="plain" id="vimperator-statusline-field-url" flex="1"/>
|
||||
<label class="plain" id="vimperator-statusline-field-inputbuffer" flex="0"/>
|
||||
<label class="plain" id="vimperator-statusline-field-progress" flex="0"/>
|
||||
<label class="plain" id="vimperator-statusline-field-tabcount" flex="0"/>
|
||||
@@ -92,8 +92,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
||||
</listbox>
|
||||
|
||||
<hbox id="vimperator-commandline" flex="1" hidden="false">
|
||||
<textbox class="plain" id="vimperator-commandline-prompt" flex="0" crop="right" value="" collapsed="true"
|
||||
readonly="true"/>
|
||||
<label class="plain" id="vimperator-commandline-prompt" flex="0" crop="right" value="" collapsed="true"/>
|
||||
<textbox class="plain" id="vimperator-commandline-command" flex="1" hidden="false" type="timed" timeout="100"
|
||||
onkeypress="vimperator.commandline.onEvent(event);"
|
||||
oninput="vimperator.commandline.onEvent(event);"
|
||||
|
||||
Reference in New Issue
Block a user