basic-tool.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. [data-component="tool-trigger"] {
  2. content-visibility: auto;
  3. width: 100%;
  4. display: flex;
  5. align-items: center;
  6. align-self: stretch;
  7. gap: 0px;
  8. justify-content: flex-start;
  9. [data-slot="basic-tool-tool-trigger-content"] {
  10. width: auto;
  11. display: flex;
  12. align-items: center;
  13. align-self: stretch;
  14. gap: 8px;
  15. }
  16. [data-slot="basic-tool-tool-indicator"] {
  17. width: 16px;
  18. height: 16px;
  19. display: inline-flex;
  20. align-items: center;
  21. justify-content: center;
  22. flex-shrink: 0;
  23. [data-component="spinner"] {
  24. width: 16px;
  25. height: 16px;
  26. }
  27. }
  28. [data-slot="basic-tool-tool-spinner"] {
  29. width: 16px;
  30. height: 16px;
  31. display: inline-flex;
  32. align-items: center;
  33. justify-content: center;
  34. flex-shrink: 0;
  35. color: var(--text-weak);
  36. [data-component="spinner"] {
  37. width: 16px;
  38. height: 16px;
  39. }
  40. }
  41. [data-slot="icon-svg"] {
  42. flex-shrink: 0;
  43. }
  44. [data-slot="basic-tool-tool-info"] {
  45. flex: 0 1 auto;
  46. min-width: 0;
  47. font-size: 14px;
  48. }
  49. [data-slot="basic-tool-tool-info-structured"] {
  50. width: auto;
  51. display: flex;
  52. align-items: center;
  53. gap: 8px;
  54. justify-content: flex-start;
  55. }
  56. [data-slot="basic-tool-tool-info-main"] {
  57. display: flex;
  58. align-items: baseline;
  59. gap: 8px;
  60. min-width: 0;
  61. overflow: hidden;
  62. }
  63. [data-slot="basic-tool-tool-title"] {
  64. flex-shrink: 0;
  65. font-family: var(--font-family-sans);
  66. font-size: 14px;
  67. font-style: normal;
  68. font-weight: var(--font-weight-medium);
  69. line-height: var(--line-height-large);
  70. letter-spacing: var(--letter-spacing-normal);
  71. color: var(--text-strong);
  72. &.capitalize {
  73. text-transform: capitalize;
  74. }
  75. &.agent-title {
  76. color: var(--text-strong);
  77. font-weight: var(--font-weight-medium);
  78. }
  79. }
  80. [data-slot="basic-tool-tool-subtitle"] {
  81. flex-shrink: 1;
  82. min-width: 0;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. white-space: nowrap;
  86. font-family: var(--font-family-sans);
  87. font-size: 14px;
  88. font-style: normal;
  89. font-weight: var(--font-weight-regular);
  90. line-height: var(--line-height-large);
  91. letter-spacing: var(--letter-spacing-normal);
  92. color: var(--text-base);
  93. &.clickable {
  94. cursor: pointer;
  95. text-decoration: underline;
  96. transition: color 0.15s ease;
  97. &:hover {
  98. color: var(--text-base);
  99. }
  100. }
  101. &.subagent-link {
  102. color: var(--text-interactive-base);
  103. text-decoration: none;
  104. text-underline-offset: 2px;
  105. font-weight: var(--font-weight-regular);
  106. &:hover {
  107. color: var(--text-interactive-base);
  108. text-decoration: underline;
  109. }
  110. &:active {
  111. color: var(--text-interactive-base);
  112. }
  113. &:visited {
  114. color: var(--text-interactive-base);
  115. }
  116. }
  117. }
  118. [data-slot="basic-tool-tool-arg"] {
  119. flex-shrink: 1;
  120. min-width: 0;
  121. overflow: hidden;
  122. text-overflow: ellipsis;
  123. white-space: nowrap;
  124. font-family: var(--font-family-sans);
  125. font-size: 14px;
  126. font-style: normal;
  127. font-weight: var(--font-weight-regular);
  128. line-height: var(--line-height-large);
  129. letter-spacing: var(--letter-spacing-normal);
  130. color: var(--text-base);
  131. }
  132. }