From 8bc7595fa86286a207e8c0135558e0a746a837e5 Mon Sep 17 00:00:00 2001 From: Tania Leonchenko Date: Fri, 30 Jan 2015 15:58:10 +0300 Subject: [PATCH] legend --- less/legend.less | 7 +++++++ plugins/legend.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/less/legend.less b/less/legend.less index edb366efa..598dcdd85 100644 --- a/less/legend.less +++ b/less/legend.less @@ -37,6 +37,13 @@ &:hover { background-color: rgba(189, 195, 205, 0.2); } + &--size{ + cursor: default; + + &:hover{ + background: none; + } + } .color-default { background: @default-color; diff --git a/plugins/legend.js b/plugins/legend.js index 771d23ecf..05b46f877 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -166,7 +166,7 @@ '' ].join('')), _itemSizeTemplate: _.template([ - '
', + '
', '
', '', '
<%=value%>',