Browse Source

Added dot_opacity style option; fixes #387

pull/389/head
smalawi 7 years ago
parent
commit
63ba3014f7
  1. 3
      pygal/css/graph.css
  2. 2
      pygal/style.py

3
pygal/css/graph.css

@ -105,7 +105,8 @@
{{ id }}.dot {
stroke-width: 1px;
fill-opacity: 1;
fill-opacity: {{ style.dot_opacity }};
stroke-opacity: {{ style.dot_opacity }};
}
{{ id }}.dot.active {

2
pygal/style.py

@ -69,6 +69,8 @@ class Style(object):
stroke_opacity = '.8'
stroke_opacity_hover = '.9'
dot_opacity = '1'
transition = '150ms'
colors = (
'#F44336', # 0

Loading…
Cancel
Save