forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.css
More file actions
65 lines (58 loc) · 1.31 KB
/
Copy pathheader.css
File metadata and controls
65 lines (58 loc) · 1.31 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
.copilotKitHeader {
height: 56px;
font-weight: 500;
display: flex;
align-items: center;
position: relative;
color: var(--copilot-kit-primary-color);
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom: 1px solid var(--copilot-kit-separator-color);
padding-left: 1.5rem;
background-color: var(--copilot-kit-contrast-color);
justify-content: space-between;
z-index: 2;
}
.copilotKitSidebar .copilotKitHeader {
border-radius: 0;
}
.copilotKitHeaderControls {
display: flex;
}
.copilotKitHeaderCloseButton {
background: none;
border: none;
}
@media (min-width: 640px) {
.copilotKitHeader {
padding-left: 1.5rem;
padding-right: 24px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
}
}
.copilotKitHeader > button {
border: 0;
padding: 8px;
position: absolute;
top: 50%;
right: 16px;
transform: translateY(-50%);
outline: none;
color: var(--copilot-kit-muted-color);
background-color: transparent;
cursor: pointer;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease;
width: 35px;
height: 35px;
}
.copilotKitHeader > button:hover {
color: color-mix(in srgb, var(--copilot-kit-muted-color) 80%, black);
}
.copilotKitHeader > button:focus {
outline: none;
}