chookchat/client-web/index.css

353 lines
5.6 KiB
CSS
Raw Permalink Normal View History

2024-11-05 20:35:10 +11:00
@font-face {
font-family: "inter";
src: url("InterVariable.ttf");
}
a {
color: white;
}
input {
color: white;
background: rgba(0, 0, 0, 0.5);
border: none;
border-radius: 10px;
padding: 5px;
font-family: "inter";
margin: 10px;
}
.tiny {
font-size: 5pt;
}
h1 {
font-size: 35pt;
}
h2 {
font-size: 20pt;
}
h3 {
font-size: 15pt;
}
p {
font-size: 12pt;
}
#messagebox {
overflow-y: auto;
2024-11-23 18:10:56 +11:00
border: 0px;
2024-11-05 20:35:10 +11:00
padding: 20px;
margin: 10px 10px;
2024-12-06 13:27:22 +11:00
flex-grow: 1;
2024-11-05 20:35:10 +11:00
}
.bluebutton {
background: rgba(0, 0, 255, 0.3);
}
.greenbutton {
background: rgba(0, 255, 0, 0.3);
}
.redbutton {
background: rgba(255, 0, 0, 0.3);
}
.hidden {
display: none;
}
2024-11-23 18:10:56 +11:00
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
box-sizing: border-box;
}
body {
color: white;
background: rgb(231,255,68);
background: linear-gradient(336deg, rgba(231,255,68,0.67) 0%, rgba(73,255,145,0.67) 43%, rgba(104,79,255,1) 100%);
font-family: inter;
background-attachment: fixed;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.section {
background-color: rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 5px;
width: calc(100vw - 40px);
height: calc(100vh - 40px);
2024-12-06 13:27:22 +11:00
box-sizing: border-box;
}
.section h2 {
margin: 20px;
2024-11-23 18:10:56 +11:00
}
.box {
color: white;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
margin: 10px auto;
padding: 20px;
max-width: 400px;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
}
2024-12-06 13:27:22 +11:00
.box p {
margin: 10px;
}
.box h3 {
margin: 10px;
}
.box img {
margin: 10px;
}
.box button {
margin: 10px;
}
2024-11-23 18:10:56 +11:00
#messaging .box {
max-width: none;
height: 100%;
2024-12-06 13:27:22 +11:00
position: relative;
2024-11-23 18:10:56 +11:00
}
2024-11-05 20:35:10 +11:00
2024-11-23 18:10:56 +11:00
#messagebox {
overflow-y: auto;
border: 0px;
padding: 20px;
margin: 10px 0; /* Remove horizontal margin */
flex-grow: 1;
width: 100%;
box-sizing: border-box;
}
2024-11-05 20:35:10 +11:00
2024-11-23 18:10:56 +11:00
.message {
text-align: left;
margin: 5px 0;
width: 100%;
2024-12-06 13:27:22 +11:00
display: flex;
flex-direction: column;
align-items: flex-start;
2024-11-23 18:10:56 +11:00
}
2024-11-25 14:25:42 +11:00
.file {
float: left;
border-radius: 10px;
margin: 5px 0;
}
2024-11-23 18:10:56 +11:00
.input-container {
display: flex;
width: 100%;
2024-12-06 13:27:22 +11:00
gap: 10px;
2024-11-23 18:10:56 +11:00
box-sizing: border-box;
}
/* Update input styles */
input {
color: white;
background: rgba(0, 0, 0, 0.5);
border: none;
border-radius: 10px;
padding: 5px 5px;
font-family: "inter";
max-width: 300px;
width: 100%;
box-sizing: border-box;
}
#messageInput {
max-width: none;
2024-12-06 13:27:22 +11:00
flex-grow: 1;
margin: 0;
2024-11-23 18:10:56 +11:00
}
2024-12-06 13:27:22 +11:00
.bluebutton, .greenbutton, .redbutton {
2024-11-23 18:10:56 +11:00
max-width: 200px;
2024-12-06 13:27:22 +11:00
width: auto;
margin: 0;
white-space: nowrap;
color: white;
font-size: 12pt;
font-family: inter;
border-radius: 10px;
border: none;
padding: 8px 12px;
max-width: none;
width: auto;
margin: 5px 0;
white-space: normal;
word-wrap: break-word;
text-align: center;
cursor: pointer;
2024-11-23 18:10:56 +11:00
}
2024-12-06 13:27:22 +11:00
.bluebutton, .greenbutton, .redbutton:hover {
2024-12-04 08:28:53 +11:00
background: rgba(255, 255, 255, 0.1);
border-radius: 5px;
}
#users {
display: flex;
align-items: left;
justify-content: space-between;
width: 100%;
}
#meeting {
cursor: pointer;
padding: 5px 10px;
margin-right: 10px;
align-items: right;
}
2024-11-24 16:07:45 +11:00
.suttle {
text-align: left;
width: 100%;
padding-left: 10px;
margin-bottom: 5px;
font-size: 0.9em;
2024-12-06 13:27:22 +11:00
color: rgba(255, 255, 255, 0.7);
2024-11-24 16:07:45 +11:00
}
2024-12-04 08:28:53 +11:00
#users {
2024-12-06 13:27:22 +11:00
position: relative;
2024-12-04 08:28:53 +11:00
width: 100%;
}
#meeting {
position: absolute;
2024-12-06 13:27:22 +11:00
right: 10px;
2024-12-04 08:28:53 +11:00
top: 0;
cursor: pointer;
padding: 5px 10px;
}
.message.call-notification {
color: lightblue;
}
#meet {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
background: rgba(0, 0, 0, 0.9);
padding: 20px;
border-radius: 10px;
width: 80%;
height: 80%;
}
2024-12-06 13:27:22 +11:00
.eggs-panel {
position: absolute;
right: -300px;
top: 0;
width: 300px;
height: 100%;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
transition: right 0.3s ease;
}
.eggs-panel.visible {
right: -310px;
}
.eggs-list {
padding: 10px;
}
.egg-item {
width: 100%;
padding: 10px;
margin: 5px 0;
background: rgba(0, 0, 0, 0.3);
border: none;
border-radius: 5px;
color: white;
font-family: "inter";
cursor: pointer;
}
.egg-item:hover {
background: rgba(255, 255, 255, 0.1);
}
.egg-content {
padding: 10px;
height: calc(100% - 20px);
background: rgba(0, 0, 0, 0.3);
border-radius: 5px;
margin: 10px;
}
#messaging {
width: 100%;
height: 100%;
}
.messaging-container {
display: flex;
flex-direction: row;
height: 100%;
position: relative;
}
.box {
flex: 1;
margin-right: 10px;
}
.eggs-panel {
width: 300px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
transition: transform 0.3s ease;
transform: translateX(100%);
height: 100%;
}
.eggs-panel.visible {
transform: translateX(0);
}
.eggs-list {
padding: 10px;
}
.egg-item {
width: 100%;
padding: 10px;
margin: 5px 0;
background: rgba(0, 0, 0, 0.3);
border: none;
border-radius: 5px;
color: white;
font-family: "inter";
cursor: pointer;
}
.egg-item:hover {
background: rgba(255, 255, 255, 0.1);
}
.egg-content {
padding: 10px;
height: calc(100% - 20px);
background: rgba(0, 0, 0, 0.3);
border-radius: 5px;
margin: 10px;
}