Bin
2025-12-16 9e0b2ba2c317b1a86212f24cbae3195ad1f3dbfa
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.keypoints {
  --hover: transparent;
 
  height: 24px;
  display: flex;
  background-color: var(--hover);
 
  &__label {
    left: 0;
    flex: none;
    width: var(--offset);
    height: 24px;
    z-index: 2;
    align-items: center;
    position: sticky;
    display: flex;
    padding: 0 8px;
    justify-content: space-between;
    background: linear-gradient(0deg, var(--hover), var(--hover) 100%), linear-gradient(0deg, var(--color-neutral-surface), var(--color-neutral-surface) 100%);
    box-shadow: 1px 0 0 rgb(var(--color-neutral-shadow-raw) / 5%);
  }
 
  &__data {
    display: grid;
    text-align: right;
    grid-auto-flow: column;
    grid-auto-columns: minmax(24px, 1fr);
  }
 
  &__data-item {
    &_faded {
      color: var(--color-neutral-content-subtler);
    }
  }
 
  &__name {
    font-size: 14px;
    width: min-content;
    color: var(--color);
  }
 
  &__keypoints {
    flex: 1;
    z-index: 1;
    height: 100%;
    position: relative;
  }
 
  &__lifespan {
    top: 50%;
    height: 2px;
    width: 100%;
    z-index: 1;
    position: absolute;
    transform: translateY(-50%);
    background-color: var(--lifespan-color);
 
    &_hidden {
      opacity: 0.3;
    }
  }
 
  &_timeline &__lifespan {
    height: 20px;
  }
 
  &__point {
    top: 50%;
    width: 9px;
    height: 9px;
    z-index: 2;
    position: absolute;
    border-radius: 2px;
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
    background-color: var(--point-color);
 
    &_locked {
      display: none;
    }
  }
 
  &_timeline &__point {
    width: 3px;
    height: 20px;
    transform: translate3d(-100%, -50%, 0);
  }
 
  &_timeline &__point_last {
    transform: translate3d(0, -50%, 0);
  }
 
  /** instant */
  &_timeline &__lifespan_instant &__point {
    width: 6px;
    transform: translate3d(-50%, -50%, 0);
  }
 
  &__actions {
    display: flex;
  }
 
  &:hover {
    --hover: rgb(var(--color-neutral-shadow-raw) / calc( 8% * var(--shadow-intensity) ));
  }
 
  &_selected,
  &_selected:hover {
    --hover: rgb(var(--color-neutral-shadow-raw) / calc( 8% * var(--shadow-intensity) ));
  }
}
 
.region-action {
  margin: 1px;
  margin-left: 2px;
  height: 18px;
  min-width: 18px;
  cursor: pointer;
  border-radius: 3px;
  background: var(--color-neutral-background);
  box-shadow: 0 1px 0 rgb(0 0 0 / 10%), 0 0 0 1px rgb(0 0 0 / 15%);
 
  svg {
    width: 18px;
    height: 18px;
  }
 
  &_danger {
    color: var(--color-negative-content);
  }
}