1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 15:17:58 +01:00

move all XUL styling to default.css

This commit is contained in:
Doug Kearns
2007-07-09 06:47:41 +00:00
parent 1c838eea55
commit d7c8bec9c8
2 changed files with 74 additions and 30 deletions

View File

@@ -1,3 +1,7 @@
/*
* Help file
*/
div.main {
font-family: -moz-fixed;
white-space: -moz-pre-wrap;
@@ -19,23 +23,21 @@ p.tagline {
table {
font-size: 1.0em;
}
table.vimperator {
border-width: 1px 1px 1px 1px;
border-style: dotted dotted dotted dotted;
border-color: gray gray gray gray;
/* FIXME: just a quick hack until we have proper pages */
margin-bottom: 2em;
border-width: 1px;
border-style: dotted;
border-color: gray;
margin-bottom: 2em; /* FIXME: just a quick hack until we have proper pages */
}
table.vimperator td {
border-width: 0px 0px 0px 0px;
padding: 3px 3px 3px 3px;
border-width: 0px;
padding: 3px;
border-style: none;
}
tr.separator {
/* border-width: 3px 0px 0px 0px;
border-style: solid none none none;*/
border-color: gray gray gray gray;
border-color: gray
height: 10px !important;
}
hr { /* horizontal lines */
@@ -49,12 +51,12 @@ td.taglist {
text-align: right;
vertical-align: top;
border-spacing: 13px 10px;
border-width: 0px 10px 0px 10px;
border-width: 0px 10px;
border-color: blue !important;
}
td.taglist td {
width: 100px;
padding: 3px 0px 3px 0px;
padding: 3px 0px;
}
tr.taglist code, td.usage code {
margin: 0px 2px;
@@ -103,6 +105,50 @@ fieldset.paypal {
}
.shorthelp { font-weight: bold; }
/*
* XUL
*
* TODO: move to the standard location: chrome/skin/vimperator.css...if I can
* ever convince MS ;-) -- djk
*/
#vimperator-bufferwindow {
font-family: monospace;
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;
}
#vimperator-commandline-prompt {
font-family: monospace;
background-color:white;
-moz-user-focus:ignore;
}
#vimperator-commandline-command {
font-family: monospace;
-moz-user-focus:ignore;
}
.status_insecure, .status_insecure * {
background-color: transparent;
}

View File

@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
<!-- ***** BEGIN LICENSE BLOCK ***** {{{
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Version
@@ -25,7 +26,7 @@ decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL.
***** END LICENSE BLOCK ***** -->
}}} ***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
@@ -56,8 +57,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
<listbox id="vimperator-bufferwindow" class="plain" rows="10" flex="1" hidden="true"
onclick= "vimperator.bufferwindow.onEvent(event);"
ondblclick="vimperator.bufferwindow.onEvent(event);"
onkeydown= "vimperator.bufferwindow.onEvent(event);"
style="font-family: monospace; overflow:-moz-scrollbars-none;">
onkeydown= "vimperator.bufferwindow.onEvent(event);">
<listcols>
<listcol flex="1" width="50%"/>
<listcol flex="1" width="50%"/>
@@ -67,39 +67,36 @@ the terms of any one of the MPL, the GPL or the LGPL.
<listbox id="vimperator-previewwindow" class="plain" rows="10" flex="1" hidden="true"
onclick= "vimperator.previewwindow.onEvent(event);"
ondblclick="vimperator.previewwindow.onEvent(event);"
onkeydown= "vimperator.previewwindow.onEvent(event);"
style="font-family: monospace; overflow:-moz-scrollbars-none;">
onkeydown= "vimperator.previewwindow.onEvent(event);">
<listcols>
<listcol flex="1" width="50%"/>
<listcol flex="1" width="50%"/>
</listcols>
</listbox>
<hbox id="vimperator-statusline" flex="1" height="10" hidden="false" style="-moz-user-focus:ignore;">
<textbox class="plain" id="vimperator-statusline-field-url" flex="1" readonly="true" style="font-family: monospace; background-color: transparent; -moz-user-focus:ignore;"/>
<label class="plain" id="vimperator-statusline-field-inputbuffer" flex="0" style="font-family: monospace; padding: 0px 0px 0px 8px"/>
<label class="plain" id="vimperator-statusline-field-progress" flex="0" style="font-family: monospace; padding: 0px 0px 0px 8px"/>
<label class="plain" id="vimperator-statusline-field-tabcount" flex="0" style="font-family: monospace; padding: 0px 0px 0px 8px"/>
<label class="plain" id="vimperator-statusline-field-bufferposition" flex="0" style="font-family: monospace; padding: 0px 0px 0px 8px"/>
<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-inputbuffer" 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-bufferposition" flex="0"/>
</hbox>
<listbox id="vimperator-completion" class="plain" rows="1" flex="1" hidden="true"
style="font-family: monospace; -moz-user-focus:ignore; overflow:-moz-scrollbars-none;">
<listbox id="vimperator-completion" class="plain" rows="1" flex="1" hidden="true">
<listcols>
<listcol flex="1" width="50%"/>
<listcol flex="1" width="50%"/>
</listcols>
</listbox>
<hbox id="vimperator-commandline" flex="1" hidden="false" style="-moz-user-focus:ignore;">
<hbox id="vimperator-commandline" flex="1" hidden="false">
<textbox class="plain" id="vimperator-commandline-prompt" flex="0" crop="right" value="" collapsed="true"
readonly="true" style="font-family: monospace; background-color:white; -moz-user-focus:ignore;"/>
readonly="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);"
onfocus="vimperator.commandline.onEvent(event);"
onblur="vimperator.commandline.onEvent(event);"
style="font-family: monospace; -moz-user-focus:ignore;"/>
onblur="vimperator.commandline.onEvent(event);"/>
</hbox>
<iframe id="vimperator-multiline" src="about:blank" flex="1" hidden="false" collapsed="true"/>
</vbox>
@@ -113,4 +110,5 @@ the terms of any one of the MPL, the GPL or the LGPL.
</keyset>
</window>
</overlay>
<!-- vim: set et ts=4 sw=4 : -->
<!-- vim: set fdm=marker sw=4 ts=4 et: -->