summaryrefslogtreecommitdiff
path: root/templates/project/widgets/graph/graph.scss
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project/widgets/graph/graph.scss')
-rw-r--r--templates/project/widgets/graph/graph.scss51
1 files changed, 51 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..f2a1e21
--- /dev/null
+++ b/templates/project/widgets/graph/graph.scss
@@ -0,0 +1,51 @@
+// ----------------------------------------------------------------------------
+// Sass declarations
+// ----------------------------------------------------------------------------
+$background-color: #2e864f;
+$value-color: #fff;
+
+$title-color: lighten($background-color, 75%);
+$moreinfo-color: lighten($background-color, 45%);
+
+$graph_color: lighten($background-color, 75%);
+
+// ----------------------------------------------------------------------------
+// Widget-graph styles
+// ----------------------------------------------------------------------------
+.widget-graph {
+
+ background-color: $background-color;
+ position: relative;
+
+ svg {
+ color: $graph_color;
+ opacity: 0.4;
+ fill-opacity: 0.4;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ }
+
+ .title, .value {
+ position: relative;
+ z-index: 99;
+ }
+
+ .title {
+ color: $title-color;
+ }
+
+ .text-moreinfo {
+ color: $moreinfo-color;
+ font-weight: 600;
+ font-size: 20px;
+ margin-top: 0;
+ }
+
+ .x_tick {
+ position: absolute;
+ bottom: 0;
+ }
+
+} \ No newline at end of file