Files
dashboards/components/CategoryTreeView.module.css

109 lines
1.6 KiB
CSS

.list {
margin: 0;
padding: 0;
list-style: none;
}
.node {
min-width: 0;
}
.row {
display: flex;
align-items: center;
gap: 8px;
min-height: 48px;
padding-block: 6px;
padding-inline-end: 8px;
border-bottom: 1px solid #f3f3f3;
transition: background-color 0.15s ease;
}
.row:hover {
background: #f7f7f7;
}
.name {
font-size: 14px;
font-weight: 400;
color: var(--color-black);
}
.hint {
font-size: 12px;
font-weight: 400;
color: var(--color-soft);
}
.actions {
display: flex;
flex-wrap: wrap;
align-items: center;
margin-inline-start: auto;
flex: 0 0 auto;
}
.actions button {
border: 0;
background: transparent;
padding: 0 10px;
min-height: 32px;
font-size: 11px;
font-weight: 400;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--color-soft);
cursor: pointer;
}
.actions button:first-child {
padding-left: 0;
}
.actions button + button {
border-left: 1px solid #e8e8e8;
}
.actions button:hover,
.actions button:focus-visible {
color: var(--color-black);
}
.actions .danger:hover,
.actions .danger:focus-visible {
color: #b42318;
}
.expand,
.expandSpacer {
flex: 0 0 22px;
width: 22px;
height: 22px;
}
.expand {
display: grid;
place-items: center;
border: 1px solid #e4e4e4;
border-radius: 3px;
background: #fff;
color: var(--color-soft);
font-size: 14px;
line-height: 1;
cursor: pointer;
}
.expand:hover,
.expand:focus-visible {
border-color: var(--color-black);
color: var(--color-black);
}
.empty {
margin: 0;
padding: 28px 8px;
text-align: center;
font-size: 13px;
color: var(--color-muted);
}