You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.3 KiB
88 lines
3.3 KiB
/* Ant Design dropdown tree dark theme */
|
|
.ant-select-dropdown {
|
|
background: var(--surface-2) !important;
|
|
border: 1px solid var(--border-subtle) !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree {
|
|
background: var(--surface-2) !important;
|
|
color: var(--text-secondary) !important;
|
|
padding: 4px !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode {
|
|
align-items: center !important;
|
|
border-radius: 6px !important;
|
|
color: var(--text-secondary) !important;
|
|
display: flex !important;
|
|
min-height: 32px !important;
|
|
padding: 0 !important;
|
|
transition: background-color 120ms ease, color 120ms ease;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:hover,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode-selected,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:has(.ant-select-tree-node-selected) {
|
|
background: var(--surface-hover) !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-indent {
|
|
align-self: stretch !important;
|
|
display: flex !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-indent-unit {
|
|
width: 20px !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-indent-unit::before {
|
|
border-color: var(--border-subtle) !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-switcher {
|
|
align-items: center !important;
|
|
align-self: stretch !important;
|
|
background: transparent !important;
|
|
color: var(--text-muted) !important;
|
|
display: inline-flex !important;
|
|
flex: 0 0 24px !important;
|
|
justify-content: center !important;
|
|
line-height: 1 !important;
|
|
width: 24px !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-switcher-icon,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-switcher svg {
|
|
color: inherit !important;
|
|
fill: currentColor !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper {
|
|
align-items: center !important;
|
|
background: transparent !important;
|
|
color: var(--text-secondary) !important;
|
|
display: flex !important;
|
|
flex: 1 1 auto !important;
|
|
height: 32px !important;
|
|
line-height: 32px !important;
|
|
min-width: 0 !important;
|
|
padding: 0 8px !important;
|
|
transition: color 120ms ease;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper:hover,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
|
|
background: transparent !important;
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:hover .ant-select-tree-switcher,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:hover .ant-select-tree-node-content-wrapper,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode-selected .ant-select-tree-switcher,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode-selected .ant-select-tree-node-content-wrapper,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:has(.ant-select-tree-node-selected) .ant-select-tree-switcher,
|
|
.ant-select-dropdown .ant-select-tree .ant-select-tree-treenode:has(.ant-select-tree-node-selected) .ant-select-tree-node-content-wrapper {
|
|
color: var(--text-primary) !important;
|
|
}
|
|
|