summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.scss
blob: 897d09a9a4b937d20dee95636059c29eda0883b9 (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
@use './src/styles/vendor/variables' as vv;
@use './src/styles/defaults/mixins';

$card-font-min-width: 320px;
$card-font-max-width: 2048px;
$card-font-min-size: 12px;
$card-font-max-size: 21px;

.card {
  @include mixins.fluid-font-size(
    $card-font-min-width,
    $card-font-max-width,
    $card-font-min-size,
    $card-font-max-size
  );
  border: 0.5px solid vv.$gray-300;
  border-radius: 3px;
  height: 100%;

  .card-body {
    padding-top: 40px !important;

    .card-title {
      left: -0.6rem;
      position: absolute;
      top: -0.3rem;
    }
  }
}

.no-center {
  left: unset;
  position: unset;
  top: unset;
  transform: unset;
}

.content-highlight {
  font-weight: bold;
}