File size: 3,592 Bytes
3e05655
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
164
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

[data-component="basic-tool-v2"] {
  --bt-title: var(--v2-text-text-base);
  --bt-sep: var(--v2-text-text-muted);
  --bt-subtitle: var(--v2-text-text-muted);
  --bt-args: var(--v2-text-text-muted);
  --bt-chevron: var(--v2-text-text-faint);
  --bt-content: var(--v2-text-text-muted);

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4px 0;
  gap: 8px;
  min-width: 0;
  width: 100%;
  font-variant-numeric: tabular-nums;

  [data-slot="basic-tool-v2-trigger"] {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    min-height: 20px;
    padding: 0;
    margin: 0;
    text-align: left;
    color: inherit;
    outline: none;
  }

  [data-slot="basic-tool-v2-trigger"]:focus-visible {
    outline: 2px solid var(--v2-border-border-focus);
    outline-offset: 2px;
    border-radius: 2px;
  }

  [data-slot="basic-tool-v2-labels"] {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
  }

  [data-slot="basic-tool-v2-title"] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 440;
    line-height: 1;
    letter-spacing: -0.04px;
    color: var(--bt-title);
    font-variation-settings: "slnt" 0;
    user-select: none;
  }

  [data-slot="basic-tool-v2-sep"] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 530;
    line-height: 12px;
    letter-spacing: 0.05px;
    color: var(--bt-sep);
    font-variation-settings: "slnt" 0;
    user-select: none;
  }

  [data-slot="basic-tool-v2-subtitle"] {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 440;
    line-height: 1;
    letter-spacing: -0.04px;
    color: var(--bt-subtitle);
    font-variation-settings: "slnt" 0;
    user-select: none;
  }

  [data-slot="basic-tool-v2-arg"] {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 440;
    line-height: 1;
    letter-spacing: -0.04px;
    color: var(--bt-args);
    font-variation-settings: "slnt" 0;
    user-select: none;
  }

  [data-slot="basic-tool-v2-diff"] {
    flex-shrink: 0;
  }

  [data-slot="basic-tool-v2-diff"] [data-component="diff-changes"] {
    gap: 4px;
  }

  [data-slot="basic-tool-v2-chevron-wrap"] {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    padding: 2px;
    border-radius: 4px;
    color: var(--bt-chevron);
    user-select: none;
  }

  [data-slot="basic-tool-v2-chevron"] {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.15s ease-out;
  }

  &[data-expanded] [data-slot="basic-tool-v2-chevron"] {
    transform: rotate(90deg);
  }

  [data-slot="basic-tool-v2-content"] {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  [data-slot="basic-tool-v2-content-inner"] {
    font-size: 15px;
    font-weight: 440;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--bt-content);
    font-variation-settings: "slnt" 0;
  }
}