diff --git a/black.css b/black.css new file mode 100644 index 0000000..bfe5d9d --- /dev/null +++ b/black.css @@ -0,0 +1,101 @@ +body { + background-color: black; + font-family: Verdana, sans-serif; + color: white; +} + +.index-body { + background-color: black; + font-family: Verdana, sans-serif; + color: #888888; +} + +/* select, input { */ +/* border-radius: 0; */ +/* border: none; */ +/* padding: 10px; */ +/* } */ + +/* input[type=button], input[type=submit], input[type=reset] { */ +/* background-color: white; */ +/* border: none; */ +/* color: black; */ +/* padding: 10px 16px; */ +/* text-decoration: none; */ +/* margin: 4px 2px; */ +/* cursor: pointer; */ +/* } */ + +table { + background: #888888; + border: 1px black; + border-left: 1px outset #888888; + border-top: 1px outset #888888; + border-right: 1px outset black; + border-bottom: 1px outset black; + border-spacing: 5px; +} + +cgi-header-table { + border: 1px groove black; + border-spacing: 5px; +} + + +.startpage-header-table { + border: 0; + background: transparent; +} + +.table-module { + background: #cccccc; +} + +/* th { */ +/* background-color: #888888; */ +/* } */ + +th, td { + border: 1px inset #888888; + background-color: #333333; + padding: 0; +} + +.td-title { + background-color: #333333; + font-family: Verdana, sans-serif; + color: #888800; +} + +.td-title-host { + font-family: Verdana, sans-serif; + background-color: black; +} + +.td-note { + background-color: #333333; + font-family: Verdana, sans-serif; + color: #888800; +} + +.text-title { + font-family: Verdana, sans-serif; + color: #888800; +} + +.text-copyright { + font-size: 60%; + color: white; +} + +.text-size { + font-size: 5; +} + +.history01 { + color: #888888; + position: fixed; + left: 1em; + font-size: 32px; + letter-spacing: -1px; +} diff --git a/monitorix b/monitorix index 8322430..5844c1b 100755 --- a/monitorix +++ b/monitorix @@ -24,7 +24,7 @@ require 5.006; use strict; use warnings; use FindBin qw($Bin); -use lib $Bin . "/lib", "/usr/local/share/monitorix"; +use lib $Bin . "/lib", "/usr/lib/monitorix"; use Monitorix; use POSIX qw(WNOHANG LC_TIME setlocale uname pause setsid); @@ -223,7 +223,7 @@ EOF if(!open(OUT, "> $config{base_dir}/index.html")) { die "unable to create '${config{base_dir}}index.html': $!"; } - my $css = sprintf("%scss/monitorix-%s.css", $base_url, $config{theme_color}); + my $css = sprintf("%scss/%s.css", $base_url, $config{theme_color}); print(OUT < diff --git a/white.css b/white.css new file mode 100644 index 0000000..7d9f109 --- /dev/null +++ b/white.css @@ -0,0 +1,101 @@ +body { + background-color: white; + font-family: Verdana, sans-serif; +// color: white; +} + +/* .index-body { */ +/* background-color: black; */ +/* font-family: Verdana, sans-serif; */ +/* color: #888888; */ +/* } */ + +/* select, input { */ +/* border-radius: 0; */ +/* border: none; */ +/* padding: 10px; */ +/* } */ + +/* input[type=button], input[type=submit], input[type=reset] { */ +/* background-color: white; */ +/* border: none; */ +/* color: black; */ +/* padding: 10px 16px; */ +/* text-decoration: none; */ +/* margin: 4px 2px; */ +/* cursor: pointer; */ +/* } */ + +table { + background: #888888; + border: 1px black; + border-left: 1px outset #888888; + border-top: 1px outset #888888; + border-right: 1px outset black; + border-bottom: 1px outset black; + border-spacing: 5px; +} + +cgi-header-table { + border: 1px groove black; + border-spacing: 5px; +} + + +.startpage-header-table { + border: 0; + background: transparent; +} + +.table-module { + background: #cccccc; +} + +/* th { */ +/* background-color: #888888; */ +/* } */ + +th, td { + border: 1px inset #888888; + background-color: #777777; + padding: 0; +} + +.td-title { + background-color: #777777; + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.td-title-host { + font-family: Verdana, sans-serif; + background-color: white; +} + +.td-note { + background-color: #777777; + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.text-title { + font-family: Verdana, sans-serif; + color: #cccc00; +} + +.text-copyright { + font-size: 60%; +// color: white; +} + +.text-size { + font-size: 5; +} + +.history01 { + color: #888888; + position: fixed; + left: 1em; + font-size: 32px; + letter-spacing: -1px; +}