forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.css
More file actions
67 lines (61 loc) · 1.29 KB
/
Copy pathwindow.css
File metadata and controls
67 lines (61 loc) · 1.29 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
.copilotKitWindow {
position: fixed;
inset: 0px;
transform-origin: bottom;
border-color: rgb(229 231 235);
background-color: var(--copilot-kit-background-color);
border-radius: 0.75rem;
box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
flex-direction: column;
transition:
opacity 100ms ease-out,
transform 200ms ease-out;
opacity: 0;
transform: scale(0.95) translateY(20px);
display: flex;
pointer-events: none;
}
.copilotKitSidebar .copilotKitWindow {
border-radius: 0;
opacity: 1;
transform: translateX(100%);
}
.copilotKitWindow.open {
opacity: 1;
transform: scale(1) translateY(0);
pointer-events: auto;
}
.copilotKitSidebar .copilotKitWindow.open {
transform: translateX(0);
}
.copilotKitChatBody {
flex: 1 1 0%;
display: flex;
flex-direction: column;
min-height: 0;
}
@media (min-width: 640px) {
.copilotKitWindow {
transform-origin: bottom right;
bottom: 5rem;
right: 1rem;
top: auto;
left: auto;
border-width: 0px;
margin-bottom: 1rem;
width: 24rem;
height: 600px;
min-height: 200px;
max-height: calc(100% - 6rem);
}
.copilotKitSidebar .copilotKitWindow {
bottom: 0;
right: 0;
top: auto;
left: auto;
width: 28rem;
min-height: 100%;
margin-bottom: 0;
max-height: none;
}
}