-
Notifications
You must be signed in to change notification settings - Fork 37
/
chat.component.scss
77 lines (64 loc) 路 1.13 KB
/
chat.component.scss
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
@import '../variables.scss';
.space-container {
display: flex;
flex-direction: column;
height: #{$view-container-height-no-toolbar};
overflow: hidden;
}
.form-container {
background-color: #f4f4f4;
border-top: 1px solid #ccc;
display: flex;
justify-content: center;
width: 100%;
}
.form-spacing {
flex-grow: 1;
padding: 10px;
justify-content: center;
}
.chat-container {
flex-grow: 1;
overflow-y: auto;
}
.conversation-query {
text-align: left;
padding: 8px;
border-radius: 5px;
background-color: #{$primary};
color: white;
}
.conversation-response {
margin: 8px 16px;
}
.conversation-error {
color: #ff0000;
font-style: italic;
}
textarea {
border: 1px solid #007bff;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
textarea:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.fullscreen {
.space-container {
height: 100vh;
}
.form-container {
display: none;
}
.chat-container {
flex-grow: 1;
overflow-y: auto;
margin: 0;
}
textarea {
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: none;
}
}