vybe/client/index.html

198 lines
3.5 KiB
HTML
Raw Normal View History

2023-05-06 20:55:04 -07:00
<!DOCTYPE html>
<html lang="en">
2023-07-30 18:06:21 -07:00
<head>
<script src="/openpgp.min.js"></script>
<script src="/socket.io.min.v4.6.1.js"></script>
<script src="/aes.js"></script>
2023-08-30 21:00:17 -07:00
<script type="module" src="/auth.js"></script>
2023-07-30 18:06:21 -07:00
<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;
2024-03-18 23:07:48 -07:00
scrollbar-color: #505050 #111;
}
::-webkit-scrollbar-thumb {
background: #505050;
}
::-webkit-scrollbar {
background-color: #111;
}
::-webkit-scrollbar-corner {
background-color: #111;
2023-07-30 18:06:21 -07:00
}
html {
height: 100%;
2023-07-30 18:06:21 -07:00
}
body {
height: 100%;
background: #020202;
2023-07-30 18:06:21 -07:00
display: flex;
align-items: stretch;
margin: 0;
min-width: min-content;
2023-08-30 21:00:17 -07:00
}
2024-04-15 21:52:21 -07:00
body,
button,
input {
color: #eaeaea;
}
button {
border: none;
background: #303030;
2024-03-18 23:07:48 -07:00
}
button,
input,
.tab {
padding: 5px 7px;
2023-08-30 21:00:17 -07:00
}
input {
2024-03-18 23:07:48 -07:00
background: #1b1b1b;
2024-04-15 21:52:21 -07:00
outline: none;
border: 1px solid #444;
2024-04-28 22:55:54 -07:00
&:focus {
padding-bottom: 3px;
border-bottom: 3px solid #777;
}
&::placeholder {
color: #aaa;
}
}
2024-04-15 21:52:21 -07:00
#register {
margin-inline: 14px;
2024-04-15 23:53:54 -07:00
max-width: 800px;
2024-04-15 21:52:21 -07:00
}
.thread:hover,
2024-04-28 22:55:54 -07:00
.tab:hover,
#user:hover {
2024-04-15 23:53:54 -07:00
background-color: #303030;
}
.tab.active,
.thread.active,
button:hover {
background-color: #4f4f4f;
color: #fff;
}
label.heading {
margin-bottom: 5px;
display: block;
}
h3,
h4 {
margin: 10px 0;
2023-08-30 21:00:17 -07:00
}
.hidden {
display: none !important;
2023-07-30 18:06:21 -07:00
}
.column {
flex: 1;
overflow: hidden;
}
2024-04-15 14:27:21 -07:00
.separator {
margin: 8px 2px;
}
2024-04-28 22:55:54 -07:00
#home {
max-width: 250px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
2023-08-30 21:00:17 -07:00
#threads {
2024-04-28 22:55:54 -07:00
margin: 5px;
}
#user {
margin: 3px;
padding: 6px;
background-color: #191919;
}
#profile {
2023-08-30 21:00:17 -07:00
max-width: 250px;
2024-04-28 22:55:54 -07:00
> * {
margin: 5px;
}
}
.authrequest {
margin-block: 3px;
2023-07-30 18:06:21 -07:00
}
.thread {
2024-04-15 14:27:21 -07:00
padding: 2px 4px;
2023-12-28 11:54:16 -08:00
}
2023-08-30 21:00:17 -07:00
#newthread {
margin-top: 5px;
2023-07-30 18:06:21 -07:00
}
2023-12-28 11:54:16 -08:00
#createthread {
max-width: 350px;
}
2023-07-30 19:31:26 -07:00
#permissions {
margin-bottom: 5px;
}
#thread {
display: flex;
flex-direction: column;
}
2023-12-28 11:54:16 -08:00
#title {
2024-03-18 23:07:48 -07:00
margin: 4px;
2023-12-28 11:54:16 -08:00
}
#tabs {
2024-03-18 23:07:48 -07:00
margin: 4px 2px;
}
2023-12-28 11:54:16 -08:00
.tab {
padding: 5px 7px;
background-color: #1f1f1f;
2023-12-28 11:54:16 -08:00
border: 0;
color: #ddd;
2023-12-28 11:54:16 -08:00
font-weight: 500;
}
.tabcontent {
flex-grow: 1;
2024-03-18 23:07:48 -07:00
margin: 2px;
2023-12-28 11:54:16 -08:00
}
#message {
display: flex;
flex-direction: column;
2023-12-28 11:54:16 -08:00
}
#messages {
2024-03-18 23:07:48 -07:00
margin: 2px;
flex-grow: 1;
2023-12-28 11:54:16 -08:00
}
2023-07-30 18:06:21 -07:00
#msginput {
display: flex;
flex-direction: row;
2024-04-28 22:55:54 -07:00
> * {
margin: 3px;
}
}
#msg {
flex-grow: 1;
2023-07-30 18:06:21 -07:00
}
.message {
margin-bottom: 5px;
2023-08-30 21:00:17 -07:00
overflow-wrap: anywhere;
2023-07-30 18:06:21 -07:00
}
#loadmore {
margin-bottom: 10px;
}
.channel {
font-weight: normal;
}
.member {
margin: 5px 0;
}
2024-03-18 23:07:48 -07:00
#space {
margin: 0;
position: relative;
overflow: auto;
}
.span {
position: absolute;
2024-04-26 18:46:00 -07:00
white-space: nowrap;
2024-03-18 23:07:48 -07:00
}
2023-07-30 18:06:21 -07:00
</style>
</head>
<body></body>
2023-05-06 20:55:04 -07:00
</html>