-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathPoolBar.scss
49 lines (40 loc) · 936 Bytes
/
PoolBar.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
.ydb-pool-bar {
position: relative;
width: 6px;
height: 20px;
margin-right: 2px;
cursor: pointer;
border: 1px solid;
border-radius: 1px;
&__popup-content {
width: 170px;
padding: 10px;
}
&:last-child {
margin-right: 0;
}
&_type_normal {
border-color: var(--ydb-color-status-green);
}
&_type_warning {
border-color: var(--ydb-color-status-yellow);
}
&_type_danger {
border-color: var(--ydb-color-status-red);
}
&__value {
position: absolute;
bottom: 0;
width: 100%;
min-height: 1px;
&_type_normal {
background-color: var(--ydb-color-status-green);
}
&_type_warning {
background-color: var(--ydb-color-status-yellow);
}
&_type_danger {
background-color: var(--ydb-color-status-red);
}
}
}