vybe/client/index.html

180 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<script src="/openpgp.min.js"></script>
<script src="/socket.io.min.v4.6.1.js"></script>
<script src="/aes.js"></script>
<script type="module" src="/auth.js"></script>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>vybe</title>
<style>
* {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
scrollbar-color: #505050 #111;
}
::-webkit-scrollbar-thumb {
background: #505050;
}
::-webkit-scrollbar {
background-color: #111;
}
::-webkit-scrollbar-corner {
background-color: #111;
}
body,
button,
input {
color: #eaeaea;
border: none;
outline: none;
}
html {
height: 100%;
}
body {
height: 100%;
background: #020202;
display: flex;
align-items: stretch;
margin: 0;
min-width: min-content;
}
#register {
margin-inline: 14px;
}
button,
input,
.tab {
padding: 5px 7px;
}
button {
background: #303030;
}
input {
background: #1b1b1b;
padding-bottom: 3px;
border-bottom: 2px solid transparent;
}
input:focus {
border-bottom: 2px solid #4f4f4f;
}
input::placeholder {
color: #aaa;
}
.thread:hover,
.tab:hover {
background-color: #3b3b3b;
}
.tab.active,
.thread.active,
button:hover {
background-color: #4f4f4f;
color: #fff;
}
label.heading {
margin-bottom: 5px;
display: block;
}
h3,
h4 {
margin: 10px 0;
}
.hidden {
display: none !important;
}
.column {
flex: 1;
overflow: hidden;
margin: 5px;
}
.separator {
margin: 8px 2px;
}
#threads {
max-width: 250px;
}
.thread {
padding: 2px 4px;
}
#newthread {
margin-top: 5px;
}
#createthread {
max-width: 350px;
}
#permissions {
margin-bottom: 5px;
}
#thread {
display: flex;
flex-direction: column;
margin: 0;
}
#title {
margin: 4px;
}
#tabs {
margin: 4px 2px;
}
.tab {
padding: 5px 7px;
background-color: #1f1f1f;
border: 0;
color: #ddd;
font-weight: 500;
}
.tabcontent {
flex-grow: 1;
margin: 2px;
}
#message {
display: flex;
flex-direction: column;
}
#messages {
margin: 2px;
flex-grow: 1;
}
#msginput {
display: flex;
flex-direction: row;
margin: 2px;
}
#msg {
flex-grow: 1;
margin: 2px;
padding: 5px;
}
#sendmsg {
margin: 2px 3px;
}
.message {
margin-bottom: 5px;
overflow-wrap: anywhere;
}
#loadmore {
margin-bottom: 10px;
}
.channel {
font-weight: normal;
}
.member {
margin: 5px 0;
}
#space {
margin: 0;
position: relative;
overflow: auto;
}
.span {
position: absolute;
}
</style>
</head>
<body></body>
</html>