1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 20:47: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 { div.main {
font-family: -moz-fixed; font-family: -moz-fixed;
white-space: -moz-pre-wrap; white-space: -moz-pre-wrap;
@@ -19,23 +23,21 @@ p.tagline {
table { table {
font-size: 1.0em; font-size: 1.0em;
} }
table.vimperator { table.vimperator {
border-width: 1px 1px 1px 1px; border-width: 1px;
border-style: dotted dotted dotted dotted; border-style: dotted;
border-color: gray gray gray gray; border-color: gray;
/* FIXME: just a quick hack until we have proper pages */ margin-bottom: 2em; /* FIXME: just a quick hack until we have proper pages */
margin-bottom: 2em;
} }
table.vimperator td { table.vimperator td {
border-width: 0px 0px 0px 0px; border-width: 0px;
padding: 3px 3px 3px 3px; padding: 3px;
border-style: none; border-style: none;
} }
tr.separator { tr.separator {
/* border-width: 3px 0px 0px 0px; /* border-width: 3px 0px 0px 0px;
border-style: solid none none none;*/ border-style: solid none none none;*/
border-color: gray gray gray gray; border-color: gray
height: 10px !important; height: 10px !important;
} }
hr { /* horizontal lines */ hr { /* horizontal lines */
@@ -49,12 +51,12 @@ td.taglist {
text-align: right; text-align: right;
vertical-align: top; vertical-align: top;
border-spacing: 13px 10px; border-spacing: 13px 10px;
border-width: 0px 10px 0px 10px; border-width: 0px 10px;
border-color: blue !important; border-color: blue !important;
} }
td.taglist td { td.taglist td {
width: 100px; width: 100px;
padding: 3px 0px 3px 0px; padding: 3px 0px;
} }
tr.taglist code, td.usage code { tr.taglist code, td.usage code {
margin: 0px 2px; margin: 0px 2px;
@@ -103,6 +105,50 @@ fieldset.paypal {
} }
.shorthelp { font-weight: bold; } .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 * { .status_insecure, .status_insecure * {
background-color: transparent; background-color: transparent;
} }

View File

@@ -1,5 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
<!-- ***** BEGIN LICENSE BLOCK ***** {{{
Version: MPL 1.1/GPL 2.0/LGPL 2.1 Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Version 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 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 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. 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"?> <?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" <listbox id="vimperator-bufferwindow" class="plain" rows="10" flex="1" hidden="true"
onclick= "vimperator.bufferwindow.onEvent(event);" onclick= "vimperator.bufferwindow.onEvent(event);"
ondblclick="vimperator.bufferwindow.onEvent(event);" ondblclick="vimperator.bufferwindow.onEvent(event);"
onkeydown= "vimperator.bufferwindow.onEvent(event);" onkeydown= "vimperator.bufferwindow.onEvent(event);">
style="font-family: monospace; overflow:-moz-scrollbars-none;">
<listcols> <listcols>
<listcol flex="1" width="50%"/> <listcol flex="1" width="50%"/>
<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" <listbox id="vimperator-previewwindow" class="plain" rows="10" flex="1" hidden="true"
onclick= "vimperator.previewwindow.onEvent(event);" onclick= "vimperator.previewwindow.onEvent(event);"
ondblclick="vimperator.previewwindow.onEvent(event);" ondblclick="vimperator.previewwindow.onEvent(event);"
onkeydown= "vimperator.previewwindow.onEvent(event);" onkeydown= "vimperator.previewwindow.onEvent(event);">
style="font-family: monospace; overflow:-moz-scrollbars-none;">
<listcols> <listcols>
<listcol flex="1" width="50%"/> <listcol flex="1" width="50%"/>
<listcol flex="1" width="50%"/> <listcol flex="1" width="50%"/>
</listcols> </listcols>
</listbox> </listbox>
<hbox id="vimperator-statusline" flex="1" height="10" hidden="false" style="-moz-user-focus:ignore;"> <hbox id="vimperator-statusline" flex="1" height="10" hidden="false">
<textbox class="plain" id="vimperator-statusline-field-url" flex="1" readonly="true" style="font-family: monospace; background-color: transparent; -moz-user-focus:ignore;"/> <textbox class="plain" id="vimperator-statusline-field-url" flex="1" readonly="true"/>
<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-inputbuffer" flex="0"/>
<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-progress" flex="0"/>
<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-tabcount" flex="0"/>
<label class="plain" id="vimperator-statusline-field-bufferposition" flex="0" style="font-family: monospace; padding: 0px 0px 0px 8px"/> <label class="plain" id="vimperator-statusline-field-bufferposition" flex="0"/>
</hbox> </hbox>
<listbox id="vimperator-completion" class="plain" rows="1" flex="1" hidden="true" <listbox id="vimperator-completion" class="plain" rows="1" flex="1" hidden="true">
style="font-family: monospace; -moz-user-focus:ignore; overflow:-moz-scrollbars-none;">
<listcols> <listcols>
<listcol flex="1" width="50%"/> <listcol flex="1" width="50%"/>
<listcol flex="1" width="50%"/> <listcol flex="1" width="50%"/>
</listcols> </listcols>
</listbox> </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" <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" <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);"
onfocus="vimperator.commandline.onEvent(event);" onfocus="vimperator.commandline.onEvent(event);"
onblur="vimperator.commandline.onEvent(event);" onblur="vimperator.commandline.onEvent(event);"/>
style="font-family: monospace; -moz-user-focus:ignore;"/>
</hbox> </hbox>
<iframe id="vimperator-multiline" src="about:blank" flex="1" hidden="false" collapsed="true"/> <iframe id="vimperator-multiline" src="about:blank" flex="1" hidden="false" collapsed="true"/>
</vbox> </vbox>
@@ -113,4 +110,5 @@ the terms of any one of the MPL, the GPL or the LGPL.
</keyset> </keyset>
</window> </window>
</overlay> </overlay>
<!-- vim: set et ts=4 sw=4 : -->
<!-- vim: set fdm=marker sw=4 ts=4 et: -->