summaryrefslogtreecommitdiff
path: root/templates/project/widgets/meter/meter.scss
blob: dec0cc6580f238a1a0349e94dbe1797a47a0b8ec (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
// ----------------------------------------------------------------------------
// Sass declarations
// ----------------------------------------------------------------------------

$background-color:  #9c4274;
$value-color:       #fff;

$title-color:       lighten($background-color, 75%);
$moreinfo-color:    lighten($background-color, 45%);

$meter-background:  darken($background-color, 10%);
$meter-foreground:  lighten($background-color, 75%);

// ----------------------------------------------------------------------------
// Widget-meter styles
// ----------------------------------------------------------------------------
.widget-meter { 

  background-color: $background-color;
  
  input.meter { 
    background-color: $meter-background;
    color: $meter-foreground;
  }

  .title { 
    color: $title-color;
  }

  .text-moreinfo {
    color: $moreinfo-color;
    font-weight: 600;
    font-size: 20px;
    margin-top: 0;
  }
  
}