adb-node.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* ADB 操作节点样式 */
  2. .Blueprint-adb-node {
  3. position: absolute;
  4. min-width: 180px;
  5. width: fit-content;
  6. background: #2d2d30;
  7. border: 2px solid #3ddc84;
  8. border-radius: 4px;
  9. box-shadow: 0 0 8px rgba(61, 220, 132, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  10. user-select: none;
  11. cursor: move;
  12. overflow: visible;
  13. display: flex;
  14. flex-direction: column;
  15. align-items: stretch;
  16. }
  17. .Blueprint-adb-node.selected {
  18. border-color: #ffa500;
  19. box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.3), 0 0 8px rgba(61, 220, 132, 0.4);
  20. }
  21. .Blueprint-adb-node-header {
  22. background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
  23. color: #fff;
  24. padding: 12px 16px;
  25. font-size: 13px;
  26. font-weight: 600;
  27. text-align: center;
  28. border-radius: 2px 2px 0 0;
  29. letter-spacing: 0.5px;
  30. }
  31. .Blueprint-adb-node-execution {
  32. height: 40px;
  33. display: flex;
  34. flex-direction: row;
  35. justify-content: space-between;
  36. align-items: center;
  37. position: relative;
  38. overflow: visible;
  39. padding: 0 8px;
  40. }
  41. .Blueprint-adb-node-execution .Blueprint-node-port {
  42. position: relative;
  43. }
  44. .Blueprint-adb-node-params {
  45. padding: 12px 16px;
  46. overflow: visible;
  47. display: flex;
  48. flex-direction: column;
  49. gap: 8px;
  50. position: relative;
  51. min-height: 20px;
  52. }
  53. .Blueprint-adb-node-params .Blueprint-node-port {
  54. position: relative;
  55. }