.index { width: 100%; height: 100vh; display: flex; flex-direction: column; } .header { height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid #e7e7e7; } .header .left { display: flex; align-items: center; } .header .left img { width: 30px; height: 30px; border-radius: 100%; margin-right: 10px } .header .left span {} .header .ground_name {} .header .ground_online { width: 10px; height: 10px; background: #69f82b; border-radius: 100%; } .content { height: calc(100vh - 145px); display: flex; background: #f9f9f9; } .history { width: 77%; overflow-y: scroll; padding: 15px; border-right: 1px solid #e7e7e7; } .history li { display: flex; margin-bottom: 16px; } .history li .right { padding-right: 41px; } .history .right .user_name { color: #8d8d8d; } .history .right .user_content { padding: 7px 15px; border-radius: 19px; border-top-left-radius: 0; } .history li .user_img { width: 35px; height: 35px; border-radius: 100%; margin-right: 10px; } .history .me { justify-content: flex-end; } .history .me .user_content { color: #fff !important; } .history .me .user_img { order: 1; margin-left: 10px; margin-right: 0; } .history .me .right { order: -2; padding-left: 41px; padding-right: 0; } .history .me .user_name { text-align: right; } .history .me .user_content { border-top-right-radius: 0; border-top-left-radius: 19px !important; } .history .system { background: #d6d6d6; padding: 4px 9px; border-radius: 13px; font-size: 12px; width: fit-content; color: #757171; margin: 0 auto; letter-spacing: 2px; } .online { width: 23%; padding: 5px 5px 0px 15px; } .online .online_title { line-height: 35px; height: 35px; border-bottom: 1px solid #e7e7e7; } .online ul { padding-top: 10px; overflow-y: scroll; height: calc(100% - 20px); padding-bottom: 10px; } .online ul li { display: flex; align-items: center; margin-bottom: 15px; justify-content: space-between; } .online ul li .icon { width: 17px; height: 15px; } .online ul .left {} .online ul .left img { width: 28px; height: 28px; border-radius: 100%; } .online ul .left span { color: #8d8d8d; } .footer { height: 140px; } .footer .footer_menu { height: 35px; display: flex; align-items: center; border-top: 1px solid #e7e7e7; position: relative; } .dropdown_menu { position: absolute; width: 350px; height: 200px; bottom: 34px; left: 0; background: #fff; border: 1px solid #e7e7e7; border-radius: 4px; box-shadow: 1px -1px 10px #d1cfcf; padding: 0 10px; display: flex; flex-direction: column; } .dropdown_menu .dropdown_title { height: 35px; font-weight: 500; font-size: 14px; display: flex; align-items: center; border-bottom: 1px solid #e7e7e7; } .dropdown_menu .dropdown_body { flex: 1; padding: 10px 0; overflow-y: scroll; } .dropdown_menu .dropdown_footer { height: 30px; display: flex; align-items: center; border-top: 1px solid #e7e7e7; } .dropdown_footer li { margin-right: 14px; font-size: 12px; color: #939393; } .dropdown_footer .active { color: #000 !important; } .dropdown_body .body_item { display: none; } .dropdown_body .active { display: block !important; } .smiling .emm { width: 22px; height: 22px; margin-bottom: 7px; } .footer .footer_menu i { margin: 0 7px; font-size: 16px; } .footer .textarea { resize: none; width: 100%; height: calc(140px - 35px) !important; padding-left: 7px; outline: none; } .textarea img, .user_content .emm { width: 22px !important; height: 22px !important; margin: 0 !important; } .gallery img { width: 70px; height: 70px; } .clearpadding { padding-right: 0 !important; }