diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-02-23 09:50:15 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-02-23 09:50:15 +0100 |
commit | 2316584a4c8406999098112d569cfc6cd6c1c878 (patch) | |
tree | 67358d4b52d9a1983bbc89395549ef5894840818 /public/css | |
parent | a373d2bdc4f9f2ccd0720956d2ba2be4fdfe5002 (diff) |
move css/js to subdirs
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/default.css | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/public/css/default.css b/public/css/default.css new file mode 100644 index 0000000..6769b31 --- /dev/null +++ b/public/css/default.css @@ -0,0 +1,51 @@ +body { + font: 10px sans-serif; +} + +.axis path, +.axis line { + fill: none; + stroke: #000; + shape-rendering: crispEdges; +} + +.bar { + fill: orange; +} + +.bar:hover { + fill: orangered ; +} + +.x.axis path { + display: none; +} + +.d3-tip { + line-height: 1; + font-weight: bold; + padding: 12px; + background: rgba(0, 0, 0, 0.8); + color: #fff; + border-radius: 2px; +} + +/* Creates a small triangle extender for the tooltip */ +.d3-tip:after { + box-sizing: border-box; + display: inline; + font-size: 10px; + width: 100%; + line-height: 1; + color: rgba(0, 0, 0, 0.8); + content: "\25BC"; + position: absolute; + text-align: center; +} + +/* Style northward tooltips differently */ +.d3-tip.n:after { + margin: -1px 0 0 0; + top: 100%; + left: 0; +} |