1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 22:42:26 +01:00

merge CSS improvements to the statusbar and preview window

This commit is contained in:
Doug Kearns
2007-09-24 16:02:58 +00:00
parent 72ca90fa8f
commit 1e7c19bc97

View File

@@ -1,5 +1,5 @@
/* /*
* Help file * Help file {{{
*/ */
div.main { div.main {
@@ -118,11 +118,10 @@ fieldset.paypal {
color: red; color: red;
} }
/* /* }}}
* XUL * XUL {{{
*
* 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-container { #vimperator-container {
font-family: monospace; font-family: monospace;
@@ -131,6 +130,8 @@ fieldset.paypal {
#vimperator-bufferwindow, #vimperator-completion, #vimperator-previewwindow { #vimperator-bufferwindow, #vimperator-completion, #vimperator-previewwindow {
-moz-user-focus: ignore; -moz-user-focus: ignore;
overflow: -moz-scrollbars-none; overflow: -moz-scrollbars-none;
border-width: 0px !important;
-moz-appearance: none !important; /* prevent an ugly 3D border */
} }
/* the selected item in listboxes is hardly readable without this */ /* the selected item in listboxes is hardly readable without this */
@@ -142,9 +143,12 @@ fieldset.paypal {
color: HighlightText !important; color: HighlightText !important;
} }
statusbarpanel { /* fixes the min-height: 22px from firefox */
#status-bar, statusbarpanel {
-moz-appearance: none !important; -moz-appearance: none !important;
min-height: 18px !important;
border: none !important; border: none !important;
font-weight: bold;
} }
#vimperator-statusline { #vimperator-statusline {
font-family: monospace; font-family: monospace;
@@ -160,29 +164,34 @@ statusbarpanel {
background-color: transparent; background-color: transparent;
color: black; color: black;
} }
/* no longer at the window's bottom right corner */
.statusbar-resizerpanel {
display: none;
}
#vimperator-commandline { #vimperator-commandline {
/* FIXME: black on white or default skin colors? */ /* FIXME: black on white or default skin colors? -moz-Field/-moz-FieldText */
background-color: white; background-color: white;
color: black; color: black;
padding: 1px; padding: 1px;
} }
#vimperator-multiline-output { /* colors for the statusbar */
overflow: hidden; /* #status-bar is included so it also gets the right color before the first setClass("insecure") */
#status-bar, #status-bar.status_insecure*/ {
background-color: black;
color: white;
} }
#status-bar.status_secure {
/*
.status_insecure, .status_insecure * {
}
*/
.status_secure, .status_secure * {
background-color: #B0FF00; /* light green */ background-color: #B0FF00; /* light green */
color: black; color: black;
} }
.status_broken, .status_broken * { #status-bar.status_broken {
background-color: #FF6060; /* light red */ background-color: #FF6060; /* light red */
color: black; color: black;
} }
#vimperator-multiline-output {
overflow: hidden;
}
/* vim: set fdm=marker sw=4 ts=4 et: */ /* vim: set fdm=marker sw=4 ts=4 et: */