-
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (119 loc) · 2.06 KB
/
style.css
File metadata and controls
140 lines (119 loc) · 2.06 KB
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 {
background-image: linear-gradient(
23deg,
hsl(49deg 100% 69%) 0%,
hsl(16deg 80% 61%) 2%,
hsl(330deg 81% 34%) 12%,
hsl(259deg 100% 15%) 50%,
hsl(212deg 100% 25%) 88%,
hsl(197deg 100% 30%) 98%,
hsl(183deg 79% 36%) 100%
);
height: 100vh;
}
.button {
border: none;
padding: 0.625em;
border-radius: 0.5em;
cursor: pointer;
}
.button:hover {
filter: brightness(0.9);
}
.button:active {
transform: translateY(2px);
}
.person-selector {
display: flex;
justify-content: center;
gap: 1em;
margin: 3em auto 1em;
max-width: 40em;
}
.person-selector-button {
width: 100%;
background-color: #15202b;
color: #fff;
font-size: 1.1em;
}
.active-person {
background: #08529d;
box-shadow: 0 0 0.5em 0.1em #c3c3c333;
}
.chat-container {
background: #15202b;
font-family: 'Roboto', sans-serif;
border-radius: 0.5em;
padding: 0.5em 1.25em;
margin: auto;
max-width: 37.5em;
height: 37.5em;
box-shadow: 0 0 1.25em 0.5em #c3c3c333;
}
.chat-header {
margin-bottom: 1em;
color: #fff;
}
.chat-header h2 {
font-size: 1.25em;
font-weight: bold;
}
.chat-messages {
height: 23em;
overflow-y: scroll;
}
.chat-messages::-webkit-scrollbar {
display: none;
}
.message {
padding: 0.625em;
border-radius: 1em;
margin-bottom: 0.625em;
display: flex;
flex-direction: column;
color: #fff;
}
.message-sender {
font-weight: bold;
margin-bottom: 0.31em;
}
.message-text {
font-size: 1em;
margin-bottom: 0.31em;
word-wrap: break-word;
}
.message-timestamp {
font-size: 0.75em;
text-align: right;
}
.blue-bg {
background-color: #1c9bef;
}
.gray-bg {
background-color: #3d5365;
}
.chat-input-form {
display: flex;
align-items: center;
margin-top: 2em;
gap: 0.625em;
}
.chat-input {
padding: 0.625em;
border: none;
border-radius: 0.5em;
background-color: #f5f5f5;
color: #333;
font-size: 1em;
flex-grow: 1;
}
.send-button {
background-color: #1c9bef;
color: #fff;
font-size: 1em;
font-weight: bold;
}
.clear-chat-button {
display: block;
margin: 2.5em auto;
}