Module: check_mk
Branch: master
Commit: 7511a004e8c4d439364452775e8cf223595783c5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7511a004e8c4d4…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Jan 27 18:28:29 2016 +0100
Cleanup: move table styles from status.css to pages.css
---
web/htdocs/pages.css | 41 +++++++++++++++++++++++++++++++++++++++++
web/htdocs/status.css | 35 -----------------------------------
2 files changed, 41 insertions(+), 35 deletions(-)
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index 1dfa38c..4ef69ee 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -304,6 +304,47 @@ table.data th:last-child {
border-right-style: none;
}
+table.data tr:nth-child(odd) { background-color: #eee; }
+table.data tr:nth-child(even) { background-color: #ddd; }
+
+table.data td.buttons {
+ white-space: nowrap;
+ width: 1%;
+}
+
+table.data td.count {
+ text-align: right;
+ font-weight: bold;
+ font-family: sans-serif;
+}
+
+table.data td.number {
+ text-align: right;
+ white-space: nowrap;
+}
+
+table.data td.nobr {
+ white-space: nowrap;
+}
+
+table.data td.center {
+ text-align: center;
+}
+
+table.data td.unused {
+ color: #888;
+ text-shadow: 1px 1px 0.5px #fff;
+}
+
+td.narrow {
+ width: 10px;
+}
+td.wide {
+ width: 100%;
+}
+
+
+
/* Two-lined header, for example in WATO: ChangeLog->Site Status */
table.data tr.dualheader th {
border-bottom: 1px solid #ccc;
diff --git a/web/htdocs/status.css b/web/htdocs/status.css
index f74afc1..f69d02c 100644
--- a/web/htdocs/status.css
+++ b/web/htdocs/status.css
@@ -324,48 +324,13 @@ td.goodflag {
color: #080;
}
-table.data td.buttons {
- white-space: nowrap;
- width: 1%;
-}
-
table.data td.buttons.visuals {
width: 75px;
}
-table.data td.count {
- text-align: right;
- font-weight: bold;
- font-family: sans-serif;
-}
table.data .state0 *, table.data .state2 *, table.data .state3 * {
color: white;
}
-table.data td.number {
- text-align: right;
- white-space: nowrap;
-}
-
-table.data td.nobr {
- white-space: nowrap;
-}
-
-table.data td.center {
- text-align: center;
-}
-
-table.data td.unused {
- color: #888;
- text-shadow: 1px 1px 0.5px #fff;
-}
-
-td.narrow {
- width: 10px;
-}
-td.wide {
- width: 100%;
-}
-
td.icons {
white-space: nowrap;
width: 1px;