t2-mapper/src/components/DebugEntityList.module.css

183 lines
2.6 KiB
CSS
Raw Normal View History

.Container[data-filtered] {
min-height: 100dvh;
2026-04-01 14:35:47 -07:00
}
.Title {
font-size: 13px;
font-weight: bold;
margin: 0;
padding: 0;
2026-04-01 14:35:47 -07:00
}
.Header {
font-size: 12px;
padding: 18px 4px 4px 2px;
display: flex;
align-items: center;
justify-content: space-between;
2026-04-01 14:35:47 -07:00
}
.Group {
margin: 0;
}
.GroupHeader {
display: flex;
align-items: center;
gap: 7px;
2026-04-01 14:35:47 -07:00
font-size: 12px;
font-weight: 500;
color: rgba(255, 255, 255, 0.7);
padding: 6px 8px 6px 0;
2026-04-01 14:35:47 -07:00
cursor: pointer;
user-select: none;
list-style: none;
}
.GroupHeader::-webkit-details-marker {
display: none;
}
.OpenedIcon {
display: none;
font-size: 15px;
opacity: 0.6;
2026-04-01 14:35:47 -07:00
}
.ClosedIcon {
display: inline-block;
font-size: 15px;
opacity: 0.6;
}
.Group[open] .OpenedIcon {
display: inline-block;
}
.Group[open] .ClosedIcon {
display: none;
2026-04-01 14:35:47 -07:00
}
.GroupCount {
font-weight: normal;
opacity: 0.5;
}
.List {
margin: 4px 0 8px 0;
padding: 0;
list-style: none;
background: rgba(0, 0, 0, 0.2);
overflow: hidden;
border-radius: 3px;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.ListItem {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}
.EntityRow {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 8px;
}
.EntityRow input[type="checkbox"] {
margin-top: 2px;
flex-shrink: 0;
}
.EntityInfo {
flex: 1 1 auto;
min-width: 0;
}
.LocateButton {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
border: 0;
margin: 0;
padding: 8px 9px 8px 7px;
background: transparent;
color: rgba(255, 255, 255, 0.5);
cursor: pointer;
border-radius: 3px;
}
.LocateButton:hover:not(:disabled) {
color: rgba(255, 255, 255, 0.9);
background: rgba(255, 255, 255, 0.1);
}
.LocateButton:disabled {
opacity: 0.25;
cursor: default;
}
.EntityRow[data-disabled] {
opacity: 0.4;
}
.ListItem:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.Type {
font-weight: bold;
font-size: 12px;
color: #fff;
}
.ID {
background: rgba(159, 166, 169, 0.2);
color: rgba(255, 255, 255, 0.7);
font-size: 11px;
margin: 0 0 0 4px;
padding: 3px 5px;
border-radius: 3px;
}
.Detail {
display: flex;
flex-direction: column;
gap: 1px;
font-size: 12px;
color: rgba(255, 255, 255, 0.5);
2026-04-01 14:35:47 -07:00
margin: 4px 0 0 0;
padding: 0;
}
.Detail > div {
display: flex;
gap: 4px;
}
.Detail dt {
color: rgba(255, 255, 255, 0.35);
}
.Detail dd {
margin: 0;
}
.FilterInput {
font-family: inherit;
background: rgba(0, 0, 0, 0.2);
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 0;
margin: 0;
padding: 4px 6px;
}
.FilterInput:focus {
background: rgba(0, 0, 0, 0.5);
2026-04-01 14:35:47 -07:00
}