-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
149 lines (143 loc) · 2.61 KB
/
styles.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.sc-list .tree-item-self {
cursor: pointer;
}
.sc-list .tree-item-self small {
color: var(--color-gray-40);
}
.sc-brand {
position: fixed;
bottom: 0;
right: 0;
background-color: var(--titlebar-background);
}
.sc-brand > svg, .sc-brand > p {
display: inline;
margin: 0 0.1rem 0 0.3rem;
font-size: 0.77rem;
line-height: 1;
color: var(--tab-text-color-focused-active-current);
height: 0.88rem;
width: auto;
}
.sc-brand > svg, .sc-brand > p > a {
color: var(--tab-text-color-focused-active-current);
}
.sc-context {
color: var(--nav-item-color);
font-size: var(--nav-item-size);
margin: 0.5em 0.5em 1em;
width: 100%;
}
.sc-list > .sc-collapsed ul {
display: none;
}
.sc-list > .sc-collapsed span svg {
transform: rotate(-90deg);
}
.sc-list > :not(.sc-collapsed) span svg {
transform: rotate(0deg);
}
.sc-list > div span svg {
height: auto;
margin: auto 0.5em auto 0;
flex: none;
}
.sc-list > div > span {
display: inline-flex;
width: 100%;
}
.sc-list > div > ul {
margin: 0;
}
.sc-list > div > a {
display: block;
}
.sc-list > div > ul > li {
display: block;
}
.sc-top-bar {
display: flex;
width: 100%;
justify-content: end;
}
.sc-top-bar .search-input-container {
width: calc(100% - var(--size-4-8));
margin: 4px auto;
}
/* Chat */
.sc-top-bar-container {
align-self: flex-end;
}
.sc-chat-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
height: 100%;
padding: 10px;
}
.sc-chat-box {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-end;
padding: 10px;
height: 100%;
overflow: hidden;
user-select: text;
}
.sc-message-container {
border: 1px solid var(--blockquote-border-color);
border-radius: 10px;
margin: var(--size-4-4) 0;
display: flex;
flex-direction: column;
align-items: flex-start;
/* causes scroll to not work */
/* justify-content: flex-end; */
width: 100%;
height: 100%;
overflow-y: scroll;
}
.sc-message {
max-width: 70%;
margin: 10px;
padding: 10px;
border-radius: 10px;
word-break: break-word;
}
.sc-message.assistant {
background-color: #007bff;
color: #fff;
}
.sc-message.user {
background-color: #333;
color: #fff;
align-self: flex-end;
}
.sc-message-content {
margin: 0;
}
.sc-message-content p {
margin: 10px;
}
.sc-chat-form {
display: flex;
padding: 10px;
width: 100%;
}
.sc-chat-input {
flex-grow: 1;
padding: 10px;
border: none;
border-radius: 10px;
resize: none;
height: auto;
}
.send-button {
margin-left: 10px;
padding: 10px;
border: none;
border-radius: 10px;
cursor: pointer;
}