From a352131d653a5b74af2748e4c1dee5a46946b93c Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Mon, 8 Sep 2014 16:25:11 +0200 Subject: [PATCH] Move charts.less into widgets.less Don't use a separate less file for only two styles --- library/Icinga/Web/StyleSheet.php | 1 - public/css/icinga/charts.less | 11 ----------- public/css/icinga/widgets.less | 9 +++++++++ 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 public/css/icinga/charts.less diff --git a/library/Icinga/Web/StyleSheet.php b/library/Icinga/Web/StyleSheet.php index 90fb314a8..3c4baf943 100644 --- a/library/Icinga/Web/StyleSheet.php +++ b/library/Icinga/Web/StyleSheet.php @@ -24,7 +24,6 @@ class StyleSheet 'css/icinga/monitoring-colors.less', 'css/icinga/selection-toolbar.less', 'css/icinga/login.less', - 'css/icinga/charts.less', 'css/vendor/tipsy.css' ); diff --git a/public/css/icinga/charts.less b/public/css/icinga/charts.less deleted file mode 100644 index 6164921df..000000000 --- a/public/css/icinga/charts.less +++ /dev/null @@ -1,11 +0,0 @@ -// {{{ICINGA_LICENSE_HEADER}}} -// {{{ICINGA_LICENSE_HEADER}}} - -/* Add hover effects to chart data */ -.chart-data:hover { - opacity: 0.85; -} - -.pie-data:hover { - opacity: 0.6; -} \ No newline at end of file diff --git a/public/css/icinga/widgets.less b/public/css/icinga/widgets.less index 761c2ca0e..f546443c4 100644 --- a/public/css/icinga/widgets.less +++ b/public/css/icinga/widgets.less @@ -174,6 +174,15 @@ ul.tree li a.error:hover { color: @colorCritical; } +/* Add hover effect to chart data */ +.chart-data:hover { + opacity: 0.85; +} + +.pie-data:hover { + opacity: 0.6; +} + /* charts should grow as much as possible but never beyond the current viewport's size */ .svg-container-responsive { padding: 1.5em;