summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/basic-tool.css
blob: cc58cfa730e857af700b629f7e52378da67a516e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[data-component="tool-trigger"] {
	content-visibility: auto;
	width: 100%;
	display: flex;
	align-items: center;
	align-self: stretch;
	gap: 20px;
	justify-content: space-between;

	[data-slot="basic-tool-tool-trigger-content"] {
		width: 100%;
		display: flex;
		align-items: center;
		align-self: stretch;
		gap: 20px;
	}

	[data-slot="icon-svg"] {
		flex-shrink: 0;
	}

	[data-slot="basic-tool-tool-info"] {
		flex-grow: 1;
		min-width: 0;
	}

	[data-slot="basic-tool-tool-info-structured"] {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 8px;
		justify-content: space-between;
	}

	[data-slot="basic-tool-tool-info-main"] {
		display: flex;
		align-items: center;
		gap: 8px;
		min-width: 0;
		overflow: hidden;
	}

	[data-slot="basic-tool-tool-title"] {
		flex-shrink: 0;
		font-family: var(--font-family-sans);
		font-size: var(--font-size-small);
		font-style: normal;
		font-weight: var(--font-weight-medium);
		line-height: var(--line-height-large);
		letter-spacing: var(--letter-spacing-normal);
		color: var(--text-base);

		&.capitalize {
			text-transform: capitalize;
		}
	}

	[data-slot="basic-tool-tool-subtitle"] {
		flex-shrink: 1;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-family: var(--font-family-sans);
		font-size: var(--font-size-small);
		font-style: normal;
		font-weight: var(--font-weight-medium);
		line-height: var(--line-height-large);
		letter-spacing: var(--letter-spacing-normal);
		color: var(--text-weak);

		&.clickable {
			cursor: pointer;
			text-decoration: underline;
			transition: color 0.15s ease;

			&:hover {
				color: var(--text-base);
			}
		}
	}

	[data-slot="basic-tool-tool-arg"] {
		flex-shrink: 1;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-family: var(--font-family-sans);
		font-size: var(--font-size-small);
		font-style: normal;
		font-weight: var(--font-weight-regular);
		line-height: var(--line-height-large);
		letter-spacing: var(--letter-spacing-normal);
		color: var(--text-weak);
	}
}