forked from sonigeez/mac-computer-use
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
125 lines (104 loc) · 1.82 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: white;
height: 200px;
display: flex;
flex-direction: column;
}
.chat-container {
display: flex;
flex-direction: column;
height: 100%;
}
.chat-messages {
flex: 1;
overflow-y: auto;
padding: 8px;
}
.message {
margin: 4px 0;
padding: 6px 10px;
border-radius: 12px;
max-width: 80%;
word-wrap: break-word;
}
.message.received {
background: #e3e3e3;
align-self: flex-start;
}
.message.sent {
background: #007AFF;
color: white;
align-self: flex-end;
}
.input-container {
display: flex;
padding: 8px;
border-top: 1px solid #ddd;
}
.message-input {
flex: 1;
padding: 6px 10px;
border: 1px solid #ddd;
border-radius: 15px;
margin-right: 8px;
outline: none;
}
.send-button {
background: #007AFF;
color: white;
border: none;
border-radius: 15px;
padding: 0 15px;
cursor: pointer;
}
.send-button:hover {
background: #0056b3;
}
.loading {
color: #888;
font-style: italic;
}
/* Custom scrollbar */
.chat-messages::-webkit-scrollbar {
width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
background: #f1f1f1;
}
.chat-messages::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
.push-to-talk {
display: flex;
align-items: center;
padding: 10px;
background-color: #28a745;
color: white;
border: none;
border-radius: 50px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s, transform 0.2s;
}
.push-to-talk .icon {
margin-right: 8px;
}
.push-to-talk:hover {
background-color: #218838;
}
.push-to-talk:active {
transform: scale(0.98);
}
.push-to-talk.recording {
background-color: #dc3545;
}
.push-to-talk.recording:hover {
background-color: #a71d2a;
}