instantchat/public_html/css/style.css

288 lines
4.5 KiB
CSS

body {
font-family: Roboto,sans-serif;
font-size: 1rem;
}
img {
max-width: 100%;
}
.container {
margin: auto;
max-width: 1170px;
}
.messaging {
overflow: hidden;
padding: 0 0 50px 0;
position: relative;
}
.messaging_heading {
border: 1px solid #c4c4c4;
border-bottom: 0;
padding: 10px 29px 10px 20px;
overflow: hidden;
}
@media (min-width: 768px) {
.messaging_heading {
display: none;
}
#sidebarCollapse {
display: none;
}
}
.inbox_msg {
border: 1px solid #c4c4c4;
clear: both;
overflow: hidden;
}
/* mobile */
#sidebar {
align-items: stretch;
border: 1px solid #c4c4c4;
background: #f8f8f8 none repeat scroll 0 0;
display: flex;
flex-direction: column;
position: absolute;
top: 0;
transform: translateX(100%);
transition-duration: 0.7s;
width: 100%;
z-index: 1;
}
/* desktop */
@media (min-width: 768px) {
#sidebar {
border-left: 1px solid #c4c4c4;
float: left;
overflow: hidden;
position: relative;
transform: none;
width: 40%;
}
}
#sidebar.active {
left: 0;
transform: none;
transition-duration: 0.7s;
}
@media (min-width: 768px) {
#sidebar.active {
right: 0;
position: relative;
transform: none;
transition-duration: 0.7s;
width: 40%;
}
}
.sidebar_heading {
float: left;
width: 40%;
}
/*Search*/
.heading_search {
border-bottom: 1px solid #c4c4c4;
padding: 10px 29px 10px 20px;
overflow: hidden;
}
.search_bar {
display: inline-block;
text-align: right;
width: 60%;
}
.search_bar .stylish-input-group {
position: relative;
}
.search_bar input {
background: none;
border-bottom: 1px solid #cdcdcd;
font-size: 1rem;
height: 25px;
padding: 2px 30px 4px 6px;
width: 80%;
}
.search_bar .input-group-addon {
position: absolute;
right: 28px;
}
.search_bar .input-group-addon button {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
border: medium none;
color: #707070;
font-size: 18px;
padding: 0;
position: absolute;
}
.search_bar .input-group-addon button svg {
padding-top: 5px;
}
.chat_ib {
float: left;
padding: 0 0 0 15px;
width: 75%;
}
.chat_ib h5 {
color: #464646;
font-size: 15px;
margin: 0 0 8px 0;
}
.chat_ib h5 span {
float: right;
font-size: 13px;
}
.chat_ib p {
font-size: 14px;
color: #2b2b2b;
margin: auto;
}
.chat_img {
float: left;
width: 11%;
}
.chat_people {
overflow: hidden;
clear: both;
}
.chat_list {
border-bottom: 1px solid #c4c4c4;
margin: 0;
padding: 18px 16px 10px;
}
.inbox_chat {
height: 540px;
overflow-y: scroll;
}
.active_chat {
background: #dae3f2;
}
h5.incoming_msg_user {
color: #464646;
font-size: 15px;
margin: 0 0 8px 30px;
}
.received_msg {
display: inline-block;
padding-left: 30px;
vertical-align: top;
width: 92%;
}
.received_withd_msg {
width: 57%;
}
.received_withd_msg p {
background: #dae3f2 none repeat scroll 0 0;
border-radius: 3px;
color: #2b2b2b;
font-size: 14px;
margin: 0;
padding: 10px 10px 10px 12px;
width: 100%;
}
.messages {
padding: 30px;
width: 100%;
}
@media (min-width: 768px) {
.messages {
width: auto;
}
}
.time_date {
color: #747474;
display: block;
font-size: 12px;
margin: 8px 0 0;
}
/*Messages*/
.sent_msg {
float: right;
margin-right: 20px;
width: 46%;
}
.sent_msg p {
background: #05728f none repeat scroll 0 0;
border-radius: 3px;
font-size: 14px;
margin: 0; color:#fff;
padding: 10px 12px 10px 12px;
/*width: 100%;*/
}
.outgoing_msg {
overflow: hidden;
margin: 12px 0 12px;
}
.input_msg_write input {
background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
border: medium none;
color: #4c4c4c;
font-size: 15px;
min-height: 48px;
padding-left: 30px;
width: 100%;
}
.type_msg {
border-top: 1px solid #c4c4c4;
float: left;
position: relative;
width: 60%;
}
.msg_send_btn {
background: #05728f none repeat scroll 0 0;
border: medium none;
border-radius: 3px;
color: #fff;
cursor: pointer;
height: 35px;
position: absolute;
right: 0;
top: 7px;
width: 52px;
}
.msg_send_btn svg {
fill: #ffffff;
padding-top: 4px;
}
.msg_history {
height: 516px;
overflow-y: auto;
}