-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPoolUsage.scss
71 lines (54 loc) · 1.4 KB
/
PoolUsage.scss
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@use '../../styles/mixins.scss';
.ydb-pool-usage {
@include mixins.body-2-typography();
&__info {
display: flex;
justify-content: space-between;
align-items: center;
}
&__pool-name {
color: var(--g-color-text-primary);
}
&__value {
display: flex;
align-items: center;
}
&__threads {
font-size: var(--g-text-body-1-font-size);
color: var(--g-color-text-hint);
}
&__percents {
margin-right: 2px;
font-size: var(--g-text-body-1-font-size);
color: var(--g-color-text-primary);
}
&__visual {
position: relative;
display: flex;
overflow: hidden;
justify-content: center;
align-items: center;
height: 6px;
font-size: var(--g-text-body-2-font-size);
border-radius: 4px;
background-color: var(--g-color-base-generic-accent);
}
&__usage-line {
position: absolute;
top: 0;
left: 0;
height: 100%;
&_type_green {
background-color: var(--ydb-color-status-green);
}
&_type_blue {
background-color: var(--ydb-color-status-blue);
}
&_type_yellow {
background-color: var(--ydb-color-status-yellow);
}
&_type_red {
background-color: var(--ydb-color-status-red);
}
}
}