123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- .chat-box {
- display: flex;
- width: 100%;
- box-shadow: 0 0 10px rgba(0 0 0 0.1);
- height: 87vh;
- background: #f5f5f5
- }
- .contacts {
- flex-basis: 30%;
- background-color: #f4f4f4;
- padding: 20px;
- box-sizing: border-box;
- overflow-x: auto;
- }
- .contactsSystem {
- margin-bottom: 20px;
- padding-bottom: 10px;
- border-bottom: 1px solid #c4c4c4;
- }
- .chat {
- flex-basis: 70%;
- /*background-color: #fff;*/
- padding: 0 20px;
- box-sizing: border-box;
- position: relative;
- /*overflow-y: scroll;*/
- }
- .contact {
- display: flex;
- align-items: center;
- margin-bottom: 10px;
- cursor: pointer;
- }
- .contact img {
- border-radius: 50%;
- margin-right: 10px;
- }
- .news {
- background: red;
- line-height: 20px;
- text-align: center;
- border-radius: 15px;
- margin-left: 31px;
- color: #fff;
- font-size: 10px;
- padding: 0 6px;
- height: 20px;
- }
- .message {
- /*background-color: #f1f1f1;*/
- padding: 10px;
- border-radius: 10px;
- margin: 10px 0;
- }
- .receiver {
- background-color: #DCF8C6;
- align-self: flex-start;
- }
- .sender {
- align-self: flex-end;
- display: flex;
- flex-direction: row;
- margin: 10px 30px 10px 25%;
- width: 75%;
- justify-content: flex-end;
- /*position: absolute;*/
- /*right: 0;*/
- }
- #messageInput {
- width: calc(100% - 20px);
- padding: 10px;
- box-sizing: border-box;
- }
- #chartBtn {
- width: 120px;
- padding: 10px;
- border: none;
- background-color: #169bd5;
- color: #fff;
- cursor: pointer;
- text-align: center;
- margin-right: 20px;
- }
- #sendBtn {
- width: 120px;
- padding: 10px;
- border: none;
- background-color: #169bd5;
- color: #fff;
- cursor: pointer;
- text-align: center;
- margin-right: 20px;
- }
- .contact-item-left{
- display: flex;
- flex-direction: row;
- margin: 10px 30px;
- width: 75%;
- }
- .contact-item-right{
- justify-content: flex-end;
- position: absolute;
- right: 0;
- }
- .contact-item-left-content{
- margin: 0 15px;
- width: 100%;
- }
- .text{
- width: 100%;
- border: 1px solid #dcdbdb;
- padding: 10px;
- }
|