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