-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (118 loc) · 2.32 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
body, html {
height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: #1e1e2d;
font-family: 'Arial', sans-serif;
}
.chat-container {
width: 75%;
max-width: 900px;
background-color: #2c2f3e;
border-radius: 15px;
overflow: hidden;
}
.sidebar-container {
background-color: #1f1f2f;
border-right: 1px solid #444;
height: 500px; /* Set a specific height to match the chat box */
}
.sidebar ul {
padding: 0;
margin: 0;
list-style: none;
overflow-y: auto;
height: 100%;
}
.chat {
background-color: #2c2f3e;
height: 500px; /* Set a specific height to match the sidebar */
}
.card {
background-color: #2c2f3e;
border: none;
height: 100%;
display: flex;
flex-direction: column;
}
.card-header {
border-bottom: 1px solid #444;
padding: 15px;
background-color: #2c2f3e;
}
.msg_head img {
width: 50px;
height: 50px;
}
.msg_head_title {
display: flex;
align-items: center;
}
.msg_head_title img {
margin-right: 10px;
}
.card-body {
flex: 1;
overflow-y: auto;
padding: 15px;
}
.card-footer {
border-top: 1px solid #444;
padding: 15px;
background-color: #2c2f3e;
}
.type_msg {
border: none;
padding: 10px;
background-color: #2c2f3e;
color: #fff;
border-radius: 20px;
}
.type_msg:focus {
outline: none;
}
.input-group-text {
background-color: #2c2f3e;
border: none;
color: #fff;
}
.send_btn {
border-radius: 50%;
}
.msg_cotainer, .msg_cotainer_send {
margin-bottom: 15px;
border-radius: 15px;
padding: 10px;
width: fit-content;
max-width: 70%;
word-wrap: break-word;
color: #fff;
}
.msg_cotainer {
background-color: #2196F3;
align-self: flex-start;
}
.msg_cotainer_send {
background-color: #66BB6A;
align-self: flex-end;
}
.msg_time, .msg_time_send {
font-size: 0.85em;
color: #ccc;
text-align: right;
}
.msg_cotainer_send_container {
display: flex;
justify-content: flex-end;
align-items: center;
}
.edit_btn {
margin-left: 10px;
cursor: pointer;
color: #fff;
}
.edit_btn:hover {
color: #ddd;
}