mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 22:45:44 +01:00
split default.css into vimperator.css and help.css
This commit is contained in:
145
chrome/content/vimperator/help.css
Normal file
145
chrome/content/vimperator/help.css
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
/***** 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
|
||||||
|
1.1 (the "License"); you may not use this file except in compliance with
|
||||||
|
the License. You may obtain a copy of the License at
|
||||||
|
http://www.mozilla.org/MPL/
|
||||||
|
|
||||||
|
Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
|
for the specific language governing rights and limitations under the
|
||||||
|
License.
|
||||||
|
|
||||||
|
(c) 2006-2007: Martin Stubenschrott <stubenschrott@gmx.net>
|
||||||
|
|
||||||
|
Alternatively, the contents of this file may be used under the terms of
|
||||||
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||||
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||||
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
||||||
|
of those above. If you wish to allow use of your version of this file only
|
||||||
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
||||||
|
use your version of this file under the terms of the MPL, indicate your
|
||||||
|
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 *****/
|
||||||
|
|
||||||
|
div.main {
|
||||||
|
font-family: -moz-fixed;
|
||||||
|
white-space: -moz-pre-wrap;
|
||||||
|
width: 800px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.tagline {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.vimperator {
|
||||||
|
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: none;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
tr.separator {
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
hr {
|
||||||
|
height: 1px;
|
||||||
|
background-color: white;
|
||||||
|
border-style: none;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
td.taglist {
|
||||||
|
text-align: right;
|
||||||
|
vertical-align: top;
|
||||||
|
border-spacing: 13px 10px;
|
||||||
|
}
|
||||||
|
td.taglist td {
|
||||||
|
width: 100px;
|
||||||
|
padding: 3px 0px;
|
||||||
|
}
|
||||||
|
tr.taglist code, td.usage code {
|
||||||
|
margin: 0px 2px;
|
||||||
|
}
|
||||||
|
td.usage code {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
td.taglist code {
|
||||||
|
margin-left: 2em;
|
||||||
|
}
|
||||||
|
code.tag {
|
||||||
|
font-weight: bold;
|
||||||
|
color: rgb(255, 0, 255); /* magenta */
|
||||||
|
}
|
||||||
|
tr.description {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
table.commands {
|
||||||
|
background-color: rgb(250, 240, 230);
|
||||||
|
}
|
||||||
|
table.mappings {
|
||||||
|
background-color: rgb(230, 240, 250);
|
||||||
|
}
|
||||||
|
table.options {
|
||||||
|
background-color: rgb(240, 250, 230);
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset.paypal {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.argument {
|
||||||
|
color: #6A97D4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.command {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #632610;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mapping {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #102663;
|
||||||
|
}
|
||||||
|
|
||||||
|
.option {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #106326;
|
||||||
|
}
|
||||||
|
|
||||||
|
.code {
|
||||||
|
color: #108826;
|
||||||
|
}
|
||||||
|
|
||||||
|
.shorthelp {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.version {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 2%;
|
||||||
|
color: #C0C0C0;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.warning {
|
||||||
|
font-weight: bold;
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* vim: set fdm=marker sw=4 ts=4 et: */
|
||||||
@@ -208,7 +208,7 @@ vimperator.help = function(section, easter) //{{{
|
|||||||
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' +
|
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' +
|
||||||
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head>\n<title>Vimperator help</title>\n' +
|
'<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head>\n<title>Vimperator help</title>\n' +
|
||||||
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file
|
// XXX: stylesheet broken here? Have to add it in the vimperator.xul file
|
||||||
'<link rel="stylesheet" href="chrome://vimperator/content/default.css" type="text/css"/>\n' +
|
'<link rel="stylesheet" href="chrome://vimperator/content/help.css" type="text/css"/>\n' +
|
||||||
'</head>\n<body>\n<div class="main">\n' +
|
'</head>\n<body>\n<div class="main">\n' +
|
||||||
'<span class="version">version ' + vimperator.version + '</span>\n' +
|
'<span class="version">version ' + vimperator.version + '</span>\n' +
|
||||||
header +
|
header +
|
||||||
|
|||||||
@@ -1,128 +1,31 @@
|
|||||||
/*
|
/***** BEGIN LICENSE BLOCK ***** {{{
|
||||||
* Help file {{{
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||||
*/
|
|
||||||
|
|
||||||
div.main {
|
The contents of this file are subject to the Mozilla Public License Version
|
||||||
font-family: -moz-fixed;
|
1.1 (the "License"); you may not use this file except in compliance with
|
||||||
white-space: -moz-pre-wrap;
|
the License. You may obtain a copy of the License at
|
||||||
width: 800px;
|
http://www.mozilla.org/MPL/
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
Software distributed under the License is distributed on an "AS IS" basis,
|
||||||
text-align: center;
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||||
}
|
for the specific language governing rights and limitations under the
|
||||||
|
License.
|
||||||
|
|
||||||
p.tagline {
|
(c) 2006-2007: Martin Stubenschrott <stubenschrott@gmx.net>
|
||||||
text-align: center;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.vimperator {
|
Alternatively, the contents of this file may be used under the terms of
|
||||||
border-width: 1px;
|
either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||||
border-style: dotted;
|
the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||||
border-color: gray;
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
||||||
/*margin-bottom: 2em; /* FIXME: just a quick hack until we have proper pages */
|
of those above. If you wish to allow use of your version of this file only
|
||||||
}
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
||||||
table.vimperator td {
|
use your version of this file under the terms of the MPL, indicate your
|
||||||
border: none;
|
decision by deleting the provisions above and replace them with the notice
|
||||||
padding: 3px;
|
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
|
||||||
tr.separator {
|
the terms of any one of the MPL, the GPL or the LGPL.
|
||||||
height: 10px;
|
}}} ***** END LICENSE BLOCK *****/
|
||||||
}
|
|
||||||
hr {
|
|
||||||
height: 1px;
|
|
||||||
background-color: white;
|
|
||||||
border-style: none;
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
td.taglist {
|
|
||||||
text-align: right;
|
|
||||||
vertical-align: top;
|
|
||||||
border-spacing: 13px 10px;
|
|
||||||
}
|
|
||||||
td.taglist td {
|
|
||||||
width: 100px;
|
|
||||||
padding: 3px 0px;
|
|
||||||
}
|
|
||||||
tr.taglist code, td.usage code {
|
|
||||||
margin: 0px 2px;
|
|
||||||
}
|
|
||||||
td.usage code {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
td.taglist code {
|
|
||||||
margin-left: 2em;
|
|
||||||
}
|
|
||||||
code.tag {
|
|
||||||
font-weight: bold;
|
|
||||||
color: rgb(255, 0, 255); /* magenta */
|
|
||||||
}
|
|
||||||
tr.description {
|
|
||||||
margin-bottom: 4px;
|
|
||||||
}
|
|
||||||
table.commands {
|
|
||||||
background-color: rgb(250, 240, 230);
|
|
||||||
}
|
|
||||||
table.mappings {
|
|
||||||
background-color: rgb(230, 240, 250);
|
|
||||||
}
|
|
||||||
table.options {
|
|
||||||
background-color: rgb(240, 250, 230);
|
|
||||||
}
|
|
||||||
|
|
||||||
fieldset.paypal {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.argument {
|
|
||||||
color: #6A97D4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.command {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #632610;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mapping {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #102663;
|
|
||||||
}
|
|
||||||
|
|
||||||
.option {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #106326;
|
|
||||||
}
|
|
||||||
|
|
||||||
.code {
|
|
||||||
color: #108826;
|
|
||||||
}
|
|
||||||
|
|
||||||
.shorthelp {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.version {
|
|
||||||
position: absolute;
|
|
||||||
top: 10px;
|
|
||||||
right: 2%;
|
|
||||||
color: #C0C0C0;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.warning {
|
|
||||||
font-weight: bold;
|
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* }}}
|
|
||||||
* XUL {{{
|
|
||||||
* TODO: move to the standard location: chrome/skin/vimperator.css...if I can
|
|
||||||
* ever convince MS :( -- djk
|
|
||||||
*/
|
|
||||||
#vimperator-container {
|
#vimperator-container {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
@@ -220,8 +123,4 @@ fieldset.paypal {
|
|||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* }}}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* vim: set fdm=marker sw=4 ts=4 et: */
|
/* vim: set fdm=marker sw=4 ts=4 et: */
|
||||||
@@ -31,7 +31,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
|||||||
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
||||||
|
|
||||||
<!-- The stylesheet which is used for the :help command -->
|
<!-- The stylesheet which is used for the :help command -->
|
||||||
<?xml-stylesheet href="chrome://vimperator/content/default.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://vimperator/content/vimperator.css" type="text/css"?>
|
||||||
|
|
||||||
<overlay id="vimperator"
|
<overlay id="vimperator"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
|||||||
Reference in New Issue
Block a user