Module: check_mk
Branch: master
Commit: 638e0399c71ff9e1a42424cfdead37fa4c63d960
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=638e0399c71ff9…
Author: Kenneth Okoh <ko(a)mathias-kettner.de>
Date: Wed Apr 10 10:05:12 2019 +0200
GUI CSS: Removed some deprecated styles from _views.scss (CMK-1171)
Change-Id: I17e4d7582bf0ce7345a8ea2291c0510b1776e5a8
---
web/htdocs/themes/facelift/scss/_views.scss | 71 +++--------------------------
1 file changed, 7 insertions(+), 64 deletions(-)
diff --git a/web/htdocs/themes/facelift/scss/_views.scss
b/web/htdocs/themes/facelift/scss/_views.scss
index f538371..cee4721 100644
--- a/web/htdocs/themes/facelift/scss/_views.scss
+++ b/web/htdocs/themes/facelift/scss/_views.scss
@@ -521,25 +521,6 @@ table.tiled td {
height: 20px;
}
}
-
- &.sstate0, &.hhstate0 {
- border-color: #0f0;
- }
-
- &.sstate1 {
- background-color: #ff0;
- border-color: #ff0;
- }
-
- &.sstate2, &.hhstate1 {
- background-color: #f88;
- border-color: #f00;
- }
-
- &.sstate3, &.hhstate2 {
- background-color: #fc8;
- border-color: #f80;
- }
}
table.data.tiled td.tiles {
@@ -624,13 +605,6 @@ table.data.single {
border-left-style: none;
}
- /* #TODO: Check whether this style is redundant
- * see styles for table.data.single tr.data > td
- */
- &.age, &.number, &.count {
- text-align: left;
- }
-
&.perfometer div.glass {
width: 100%;
}
@@ -655,14 +629,6 @@ table.data.matrix {
transition: .15s ease-in-out;
}
- /* #TODO: Reproduce this html element
- * .perfometer seems to always be one table level lower than tr.data, so
- * not a direct child
- */
- &.perfometer {
- width: 180px;
- }
-
&.cell td.perfometer {
div.title, div.content {
padding: 0;
@@ -691,12 +657,8 @@ table.data.matrix {
}
tr.even0 {
- td.left {
- background-color: #bbb;
-
- &.minority {
- background-color: #bdd;
- }
+ td.left.minority {
+ background-color: #bdd;
}
td.matrixhead {
@@ -705,12 +667,8 @@ table.data.matrix {
}
tr.odd0 {
- td.left {
- background-color: #ccc;
-
- &.minority {
- background-color: #cee;
- }
+ td.left.minority {
+ background-color: #cee;
}
td.matrixhead {
@@ -733,19 +691,6 @@ table.data.matrix {
padding: 0;
}
}
-
- /* #TODO: Reproduce this html element */
- table.cell > tbody > tr > td {
- padding: 0;
- border: 1px solid #f00;
- }
-
- /* #TODO: Reproduce this html element */
- tr.matrixhead td.left {
- &, a {
- color: #fff;
- }
- }
}
.even0 .minority {
@@ -886,7 +831,6 @@ div.avlegend.timeline div.state.unmonitored {
table.timeline td.ooservice, div.avlegend.timeline div.state.ooservice {
background-color: #cacaca;
- /* #TODO: Check whether this image can be dropped (seems not to be available anymore
*/
background-image: url("images/ooservice.png");
background-repeat: repeat;
}
@@ -938,7 +882,6 @@ table.timeline {
padding: 0;
border-style: none;
- /* #TODO: Reproduce this html element */
&.hilite {
padding: 0;
background-color: #0091b6;
@@ -1164,15 +1107,15 @@ td.if_state {
table.data.single tr.data td.invtree table td.if_state {
&.if_state_up {
background-color: $theme-color-state-success-background;
- box-shadow: none; }
+ }
&.if_state_down {
background-color: $theme-color-state-2-background;
- box-shadow: none; }
+ }
&.if_state_other {
background-color: $theme-color-state-9-background;
- box-shadow: none; }
+ }
&.if_available {
color: $theme-color-black;