UNPKG

@darksnow-ui/node-tree-react

Version:
215 lines 4.15 kB
/* src/styles/node-tree.css */ .node-tree-container { height: 100%; overflow: auto; background-color: #1e1e1e; color: #cccccc; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; border: 1px solid #464647; } .text-vscode-accent { color: #4d9cee; } .text-vscode-text { color: #cccccc; } .hover\:bg-vscode-border\/50:hover { background-color: rgba(70, 70, 70, 0.5); } .w-3 { width: 0.75rem; } .h-3 { height: 0.75rem; } .w-4 { width: 1rem; } .h-4 { height: 1rem; } .w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; } .mr-2 { margin-right: 0.5rem; } .flex { display: flex; } .flex-1 { flex: 1 1 0%; } .flex-shrink-0 { flex-shrink: 0; } .items-center { align-items: center; } .justify-center { justify-content: center; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rounded { border-radius: 0.25rem; } .transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .text-white { color: #ffffff; } .group { } .cursor-pointer { cursor: pointer; } .relative { position: relative; } .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; } .node-tree-container:focus { outline: none; } .node-tree-container.has-focus { outline: 1px solid #007acc; outline-offset: -1px; } .node-tree-container.has-focus:focus-visible { outline: 2px solid #007acc; outline-offset: -2px; box-shadow: inset 0 0 0 1px #007acc; } .node-tree-content { padding: 0; } .node-wrapper { height: 22px; font-size: 13px; transition: background-color 0.1s ease; user-select: none; } .node-wrapper:hover { background-color: rgba(255, 255, 255, 0.04); } .node-wrapper.selected { background-color: rgba(70, 79, 105, 0.44); } .node-wrapper.selected.cursor { background-color: rgba(70, 79, 105, 0.44); outline: 1px solid rgba(71, 141, 255, 0.72); outline-offset: -1px; } .node-tree-container.has-focus .node-wrapper.selected { background-color: #094771; } .node-tree-container.has-focus .node-wrapper.selected.cursor { background-color: #094771; outline-color: #007acc; } .node-wrapper.cursor { outline: 1px solid rgba(71, 141, 255, 0.72); outline-offset: -1px; background-color: rgba(255, 255, 255, 0.02); } .node-tree-container.has-focus .node-wrapper.cursor { outline-color: #007acc; background-color: rgba(255, 255, 255, 0.03); } .node-wrapper.drag-over { background-color: rgba(31, 112, 204, 0.29); } .node-wrapper.dragging { opacity: 0.5; } .node-wrapper .expander-icon { transition: transform 0.08s ease; } .context-menu { position: fixed; background-color: #252526; border: 1px solid #464647; border-radius: 4px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); padding: 4px 0; min-width: 200px; z-index: 1000; font-size: 13px; } .context-menu-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 20px; background: none; border: none; cursor: pointer; text-align: left; color: #cccccc; transition: background-color 0.1s ease; } .context-menu-item:hover { background-color: #094771; } .context-menu-item.danger { color: #f48771; } .context-menu-item.danger:hover { background-color: rgba(244, 135, 113, 0.1); } .context-menu-divider { height: 1px; background-color: #464647; margin: 4px 0; } .node-tree-container::-webkit-scrollbar { width: 14px; height: 14px; } .node-tree-container::-webkit-scrollbar-track { background: transparent; } .node-tree-container::-webkit-scrollbar-thumb { background-color: rgba(121, 121, 121, 0.4); border: 3px solid transparent; border-radius: 7px; background-clip: content-box; } .node-tree-container::-webkit-scrollbar-thumb:hover { background-color: rgba(100, 100, 100, 0.7); } .node-tree-container::-webkit-scrollbar-corner { background: transparent; } .node-tree-root-drop-area { } /*# sourceMappingURL=index.css.map */