123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- .app {
- height: 100vh;
- }
- .reg-form {
- display: flex;
- flex-direction: column;
- width: 30vw;
- }
- .chat-window {
- display: flex;
- flex-direction: column;
- height: 100%;
- }
- .aside-chat {
- background: rgb(158, 158, 226);
- width: 20vw;
- margin-bottom: 5px;
- }
- .aside-chat a {
- display: flex;
- text-decoration: none;
- color: black;
- border: 1px solid black;
- }
- .aside-chat-info {
- display: flex;
- flex-direction: column;
- }
- .aside-chat img,
- .chat-edit-form img {
- width: 40%;
- object-fit: contain;
- }
- .aside-chat h5 {
- margin: 0;
- }
- main {
- display: flex;
- align-items: center;
- width: 100%;
- }
- .new-chat {
- display: flex;
- flex-direction: column;
- }
- .chat-list,
- .message-list {
- display: flex;
- flex-direction: column;
- overflow-y: scroll;
- height: 100vh;
- }
- .chat-list li {
- list-style: none;
- }
- .aside-chat-btn button {
- width: 100%;
- height: 40px;
- }
- .aside-chat-btn {
- margin-bottom: 5px;
- }
- .msg {
- display: flex;
- flex-direction: column;
- border: 1px solid black;
- border-radius: 10px;
- background: honeydew;
- padding: 5px;
- }
- .msg-user,
- .msg-someone {
- margin: 10px;
- list-style: none;
- max-width: 300px;
- min-width: 300px;
- }
- .msg-user {
- align-self: flex-end;
- }
- .msg-nick {
- font-weight: 600;
- }
- .msg-date {
- font-size: 12px;
- }
- .chat-window {
- flex-grow: 2;
- background: rgb(209, 207, 207);
- }
- .pick {
- background: red;
- }
- .msg-text {
- white-space: pre-line;
- }
- .message-input {
- display: flex;
- }
- textarea {
- flex-grow: 1;
- resize: none;
- }
- .user-search-list {
- width: 80%;
- height: 300px;
- overflow-y: scroll;
- list-style: none;
- }
- .user-search-panel {
- display: flex;
- flex-direction: column;
- }
- .chat-nav {
- background: grey;
- height: 5vw;
- }
- .chat-edit-form {
- display: flex;
- flex-direction: column;
- width: 25vw;
- padding: 0 10px;
- }
- .edit-btn-container {
- display: flex;
- }
- .context-menu {
- display: flex;
- flex-direction: column;
- background-color: #fff;
- width: 100px;
- height: auto;
- margin: 0;
- position: absolute;
- opacity: 1;
- transition: opacity 0.5s linear;
- }
- .msg-media {
- display: flex;
- flex-direction: column;
- margin-top: 10px;
- list-style: none;
- align-items: center;
- padding: 0;
- }
- .msg-media-img {
- max-width: 50%;
- }
- .msg-media-video,
- .msg-media-audio {
- max-width: 100%;
- }
- .msg-media span {
- font-size: 10px;
- }
- .msg-short {
- display: flex;
- align-items: flex-end;
- background-color: #fff;
- border: 1px solid #000;
- }
- .msg-short .msg-nick {
- flex-grow: 1;
- }
- .msg-short .msg-date {
- flex-grow: 0;
- }
- .msg-short .msg-text {
- flex-grow: 0;
- }
- .msg-reply {
- background: grey;
- border: 1px solid black;
- border-radius: 10px;
- padding: 5px;
- }
- .btn-scroll {
- position: fixed;
- }
- .new-chat {
- width: 50%;
- }
|