File size: 2,681 Bytes
4e7644b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.header {
  position: relative;
  display: flex;
  width: calc(100% - 12px);
  height: 38px;
  align-items: center;
  gap: 6px;
  margin: 2px 6px;
  padding: 0 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--colorTextTertiary, rgba(26, 23, 22, 0.45));
  cursor: pointer;
}

.header:hover {
  background: var(--colorFillQuaternary, rgba(43, 18, 0, 0.025));
  color: var(--colorText, rgba(26, 23, 22, 0.88));

  .more {
    opacity: 1;
  }
}

.source {
  margin-top: 8px;
  background: color-mix(in srgb, var(--color-primary, #ff7f16) 5%, transparent);
  color: var(--colorPrimary, #ff7f16);
}

.pinned {
  background: var(--colorFillQuaternary, rgba(43, 18, 0, 0.025));
}

.chevron,
.kindIcon,
.more,
.pinMark,
.lockMark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.chevron {
  transition: transform 0.16s ease;
}

.collapsed {
  transform: rotate(-90deg);
}

.label {
  min-width: 0;
  overflow: hidden;
  flex: 1;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.01em;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.count {
  display: inline-flex;
  min-width: 20px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--colorFillTertiary, rgba(43, 18, 0, 0.05));
  font-size: 10px;
  transition: opacity 0.15s ease;
}

.pinMark {
  color: var(--color-primary, #ff7f16);
  transition: opacity 0.15s ease;
}

.lockMark {
  color: var(--colorTextQuaternary, rgba(26, 23, 22, 0.3));
}

.more {
  position: absolute;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0;
}

.managed:hover,
.managed:focus-within {
  .count,
  .pinMark {
    opacity: 0;
  }
}

.more:hover {
  background: var(--color-fill-secondary, rgba(43, 18, 0, 0.08));
}

.renameInput {
  min-width: 0;
  flex: 1;
  height: 26px;
  font-size: 11px;
}

:global(.dark-mode) {
  .header {
    color: rgba(255, 255, 255, 0.68);

    &:hover {
      background: rgba(255, 255, 255, 0.06);
      color: rgba(255, 255, 255, 0.95);
    }
  }

  .pinned {
    background: rgba(255, 255, 255, 0.04);
  }

  .count {
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.58);
  }

  .lockMark {
    color: rgba(255, 255, 255, 0.38);
  }

  .more:hover {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (hover: none), (max-width: 768px) {
  .more {
    position: static;
    opacity: 1;
  }

  .managed:hover,
  .managed:focus-within {
    .count,
    .pinMark {
      opacity: 1;
    }
  }
}