1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 00:02:27 +01:00

force #vimperator-statusline-field-url to inherit status bar colors

This commit is contained in:
Doug Kearns
2007-09-26 11:40:30 +00:00
parent d5e0711c6f
commit ac6892f338

View File

@@ -161,9 +161,9 @@ fieldset.paypal {
#vimperator-statusline > label:first-child { #vimperator-statusline > label:first-child {
padding: 0px; padding: 0px;
} }
/* FIXME: prevent this from flashing the default background-color on restarts */
#vimperator-statusline-field-url { #vimperator-statusline-field-url {
background-color: transparent; background-color: inherit;
color: inherit;
} }
/* no longer at the window's bottom right corner */ /* no longer at the window's bottom right corner */
@@ -177,18 +177,15 @@ fieldset.paypal {
/* colors for the statusbar */ /* colors for the statusbar */
/* #status-bar is included so it also gets the right color before the first setClass("insecure") */ /* #status-bar is included so it also gets the right color before the first setClass("insecure") */
#status-bar, #status-bar,
#status-bar.status_insecure, #status-bar.status_insecure {
#status-bar.status_insecure #vimperator-statusline-field-url {
background-color: black; background-color: black;
color: white; color: white;
} }
#status-bar.status_secure, #status-bar.status_secure {
#status-bar.status_secure #vimperator-statusline-field-url {
background-color: #B0FF00; /* light green */ background-color: #B0FF00; /* light green */
color: black; color: black;
} }
#status-bar.status_broken, #status-bar.status_broken {
#status-bar.status_broken #vimperator-statusline-field-url {
background-color: #FF6060; /* light red */ background-color: #FF6060; /* light red */
color: black; color: black;
} }