basic-tool.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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: 20px;
  8. justify-content: space-between;
  9. [data-slot="basic-tool-tool-trigger-content"] {
  10. width: 100%;
  11. display: flex;
  12. align-items: center;
  13. align-self: stretch;
  14. gap: 20px;
  15. }
  16. [data-slot="icon-svg"] {
  17. flex-shrink: 0;
  18. }
  19. [data-slot="basic-tool-tool-info"] {
  20. flex-grow: 1;
  21. min-width: 0;
  22. }
  23. [data-slot="basic-tool-tool-info-structured"] {
  24. width: 100%;
  25. display: flex;
  26. align-items: center;
  27. gap: 8px;
  28. justify-content: space-between;
  29. }
  30. [data-slot="basic-tool-tool-info-main"] {
  31. display: flex;
  32. align-items: center;
  33. gap: 8px;
  34. min-width: 0;
  35. overflow: hidden;
  36. }
  37. [data-slot="basic-tool-tool-title"] {
  38. flex-shrink: 0;
  39. font-family: var(--font-family-sans);
  40. font-size: var(--font-size-small);
  41. font-style: normal;
  42. font-weight: var(--font-weight-medium);
  43. line-height: var(--line-height-large);
  44. letter-spacing: var(--letter-spacing-normal);
  45. color: var(--text-base);
  46. &.capitalize {
  47. text-transform: capitalize;
  48. }
  49. }
  50. [data-slot="basic-tool-tool-subtitle"] {
  51. flex-shrink: 1;
  52. min-width: 0;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. white-space: nowrap;
  56. font-family: var(--font-family-sans);
  57. font-size: var(--font-size-small);
  58. font-style: normal;
  59. font-weight: var(--font-weight-medium);
  60. line-height: var(--line-height-large);
  61. letter-spacing: var(--letter-spacing-normal);
  62. color: var(--text-weak);
  63. &.clickable {
  64. cursor: pointer;
  65. text-decoration: underline;
  66. transition: color 0.15s ease;
  67. &:hover {
  68. color: var(--text-base);
  69. }
  70. }
  71. }
  72. [data-slot="basic-tool-tool-arg"] {
  73. flex-shrink: 1;
  74. min-width: 0;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. white-space: nowrap;
  78. font-family: var(--font-family-sans);
  79. font-size: var(--font-size-small);
  80. font-style: normal;
  81. font-weight: var(--font-weight-regular);
  82. line-height: var(--line-height-large);
  83. letter-spacing: var(--letter-spacing-normal);
  84. color: var(--text-weak);
  85. }
  86. }