style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. body,div,dl,dt,h1,h2,h3,ul,ol,li,p,form,input,textarea,cite,span,strong { margin:0; padding:0; }
  2. body { font-family:'Microsoft YaHei','Arial','Helvetica','sans-serif'; font-size:12px; color:#333; }
  3. body { background: #d8d8d8; }
  4. li { list-style-type: none; }
  5. ul,ol { list-style:none outside none; }
  6. legend { display:none; }
  7. fieldset,img { border:none; vertical-align:middle; }
  8. input,button,select,textarea { outline:none; }
  9. textarea { resize:none; }
  10. h1,h2,h3,h4,h5,h6 { font-weight: normal; }
  11. table,tr,th,td,font { font-size: 12px; }
  12. i { font-style:normal; }
  13. h1 { font-size: 18px; }
  14. h2 { font-size: 16px; }
  15. h3 { font-size: 14px; }
  16. h4 { font-size: 12px; }
  17. h5 { font-size: 10px; }
  18. h6 { font-size: 8px; }
  19. input,textarea{ outline:none; }
  20. a{ text-decoration:none; font-size:12px; color:#333; }
  21. img { border: medium none; }
  22. .clear:after { visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0; }
  23. .clear {*zoom:1;}
  24. .clear:after { content:".";display:block;height:0;clear:both;visibility:hidden; }
  25. .clear { *height:1%; }
  26. .wb { word-wrap: break-word; }
  27. .wa { word-break:break-all; }
  28. .wn { white-space: nowrap; }
  29. .vm { vertical-align: middle; }
  30. .online { width: 1200px; height: 600px; background: #fff; margin: 50px auto 0 auto; }
  31. .header { position: relative; width: 100%; height: 49px; float: left; border-bottom: 1px solid #dbdbdb; }
  32. .header .l { float: left; position: relative; }
  33. .header .l .shop-avatar { margin-left: 18px; margin-top: 7px; float: left; width: 35px; height: 35px; background: #ccc; border-radius: 25px; }
  34. .header .l .shop-avatar img { width: 35px; height: 35px; border-radius: 25px; }
  35. .header .l .shop-name { float: left; font-size: 15px; color: #3660b7; margin-left: 13px; height: 49px; line-height: 49px; }
  36. .header .l .status { margin-left: 11px; top: 15px; position: relative; padding: 0 16px; text-indent: 5px; float: left; font-size: 12px; color: #10b53a; border-radius: 25px; border: 1px solid #10b53a; }
  37. .header .l .status:before { left: 9px; top: 5px; position: absolute; content: " "; width: 8px; height: 8px; background: #10b53a; border-radius: 25px; }
  38. .header .m { width: 500px; text-align: center; font-size: 14px; color: #666; float: left; height: 49px; line-height: 49px; position: absolute; left: 50%; transform: translateX(-50%); }
  39. .header .r { float: right; position: absolute; top: 50%; transform: translateY(-50%); right: 5px; }
  40. .header .r a { padding: 5px 25px; position: relative; text-align: center; display: inline-block; font-size: 15px; color: #555; }
  41. .header .r a:before { width: 18px; height: 19px; left: -2px; top: 6px; position: absolute; content: " "; background: url(../images/logout.png) no-repeat; background-size: 90%; }
  42. .header .r a:hover { opacity: 0.8; }
  43. .friends { width: 275px; height: 550px; border-right: 1px solid #dbdbdb; float: left; }
  44. .friends .search { position: relative; float: left; width: 100%; height: 45px; border-bottom: 1px solid #dbdbdb; }
  45. .friends .search input { color: #999; font-size: 16px; text-indent: 40px; width: 100%; border: 0; height: 45px; line-height: 45px; }
  46. .friends .search span { font-size: 20px; position: absolute; top: 12px; left: 10px; color: #999; }
  47. .friends-list { float: left; width: 100%; }
  48. .friends-box { cursor: pointer; float: left; width: 100%; height: 72px; }
  49. .friends-box.active { background: #e3f0ff; }
  50. .friends-avatar { margin-left: 19px; margin-top: 16px; float: left; width: 40px; height: 40px; border-radius: 25px; background: #ccc; }
  51. .friends-avatar img { width: 40px; height: 40px; border-radius: 25px; }
  52. .friends-content { float: left; margin-left: 12px; margin-top: 16px; }
  53. .friends-time { float: right; margin-top: 16px; margin-right: 20px; }
  54. .friends-name { font-size: 14px; color: #000; }
  55. .friends-name-gray { color: #666; }
  56. .friends-info { width: 120px; font-size: 12px; color: #666; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  57. .friends-time span { display: block; text-align: right; }
  58. .friends-time span:nth-child(1) { font-size: 14px; color: #666; }
  59. .friends-time span:nth-child(2) { float: right; position: relative; top: 2px; display: inline-block; padding: 1px 5px; border-radius: 25px; color: #fff; background: #ff0000; }
  60. .message { float: left; width: 635px; height: 550px; position: relative; }
  61. .message .emoji-box { position: absolute; left: 10px; top: 120px; width: 500px; height: 285px; -webkit-box-shadow: 0 3px 5px 0 rgb(0 0 0 / 17%); box-shadow: 0 3px 5px 0 rgb(0 0 0 / 17%); background-color: #fff; border-radius: 8px; border: 1px solid #e5e9ef; }
  62. .message .emoji-box .emoji-header { padding: 15px; font-size: 14px; color: #222; text-align: left; }
  63. .message .emoji-box .emoji-header span:nth-child(1) { float: left; }
  64. .message .emoji-box .emoji-header span:nth-child(2) { float: right; cursor: pointer; font-size: 15px; }
  65. .message .emoji-box .emoji-content { width: 100%; float: left; }
  66. .message .emoji-box .emoji-content div { display: none; }
  67. .message .emoji-box .emoji-content div.show { display: block; }
  68. .message .emoji-box .emoji-content div.hide { display: none; }
  69. .message .emoji-box .emoji-content span { padding: 10px; font-size: 25px; text-align: center; cursor: pointer; }
  70. .message .emoji-box .emoji-footer { position: absolute; left: 0; bottom: 0; font-size: 13px; }
  71. .message .emoji-box .emoji-footer { width: 100%; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; background-color: #f4f4f4; overflow: hidden; }
  72. .message .emoji-box .emoji-footer span { height: 40px; line-height: 40px; display: inline-block; padding: 0 10px; cursor: pointer; }
  73. .message .emoji-box .emoji-footer span.active { background-color: #fff; color: #333; }
  74. .message-icon-box { width: 635px; height: 420px; background-image: url(../images/message.png); background-position: center; background-size: 20%; background-repeat: no-repeat; }
  75. .message-box { width: 635px; height: 420px; border-bottom: 1px solid #dbdbdb; }
  76. .msg-wrap { width: 100%; height: auto !important; height: 37px; min-height: 37px; line-height: 37px; float: left; margin: 10px 0; }
  77. .msg-wrap .msg-item { }
  78. .msg-wrap .msg-item .avatar { width: 40px; height: 40px; border-radius: 25px; background: #ccc; }
  79. .msg-wrap .msg-item .avatar img { width: 40px; height: 40px; }
  80. .msg-wrap .msg-item .content { padding: 5px 10px; border-radius: 4px; font-size: 14px; max-width: 400px; height: auto !important; height: 37px; min-height: 37px; line-height: 37px; }
  81. .msg-wrap .msg-item .content img { cursor: pointer; max-width: 300px; max-height: 300px; min-width: 50px; min-height: 50px; border-radius: 10px; }
  82. .msg-wrap .msg-item .goods { border-radius: 5px; height: 71px; padding: 12px; width: 310px; border:1px solid #e1e1e1; }
  83. .msg-wrap .msg-item .goods .goods-photo { float: left; width: 70px; height: 70px; border-radius: 3px; background: #ccc; }
  84. .msg-wrap .msg-item .goods .goods-photo img { width: 70px; height: 70px; border-radius: 3px; }
  85. .msg-wrap .msg-item .goods .goods-name { margin-top: 5px; margin-left: 5px; line-height: 20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width: 230px; float: left; }
  86. .msg-wrap .msg-item .goods .goods-store-nums { margin-left: 5px; line-height: 20px; float: left; width: 230px; }
  87. .msg-wrap .msg-item .goods .goods-price { margin-left: 5px; line-height: 20px; float: left; width: 230px; color: #ff0000; }
  88. .msg-wrap.l .msg-item .content { margin-left: 10px; float: left; background: #f7f7f7; color: #333; }
  89. .msg-wrap.r .msg-item .content { margin-right: 10px; float: right; background: #0078ff; color: #fff; }
  90. .msg-wrap.l .msg-item .content-image { background-color: transparent; }
  91. .msg-wrap.r .msg-item .content-image { background-color: transparent; }
  92. .msg-wrap.l .msg-item .avatar { float: left; margin-left: 10px; }
  93. .msg-wrap.r .msg-item .avatar { float: right; margin-right: 10px; }
  94. .msg-wrap.l .msg-item .goods { float: left; margin-left: 10px; }
  95. .msg-wrap.r .msg-item .goods { float: right; margin-right: 10px; }
  96. .msg-end { font-size: 14px; color: #666; text-align: center; padding: 10px 0; }
  97. .send { width: 635px; height: 129px; }
  98. .send .tools-box { width: 100%; height: 30px; float: left; padding-left: 10px; }
  99. .send .tools-box .tool-box { cursor: pointer; background-position: center; }
  100. .send .tools-box div { float: left; margin-right: 5px; }
  101. .send .tools-image { width: 30px; height: 30px; display: inline-block; background-image: url("../images/image.png"); background-repeat: no-repeat; background-size: 80%; }
  102. .send .tools-emoticon { width: 30px; height: 30px; display: inline-block; background-image: url("../images/emoticon.png"); background-repeat: no-repeat; background-size: 80%; }
  103. .send .tools-forward { width: 30px; height: 30px; display: inline-block; background-image: url("../images/forward.png"); background-repeat: no-repeat; background-size: 80%; }
  104. .send .textarea { border: 0; height: 49px; font-size: 14px; color: #666; float: left; width: 95%; overflow-y: auto; padding: 5px 2.5%; }
  105. .send .send-btn { width: 100%; height: 40px; float: left; }
  106. .send .send-btn span { moz-user-select: -moz-none; -moz-user-select: none; -webkit-user-select:none; -ms-user-select:none; user-select:none; float: right; cursor: pointer; margin-bottom: 10px; margin-right: 20px; display: inline-block; font-size: 15px; width: 80px; height: 30px; line-height: 30px; border-radius: 25px; background: #0078ff; text-align: center; color: #fff; }
  107. .send .send-btn span:hover { opacity: 0.8; }
  108. .send .textarea:focus{ outline: 0px solid #AFECAB; }
  109. .file { position: relative; display: inline-block; overflow: hidden; color: #1E88C7; text-decoration: none; text-indent: 0; cursor: pointer; }
  110. .file input { position: absolute; font-size: 100px; right: 0; top: 0; opacity: 0; cursor: pointer; }
  111. .file:hover { text-decoration: none; }
  112. .sidebar { float: left; width: 288px; height: 550px; border-left: 1px solid #dbdbdb; }
  113. .sidebar .side-goods { width: 245px; height: 75px; margin-left: 20px; margin-top: 20px; float: left; }
  114. .sidebar .side-goods .goods { border-radius: 5px; height: 71px; margin-bottom: 20px; }
  115. .sidebar .side-goods .goods .goods-photo { float: left; width: 70px; height: 70px; border-radius: 3px; background: #ccc; }
  116. .sidebar .side-goods .goods .goods-photo img { width: 75px; height: 75px; border-radius: 3px; }
  117. .sidebar .side-goods .goods .goods-name { margin-top: 5px; margin-left: 5px; line-height: 20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; width: 150px; float: left; }
  118. .sidebar .side-goods .goods .goods-store-nums { margin-left: 5px; line-height: 20px; float: left; width: 150px; }
  119. .sidebar .side-goods .goods .goods-price { margin-left: 5px; line-height: 20px; float: left; width: 150px; }
  120. .sidebar .side-goods .goods .goods-price span:nth-child(1) { color: #ff0000; float: left; font-size: 14px; }
  121. .sidebar .side-goods .goods .goods-price span:nth-child(2) { cursor: pointer; color: #4b89e6; float: right; border: 1px solid #4b89e6; padding: 0px 4px; border-radius: 4px; }
  122. .gray { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); filter: grayscale(100%); }