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
131
132
133
134
135
@import "../../assets/styles/global";
 
.sidepanels {
  height: 100%;
  overflow: hidden;
  position: relative;
 
  &_newLabelingUI {
    .sidepanels {
      --panel-border-color: var(--color-neutral-border);
 
      &__wrapper {
        &_align_left {
          border-right: 1px solid var(--panel-border-color);
        }
 
        &_align_right {
          border-left: 1px solid var(--panel-border-color);
        }
      }
    }
  }
 
  &__content {
    height: 100%;
    position: relative;
    z-index: 1;
 
    & .main-content {
      overflow: auto;
      padding-bottom: calc(var(--bottombar-height) + 8px);
    }
 
    &_resizing {
      position: relative;
      pointer-events: none;
 
      &::before {
        top: 0;
        left: 0;
        content: "";
        width: 100%;
        height: 100%;
        z-index: 100;
        display: block;
        position: absolute;
      }
    }
  }
 
  &__wrapper {
    --snap-rotation: 90deg;
 
    top: 0;
    z-index: 11;
    height: 100%;
    min-width: 10px;
    position: absolute;
    pointer-events: none;
 
    &_snap::before {
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 150;
      width: 5px;
      content: "";
      display: block;
      position: absolute;
      background: var(--color-primary-border-subtle);
    }
 
    &_align_left.sidepanels_snap::before {
      border-radius: 0 4px 4px 0;
    }
 
    &_align_right.sidepanels_snap::before {
      left: calc(100% - 6px);
      border-radius: 4px 0 0 4px;
    }
 
    &_align {
      &_left {
        left: 0;
 
        --snap-rotation: -90deg;
      }
 
      &_right {
        top: 0;
        right: 0;
 
        --snap-rotation: 90deg;
      }
    }
  }
 
  &_collapsed {
    height: auto;
    overflow: visible;
    min-height: 100%;
    display: flex;
    flex-direction: column;
 
    .tabs-panel {
      border: 0;
    }
 
    & .sidepanels__wrapper {
      position: static;
      width: 100%;
      max-width: auto;
      min-width: 100%;
      flex-shrink: 0;
      height: auto;
 
      .panel-tabs__tab {
        cursor: pointer;
      }
 
      .tabs__tab-container:first-child .panel-tabs__tab {
        margin-left: 1px;
      }
 
      .tabs__contents {
        border: 1px solid var(--color-neutral-border);
        border-top: 1px solid transparent;
      }
    }
 
    & .sidepanels__content {
      flex: 1;
    }
  }
}