blob: 3d0834374f29bb2e89e342af5fdfcf369c92a658 [file] [log] [blame]
/*!
* Copyright 2024 The Go Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
.js-Tree ul {
list-style: none;
padding-left: 0;
}
.js-Tree-item ul {
display: none;
}
.js-Tree-item {
overflow: hidden;
text-overflow: ellipsis;
padding: 0.125rem 0 0.125rem 0;
}
.js-Tree-item[aria-expanded='true'] ul {
display: block;
}
.js-Tree-item .js-Tree-item {
position: relative;
padding-left: 1.25rem;
}
.js-Tree-item .js-Tree-item[aria-selected='true']:before {
background-color: var(--color-brand-primary);
border-radius: 50%;
content: "";
display: block;
height: .3125rem;
left: .4688rem;
position: absolute;
top: .75rem;
width: .3125rem;
}
.js-Tree-item>a {
color: var(--color-text-subtle);
font-size: .875rem;
}
.js-Tree-item[aria-selected='true']>a {
color: var(--color-text);
}