forked from ollama-ui/ollama-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat.css
90 lines (77 loc) · 1.62 KB
/
chat.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
body {
/* background-color: #0b3d91; */
color: #f5f5f5;
font-family: 'Arial', sans-serif;
}
.user-message {
background-color: rgb(86, 144, 163);
color: white;
padding: 10px;
border-radius: 10px;
white-space: pre-wrap;
margin-left: auto;
margin-right: 0;
max-width: 90%;
}
/* Style for received messages */
.response-message {
background-color: rgb(62, 62, 62);
color: white;
padding: 10px;
border-radius: 10px;
padding-right: 20px;
position: relative;
margin-right: auto;
max-width: 90%;
}
.response-message p {
margin-right: 40px;
/* Add more styles here */
}
/* Style for the chat container */
#chat-container {
display: none;
margin: 0 auto;
overflow: auto;
}
.host-address-select {
background-color: red;
color: white;
padding: 1000px;
border-radius: 1000px;
}
#chat-history {
display: flex;
flex-direction: column;
}
.copy-button {
position: absolute;
bottom: 5px;
right: 5px;
margin: 0 5px 5px 0;
}
#scroll-wrapper {
padding-top: 180px;
padding-bottom: 5.5rem;
}
#input-area {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
#user-input {
overflow-y: auto;
resize: none; /* Prevent user from manually resizing */
height: 40px;
max-height: 200px; /* Set your desired max height here */
}
@media (max-width: 600px) { /* Adjust 600px to the breakpoint you desire */
.d-flex h1 {
display: none; /* This will hide the h1 when the window width is 600px or less */
}
}
.predefined-prompts {
align-self: flex-start;
margin-top: 17px;
}