diff options
author | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-08-15 14:14:32 +0200 |
commit | 21a91cbc9681a2f3f4615e7e467febf1c8f4f6e6 (patch) | |
tree | ef26732b75858c5fb17925bc861f1ee8b4c43bf2 /templates/project/widgets/graph/graph.scss | |
parent | e56e58562bd1972df8e8d386b30175f6b12430ac (diff) | |
parent | ed5463dce052852a5ace2d11a0265fff2244e60e (diff) |
Merge tag 'v1.3.6' into dashing_io
Diffstat (limited to 'templates/project/widgets/graph/graph.scss')
-rw-r--r-- | templates/project/widgets/graph/graph.scss | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/templates/project/widgets/graph/graph.scss b/templates/project/widgets/graph/graph.scss new file mode 100644 index 0000000..1000b6f --- /dev/null +++ b/templates/project/widgets/graph/graph.scss @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------- +// Sass declarations +// ---------------------------------------------------------------------------- +$background-color: #dc5945; + +$title-color: rgba(255, 255, 255, 0.7); +$moreinfo-color: rgba(255, 255, 255, 0.3); +$tick-color: rgba(0, 0, 0, 0.4); + + +// ---------------------------------------------------------------------------- +// Widget-graph styles +// ---------------------------------------------------------------------------- +.widget-graph { + + background-color: $background-color; + position: relative; + + + svg { + position: absolute; + opacity: 0.4; + fill-opacity: 0.4; + left: 0px; + top: 0px; + } + + .title, .value { + position: relative; + z-index: 99; + } + + .title { + color: $title-color; + } + + .more-info { + color: $moreinfo-color; + font-weight: 600; + font-size: 20px; + margin-top: 0; + } + + .x_tick { + position: absolute; + bottom: 0; + .title { + font-size: 20px; + color: $tick-color; + opacity: 0.5; + padding-bottom: 3px; + } + } + + .y_ticks { + font-size: 20px; + fill: $tick-color; + fill-opacity: 1; + } + + .domain { + display: none; + } + +} |