1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:22:26 +01:00
Files
pentadactyl-pm/skin/vimperator.css
2008-10-06 23:06:51 +00:00

252 lines
6.1 KiB
CSS

/***** 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-2008: 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 *****/
/* Applied to all content */
.liberator-frame-indicator {
-moz-binding: url(chrome://vimperator/content/bindings.xml#frame);
}
#liberator-frame-indicator {
background-color: red;
opacity: 0.5;
z-index: 999
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
/* Applied only to completion buffer and MOW */
@-moz-document
url-prefix(chrome://vimperator/),
url-prefix(chrome://muttator/) {
*:-moz-loading, *:-moz-broken { display: none !important; }
.compitem[selected=true] { background-color: yellow; }
.compitem > .favicon { width: 16px; }
.compitem > .favicon > img { width: 16px; height: 16px; }
.compitem > .completion { width: 45%; overflow: hidden; }
.compitem > .description { color: gray; }
.extra-info { color: gray; }
.times-executed, .time-average { color: green; }
.time-total { color: red; }
.indicator { color: blue; }
.hl-Number { color: red; }
.hl-String { color: green; }
.hl-Boolean { color: blue; }
.hl-Null { color: blue; }
.hl-Keyword { color: red; }
.hl-Tag { color: blue; }
}
/* Applied to completion buffer, MOW, browser window */
@-moz-document
url-prefix(chrome://),
url(chrome://browser/content/browser.xul) {
#liberator-container {
font-family: monospace;
}
#liberator-completions {
-moz-user-focus: ignore;
overflow: -moz-scrollbars-none !important; /* does not seem to work fully */
border-width: 0px !important;
/*-moz-appearance: none !important; /* prevent an ugly 3D border */
}
/* fixes the min-height: 22px from firefox */
#status-bar, statusbarpanel {
-moz-appearance: none !important;
min-height: 18px !important;
border: none !important;
font-weight: bold;
font-family: monospace;
}
#liberator-statusline {
font-family: monospace;
margin: 0px;
}
#liberator-statusline > label {
padding: 0px 0px 0px 8px;
}
#liberator-statusline > label:first-child {
padding: 0px;
}
#liberator-statusline-field-url {
background-color: inherit;
color: inherit;
}
/* no longer at the window's bottom right corner */
.statusbar-resizerpanel {
display: none;
}
#statusbar-display, #statusbar-progresspanel {
display: none;
}
#liberator-commandline {
padding: 1px;
font-family: monospace;
/*
background-color: white;
color: black;
*/
}
#liberator-commandline-prompt {
margin: 0px;
padding: 0px;
background-color: inherit;
}
#liberator-commandline-command {
background-color: inherit;
color: inherit;
}
#liberator-visualbell {
border: none;
background-color: black;
}
#sidebar {
max-width: 90% !important;
min-width: 10% !important;
}
/* highlight groups */
.hl-Normal {
background-color: white;
color: black;
}
.hl-ErrorMsg {
background-color: red;
color: white;
font-weight: bold;
}
.hl-InfoMsg {
background-color: white;
color: black;
}
.hl-ModeMsg {
background-color: white;
color: black;
}
.hl-LineNr {
background-color: white;
color: orange;
}
.hl-MoreMsg {
background-color: white;
color: green;
}
.hl-Question {
background-color: white;
color: green;
}
.hl-Title {
background-color: white;
color: magenta;
font-weight: bold !important;
}
.hl-WarningMsg {
background-color: white;
color: red;
}
.hl-StatusLine {
background: none !important;
background-color: black !important;
color: white !important;
}
.hl-StatusLineSecure {
background: none !important;
background-color: #B0FF00 !important; /* light green */
color: black !important;
}
.hl-StatusLineBroken {
background: none !important;
background-color: #FF6060 !important; /* light red */
color: black !important;
}
.hl-URL {
background-color: inherit;
color: green;
text-decoration: none;
}
/* NOTE: .aClass:hover not supported in quirks mode: http://developer.mozilla.org/en/docs/Mozilla_Quirks_Mode_Behavior */
a.hl-URL:hover {
text-decoration: underline;
cursor: pointer;
}
/* MOW */
#liberator-completions, #liberator-multiline-output {
overflow: hidden;
background-color: white;
color: black;
}
#liberator-completions-content, #liberator-multiline-output-content {
white-space: pre;
font-family: -moz-fixed;
margin: 0px;
}
#liberator-completions-content *, #liberator-multiline-output-content * {
font: inherit;
}
#liberator-completions-content table, #liberator-multiline-output-content table {
white-space: inherit;
border-spacing: 0px;
}
#liberator-completions-content td, #liberator-multiline-output-content td,
#liberator-completions-content th, #liberator-multiline-output-content th {
padding: 0px 2px;
}
/* for muttator's composer */
#content-frame, #appcontent {
border: 0px;
}
}
/* vim: set fdm=marker sw=4 ts=4 et: */