Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Commit 6b23c82

Browse files
authored
Update index.html
1 parent 4e27df8 commit 6b23c82

1 file changed

Lines changed: 56 additions & 40 deletions

File tree

index.html

Lines changed: 56 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,11 @@
101101
--storage-group-text-color: #4a4a4a;
102102

103103
--soundboard-button-bgcolor: #a1a1a1;
104+
--soundboard-button-border-color: #545454;
104105
--soundboard-button-hover-bgcolor: #bfbfbf;
105106

106107
--soundboard-stop-button-bgcolor: #d90000;
108+
--soundboard-stop-border-color: #750000;
107109
--soundboard-stop-button-hover-bgcolor: #ff0000;
108110

109111
--usercolors-1: #ff0000;
@@ -549,28 +551,33 @@
549551
Home
550552
</button>
551553
<b id="usersTyping" style="position: fixed; bottom: 40px; left: 0"></b>
552-
<div
554+
<div style="display:flex;height: calc(100vh - 220px);">
555+
<div id="cameraVideos">
556+
</div>
557+
<div
553558
id="messages"
554559
class="roundborder"
555560
style="
556561
resize: none;
557562
font-size: 20px;
558-
width: 100%;
563+
flex-grow: 1;
559564
height: calc(100vh - 220px);
560565
border: none;
561566
background-color: var(--messages-bg-color);
562567
color: var(--messages-text-color);
563568
overflow: auto;
564569
min-height: 150px;
565570
min-width: 200px;
571+
display: flex;
566572
"
567-
disabled
568573
>
569574
<span
570575
id="messagesP"
571576
style="float: left; text-align: left; width: 100%; height: 100%"
572577
></span>
573578
</div>
579+
</div>
580+
574581
<input
575582
type="text"
576583
placeholder="Type your message here..."
@@ -832,14 +839,14 @@
832839
<style>
833840
/* Styling for individual video elements */
834841
.cameraVideo {
835-
width: 100px;
836-
height: 100px; /* Matches container height */
842+
width: 150px;
843+
height: 150px;
844+
min-width: 150px;
845+
min-height: 150px;
837846
background: black;
838847
border: 2px solid #333; /* Subtle border for separation */
839848
border-radius: 8px; /* Rounded corners for better aesthetics */
840849
margin: 0 4px; /* Adds spacing between video elements */
841-
overflow: hidden; /* Ensures video content stays inside rounded corners */
842-
transition: transform 0.2s, box-shadow 0.2s; /* Smooth interaction effects */
843850
position: relative;
844851
top: 0;
845852
left: 0;
@@ -850,35 +857,12 @@
850857
height: 100%;
851858
}
852859

853-
/* Styling for the container */
854860
#cameraVideos {
855-
position: fixed;
856-
top: 10px;
857-
right: 100px;
858-
width: 200px;
859-
height: calc(100vh - 10px);
860-
overflow-x: auto;
861-
overflow-y: auto;
862-
pointer-events: none;
863-
}
864-
#cameraVideos:hover {
865-
opacity: 0.5;
866-
}
867-
868-
/* Custom scrollbar for WebKit browsers */
869-
#cameraVideos::-webkit-scrollbar {
870-
height: 6px; /* Adjust scrollbar thickness */
871-
}
872-
873-
#cameraVideos::-webkit-scrollbar-thumb {
874-
background: #666; /* Scrollbar color */
875-
border-radius: 3px; /* Rounded scrollbar */
876-
}
877-
878-
#cameraVideos::-webkit-scrollbar-track {
879-
background: transparent; /* Transparent track */
861+
overflow: auto;
862+
display: flex;
863+
flex-direction: column;
864+
height: 100%;
880865
}
881-
882866
.cameraVideoUsername {
883867
position:absolute;
884868
bottom: 0;
@@ -893,8 +877,6 @@
893877
}
894878
</style>
895879

896-
<div id="cameraVideos"></div>
897-
898880
<div
899881
id="screenShareNewDiv"
900882
style="
@@ -1231,9 +1213,7 @@ <h1>Emoji Added!</h1>
12311213
<style>
12321214
.soundboardButton {
12331215
min-width: 100px;
1234-
min-height: 100px;
12351216
width: fit-content;
1236-
height: fit-content;
12371217
font-size: 20px;
12381218
background: var(--soundboard-button-bgcolor);
12391219
display: flex;
@@ -1242,17 +1222,32 @@ <h1>Emoji Added!</h1>
12421222
margin-right: 5px;
12431223
margin-bottom: 5px;
12441224
flex-wrap: wrap;
1225+
flex-direction: column;
1226+
border-bottom-style: solid;
1227+
border-bottom-width: 10px;
1228+
border-bottom-color: var(--soundboard-button-border-color);
1229+
height: 90px;
1230+
border-radius: 2px;
1231+
overflow: hidden;
12451232
}
12461233
.soundboardButton:hover {
12471234
background: var(--soundboard-button-hover-bgcolor);
12481235
cursor: pointer;
1236+
border-bottom-width: 5px;
1237+
height: 95px;
12491238
}
12501239

1240+
.soundboardButton:active {
1241+
background: var(--soundboard-button-hover-bgcolor);
1242+
cursor: pointer;
1243+
border-bottom-width: 0px;
1244+
height: 100px;
1245+
}
1246+
1247+
12511248
.soundboardButtonStop {
12521249
min-width: 100px;
1253-
min-height: 100px;
12541250
width: fit-content;
1255-
height: fit-content;
12561251
font-size: 20px;
12571252
background: var(--soundboard-stop-button-bgcolor);
12581253
display: flex;
@@ -1261,10 +1256,31 @@ <h1>Emoji Added!</h1>
12611256
margin-right: 5px;
12621257
margin-bottom: 5px;
12631258
flex-wrap: wrap;
1259+
flex-direction: column;
1260+
border-bottom-style: solid;
1261+
border-bottom-width: 10px;
1262+
border-bottom-color: var(--soundboard-stop-button-border-color);
1263+
height: 90px;
1264+
border-radius: 2px;
1265+
overflow: hidden;
12641266
}
12651267
.soundboardButtonStop:hover {
12661268
background: var(--soundboard-stop-button-hover-bgcolor);
12671269
cursor: pointer;
1270+
border-bottom-width: 5px;
1271+
height: 95px;
1272+
}
1273+
1274+
.soundboardButtonStop:active {
1275+
background: var(--soundboard-stop-button-hover-bgcolor);
1276+
cursor: pointer;
1277+
border-bottom-width: 0px;
1278+
height: 100px;
1279+
}
1280+
1281+
.soundboardButtonUsernames {
1282+
font-weight:bold;
1283+
font-size: 15px;
12681284
}
12691285

12701286
#soundboardButtons {

0 commit comments

Comments
 (0)