rDrama/files/assets/css/chat_done.css

330 lines
5.5 KiB
CSS
Raw Normal View History

2022-12-30 18:09:55 +00:00
/* src/App.css */
html,
body {
2023-01-20 04:45:30 +00:00
overscroll-behavior-y: none;
2022-12-30 18:09:55 +00:00
}
html {
2023-01-20 04:45:30 +00:00
height: -webkit-fill-available;
2022-12-30 18:09:55 +00:00
}
body {
2023-01-20 04:45:30 +00:00
min-height: 100vh;
min-height: calc(var(--vh, 1vh) * 100);
overflow: hidden;
min-height: -webkit-fill-available;
2022-12-30 18:09:55 +00:00
}
.App {
2023-01-20 04:45:30 +00:00
position: fixed;
width: 100vw;
display: flex;
overflow: hidden;
2022-12-30 18:09:55 +00:00
}
.App-wrapper {
2023-01-20 04:45:30 +00:00
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
margin: 0 2rem;
2022-12-30 18:09:55 +00:00
}
.App-heading {
2023-01-20 04:45:30 +00:00
flex-basis: 3rem;
display: flex;
align-items: center;
2022-12-30 18:09:55 +00:00
}
.App-heading small {
2023-01-20 04:45:30 +00:00
opacity: 0.2;
font-size: 10px;
2022-12-30 18:09:55 +00:00
}
.App-side {
2023-01-20 04:45:30 +00:00
height: 100%;
flex: 1;
background: var(--gray-500);
position: relative;
2022-12-30 18:09:55 +00:00
}
.App-content {
2023-01-20 04:45:30 +00:00
position: relative;
flex: 3;
height: 62vh;
2023-01-20 06:20:45 +00:00
height: calc(var(--vh, 1vh) * 68);
2023-01-20 04:45:30 +00:00
max-height: 1000px;
overflow: auto;
-ms-overflow-style: none;
scrollbar-width: none;
display: flex;
flex-direction: column;
2022-12-30 18:09:55 +00:00
}
.App-content::-webkit-scrollbar {
2023-01-20 04:45:30 +00:00
display: none;
2022-12-30 18:09:55 +00:00
}
.App-drawer {
2023-01-20 04:45:30 +00:00
z-index: 2;
display: flex;
background: rgb(var(--background));
height: 100%;
2022-12-30 18:09:55 +00:00
}
.App-center {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: flex-start;
2022-12-30 18:09:55 +00:00
}
.App-bottom-wrapper {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: flex-start;
2022-12-30 18:09:55 +00:00
}
.App-bottom {
2023-01-20 04:45:30 +00:00
flex: 3;
2022-12-30 18:09:55 +00:00
}
.App-bottom-dummy {
2023-01-20 04:45:30 +00:00
flex: 1;
2022-12-30 18:09:55 +00:00
}
.App-bottom-extra {
2023-01-20 04:45:30 +00:00
padding: .25rem;
2022-12-30 18:09:55 +00:00
}
@media screen and (max-width: 1100px) {
2023-01-20 04:45:30 +00:00
.App-wrapper {
margin: 0 auto;
}
.App-heading {
padding: 0 1rem;
}
.App-side {
display: none;
}
.App-bottom-dummy {
display: none;
}
.App-bottom-wrapper {
padding-right: 1rem;
padding-left: 1rem;
}
2022-12-30 18:09:55 +00:00
}
lite-youtube {
2023-01-20 04:45:30 +00:00
min-width: min(80vw, 500px);
2022-12-30 18:09:55 +00:00
}
.btn-secondary {
2023-01-20 04:45:30 +00:00
border: none !important;
2022-12-30 18:09:55 +00:00
}
.btn-secondary:focus {
2023-01-20 04:45:30 +00:00
border: none !important;
box-shadow: none !important;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/UserList.css */
.UserList {
2023-01-20 04:45:30 +00:00
padding: 1rem;
flex: 1;
2022-12-30 18:09:55 +00:00
}
.UserList-heading {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2022-12-30 18:09:55 +00:00
}
.UserList-heading h5 {
2023-01-20 04:45:30 +00:00
margin-right: 2rem;
2022-12-30 18:09:55 +00:00
}
.UserList ul {
2023-01-20 04:45:30 +00:00
max-height: calc(var(--vh, 1vh) * 50);
overflow: auto;
2022-12-30 18:09:55 +00:00
}
.UserList ul::-webkit-scrollbar {
2023-01-20 04:45:30 +00:00
display: none;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/ChatHeading.css */
.ChatHeading {
2023-01-20 04:45:30 +00:00
flex: 1;
display: flex;
align-items: center;
justify-content: space-between;
2022-12-30 18:09:55 +00:00
}
.ChatHeading i {
2023-01-20 04:45:30 +00:00
margin-right: 0.5rem;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/Username.css */
.Username {
2023-01-20 04:45:30 +00:00
display: inline-flex;
align-items: center;
2022-12-30 18:09:55 +00:00
}
.Username > a {
2023-01-20 04:45:30 +00:00
font-weight: bold;
margin-left: 8px;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/QuotedMessageLink.css */
.QuotedMessageLink {
2023-01-20 04:45:30 +00:00
font-size: 10px;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/ChatMessage.css */
.ChatMessage {
2023-01-20 04:45:30 +00:00
position: relative;
padding-right: 1.5rem;
max-height: 300px;
2023-01-20 04:46:33 +00:00
overflow-x: scroll;
2022-12-30 18:09:55 +00:00
}
.ChatMessage__isDm {
2023-01-20 04:45:30 +00:00
background: var(--gray-800);
border-top: 1px dashed var(--primary);
border-bottom: 1px dashed var(--primary);
2022-12-30 18:09:55 +00:00
}
.ChatMessage__isOptimistic {
2023-01-20 04:45:30 +00:00
opacity: 0.5;
2022-12-30 18:09:55 +00:00
}
.ChatMessage p {
2023-01-20 04:45:30 +00:00
margin: 0;
2022-12-30 18:09:55 +00:00
}
.ChatMessage .btn {
2023-01-20 04:45:30 +00:00
border: none !important;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-top {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: center;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-timestamp {
2023-01-20 04:45:30 +00:00
margin-left: 0.5rem;
opacity: 0.5;
font-size: 10px;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-bottom {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 30px;
overflow: hidden;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-content {
2023-01-20 04:45:30 +00:00
margin-right: 0.5rem;
word-wrap: break-word;
display: inline-block;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-button {
2023-01-20 04:45:30 +00:00
margin: 0 0.5rem;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-button i {
2023-01-20 04:45:30 +00:00
margin-right: 0.5rem;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-button__confirmed {
2023-01-20 04:45:30 +00:00
color: red !important;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-quoted-link {
2023-01-20 04:45:30 +00:00
padding-left: 2rem;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-actions-button {
2023-01-20 04:45:30 +00:00
position: absolute;
top: 0;
right: 0;
cursor: pointer;
z-index: 5;
background: none !important;
border: none !important;
box-shadow: none !important;
display: flex;
align-items: center;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-actions-button button {
2023-01-20 04:45:30 +00:00
background: none !important;
border: none !important;
padding: 0 !important;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-actions-button button i {
2023-01-20 04:45:30 +00:00
position: relative;
top: 3px;
margin-right: 1rem;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-actions {
2023-01-20 04:45:30 +00:00
z-index: 1;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(20, 20, 20, 0.85);
display: flex;
align-items: center;
justify-content: flex-end;
padding: 1rem;
padding-right: 3rem;
animation: fading-in 0.3s ease-in-out forwards;
2022-12-30 18:09:55 +00:00
}
.ChatMessage-actions button {
2023-01-20 04:45:30 +00:00
font-size: 10px;
background: none !important;
2022-12-30 18:09:55 +00:00
}
.ChatMessageList {
2023-01-20 04:45:30 +00:00
flex: 1;
2022-12-30 18:09:55 +00:00
}
.ChatMessageList-group {
2023-01-20 04:45:30 +00:00
margin-bottom: 1rem;
padding: 0.3rem;
border-radius: 8px;
2022-12-30 18:09:55 +00:00
}
.ChatMessageList-group:nth-child(even) {
2023-01-20 04:45:30 +00:00
background: rgba(255, 255, 255, 0.025);
2022-12-30 18:09:55 +00:00
}
/* src/drawers/BaseDrawer.css */
.BaseDrawer {
2023-01-20 04:45:30 +00:00
flex: 1;
padding-right: 2rem;
overflow: hidden;
2022-12-30 18:09:55 +00:00
}
/* src/features/emoji/EmojiGenres.css */
/* src/features/emoji/EmojiDrawer.css */
.EmojiDrawer-options {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/UserInput.css */
.UserInput {
2023-01-20 04:45:30 +00:00
position: relative;
display: flex;
align-items: center;
2022-12-30 18:09:55 +00:00
}
.UserInput-input {
2023-01-20 04:45:30 +00:00
flex: 1;
margin-right: 2rem;
min-height: 50px;
height: 50px;
max-height: 50px;
2022-12-30 18:09:55 +00:00
}
2023-01-01 07:58:55 +00:00
@media (min-width: 768px) {
2023-01-20 04:45:30 +00:00
.UserInput-input {
2023-01-20 04:57:44 +00:00
min-height: 70px !important;
height: 70px !important;
max-height: 70px !important;
2023-01-20 04:45:30 +00:00
}
2022-12-30 18:09:55 +00:00
}
.UserInput-emoji {
2023-01-20 04:45:30 +00:00
cursor: pointer;
font-size: 20px;
transform: rotateY(180deg);
margin-right: 1rem;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/UsersTyping.css */
.UsersTyping {
2023-01-20 04:45:30 +00:00
height: 18px;
display: inline-block;
font-size: 10px;
2022-12-30 18:09:55 +00:00
}
/* src/features/chat/QuotedMessage.css */
.QuotedMessage {
2023-01-20 04:45:30 +00:00
display: flex;
align-items: center;
justify-content: space-between;
2022-12-30 18:09:55 +00:00
}
.QuotedMessage-content {
2023-01-20 04:45:30 +00:00
margin-left: 1rem;
flex: 1;
max-width: 420px;
max-height: 40px;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 1rem;
2022-12-30 18:09:55 +00:00
}