forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.css
More file actions
105 lines (95 loc) · 2.42 KB
/
Copy pathinput.css
File metadata and controls
105 lines (95 loc) · 2.42 KB
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
98
99
100
101
102
103
104
105
.copilotKitInput {
display: flex;
flex-direction: column;
cursor: text;
position: relative;
background-color: var(--copilot-kit-input-background-color);
border-radius: 20px;
border: 1px solid var(--copilot-kit-separator-color);
padding: 12px 14px;
height: 75px;
margin: 0 auto;
width: 95%;
}
.copilotKitInputContainer {
width: 100%;
padding: 0;
background: var(--copilot-kit-background-color);
border-bottom-left-radius: 0.75rem;
border-bottom-right-radius: 0.75rem;
}
.copilotKitSidebar .copilotKitInputContainer {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.copilotKitInputControlButton {
padding: 0;
cursor: pointer;
transition-property: transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 200ms;
transform: scale(1);
color: rgba(0, 0, 0, 0.25);
-webkit-appearance: button;
appearance: button;
background-color: transparent;
background-image: none;
text-transform: none;
font-family: inherit;
font-size: 100%;
font-weight: inherit;
line-height: inherit;
border: 0;
margin: 0;
text-indent: 0px;
text-shadow: none;
display: inline-block;
text-align: center;
width: 24px;
height: 24px;
}
.copilotKitInputControlButton:not([disabled]) {
color: var(--copilot-kit-primary-color);
}
.copilotKitInputControlButton:not([disabled]):hover {
color: color-mix(in srgb, var(--copilot-kit-primary-color) 80%, black);
transform: scale(1.05);
}
.copilotKitInputControlButton[disabled] {
color: var(--copilot-kit-muted-color);
cursor: default;
}
.copilotKitInputControls {
display: flex;
gap: 3px;
}
.copilotKitInput > textarea {
flex: 1; /* Allow textarea to take up remaining space */
outline: 2px solid transparent;
outline-offset: 2px;
resize: none;
white-space: pre-wrap;
overflow-wrap: break-word;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: text;
font-size: 0.875rem;
line-height: 1.5rem;
margin: 0;
padding: 0;
font-family: inherit;
font-weight: inherit;
color: var(--copilot-kit-secondary-contrast-color);
border: 0px;
background-color: transparent;
}
.copilotKitInput > textarea::placeholder {
color: #808080;
opacity: 1;
}
.copilotKitInputControlButton.copilotKitPushToTalkRecording {
background-color: #ec0000;
color: white;
border-radius: 50%;
animation: copilotKitPulseAnimation 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}