Skip to content

Commit

Permalink
legend
Browse files Browse the repository at this point in the history
  • Loading branch information
Tania Leonchenko committed Jan 30, 2015
1 parent 60ae5c0 commit 8bc7595
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions less/legend.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
&:hover {
background-color: rgba(189, 195, 205, 0.2);
}
&--size{
cursor: default;

&:hover{
background: none;
}
}

.color-default {
background: @default-color;
Expand Down
2 changes: 1 addition & 1 deletion plugins/legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
'</div>'
].join('')),
_itemSizeTemplate: _.template([
'<div class="graphical-report__legend__item">',
'<div class="graphical-report__legend__item graphical-report__legend__item--size">',
'<div class="graphical-report__legend__guide__wrap">',
'<svg class="graphical-report__legend__guide graphical-report__legend__guide--size <%=className%>" style="width: <%=diameter%>px;height: <%=diameter%>px;"><circle cx="<%=radius%>" cy="<%=radius%>" class="graphical-report__dot" r="<%=radius%>"></circle></svg>',
'</div><%=value%>',
Expand Down

0 comments on commit 8bc7595

Please sign in to comment.