You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
323 lines
9.3 KiB
323 lines
9.3 KiB
@import url("https://fonts.googleapis.com/css?family=Red+Hat+Display:400,500,900&display=swap");
|
|
body, html {
|
|
font-family: Red hat Display, sans-serif;
|
|
font-weight: 400;
|
|
line-height: 1.25em;
|
|
letter-spacing: 0.025em;
|
|
color: #333;
|
|
background: #F7F7F7;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.group-chat-main { position: relative;
|
|
top: 50%;
|
|
left: 50%;
|
|
/* bring your own prefixes */
|
|
transform: translate(-50%, -50%);
|
|
padding: 0 10rem 0 21rem;
|
|
}
|
|
|
|
.pic {
|
|
width: 4rem;
|
|
height: 4rem;
|
|
background-size: cover;
|
|
background-position: center;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.gcuser {
|
|
position: relative;
|
|
margin-bottom: 1rem;
|
|
padding-left: 5rem;
|
|
height: 4.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
.gcuser .pic {
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
.gcuser .name {
|
|
font-weight: 500;
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
.gcuser .name.mod {
|
|
color: #38a956;
|
|
}
|
|
|
|
.gcuser .message, .gcuser .seen {
|
|
font-size: 0.9rem;
|
|
color: #999;
|
|
}
|
|
.gcuser .badge {
|
|
box-sizing: border-box;
|
|
position: absolute;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
padding-top: 0.125rem;
|
|
border-radius: 1rem;
|
|
top: 0;
|
|
left: 2.5rem;
|
|
background: #333;
|
|
color: white;
|
|
}
|
|
|
|
.online-users {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 21rem;
|
|
transform: translate(-6rem, -50%);
|
|
width: 24rem;
|
|
height: 40rem;
|
|
padding: 1rem 2rem 1rem 1rem;
|
|
box-sizing: border-box;
|
|
border-radius: 1rem 0 0 1rem;
|
|
cursor: pointer;
|
|
background: white;
|
|
box-shadow: 0 0 8rem 0 rgba(0, 0, 0, 0.1), 2rem 2rem 4rem -3rem rgba(0, 0, 0, 0.5);
|
|
transition: transform 500ms;
|
|
}
|
|
.online-users h2 {
|
|
margin: 0.5rem 0 1.5rem 5rem;
|
|
}
|
|
.online-users .fa-bars {
|
|
position: absolute;
|
|
left: 2.25rem;
|
|
color: #999;
|
|
transition: color 200ms;
|
|
}
|
|
.online-users .fa-bars:hover {
|
|
color: #666;
|
|
}
|
|
.online-users .contact:last-child {
|
|
margin: 0;
|
|
}
|
|
.online-users:hover {
|
|
transform: translate(-20rem, -50%);
|
|
}
|
|
|
|
.online-users .flowvisitors {
|
|
height: 32rem;
|
|
overflow: auto;
|
|
}
|
|
|
|
.chat {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
z-index: 2;
|
|
box-sizing: border-box;
|
|
border-radius: 1rem;
|
|
background: white;
|
|
box-shadow: 0 0 8rem 0 rgba(0, 0, 0, 0.1), 0rem 2rem 4rem -3rem rgba(0, 0, 0, 0.5);
|
|
}
|
|
.chat .contact.bar {
|
|
flex-basis: 3.5rem;
|
|
flex-shrink: 0;
|
|
margin: 1rem;
|
|
box-sizing: border-box;
|
|
}
|
|
.chat .messages {
|
|
padding: 1rem;
|
|
background: #F7F7F7;
|
|
flex-shrink: 2;
|
|
overflow: auto;
|
|
height: 600px;
|
|
box-shadow: inset 0 2rem 2rem -2rem rgba(0, 0, 0, 0.05), inset 0 -2rem 2rem -2rem rgba(0, 0, 0, 0.05);
|
|
}
|
|
.chat .messages .time {
|
|
font-size: 0.8rem;
|
|
background: #EEE;
|
|
padding: 0.25rem 1rem;
|
|
border-radius: 2rem;
|
|
color: #999;
|
|
width: -webkit-fit-content;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
margin: 0 auto;
|
|
}
|
|
.chat .messages .message {
|
|
box-sizing: border-box;
|
|
padding: 0.5rem 1rem;
|
|
margin: 1rem;
|
|
background: #FFF;
|
|
border-radius: 1.125rem 1.125rem 1.125rem 0;
|
|
min-height: 2.25rem;
|
|
width: -webkit-fit-content;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
max-width: 66%;
|
|
box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
|
|
}
|
|
.chat .messages .message span {
|
|
display: block;
|
|
font-size: .8rem;
|
|
}
|
|
|
|
.chat .messages .message .blockquote {
|
|
font-size: .8rem;
|
|
}
|
|
|
|
.messages .message .emojione {
|
|
height: 1.2rem !important;
|
|
width: 1.2rem !important;
|
|
vertical-align: middle;
|
|
background: none;
|
|
}
|
|
|
|
.chat .messages .message .chat-edit {
|
|
font-size: .8rem;
|
|
display: inline-block;
|
|
margin-left: .5rem;
|
|
}
|
|
|
|
.chat .messages .message .chat-edit a {
|
|
color: #9b9b9b;
|
|
margin-right: .5rem;
|
|
}
|
|
|
|
.chat .messages .message .chat-edit a:hover,
|
|
.chat .messages .message .chat-edit a.active {
|
|
color: #ee212d;
|
|
}
|
|
|
|
.chat .messages .message .chat-edit a:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.chat .messages .message.operator {
|
|
margin: 1rem 1rem 1rem auto;
|
|
border-radius: 1.125rem 1.125rem 0 1.125rem;
|
|
background: #333;
|
|
color: white;
|
|
}
|
|
|
|
.chat .messages .message.system {
|
|
margin: 1rem 1rem 1rem auto;
|
|
border-radius: 1.125rem 1.125rem 0 1.125rem;
|
|
background: #1565c0;
|
|
color: white;
|
|
}
|
|
|
|
.chat .input {
|
|
box-sizing: border-box;
|
|
flex-basis: 4rem;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 0.5rem 0 1.5rem;
|
|
}
|
|
.chat .input i {
|
|
font-size: 1.5rem;
|
|
margin-right: 1rem;
|
|
color: #666;
|
|
cursor: pointer;
|
|
transition: color 200ms;
|
|
}
|
|
.chat .input i:hover {
|
|
color: #333;
|
|
}
|
|
.chat .input input {
|
|
border: none;
|
|
background-image: none;
|
|
background-color: white;
|
|
padding: 0.5rem 1rem;
|
|
margin-right: 1rem;
|
|
border-radius: 1.125rem;
|
|
flex-grow: 2;
|
|
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.2);
|
|
font-family: Red hat Display, sans-serif;
|
|
font-weight: 400;
|
|
letter-spacing: 0.025em;
|
|
}
|
|
.chat .input input:placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
.emojionearea.emojionearea-standalone .emojionearea-button > div {
|
|
top: -12px;
|
|
left: 7px;
|
|
}
|
|
|
|
.input #message {
|
|
padding-left: 35px;
|
|
}
|
|
|
|
|
|
/* Login Style */
|
|
.login-wrapper {
|
|
max-width: 420px;
|
|
margin: 1rem auto;
|
|
padding: 1.25rem;
|
|
text-align: center;
|
|
}
|
|
.login-wrapper .login-title, .group-chat-wrapper .login-title {
|
|
color: #333333;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.login-wrapper h1, .group-chat-wrapper h1 {
|
|
font-size: 1.6rem;
|
|
}
|
|
.form-signin {
|
|
background-color: #4d4d4d;
|
|
padding: 1rem;
|
|
-webkit-border-radius: 5px 5px 5px 5px;
|
|
border-radius: 5px 5px 5px 5px;
|
|
}
|
|
|
|
.login-wrapper .site-title, .group-chat-wrapper .site-title {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.avatars label > input { /* HIDE RADIO */
|
|
visibility: hidden; /* Makes input not-clickable */
|
|
position: absolute; /* Remove input from document flow */
|
|
}
|
|
.avatars label > input + img { /* IMAGE STYLES */
|
|
cursor: pointer;
|
|
border: 2px solid #d7dde4;
|
|
}
|
|
.avatars label > input:checked + img { /* (RADIO CHECKED) IMAGE STYLES */
|
|
border: 2px solid #56a753;
|
|
}
|
|
|
|
.help-block {
|
|
color: #fff;
|
|
}
|
|
|
|
@-webkit-keyframes a{0%{opacity:0;bottom:-15px;max-height:0;max-width:0;margin-top:0}30%{opacity:.8;bottom:-3px}to{opacity:1;bottom:0;max-height:200px;margin-top:12px;max-width:400px}}@keyframes a{0%{opacity:0;bottom:-15px;max-height:0;max-width:0;margin-top:0}30%{opacity:.8;bottom:-3px}to{opacity:1;bottom:0;max-height:200px;margin-top:12px;max-width:400px}}@-webkit-keyframes b{0%{opacity:1;bottom:0}30%{opacity:.2;bottom:-3px}to{opacity:0;bottom:-15px}}@keyframes b{0%{opacity:1;bottom:0}30%{opacity:.2;bottom:-3px}to{opacity:0;bottom:-15px}}@-webkit-keyframes c{0%{opacity:0}30%{opacity:.5}to{opacity:.6}}@keyframes c{0%{opacity:0}30%{opacity:.5}to{opacity:.6}}@-webkit-keyframes d{0%{opacity:.6}30%{opacity:.1}to{opacity:0}}@keyframes d{0%{opacity:.6}30%{opacity:.1}to{opacity:0}}.notyf__icon--alert,.notyf__icon--confirm{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--alert:after,.notyf__icon--alert:before{content:"";background:#ed3d3d;display:block;position:absolute;width:3px;border-radius:3px;left:9px}.notyf__icon--alert:after{height:3px;top:14px}.notyf__icon--alert:before{height:8px;top:4px}.notyf__icon--confirm:after,.notyf__icon--confirm:before{content:"";background:#3dc763;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--confirm:after{height:6px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--confirm:before{height:11px;-webkit-transform:rotate(45deg);transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;-webkit-animation:a .3s forwards;animation:a .3s forwards;box-shadow:0 1px 3px 0 rgba(0,0,0,.45);position:relative;padding-right:13px}.notyf__toast.notyf--alert{background:#ed3d3d}.notyf__toast.notyf--confirm{background:#3dc763}.notyf__toast.notyf--disappear{-webkit-animation:b .3s 1 forwards;animation:b .3s 1 forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast.notyf--disappear .notyf__message{opacity:1;-webkit-animation:b .3s 1 forwards;animation:b .3s 1 forwards;-webkit-animation-delay:.1s;animation-delay:.1s}.notyf__toast.notyf--disappear .notyf__icon{opacity:1;-webkit-animation:d .3s 1 forwards;animation:d .3s 1 forwards}.notyf__wrapper{display:table;width:100%;padding-top:20px;padding-bottom:20px;padding-right:15px;border-radius:3px}.notyf__icon{width:20%;text-align:center;font-size:1.3em;-webkit-animation:c .5s forwards;animation:c .5s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__icon,.notyf__message{display:table-cell;vertical-align:middle;opacity:0}.notyf__message{width:80%;position:relative;-webkit-animation:a .3s forwards;animation:a .3s forwards;-webkit-animation-delay:.15s;animation-delay:.15s}.notyf{position:fixed;bottom:20px;right:30px;width:20%;color:#fff;z-index:1}@media only screen and (max-width:736px){.notyf__container{width:90%;margin:0 auto;display:block;right:0;left:0}}
|
|
|
|
#customavatar {
|
|
width: 200px;
|
|
height: 200px;
|
|
position:relative; /* or fixed or absolute */
|
|
background-image: url(../files/system.jpg);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
border: 2px solid #d7dde4;
|
|
box-sizing: content-box;
|
|
-moz-box-sizing: content-box;
|
|
}
|
|
|
|
.avatarupload {
|
|
position: relative;
|
|
overflow: hidden;
|
|
margin: 10px;
|
|
}
|
|
.avatarupload input.upload {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
filter: alpha(opacity=0);
|
|
}
|
|
.copyright a {
|
|
color: #ffffff;
|
|
}
|
|
|