Files
ClassContent/历届学生/fontendseven/项目练习/上课项目/聊天/fontend/css/index.css
2024-09-27 02:06:13 +08:00

222 lines
3.8 KiB
CSS

.header {
height: 55px;
background: #e7e6e6;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
box-sizing: border-box;
}
.group_name {
font-size: 18px;
font-weight: 20;
}
.header .right {
display: flex;
align-items: center;
}
.header .right span {
font-size: 16px;
}
.header .right img {
width: 35px;
height: 35px;
border-radius: 100%;
margin-left: 10px;
}
.content {
height: calc(100vh - 55px - 100px);
display: flex;
width: 100%;
}
.content_left {
width: 80%;
height: 100%;
padding: 10px 15px 0 10px;
overflow-y: scroll;
box-sizing: border-box;
}
.system {
padding: 8px 17px;
background: #dedede;
border-radius: 23px;
font-size: 12px;
color: #949090;
margin: 0 auto;
max-width: calc(100% - 123px);
}
.content_right {
width: 20%;
height: 100%;
background: #f6f7f9;
box-sizing: border-box;
padding-bottom: 0;
padding: 10px;
padding-top: 0 !important;
}
.chat_record {
padding-left: 0;
}
.chat_record li {
display: flex;
margin-bottom: 20px;
}
.chat_record li .user_img {
width: 40px;
height: 40px;
border-radius: 100%;
margin-right: 10px;
}
.chat_record li .right_mes {
width: calc(100% - 93px);
}
.right_mes .name {
color: #908b8b;
font-size: 14px;
}
.me {
justify-content: flex-end;
}
.me .right_mes {
order: -1;
}
.me .name {
text-align: right;
}
.me img {
margin-right: 0px !important;
margin-left: 10px;
}
.me .message {
float: right !important;
}
.right_mes .iiiiii {
padding: 10px;
background: #1e6eff;
color: #fff;
border-radius: 10px;
margin-top: 9px;
float: left;
word-break: break-word;
word-wrap: break-word;
}
.list_title {
height: 40px;
display: flex;
align-items: center;
box-sizing: border-box;
font-size: 14px;
font-weight: 500;
}
.online_user_list {
width: 100%;
height: calc(100% - 40px);
overflow-y: scroll;
}
.online_user_list li {
display: flex;
height: 40px;
align-items: center;
}
.online_user_list li img {
width: 30px;
height: 30px;
margin-right: 10px;
border-radius: 100%;
}
.footer {
height: 100px;
width: 100%;
border-top: 1px solid #e4e4e4;
box-sizing: border-box;
}
.footer_action {
display: flex;
height: 35px;
align-items: center;
padding: 0 15px;
position: relative;
}
.record_text {
width: 100%;
height: calc(100px - 35px);
outline: none;
overflow-y: scroll;
padding: 2px 10px;
box-sizing: border-box;
font-size: 16px;
}
.footer_action i {
display: inline-block;
margin-right: 10px;
}
.footer_action .menu {
position: absolute;
width: 460px;
height: 300px;
border: 1px solid #c0c0c0;
bottom: 36px;
left: 0;
background: #fff;
}
.menu_title {
height: 36px;
padding: 0 10px;
line-height: 36px;
box-sizing: border-box;
font-size: 16px;
font-weight: bold;
border-bottom: 1px solid #efefef;
}
.menu_content .menu_item {
display: none;
}
.menu_content .active {
display: inline-block !important;
}
.menu_content {
height: calc(302px - 36px - 41px);
overflow-y: scroll;
padding: 10px;
box-sizing: border-box;
}
.menu_footer {
position: absolute;
width: 100%;
left: 0;
bottom: 0;
right: 0;
height: 40px;
border-top: 1px solid #efefef;
display: flex;
align-items: center;
justify-content: space-around;
background: #fff;
}
.menu_footer .active {
color: red;
}
.expr img {
width: 30px;
height: 30px;
}
.gif img {
width: 80px;
height: 80px;
}
.message .gif_img {
width: 200px !important;
height: auto !important;
}
.message .emio {
width: 30px !important;
height: 30px !important;
}