2024-06-03 19:23:14 -04:00
|
|
|
/* Base styles */
|
|
|
|
body {
|
|
|
|
background-color: #121212;
|
2024-06-04 00:03:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-03 19:23:14 -04:00
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100vh;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
2024-06-11 02:52:53 -04:00
|
|
|
.mini-button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 7px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #ffffff;
|
|
|
|
background-color: #464343;
|
2024-06-11 02:52:53 -04:00
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
2024-06-11 02:52:53 -04:00
|
|
|
|
2024-06-13 05:24:44 -04:00
|
|
|
.mini-button:hover {
|
2024-06-13 05:55:14 -04:00
|
|
|
background-color: #181717;
|
|
|
|
transform: scale(1.05);
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
2024-06-11 02:52:53 -04:00
|
|
|
|
|
|
|
.bold {
|
|
|
|
font-weight: bold;
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
2024-06-11 02:52:53 -04:00
|
|
|
|
2024-06-13 05:55:14 -04:00
|
|
|
pear-ctrl[data-platform="darwin"] {
|
|
|
|
float: right;
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
2024-06-09 01:55:39 -04:00
|
|
|
|
|
|
|
pear-ctrl {
|
2024-06-09 01:27:42 -04:00
|
|
|
margin-top: 9px;
|
2024-06-09 01:55:39 -04:00
|
|
|
margin-left: 9px;
|
|
|
|
position: absolute;
|
2024-06-09 01:27:42 -04:00
|
|
|
}
|
|
|
|
|
2024-06-09 01:55:39 -04:00
|
|
|
pear-ctrl:after {
|
2024-06-09 01:27:42 -04:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
height: 1.8rem;
|
|
|
|
position: fixed;
|
|
|
|
z-index: -1;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2024-06-13 05:55:14 -04:00
|
|
|
background-color: #1f1f1f;
|
2024-06-09 01:27:42 -04:00
|
|
|
filter: drop-shadow(2px 10px 6px #888);
|
|
|
|
}
|
2024-06-09 01:55:39 -04:00
|
|
|
|
2024-06-08 20:38:18 -04:00
|
|
|
main {
|
2024-06-08 01:21:25 -04:00
|
|
|
display: flex;
|
2024-06-08 20:38:18 -04:00
|
|
|
flex: 1;
|
2024-06-09 01:55:39 -04:00
|
|
|
overflow: hidden;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
2024-06-08 01:21:25 -04:00
|
|
|
width: 200px;
|
|
|
|
background-color: #2f3136;
|
|
|
|
color: white;
|
2024-06-08 20:38:18 -04:00
|
|
|
height: 100%;
|
2024-06-08 01:21:25 -04:00
|
|
|
padding: 10px;
|
|
|
|
box-sizing: border-box;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
2024-06-08 01:21:25 -04:00
|
|
|
padding: 10px;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
2024-06-09 01:55:39 -04:00
|
|
|
#register,
|
|
|
|
#setup,
|
|
|
|
#chat {
|
2024-06-08 20:38:18 -04:00
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
padding: 2rem;
|
|
|
|
background-color: #1f1f1f;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#chat {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-08 01:21:25 -04:00
|
|
|
overflow: hidden;
|
2024-06-08 20:38:18 -04:00
|
|
|
padding: 1rem;
|
|
|
|
background-color: #1e1e1e;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#messages-container {
|
2024-06-08 01:21:25 -04:00
|
|
|
flex: 1;
|
2024-06-09 01:55:39 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2024-06-08 20:38:18 -04:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-06-09 00:58:14 -04:00
|
|
|
#messages-container::-webkit-scrollbar {
|
2024-06-09 01:55:39 -04:00
|
|
|
width: 8px;
|
2024-06-09 00:58:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#messages-container::-webkit-scrollbar-thumb {
|
2024-06-13 05:55:14 -04:00
|
|
|
background-color: #464343;
|
2024-06-09 01:55:39 -04:00
|
|
|
border-radius: 10px;
|
2024-06-09 00:58:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#messages-container::-webkit-scrollbar-track {
|
2024-06-09 01:55:39 -04:00
|
|
|
background: #2e2e2e;
|
2024-06-09 00:58:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-08 20:38:18 -04:00
|
|
|
#message-form {
|
|
|
|
display: flex;
|
2024-06-09 02:27:20 -04:00
|
|
|
align-items: center;
|
2024-06-08 20:38:18 -04:00
|
|
|
margin-top: 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#message {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
padding-right: 0.5rem;
|
2024-06-09 01:55:39 -04:00
|
|
|
height: 1.5rem;
|
|
|
|
overflow-y: hidden;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#message:focus {
|
2024-06-09 01:55:39 -04:00
|
|
|
height: auto;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#message:empty {
|
2024-06-09 01:55:39 -04:00
|
|
|
height: 1.5rem;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar button {
|
2024-06-08 01:21:25 -04:00
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
cursor: pointer;
|
2024-06-13 05:55:14 -04:00
|
|
|
background-color: #3e3c3c;
|
2024-06-08 01:21:25 -04:00
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
font-size: 14px;
|
|
|
|
border-radius: 5px;
|
2024-06-13 05:24:44 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar button:hover {
|
2024-06-13 05:55:14 -04:00
|
|
|
background-color: #191919;
|
2024-06-13 05:24:44 -04:00
|
|
|
transform: scale(1.05);
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#remove-room-btn {
|
2024-06-08 01:21:25 -04:00
|
|
|
margin-top: 10px;
|
|
|
|
padding: 10px;
|
|
|
|
background-color: #f04747;
|
|
|
|
border: none;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 5px;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#remove-room-btn:hover {
|
2024-06-08 01:21:25 -04:00
|
|
|
background-color: #c03535;
|
2024-06-13 05:55:14 -04:00
|
|
|
transform: scale(1.05);
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
2024-06-08 01:21:25 -04:00
|
|
|
display: none;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
2024-06-08 01:21:25 -04:00
|
|
|
|
2024-06-03 19:23:14 -04:00
|
|
|
/* Header styles */
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 1rem;
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #1f1f1f;
|
|
|
|
color: #fff;
|
2024-06-03 19:23:14 -04:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
|
|
cursor: move;
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
}
|
|
|
|
|
2024-06-09 01:55:39 -04:00
|
|
|
#linkup-text {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
2024-06-03 19:23:14 -04:00
|
|
|
.window-controls {
|
|
|
|
display: flex;
|
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
}
|
|
|
|
|
|
|
|
.window-controls button {
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #2e2e2e;
|
2024-06-03 19:23:14 -04:00
|
|
|
border: none;
|
2024-06-04 00:03:14 -04:00
|
|
|
color: #fff;
|
2024-06-03 19:23:14 -04:00
|
|
|
font-size: 1.25rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.window-controls button:hover {
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #3e3e3e;
|
2024-06-13 05:55:14 -04:00
|
|
|
transform: scale(1.05);
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Button and input styles */
|
2024-06-04 00:03:14 -04:00
|
|
|
button,
|
|
|
|
input,
|
|
|
|
textarea {
|
2024-06-13 05:55:14 -04:00
|
|
|
border: 1px solid #464343;
|
2024-06-03 19:23:14 -04:00
|
|
|
background-color: #333;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-09 01:55:39 -04:00
|
|
|
padding: 0.5rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
font-family: 'Roboto Mono', monospace;
|
|
|
|
font-size: 1rem;
|
2024-06-09 01:55:39 -04:00
|
|
|
line-height: 1.25rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
border-radius: 4px;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
|
2024-06-09 01:55:39 -04:00
|
|
|
resize: none;
|
|
|
|
overflow-y: hidden;
|
2024-06-13 05:55:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
button:hover,
|
|
|
|
input[type="submit"]:hover {
|
|
|
|
background-color: #191919;
|
|
|
|
transform: scale(1.05);
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-04 00:03:14 -04:00
|
|
|
textarea {
|
2024-06-09 01:55:39 -04:00
|
|
|
height: auto;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-04 00:03:14 -04:00
|
|
|
textarea:focus {
|
2024-06-09 01:55:39 -04:00
|
|
|
outline: none;
|
2024-06-04 00:03:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
textarea::placeholder {
|
|
|
|
color: #a0a0a0;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-13 05:55:14 -04:00
|
|
|
#attach-file,
|
|
|
|
#message-form input[type="submit"] {
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
margin-left: 0.5rem;
|
2024-06-09 02:27:20 -04:00
|
|
|
}
|
|
|
|
|
2024-06-13 03:53:23 -04:00
|
|
|
#talk-btn {
|
2024-06-13 05:55:14 -04:00
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
margin-left: 0.5rem;
|
2024-06-13 03:53:23 -04:00
|
|
|
font-size: 14px;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#talk-btn:active {
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #fff;
|
|
|
|
background-color: #f04747;
|
2024-06-13 03:53:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2024-06-03 19:23:14 -04:00
|
|
|
/* Main container styles */
|
|
|
|
main {
|
|
|
|
display: flex;
|
2024-06-03 22:49:52 -04:00
|
|
|
flex: 1;
|
2024-06-03 19:23:14 -04:00
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2024-06-03 22:49:52 -04:00
|
|
|
padding: 1rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-03 22:49:52 -04:00
|
|
|
/* Hidden class */
|
2024-06-03 19:23:14 -04:00
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Form container styles */
|
2024-06-04 00:03:14 -04:00
|
|
|
#register,
|
|
|
|
#setup {
|
2024-06-03 19:23:14 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 2rem;
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #1f1f1f;
|
2024-06-03 19:23:14 -04:00
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#or {
|
|
|
|
margin: 1.5rem 0;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#loading {
|
|
|
|
align-self: center;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Chat container styles */
|
|
|
|
#chat {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-03 22:49:52 -04:00
|
|
|
flex: 1;
|
2024-06-03 19:23:14 -04:00
|
|
|
width: 100%;
|
|
|
|
padding: 1rem;
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #1e1e1e;
|
2024-06-03 19:23:14 -04:00
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
2024-06-03 22:49:52 -04:00
|
|
|
overflow: hidden;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2024-06-08 20:38:18 -04:00
|
|
|
width: 100%;
|
2024-06-03 19:23:14 -04:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-06-03 23:05:03 -04:00
|
|
|
#join-chat-room-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-06-04 00:03:14 -04:00
|
|
|
margin-top: 1rem;
|
2024-06-03 23:05:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#join-chat-room-container label {
|
2024-06-04 00:03:14 -04:00
|
|
|
margin-right: 0.5rem;
|
2024-06-03 23:05:03 -04:00
|
|
|
}
|
|
|
|
|
2024-06-04 00:03:14 -04:00
|
|
|
#join-chat-room-container input,
|
|
|
|
#join-chat-room-container textarea {
|
|
|
|
margin-right: 0.5rem;
|
2024-06-03 23:05:03 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#join-chat-room-container button {
|
2024-06-04 00:03:14 -04:00
|
|
|
margin-left: 0.5rem;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#join-chat-room-container button:hover {
|
|
|
|
background-color: #191919;
|
|
|
|
transform: scale(1.05);
|
2024-06-03 23:05:03 -04:00
|
|
|
}
|
|
|
|
|
2024-06-03 19:23:14 -04:00
|
|
|
#details {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2024-06-08 20:38:18 -04:00
|
|
|
align-items: center;
|
2024-06-03 19:23:14 -04:00
|
|
|
padding: 1rem;
|
2024-06-04 00:03:14 -04:00
|
|
|
background-color: #2b2b2b;
|
2024-06-03 19:23:14 -04:00
|
|
|
border-radius: 4px;
|
2024-06-08 20:38:18 -04:00
|
|
|
width: 100%;
|
2024-06-09 01:55:39 -04:00
|
|
|
box-sizing: border-box;
|
2024-06-08 20:38:18 -04:00
|
|
|
}
|
|
|
|
|
2024-06-09 01:55:39 -04:00
|
|
|
#details>div {
|
2024-06-08 20:38:18 -04:00
|
|
|
display: flex;
|
2024-06-09 01:55:39 -04:00
|
|
|
flex-direction: column;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-03 23:05:03 -04:00
|
|
|
#submit-button {
|
2024-06-04 00:03:14 -04:00
|
|
|
margin-left: 1rem;
|
2024-06-13 05:55:14 -04:00
|
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#submit-button:hover {
|
|
|
|
background-color: #191919;
|
|
|
|
transform: scale(1.05);
|
2024-06-03 23:05:03 -04:00
|
|
|
}
|
|
|
|
|
2024-06-03 19:23:14 -04:00
|
|
|
#messages {
|
|
|
|
flex: 1;
|
2024-06-04 00:03:14 -04:00
|
|
|
min-height: 200px;
|
2024-06-03 19:23:14 -04:00
|
|
|
overflow-y: auto;
|
2024-06-09 01:55:39 -04:00
|
|
|
padding: 0.5rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
background-color: #262626;
|
|
|
|
border-radius: 4px;
|
2024-06-03 22:49:52 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-08 20:38:18 -04:00
|
|
|
width: 100%;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#message-form {
|
|
|
|
display: flex;
|
2024-06-09 02:27:20 -04:00
|
|
|
align-items: center;
|
2024-06-03 19:23:14 -04:00
|
|
|
margin-top: 1rem;
|
2024-06-08 20:38:18 -04:00
|
|
|
width: 100%;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#message {
|
|
|
|
flex: 1;
|
|
|
|
margin-right: 0.5rem;
|
2024-06-04 00:03:14 -04:00
|
|
|
padding-right: 0.5rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#user-info {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-info input {
|
|
|
|
margin: 0 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#user-list {
|
|
|
|
margin-top: 1rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Message styles */
|
|
|
|
.message {
|
|
|
|
display: flex;
|
2024-06-09 02:22:46 -04:00
|
|
|
align-items: flex-start;
|
2024-06-09 01:55:39 -04:00
|
|
|
margin-bottom: 0.5rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-09 02:22:46 -04:00
|
|
|
.message img.avatar {
|
2024-06-09 01:55:39 -04:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2024-06-03 19:23:14 -04:00
|
|
|
border-radius: 50%;
|
2024-06-09 01:55:39 -04:00
|
|
|
margin-right: 0.5rem;
|
2024-06-13 05:55:14 -04:00
|
|
|
border: 2px solid #464343;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.message-content {
|
2024-06-04 00:03:14 -04:00
|
|
|
max-width: 70%;
|
|
|
|
background-color: #2e2e2e;
|
2024-06-09 01:55:39 -04:00
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 8px;
|
2024-06-03 19:23:14 -04:00
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-header {
|
|
|
|
font-weight: bold;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-09 01:55:39 -04:00
|
|
|
font-size: 0.9rem;
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
|
|
|
|
2024-06-09 02:22:46 -04:00
|
|
|
.message-text {
|
|
|
|
color: #e0e0e0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attached-image {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
2024-06-03 19:23:14 -04:00
|
|
|
}
|
2024-06-13 05:24:44 -04:00
|
|
|
|
|
|
|
/* Updated Room List Styles */
|
|
|
|
#room-list {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li {
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
background-color: #3a3f44;
|
|
|
|
border-radius: 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
transition: background-color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li:hover {
|
|
|
|
background-color: #4a5258;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li span {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li .edit-icon,
|
|
|
|
#room-list li .delete-icon {
|
|
|
|
margin-left: 10px;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-13 05:24:44 -04:00
|
|
|
cursor: pointer;
|
|
|
|
transition: color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li .edit-icon:hover,
|
|
|
|
#room-list li .delete-icon:hover {
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #a0a0a0;
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Style for Edit Mode Input Box */
|
|
|
|
#room-list li input[type="text"] {
|
|
|
|
background-color: #2e2e2e;
|
2024-06-13 05:55:14 -04:00
|
|
|
border: 1px solid #464343;
|
2024-06-13 05:24:44 -04:00
|
|
|
border-radius: 5px;
|
2024-06-13 05:55:14 -04:00
|
|
|
color: #e0e0e0;
|
2024-06-13 05:24:44 -04:00
|
|
|
padding: 5px;
|
2024-06-13 05:55:14 -04:00
|
|
|
width: calc(100% - 40px);
|
|
|
|
margin-right: 10px;
|
2024-06-13 05:24:44 -04:00
|
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#room-list li input[type="text"]:focus {
|
|
|
|
outline: none;
|
|
|
|
background-color: #3a3a3a;
|
|
|
|
}
|
|
|
|
|
2024-06-13 05:55:14 -04:00
|
|
|
/* Link styles */
|
|
|
|
a {
|
|
|
|
color: #e0e0e0; /* Base color for links matching the text color */
|
|
|
|
text-decoration: none; /* Remove underline */
|
|
|
|
transition: color 0.3s ease, text-decoration 0.3s ease;
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
|
|
|
|
2024-06-13 05:55:14 -04:00
|
|
|
a:hover {
|
|
|
|
color: #b0b0b0; /* Lighter color on hover */
|
|
|
|
text-decoration: underline; /* Underline on hover */
|
2024-06-13 05:24:44 -04:00
|
|
|
}
|
2024-06-13 05:55:14 -04:00
|
|
|
|
|
|
|
a:active {
|
|
|
|
color: #a0a0a0; /* Slightly darker color on active */
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: #b0b0b0; /* Different color for visited links */
|
2024-06-13 06:10:26 -04:00
|
|
|
}
|