summaryrefslogtreecommitdiff
path: root/templates/project/widgets/graph/graph.scss
blob: f2a1e215f28c6cf4eb2bfbf9b4eeab1d2c680f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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;
  }

}