| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506 |
- .open_chat {
- font-size: 25px;
- line-height: 18px;
- text-align: center;
- padding: 10px 15px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- /*position: fixed;*/
- position: fixed;
- bottom: 1%;
- left: 50%;
- z-index: 12222223;
- background: #0489ac;
- color: #fff;
- cursor: pointer;
- display: block;
- }
- .mark{
- width: 80px;
- height: 80px;
- position: absolute;
- top: -43px;
- right: -75px;
- background-color: rgba(255,255,255,0);
- display: none;
- }
- .open_chat .before {
- position: absolute;
- padding: 5px;
- background: red;
- border-radius: 50%;
- display: none;
- right: -4px;
- top: -4px;
- }
- .open_chat .before.show {
- display: block!important;
- }
- .open_chat .before.hide {
- display: none!important;
- }
- body {
- color: #4d4d4d;
- font: 14px/1.4em 'Helvetica Neue', Helvetica, 'Microsoft Yahei', Arial, sans-serif;
- background: #f5f5f5 url(../img/chat_bg.jpg) no-repeat center;
- background-size: cover;
- }
- ul,
- li {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #chat {
- margin: 20px auto;
- width: 900px;
- height: 600px;
- overflow: hidden;
- border-radius: 3px;
- position: absolute;
- z-index: 10000;
- right: 470px;
- top: 20%;
- display: none;
- box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
- }
- .chat_left,
- .chat_sidebar {
- float: left;
- s
- }
- .chat_left ul li {
- /*padding: 9pt 15px;*/
- padding: 10px 10px;
- border-bottom: 1px solid #292c33;
- cursor: pointer;
- color: #f4f4f4;
- }
- .chat_left ul li .chat_name {
- margin: 0;
- }
- .chat_sidebar {
- width: 200px;
- color: #f4f4f4;
- background-color: #2e3238;
- }
- #chat .chat_left,
- #chat .chat_main,
- #chat .chat_sidebar,
- .message_mincon {
- height: 100%;
- }
- #chat .chat_main,
- .message_mincon {
- position: relative;
- /*overflow: hidden;*/
- background-color: #eee;
- }
- .ver_middle {
- vertical-align: middle;
- }
- #chat .chat_left {
- width: 70px;
- background: #2f3339;
- border-right: 1px solid #292c33;
- }
- /*chat_sidebar开始*/
- .pic_card {
- padding: 9pt;
- border-bottom: 1px solid #24272c;
- }
- .chat_name {
- display: inline-block;
- margin: 0 0 0 15px;
- font-size: 1pc;
- vertical-align: middle;
- font-size: 14px;
- }
- .chat_sidebar_foot {
- margin-top: 10px;
- }
- .sidebar_foot_seach {
- padding: 0 10px;
- width: 100%;
- font-size: 9pt;
- color: #fff;
- height: 30px;
- line-height: 30px;
- border: 1px solid #3a3a3a;
- border-radius: 4px;
- outline: 0;
- background-color: #26292e;
- }
- .chat_sidebar_list {
- height: 495px;
- overflow-y: auto;
- }
- .chat_sidebar_list li {
- /*padding: 9pt 15px;*/
- padding: 4pt 15px;
- border-bottom: 1px solid #292c33;
- cursor: pointer;
- -webkit-transition: background-color .1s;
- transition: background-color .1s;
- position: relative;
- }
- .chat_sidebar_list li.activess,
- .chat_left li.activess {
- background-color: hsla(0, 0%, 100%, .1);
- }
- .chat_sidebar_list li.activess .pieHide,
- .chat_sidebar_list li.activess .pieShow {
- display: none!important;
- }
- .chat_sidebar_list li .pieShow {
- display: block!important;
- }
- .chat_sidebar_list li.activess:hover,
- .chat_left li.activess:hover {
- background-color: hsla(0, 0%, 100%, .1);
- }
- /*.chat_sidebar_list li:hover,
- .chat_left li:hover {
- background-color: hsla(0, 0%, 100%, .03);
- }*/
- /*chat_sidebar结束*/
- /*聊天区域开始*/
- .message_count {
- display: inline-block;
- position: absolute;
- right: 0;
- border-radius: 50%;
- background: red;
- color: #fff;
- }
- .disnone {
- display: none;
- }
- .main_message {
- height: calc(100% - 160px);
- padding: 0 10pxchatlist_con ;
- }
- .chat_person {
- position: absolute;
- width: 100%;
- top: 0;
- left: 0;
- height: 2pc;
- line-height: 2pc;
- border-bottom: 1px solid #ddd;
- background: #fff;
- }
- .main_message li {
- margin-bottom: 15px;
- }
- .main_message .message_time {
- margin: 7px 0;
- text-align: center;
- }
- .main_message .ver_middle {
- float: left;
- margin: 0 10px 0 0;
- border-radius: 3px;
- }
- .main_message .message_text ,.message_img{
- display: inline-block;
- position: relative;
- padding: 0 10px;
- max-width: calc(100% - 40px);
- min-height: 30px;
- line-height: 2.5;
- font-size: 9pt;
- text-align: left;
- word-break: break-all;
- background-color: #fafafa;
- border-radius: 4px;
- }
- .message_img{
- background-color: rgba(255,255,255,0);
- }
- .main_message .message_text:before,.message_img:before {
- content: " ";
- position: absolute;
- top: 9px;
- right: 100%;
- border: 6px solid transparent;
- border-right-color: #fafafa;
- }
- .main_message .self {
- text-align: right;
- }
- .main_message .self .ver_middle {
- float: right;
- margin: 0 0 0 10px;
- }
- .main_message .self .message_text {
- margin: 10px 0;
- /* background-color: #b2e281; */
- }
- .main_message .self .message_text:before,.message_img:before {
- right: inherit;
- left: 100%;
- border-right-color: transparent;
- /* border-left-color: #b2e281; */
- }
- .main_sendMessage {
- position: absolute;
- width: 100%;
- bottom: 0;
- left: 0;
- height: 10pc;
- border-top: 1px solid #ddd;
- background: #fff;
- }
- .main_sendMessage textarea {
- padding: 10px;
- height: 80%;
- width: 100%;
- border: none;
- outline: 0;
- font-family: Micrsofot Yahei;
- resize: none;
- }
- .main_sendMessage .send_btn {
- height: 20%;
- text-align: right;
- color: #4d4d4d;
- padding-right: 20px;
- margin-top: -10px;
- }
- .main_sendMessage .send_btn button,.btns {
- border: 1px solid #ccc;
- background: #fff;
- outline: none;
- padding: 3px 15px;
- border-radius: 5px;
- }
- .main_sendMessage .send_btn button:hover {
- background: rgb(36,159,234);
- color: #fff;
- }
- /*聊天区域结束*/
- /*后来添加改变的*/
- .more {
- display: block;
- text-align: center;
- }
- .more:hover {
- text-decoration: underline;
- }
- .tabMain {
- display: block;
- height: 100%;
- }
- .tabMain.activess {
- display: block!important;
- }
- .notice {
- display: block;
- text-align: center;
- color: red;
- }
- .chatlist_con {
- overflow-y: auto;
- width: 100%;
- height: 100%;
- padding:20px 27px 60px;
- box-sizing: border-box;
- }
- .chat_main {
- float: left;
- width: 700px;
- }
- .closeds {
- position: absolute;
- right: 10px;
- top: 33%;
- display: none;
- }
- .pie {
- position: absolute;
- right: 30px;
- top: 33%;
- display: none;
- }
- .sidebar_list li {
- position: relative;
- }
- .sidebar_list li:hover .closeds {
- display: block;
- }
- .sidebar_list li .closeds:hover {
- color: red;
- }
- .close_icon{
- font-size: 27px;
- font-weight: 600;
- position: absolute;
- right: 21px;
- z-index: 40000;
- top: 10px;
- cursor: pointer;
- }
- .name{
- border-bottom: 1px solid rgb(221,221,221);
- text-align: left;
- font-size: 20px;
- padding: 16px 20px;
- color: rgb(0,0,0);
- cursor: move;
- }
- .reply_btn{
- border: 1px solid #ccc;
- background: #fff;
- outline: none;
- }
- .reply_btn:hover{
- background: #b2e281;
- }
- .con{
- position: absolute;
- bottom: 55px;
- right: 20px;
- width: 210px;
- max-height: 326px;
- overflow: auto;
- padding: 7px;
- background-color: rgb(236,254,255);
- z-index: 120;
- font-size: 9pt;
- border: 1px solid rgb(221,221,221);
- display: none;
- }
- .con li{
- padding: 5px 10px;
- margin-bottom: 4px;
- border-radius: 4px;
- }
- .con li:hover{
- background-color: rgb(36,159,234);
- }
- .replyType_cont{
- position: absolute;
- bottom: 45px;
- right: 26px;
- width: 165px;
- max-height: 326px;
- overflow: auto;
- padding: 7px;
- background-color:rgb(236,254,255);
- z-index: 1200;
- font-size: 9pt;
- border: 1px solid rgb(221,221,221);
- display: none;
- }
- .replyType_cont li{
- padding: 5px 10px;
- margin-bottom: 4px;
- border-radius: 4px;
- }
- .replyType_cont li:hover{
- background-color: rgb(36,159,234);
- }
- #preview{
- position: absolute;
- top: 7px;
- left: 10px;
- }
- .message_img img{
- width: 135px;
- height: 115px;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- background-position: center;
- }
- .imgDetial{
- background-color: rgb(72,72,72);
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- z-index: 1000000;
- display: none;
- text-align: center;
- padding: 50px 0;
- overflow: auto;
- box-sizing: border-box;
- opacity: 0.95;
- }
- .closeIcon{
- font-size: 50px;
- color: #fff;
- position: absolute;
- top: 25px;
- right: 25px;
- cursor: pointer;
- display: inline-block;
- }
|