Module: check_mk
Branch: master
Commit: bb0021f6859107cbd535fa3ad4f120539416e63c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bb0021f6859107…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Aug 22 11:11:32 2016 +0200
Replaced some more images with simple CSS definitions
---
web/htdocs/images/form_background.png | Bin 87 -> 0 bytes
web/htdocs/images/nform_background.png | Bin 105 -> 0 bytes
web/htdocs/images/white_10percent.png | Bin 83 -> 0 bytes
web/htdocs/images/white_20percent.png | Bin 83 -> 0 bytes
web/htdocs/images/white_40percent.png | Bin 83 -> 0 bytes
web/htdocs/images/white_70percent.png | Bin 83 -> 0 bytes
web/htdocs/images/white_80percent.png | Bin 83 -> 0 bytes
web/htdocs/images/white_90percent.png | Bin 83 -> 0 bytes
web/htdocs/pages.css | 25 +++++++------------------
web/htdocs/views.css | 6 ++----
web/htdocs/wato.css | 12 ++++--------
11 files changed, 13 insertions(+), 30 deletions(-)
diff --git a/web/htdocs/images/form_background.png
b/web/htdocs/images/form_background.png
deleted file mode 100644
index 14da800..0000000
Binary files a/web/htdocs/images/form_background.png and /dev/null differ
diff --git a/web/htdocs/images/nform_background.png
b/web/htdocs/images/nform_background.png
deleted file mode 100644
index 734be88..0000000
Binary files a/web/htdocs/images/nform_background.png and /dev/null differ
diff --git a/web/htdocs/images/white_10percent.png
b/web/htdocs/images/white_10percent.png
deleted file mode 100644
index 94e0c90..0000000
Binary files a/web/htdocs/images/white_10percent.png and /dev/null differ
diff --git a/web/htdocs/images/white_20percent.png
b/web/htdocs/images/white_20percent.png
deleted file mode 100644
index 3b7f8a8..0000000
Binary files a/web/htdocs/images/white_20percent.png and /dev/null differ
diff --git a/web/htdocs/images/white_40percent.png
b/web/htdocs/images/white_40percent.png
deleted file mode 100644
index 1de5ae5..0000000
Binary files a/web/htdocs/images/white_40percent.png and /dev/null differ
diff --git a/web/htdocs/images/white_70percent.png
b/web/htdocs/images/white_70percent.png
deleted file mode 100644
index d591905..0000000
Binary files a/web/htdocs/images/white_70percent.png and /dev/null differ
diff --git a/web/htdocs/images/white_80percent.png
b/web/htdocs/images/white_80percent.png
deleted file mode 100644
index 2f70a85..0000000
Binary files a/web/htdocs/images/white_80percent.png and /dev/null differ
diff --git a/web/htdocs/images/white_90percent.png
b/web/htdocs/images/white_90percent.png
deleted file mode 100644
index b5f972e..0000000
Binary files a/web/htdocs/images/white_90percent.png and /dev/null differ
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index f00f45c..2e2ef5f 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -677,9 +677,10 @@ h2.formcaption {
margin-bottom: 0px;
}
+/* TODO: lm: Is this table.form used anywhere? If not, remove it! */
+
table.form {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.2);
border-collapse: collapse;
empty-cells: show;
border-spacing: 0px;
@@ -696,16 +697,9 @@ table.form.nomargin {
margin: 0;
border-bottom-style: none;
}
-/* table.form.nomargin td.legend,
-table.form.nomargin td.content,
-table.form.nomargin td.checkbox,
-table.form.nomargin td.buttons {
- border-top-style: none;
-}*/
table.form.nomargin td.title {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.2);
}
table.form > tbody > tr > td {
@@ -743,21 +737,18 @@ table.form td.legend.border {
/* border-right-style: solid; */
}
table.form td.hilite {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.2);
margin: 10px;
}
table.form td.lgend.button {
text-align: right;
-/* border-right: 1px solid #fff; */
}
td.content hr {
height: 1px;
border-style: none;
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.2);
}
td.legend {
@@ -803,7 +794,6 @@ span.checkbox {
/* Next-Generation forms */
table.nform {
border-spacing: 0px;
- /* border-collapse: collapse; */
margin: 0;
padding: 0;
empty-cells: show;
@@ -812,8 +802,7 @@ table.nform {
border-radius: 5px;
box-shadow: 0px 0px 2px #000;
margin-bottom: 10px;
- background-image: url("images/nform_background.png");
- background-repeat: repeat;
+ background-color: rgba(160, 181, 190, 0.6);
border-color: #86A9B8 #22404D #22414D #86A9B8;
border-width: 1px;
border-style: solid;
diff --git a/web/htdocs/views.css b/web/htdocs/views.css
index 26db065..df95a01 100644
--- a/web/htdocs/views.css
+++ b/web/htdocs/views.css
@@ -62,8 +62,7 @@ div.floatfilter {
border-style: solid;
border-color: #acc #22404d #22414d #8ab;
box-shadow: 0.5px 0.5px 1px #444;
- background-image: url("images/nform_background.png");
- background-repeat: repeat;
+ background-color: rgba(160, 181, 190, 0.6);
border-radius: 5px;
color: black;
}
@@ -90,8 +89,7 @@ div.floatfilter .legend {
margin-bottom: 1px;
width: 300px;
height: 17px;
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.2);
padding: 3px 5px 0px 5px;
border-radius: 5px 5px 0px 0px;
}
diff --git a/web/htdocs/wato.css b/web/htdocs/wato.css
index 6799f99..ea3bfd5 100644
--- a/web/htdocs/wato.css
+++ b/web/htdocs/wato.css
@@ -509,8 +509,7 @@ table.validationerror img {
width: 500px;
height: 140px;
border: 1px solid white;
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.3);
margin-top: 10px;
border-radius: 4px;
position: relative;
@@ -926,8 +925,7 @@ div.varname {
'-------------------------------------------------------------------------*/
.wato table.progress {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.3);
width: 50%;
border: 1px solid #000;
color: black;
@@ -940,8 +938,7 @@ div.varname {
/* Log window */
.wato table.progress td.log > div {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.3);
border: 1px solid #fff;
padding: 5px;
height: 250px;
@@ -1034,8 +1031,7 @@ div.varname {
}
.wato table.progress td.stats td {
- background-image: url("images/form_background.png");
- background-repeat: repeat;
+ background-color: rgba(255, 255, 255, 0.3);
text-align: right;
width: 4em;
padding-right: 6px;