summaryrefslogtreecommitdiff
path: root/templates/project/widgets/meter/meter.scss
blob: b1343612c6fd87b878c8dc1a0b264600abd09a10 (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
// ----------------------------------------------------------------------------
// Sass declarations
// ----------------------------------------------------------------------------
$widget-meter_background-color: #9c4274;
$widget-meter_value-color:      #fff;

$widget-meter_title-color:      lighten($widget-meter_background-color, 45%);
$widget-text_moreinfo-color:    lighten($widget-meter_background-color, 45%);

$widget-meter-bg: darken($widget-meter_background-color, 15%);
$widget-meter-fg: lighten($widget-meter_background-color, 75%);

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

  background-color: $widget-meter_background-color;
  
  input.meter { 
    background-color: $widget-meter-bg;
    color: $widget-meter-fg;
  }

  .title { 
    color: $widget-meter_title-color;
  }

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