123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- .App {
- height: 100vh;
- display: flex;
- justify-content: center;
- }
- .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-user,
- .msg-someone {
- display: flex;
- flex-direction: column;
- border: 1px solid black;
- margin: 10px;
- list-style: none;
- border-radius: 10px;
- padding: 5px;
- max-width: 200px;
- min-width: 200px;
- background: honeydew;
- }
- .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;
- }
|