220 lines
3.9 KiB
CSS
220 lines
3.9 KiB
CSS
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: rgb(245,246,247);
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
height: 45px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 15px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
}
|
|
.header_left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.header_left img {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin-right: 10px;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
height: calc(100vh - 45px - 150px);
|
|
}
|
|
.content .content_left {
|
|
width: 80%;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
padding: 15px;
|
|
border-right: 1px solid #e8e8e8;
|
|
}
|
|
.content .content_left li {
|
|
display: flex;
|
|
margin-bottom: 25px;
|
|
}
|
|
.content .content_left li .avth {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin-right: 10px;
|
|
border-radius: 100%;
|
|
}
|
|
.content li .message {}
|
|
.content li .message .name {
|
|
font-size: 14px;
|
|
}
|
|
.content li .message .message_text {
|
|
padding: 5px 10px;
|
|
border-radius: 4px;
|
|
word-break: break-all;
|
|
max-width: calc(100vw - 274px);
|
|
background: #fff;
|
|
color: #000;
|
|
}
|
|
|
|
.content_left .right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.content_left .right .avth {
|
|
order: 2;
|
|
margin-right: 0 !important;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.content_left .right .name {
|
|
text-align: right;
|
|
}
|
|
.content_left .right .message_text {
|
|
color: #fff !important;
|
|
background: rgb(30,110,255) !important;
|
|
}
|
|
.content_left .system {
|
|
justify-content: center;
|
|
}
|
|
|
|
.content_left .system span {
|
|
background: #d8d3d3;
|
|
color: #878686;
|
|
padding: 2px 10px;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.content_right {
|
|
width: 20%;
|
|
height: 100%;
|
|
padding: 6px 15px;
|
|
}
|
|
|
|
.content_right .title {
|
|
height: 45px;
|
|
line-height: 45px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
margin-bottom: 15px;
|
|
}
|
|
.content_right ul {
|
|
height: calc(100% - 60px);
|
|
overflow-y: scroll;
|
|
}
|
|
.content_right ul li {
|
|
display: flex;
|
|
height: 35px;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
.content_right .user {}
|
|
.content_right i {}
|
|
.content_right .user img {
|
|
width: 25px;
|
|
height: 25px;
|
|
margin-right: 5px;
|
|
border-radius: 100%;
|
|
}
|
|
.content_right .user span {}
|
|
|
|
.footer {
|
|
padding: 0 15px;
|
|
border-top: 1px solid #e8e8e8;
|
|
height: 150px;
|
|
}
|
|
.footer_menu {
|
|
height: 35px;
|
|
display: flex;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
.footer_menu i {
|
|
font-size: 18px;
|
|
margin-right: 20px;
|
|
cursor: pointer;
|
|
}
|
|
.footer_input {
|
|
outline: none;
|
|
width: 100%;
|
|
height: calc(150px - 36px);
|
|
font-size: 16px;
|
|
overflow-y: scroll;
|
|
line-height: 19px;
|
|
}
|
|
|
|
.footer_input .smiling_img {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
|
|
.footer_input .gif_img {
|
|
width: 80px;
|
|
height: 80px;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.footer_topmenu {
|
|
position: absolute;
|
|
width: 400px;
|
|
height: 246px;
|
|
background: #fff;
|
|
bottom: 35px;
|
|
left: -15px;
|
|
box-shadow: 1px -3px 10px #c3bebe;
|
|
border-radius: 4px;
|
|
}
|
|
.footer_topmenu .menu_title {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
padding: 0 10px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
box-sizing: border-box;
|
|
}
|
|
.footer_topmenu .menu_content {
|
|
overflow-y: scroll;
|
|
padding: 0 10px;
|
|
width: 100%;
|
|
height: calc(100% - 75px);
|
|
}
|
|
.menu_content div {
|
|
display: none;
|
|
}
|
|
.menu_content .active {
|
|
display: block !important;
|
|
}
|
|
.footer_topmenu .menu_footer {
|
|
height: 35px;
|
|
display: flex;
|
|
align-items: center;
|
|
border-top: 1px solid #e8e8e8;
|
|
box-sizing: border-box;
|
|
}
|
|
.footer_topmenu .menu_footer li {
|
|
margin: 0px 10px;
|
|
cursor: pointer;
|
|
}
|
|
.menu_footer .active {
|
|
color: red;
|
|
}
|
|
.smiling {
|
|
padding: 10px 0;
|
|
}
|
|
.smiling img {
|
|
width: 25px;
|
|
height: 25px;
|
|
cursor: pointer;
|
|
}
|
|
.gif img {
|
|
width: 89px;
|
|
height: 89px;
|
|
}
|
|
|
|
.smiling_img {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|