From 1e7c19bc97bd21ed45ef62e52418adeae92fd75d Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 24 Sep 2007 16:02:58 +0000 Subject: [PATCH] merge CSS improvements to the statusbar and preview window --- chrome/content/vimperator/default.css | 41 ++++++++++++++++----------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/chrome/content/vimperator/default.css b/chrome/content/vimperator/default.css index 0c55749c..a71262d8 100644 --- a/chrome/content/vimperator/default.css +++ b/chrome/content/vimperator/default.css @@ -1,5 +1,5 @@ /* - * Help file + * Help file {{{ */ div.main { @@ -118,11 +118,10 @@ fieldset.paypal { color: red; } -/* - * XUL - * +/* }}} + * XUL {{{ * TODO: move to the standard location: chrome/skin/vimperator.css...if I can - * ever convince MS ;-) -- djk + * ever convince MS :( -- djk */ #vimperator-container { font-family: monospace; @@ -131,6 +130,8 @@ fieldset.paypal { #vimperator-bufferwindow, #vimperator-completion, #vimperator-previewwindow { -moz-user-focus: ignore; 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 */ @@ -142,9 +143,12 @@ fieldset.paypal { color: HighlightText !important; } -statusbarpanel { +/* fixes the min-height: 22px from firefox */ +#status-bar, statusbarpanel { -moz-appearance: none !important; + min-height: 18px !important; border: none !important; + font-weight: bold; } #vimperator-statusline { font-family: monospace; @@ -160,29 +164,34 @@ statusbarpanel { background-color: transparent; color: black; } +/* no longer at the window's bottom right corner */ +.statusbar-resizerpanel { + display: none; +} #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; color: black; padding: 1px; } -#vimperator-multiline-output { - overflow: hidden; +/* colors for the statusbar */ +/* #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_insecure, .status_insecure * { -} -*/ -.status_secure, .status_secure * { +#status-bar.status_secure { background-color: #B0FF00; /* light green */ color: black; } -.status_broken, .status_broken * { +#status-bar.status_broken { background-color: #FF6060; /* light red */ color: black; } +#vimperator-multiline-output { + overflow: hidden; +} /* vim: set fdm=marker sw=4 ts=4 et: */