summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.scss
blob: e9d6d24984db1af9ece937bddd0d72dd9a7411a0 (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
@use './src/styles/vendor/variables' as vv;

.bg-info {
  background-color: vv.$primary !important;
}

.bg-warning {
  background-color: vv.$warning !important;
}

.bg-danger {
  background-color: vv.$danger !important;
}

.bg-freespace {
  background-color: vv.$gray-400 !important;
}

.progress {
  height: 20px;
  margin-bottom: 0;
  position: relative;

  div.progress-bar {
    position: static;
  }

  span {
    color: vv.$black;
    display: block;
    font-weight: normal;
    position: absolute;
    width: 100%;
  }
}