css files added

This commit is contained in:
z-eos 2020-11-05 18:07:55 +02:00
parent 809029169e
commit a84b77e57c
3 changed files with 204 additions and 2 deletions

101
black.css Normal file
View File

@ -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;
}

View File

@ -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 <<EOF);
<!DOCTYPE html "-//W3C//DTD HTML 4.01 Final//EN">
<html>

101
white.css Normal file
View File

@ -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;
}