-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
108 lines (108 loc) · 2.01 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
/* style.css */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f0f0f0;
}
.dashboard {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.agent-list {
flex: 1;
min-width: 250px;
}
.chat-area, .message-history-area {
flex: 2;
background-color: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
min-width: 300px;
}
.agent {
background-color: white;
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
margin-bottom: 10px;
cursor: pointer;
}
.agent.selected {
background-color: #e6f7ff;
}
.chat-messages, #messageHistoryArea {
height: 300px;
overflow-y: auto;
border: 1px solid #ddd;
padding: 10px;
margin-bottom: 10px;
}
.message, .history-message {
margin-bottom: 10px;
}
.user-message {
text-align: right;
color: blue;
}
.agent-message {
text-align: left;
color: green;
}
#messageInput, #actorIdInput, #historyActorId {
width: calc(50% - 10px);
padding: 10px;
margin-right: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.btn {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #45a049;
}
#networkStatus {
margin-bottom: 10px;
font-weight: bold;
}
#createAgentForm {
margin-top: 20px;
padding: 20px;
background-color: #f0f0f0;
border-radius: 8px;
}
#newAgentName, #newAgentType {
width: calc(50% - 10px);
padding: 5px;
margin-right: 10px;
}
#submitNewAgent {
padding: 5px 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#submitNewAgent:hover {
background-color: #45a049;
}
.history-message .sender {
font-weight: bold;
}
.history-message .timestamp {
font-size: 0.8em;
color: #666;
margin-left: 10px;
}