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
52
53
54
55@use "../global-styles/variables.module.scss";
@use "../global-styles/fonts.scss";
.dataRow {
display: inline-flex;
justify-content: space-between;
flex-direction: row;
flex-wrap: nowrap;
align-content: space-between;
align-items: center;
width: 100%;
.key {
font-weight: bold;
}
.key,
.value {
@include fonts.font-size-small;
padding: calc(variables.$spacing/2) calc(variables.$spacing/2);
}
&.highlight {
background: variables.$white;
border-bottom: 2px solid variables.$red;
.key {
font-weight:800;
//color:variables.$red;
}
.value{
font-weight: bold;
}
}
&.tight {
.key {
font-weight: 500;
line-height: 1em;
padding: calc(variables.$spacing) 0;
}
border-bottom: 1px solid variables.$gray;
.value {
line-height: 1em;
min-width: 60px;
text-align: right;
}
&:last-of-type {
border-bottom: 0;
}
}
&.light {
background: variables.$white;
border-bottom: 1px solid variables.$gray;
}
}