mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-10 11:35:02 -05:00
1531 lines
28 KiB
CSS
1531 lines
28 KiB
CSS
/* normalize.css v2.1.3 | MIT License | git.io/normalize */
|
|
article,
|
|
aside,
|
|
details,
|
|
figcaption,
|
|
figure,
|
|
footer,
|
|
header,
|
|
hgroup,
|
|
main,
|
|
nav,
|
|
section,
|
|
summary {
|
|
display: block;
|
|
}
|
|
audio,
|
|
canvas,
|
|
video {
|
|
display: inline-block;
|
|
}
|
|
audio:not([controls]) {
|
|
display: none;
|
|
height: 0;
|
|
}
|
|
[hidden],
|
|
template {
|
|
display: none;
|
|
}
|
|
html {
|
|
font-family: sans-serif;
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
a {
|
|
background: transparent;
|
|
}
|
|
a:focus {
|
|
outline: thin dotted;
|
|
}
|
|
a:active,
|
|
a:hover {
|
|
outline: 0;
|
|
}
|
|
abbr[title] {
|
|
border-bottom: 1px dotted;
|
|
}
|
|
dfn {
|
|
font-style: italic;
|
|
}
|
|
hr {
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
mark {
|
|
background: #ff0;
|
|
color: #000;
|
|
}
|
|
code,
|
|
kbd,
|
|
pre,
|
|
samp {
|
|
font-family: monospace, serif;
|
|
font-size: 1em;
|
|
}
|
|
pre {
|
|
white-space: pre-wrap;
|
|
}
|
|
q {
|
|
quotes: "\201C" "\201D" "\2018" "\2019";
|
|
}
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
img {
|
|
border: 0;
|
|
}
|
|
svg:not(:root) {
|
|
overflow: hidden;
|
|
}
|
|
figure {
|
|
margin: 0;
|
|
}
|
|
fieldset {
|
|
border: 1px solid #c0c0c0;
|
|
margin: 0 2px;
|
|
padding: 0.35em 0.625em 0.75em;
|
|
}
|
|
legend {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
margin: 0;
|
|
}
|
|
button,
|
|
input {
|
|
line-height: normal;
|
|
}
|
|
button,
|
|
select {
|
|
text-transform: none;
|
|
}
|
|
button,
|
|
html input[type="button"],
|
|
input[type="reset"],
|
|
input[type="submit"] {
|
|
-webkit-appearance: button;
|
|
cursor: pointer;
|
|
}
|
|
button[disabled],
|
|
html input[disabled] {
|
|
cursor: default;
|
|
}
|
|
input[type="checkbox"],
|
|
input[type="radio"] {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
input[type="search"] {
|
|
-webkit-appearance: textfield;
|
|
-moz-box-sizing: content-box;
|
|
-webkit-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
}
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
input[type="search"]::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
button::-moz-focus-inner,
|
|
input::-moz-focus-inner {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
textarea {
|
|
overflow: auto;
|
|
vertical-align: top;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
body {
|
|
background: #fff;
|
|
color: #565656;
|
|
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
color: #3c3c3c;
|
|
}
|
|
h4 {
|
|
margin-top: 0;
|
|
font-size: 12px;
|
|
}
|
|
a {
|
|
color: #12acef;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
a:hover,
|
|
a:active {
|
|
color: #34465a;
|
|
}
|
|
#pages {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
left: 201px;
|
|
height: 100%;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
input[type=text],
|
|
input[type=email],
|
|
input[type=password],
|
|
input[type=search],
|
|
input[type=date],
|
|
input[type=url],
|
|
input[type=file],
|
|
textarea,
|
|
.main .status {
|
|
width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
input[type=text].inline,
|
|
input[type=email].inline,
|
|
input[type=password].inline,
|
|
input[type=search].inline,
|
|
input[type=date].inline,
|
|
input[type=url].inline,
|
|
input[type=file].inline,
|
|
textarea.inline,
|
|
.main .status.inline {
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
input[type=text]:disabled,
|
|
input[type=email]:disabled,
|
|
input[type=password]:disabled,
|
|
input[type=search]:disabled,
|
|
input[type=date]:disabled,
|
|
input[type=url]:disabled,
|
|
input[type=file]:disabled,
|
|
textarea:disabled,
|
|
select:disabled,
|
|
input[type=checkbox]:disabled,
|
|
input[type=radio]:disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
.invalid label {
|
|
color: #de0a32;
|
|
}
|
|
.invalid input[type=text],
|
|
.invalid input[type=email],
|
|
.invalid input[type=password],
|
|
.invalid input[type=search],
|
|
.invalid input[type=date],
|
|
.invalid input[type=url],
|
|
.invalid input[type=file],
|
|
.invalid textarea {
|
|
background: #fff7f8;
|
|
border: 1px solid #fdcad3;
|
|
color: #fdcad3;
|
|
}
|
|
.invalid input[type=text]:focus,
|
|
.invalid input[type=email]:focus,
|
|
.invalid input[type=password]:focus,
|
|
.invalid input[type=search]:focus,
|
|
.invalid input[type=date]:focus,
|
|
.invalid input[type=url]:focus,
|
|
.invalid input[type=file]:focus,
|
|
.invalid textarea:focus {
|
|
border: 1px solid #fdcad3;
|
|
box-shadow: 0 0 5px #fdcad3;
|
|
}
|
|
.valid label {
|
|
color: #43bb6e;
|
|
}
|
|
.valid input[type=text],
|
|
.valid input[type=email],
|
|
.valid input[type=password],
|
|
.valid input[type=search],
|
|
.valid input[type=date],
|
|
.valid input[type=url],
|
|
.valid input[type=file],
|
|
.valid textarea {
|
|
background: #f4fbf6;
|
|
border: 1px solid #c6ebd3;
|
|
color: #c6ebd3;
|
|
}
|
|
.valid input[type=text]:focus,
|
|
.valid input[type=email]:focus,
|
|
.valid input[type=password]:focus,
|
|
.valid input[type=search]:focus,
|
|
.valid input[type=date]:focus,
|
|
.valid input[type=url]:focus,
|
|
.valid input[type=file]:focus,
|
|
.valid textarea:focus {
|
|
border: 1px solid #c6ebd3;
|
|
box-shadow: 0 0 5px #c6ebd3;
|
|
}
|
|
input[type=text],
|
|
input[type=email],
|
|
input[type=password],
|
|
input[type=search],
|
|
input[type=date],
|
|
input[type=url],
|
|
input[type=file],
|
|
textarea,
|
|
select,
|
|
.main .status {
|
|
display: block;
|
|
border-radius: 3px;
|
|
border: 1px solid #eee;
|
|
}
|
|
input[type=text]:focus,
|
|
input[type=email]:focus,
|
|
input[type=password]:focus,
|
|
input[type=search]:focus,
|
|
input[type=date]:focus,
|
|
input[type=url]:focus,
|
|
input[type=file]:focus,
|
|
textarea:focus,
|
|
select:focus,
|
|
.main .status:focus {
|
|
outline: none;
|
|
border: 1px solid #88d5f7;
|
|
box-shadow: 0 0 5px #88d5f7;
|
|
transition: all 0.3s ease-in;
|
|
-webkit-transition: all 0.3s ease-in;
|
|
}
|
|
input[type=text]:disabled,
|
|
input[type=email]:disabled,
|
|
input[type=password]:disabled,
|
|
input[type=search]:disabled,
|
|
input[type=date]:disabled,
|
|
input[type=url]:disabled,
|
|
input[type=file]:disabled,
|
|
textarea:disabled,
|
|
select:disabled,
|
|
.main .status:disabled {
|
|
background: #f8f8f8;
|
|
}
|
|
input[type=text],
|
|
input[type=email],
|
|
input[type=password],
|
|
input[type=search],
|
|
input[type=date],
|
|
input[type=url],
|
|
.main .status {
|
|
height: 35px;
|
|
padding: 7px 10px;
|
|
}
|
|
textarea {
|
|
padding: 10px;
|
|
resize: none;
|
|
font-size: 12px;
|
|
}
|
|
input[type=file] {
|
|
padding: 15px;
|
|
background: #fafafa;
|
|
font-size: 12px;
|
|
color: #878787;
|
|
}
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 800;
|
|
font-size: 12px;
|
|
}
|
|
.has-icon {
|
|
position: relative;
|
|
}
|
|
.has-icon .ss-icon {
|
|
position: absolute;
|
|
top: 31px;
|
|
right: 10px;
|
|
font-size: 12px;
|
|
transition: all 0.3s ease-in;
|
|
}
|
|
.has-icon .ss-icon.ss-delete {
|
|
color: #fdcad3;
|
|
}
|
|
.has-icon .ss-icon.ss-check {
|
|
color: #c6ebd3;
|
|
}
|
|
.has-icon .ss-icon.ss-search {
|
|
color: #eee;
|
|
}
|
|
button {
|
|
border: none;
|
|
}
|
|
.button {
|
|
line-height: 35px;
|
|
}
|
|
.button,
|
|
button {
|
|
display: inline-block;
|
|
border-radius: 3px;
|
|
padding: 0 15px;
|
|
height: 35px;
|
|
background: #eee;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
color: #878787;
|
|
text-overflow: ellipsis;
|
|
vertical-align: middle;
|
|
}
|
|
.button:focus,
|
|
button:focus {
|
|
outline: none;
|
|
}
|
|
.button:hover:not(:disabled),
|
|
button:hover:not(:disabled) {
|
|
color: #565656;
|
|
background: #d6d6d6;
|
|
transition: all 0.3s ease-in;
|
|
}
|
|
.button:disabled,
|
|
button:disabled {
|
|
cursor: not-allowed;
|
|
color: #b7b7b7;
|
|
}
|
|
.button.small,
|
|
button.small {
|
|
height: 25px;
|
|
padding: 0 8px;
|
|
font-size: 12px;
|
|
line-height: 25px;
|
|
}
|
|
.button.large,
|
|
button.large {
|
|
height: 50px;
|
|
line-height: 50px;
|
|
padding: 0 30px;
|
|
font-size: 16px;
|
|
}
|
|
.button.primary,
|
|
button.primary,
|
|
.button.secondary,
|
|
button.secondary,
|
|
.button.primary:hover,
|
|
button.primary:hover,
|
|
.button.secondary:hover,
|
|
button.secondary:hover {
|
|
color: #fff;
|
|
}
|
|
.button.primary,
|
|
button.primary {
|
|
background: #ec008c;
|
|
}
|
|
.button.primary:hover:not(:disabled),
|
|
button.primary:hover:not(:disabled) {
|
|
background: #d4007e;
|
|
}
|
|
.button.primary:disabled,
|
|
button.primary:disabled {
|
|
background: #f8bee0;
|
|
}
|
|
.button.secondary,
|
|
button.secondary {
|
|
background: #12acef;
|
|
}
|
|
.button.secondary:disabled,
|
|
button.secondary:disabled {
|
|
background: #88d5f7;
|
|
}
|
|
.button.secondary:hover:not(:disabled),
|
|
button.secondary:hover:not(:disabled) {
|
|
background: #0f9bd9;
|
|
}
|
|
.button-group .button,
|
|
.button-group button {
|
|
border-radius: 0;
|
|
margin-left: -1px;
|
|
}
|
|
.button-group .button:first-child:only-child,
|
|
.button-group button:first-child:only-child {
|
|
border-radius: 3px;
|
|
}
|
|
.button-group .button:first-child,
|
|
.button-group button:first-child {
|
|
border-radius: 3px 0 0 3px;
|
|
}
|
|
.button-group .button:last-child,
|
|
.button-group button:last-child {
|
|
border-radius: 0 3px 3px 0;
|
|
}
|
|
.button-group.outlined {
|
|
display: inline-block;
|
|
border-radius: 3px;
|
|
}
|
|
.button-group.outlined button,
|
|
.button-group.outlined .button {
|
|
border: 1px solid #dbdbdb;
|
|
}
|
|
.button-group.outlined.primary button,
|
|
.button-group.outlined.primary .button {
|
|
background: #fce8f1;
|
|
border: 1px solid #f8bee0;
|
|
color: #ec008c;
|
|
}
|
|
.button-group.outlined.primary button:hover,
|
|
.button-group.outlined.primary .button:hover {
|
|
background: #fbd8ec;
|
|
}
|
|
.button-group.outlined.secondary button,
|
|
.button-group.outlined.secondary .button {
|
|
background: #e7f7fd;
|
|
border: 1px solid #88d5f7;
|
|
color: #12acef;
|
|
}
|
|
.button-group.outlined.secondary button:hover,
|
|
.button-group.outlined.secondary .button:hover {
|
|
background: #b8e6fa;
|
|
}
|
|
.installFirefox,
|
|
.addContact {
|
|
margin-left: 5px;
|
|
}
|
|
.addContact {
|
|
margin-top: -2px;
|
|
}
|
|
.joinRoom,
|
|
.leaveRoom {
|
|
margin: 3px 5px 0 0;
|
|
}
|
|
#connectionOverlay {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0,0,0,0.5);
|
|
z-index: 1000;
|
|
transition: all 0.25s linear 0;
|
|
}
|
|
#connectionOverlay.connected {
|
|
height: 0px;
|
|
}
|
|
#connectionOverlay.connected #connectionStatus {
|
|
top: -200px;
|
|
}
|
|
#connectionStatus {
|
|
height: 75px;
|
|
width: 400px;
|
|
top: 30%;
|
|
left: 50%;
|
|
margin-left: -200px;
|
|
position: absolute;
|
|
z-index: 10;
|
|
text-align: center;
|
|
}
|
|
#connectionStatus p {
|
|
padding: 0 0 20px 0;
|
|
margin: 0;
|
|
}
|
|
#connectionStatus button {
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
#menu {
|
|
position: fixed;
|
|
top: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
width: 200px;
|
|
background-color: #0b1316;
|
|
border-right: 1px solid #eee;
|
|
z-index: 300;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
#menu .main {
|
|
margin: 10px 0 0 0;
|
|
text-align: center;
|
|
}
|
|
#menu .main li {
|
|
display: inline-block;
|
|
}
|
|
#menu .main li:last-of-type a {
|
|
margin-left: 5px;
|
|
padding-left: 30px;
|
|
}
|
|
#menu .main li svg {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 5px;
|
|
margin-top: -13px;
|
|
fill: #fff;
|
|
}
|
|
#menu .main li a {
|
|
position: relative;
|
|
}
|
|
#menu h1 {
|
|
font-size: 12px;
|
|
margin: 0;
|
|
padding: 20px 10px;
|
|
color: #fff;
|
|
text-transform: uppercase;
|
|
}
|
|
#roster li,
|
|
#bookmarks li {
|
|
list-style-type: none;
|
|
padding: 7px 35px 7px 10px;
|
|
margin: 0px;
|
|
position: relative;
|
|
min-height: 40px;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease-in 0;
|
|
-webkit-transition: all 0.3s ease-in 0;
|
|
-moz-transition: all 0.3s ease-in 0;
|
|
width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
#roster li .wrap,
|
|
#bookmarks li .wrap {
|
|
vertical-align: middle;
|
|
padding-left: 40px;
|
|
}
|
|
#roster li .unread:not(:empty),
|
|
#bookmarks li .unread:not(:empty) {
|
|
display: block;
|
|
}
|
|
#roster li:hover,
|
|
#bookmarks li:hover {
|
|
background: #192a47;
|
|
}
|
|
#roster li.online:not(.idle):after,
|
|
#bookmarks li.online:not(.idle):after,
|
|
#roster li.chat:after,
|
|
#bookmarks li.chat:after,
|
|
#roster li.dnd:after,
|
|
#bookmarks li.dnd:after,
|
|
#roster li.away:after,
|
|
#bookmarks li.away:after,
|
|
#roster li.xa:after,
|
|
#bookmarks li.xa:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 15px;
|
|
height: 8px;
|
|
width: 8px;
|
|
margin-top: -4px;
|
|
-moz-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
-khtml-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
#roster li.online:after,
|
|
#bookmarks li.online:after,
|
|
#roster li.chat:after,
|
|
#bookmarks li.chat:after {
|
|
background: #43bb6e;
|
|
}
|
|
#roster li.dnd:after,
|
|
#bookmarks li.dnd:after {
|
|
background: #de0a32;
|
|
}
|
|
#roster li.away:after,
|
|
#bookmarks li.away:after,
|
|
#roster li.xa:after,
|
|
#bookmarks li.xa:after {
|
|
background: #f18902;
|
|
}
|
|
#roster li.offline:not(:hover) .name,
|
|
#bookmarks li.offline:not(:hover) .name {
|
|
color: #515151;
|
|
}
|
|
#roster li.offline:not(:hover) .status,
|
|
#bookmarks li.offline:not(:hover) .status {
|
|
color: #2f2f2f;
|
|
}
|
|
#roster li.offline:not(:hover) img,
|
|
#bookmarks li.offline:not(:hover) img {
|
|
opacity: 0.25;
|
|
}
|
|
#roster li.activeContact,
|
|
#bookmarks li.activeContact,
|
|
#roster li.offline.activeContact,
|
|
#bookmarks li.offline.activeContact {
|
|
background: #fff;
|
|
font-weight: 800;
|
|
}
|
|
#roster li.activeContact .name,
|
|
#bookmarks li.activeContact .name,
|
|
#roster li.offline.activeContact .name,
|
|
#bookmarks li.offline.activeContact .name {
|
|
color: #565656;
|
|
}
|
|
#roster li.composing:after,
|
|
#bookmarks li.composing:after {
|
|
animation: pulsate 1.5s infinite ease-in;
|
|
-webkit-animation: pulsate 1.5s infinite ease-in;
|
|
-moz-animation: pulsate 1.5s infinite ease-in;
|
|
}
|
|
#roster li.paused:after,
|
|
#bookmarks li.paused:after {
|
|
background: #ababab;
|
|
}
|
|
#roster li.idle,
|
|
#bookmarks li.idle {
|
|
padding-right: 15px;
|
|
}
|
|
#roster li.idle .name,
|
|
#bookmarks li.idle .name {
|
|
color: #878787;
|
|
max-width: 60%;
|
|
}
|
|
#roster li.idle .user,
|
|
#bookmarks li.idle .user {
|
|
width: 95%;
|
|
}
|
|
#roster li img,
|
|
#bookmarks li img {
|
|
opacity: 1;
|
|
}
|
|
#roster li .avatar,
|
|
#bookmarks li .avatar {
|
|
vertical-align: top;
|
|
margin-right: 5px;
|
|
margin-top: -15px;
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 20px;
|
|
width: 30px;
|
|
height: 30px;
|
|
-moz-border-radius: 50px;
|
|
-webkit-border-radius: 50px;
|
|
-khtml-border-radius: 50px;
|
|
-o-border-radius: 50px;
|
|
-border-radius: 50px;
|
|
border-radius: 50px;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
#roster li .user,
|
|
#bookmarks li .user {
|
|
color: #fff;
|
|
width: 70%;
|
|
line-height: 100%;
|
|
}
|
|
#roster li .name,
|
|
#bookmarks li .name {
|
|
display: inline-block;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
#roster li .status,
|
|
#bookmarks li .status {
|
|
color: #878787;
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
line-height: 12px;
|
|
margin: 0;
|
|
}
|
|
#roster li .unread,
|
|
#bookmarks li .unread {
|
|
display: none;
|
|
color: #fff;
|
|
height: 22px;
|
|
width: 30px;
|
|
padding-top: 8px;
|
|
-moz-border-radius: 30px;
|
|
-webkit-border-radius: 30px;
|
|
-khtml-border-radius: 30px;
|
|
-o-border-radius: 30px;
|
|
-border-radius: 30px;
|
|
border-radius: 30px;
|
|
position: absolute;
|
|
top: 5px;
|
|
left: 10px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
background: rgba(0,174,239,0.8);
|
|
}
|
|
#roster li .idleTime,
|
|
#bookmarks li .idleTime {
|
|
display: inline-block;
|
|
margin-left: 5px;
|
|
font-size: 12px;
|
|
color: #444;
|
|
}
|
|
#bookmarks .name {
|
|
padding: 5px 10px 5px 40px;
|
|
}
|
|
@-moz-keyframes pulsate {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@-webkit-keyframes pulsate {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@-o-keyframes pulsate {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@-ms-keyframes pulsate {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@keyframes pulsate {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
.page.chat {
|
|
padding-top: 0px;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
.conversation {
|
|
padding: 0px;
|
|
overflow: hidden;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.conversation header {
|
|
padding: 0px;
|
|
padding-left: 6px;
|
|
border-bottom: 1px solid #d6d6d6;
|
|
position: fixed;
|
|
top: 40px;
|
|
right: 0px;
|
|
left: 201px;
|
|
z-index: 10;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
background: #f7f7f7;
|
|
}
|
|
.conversation header:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 5px;
|
|
height: 6px;
|
|
width: 6px;
|
|
margin-top: -3px;
|
|
-moz-border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
-khtml-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
.conversation header.online:before,
|
|
.conversation header.chat:before {
|
|
background: #43bb6e;
|
|
}
|
|
.conversation header.dnd:before {
|
|
background: #de0a32;
|
|
}
|
|
.conversation header.away:before,
|
|
.conversation header.xa:before {
|
|
background: #f18902;
|
|
}
|
|
.conversation header.offline:before {
|
|
background: #2d2d2d;
|
|
}
|
|
.conversation header.composing:before {
|
|
animation: pulsate 1.5s infinite ease-in;
|
|
-webkit-animation: pulsate 1.5s infinite ease-in;
|
|
-moz-animation: pulsate 1.5s infinite ease-in;
|
|
}
|
|
.conversation header.paused:before,
|
|
.conversation header.idle:before {
|
|
background: #ababab;
|
|
}
|
|
.conversation header .controls {
|
|
float: right;
|
|
}
|
|
.conversation header .controls .leaveRoom {
|
|
display: none;
|
|
}
|
|
.conversation header .controls .joinRoom {
|
|
display: block;
|
|
}
|
|
.conversation header .controls button {
|
|
margin-top: 5px;
|
|
}
|
|
.conversation header .controls.joined .joinRoom {
|
|
display: none;
|
|
}
|
|
.conversation header .controls.joined .leaveRoom {
|
|
display: block;
|
|
}
|
|
.conversation header .avatar {
|
|
margin-right: 5px;
|
|
width: 30px;
|
|
height: 30px;
|
|
-moz-border-radius: 50px;
|
|
-webkit-border-radius: 50px;
|
|
-khtml-border-radius: 50px;
|
|
-o-border-radius: 50px;
|
|
-border-radius: 50px;
|
|
border-radius: 50px;
|
|
position: absolute;
|
|
top: 11px;
|
|
left: 11px;
|
|
vertical-align: top;
|
|
}
|
|
.conversation header .name,
|
|
.conversation header .call {
|
|
float: left;
|
|
}
|
|
.conversation header .name {
|
|
margin: 10px;
|
|
margin-left: 10px;
|
|
margin-right: 5px;
|
|
padding: 0px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
max-width: 50%;
|
|
}
|
|
.conversation header .status {
|
|
margin: 10px;
|
|
margin-left: 0px;
|
|
padding: 0px;
|
|
font-size: 12px;
|
|
max-width: 75%;
|
|
float: left;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.conversation header .status:not(:empty):before {
|
|
content: '- ';
|
|
}
|
|
.conversation header .tzo:not(:empty) {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 18px;
|
|
height: 20px;
|
|
margin-top: -10px;
|
|
padding: 0 5px;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
-khtml-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
-border-radius: 3px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
line-height: 20px;
|
|
color: #898989;
|
|
background: #eee;
|
|
border: 1px solid #d6d6d6;
|
|
}
|
|
.conversation header .tzo:not(:empty):before {
|
|
content: 'Current Time: ';
|
|
font-weight: bold;
|
|
}
|
|
.conversation header .call {
|
|
margin-top: 5px;
|
|
text-transform: capitalize;
|
|
}
|
|
.conversation header .activeCall {
|
|
height: 0px;
|
|
position: relative;
|
|
top: 0px;
|
|
}
|
|
.conversation header .activeCall .remote {
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 10px;
|
|
height: 50%;
|
|
}
|
|
.conversation header .activeCall .local {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
right: 10px;
|
|
height: 20%;
|
|
border: 2px solid #eee;
|
|
-webkit-transform: scaleX(-1);
|
|
-moz-transform: scaleX(-1);
|
|
-ms-transform: scaleX(-1);
|
|
transform: scaleX(-1);
|
|
}
|
|
.conversation header .activeCall .button-wrap {
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: 10px;
|
|
}
|
|
.conversation header .activeCall .button-wrap .button-group {
|
|
margin-left: 5px;
|
|
}
|
|
.conversation.onCall .activeCall {
|
|
height: 400px;
|
|
}
|
|
.messages {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
position: absolute;
|
|
width: 100%;
|
|
top: 0px;
|
|
bottom: 55px;
|
|
padding-top: 75px;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.messages li {
|
|
position: relative;
|
|
list-style: none;
|
|
padding: 10px 0;
|
|
width: 100%;
|
|
min-height: 50px;
|
|
display: table;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid #eee;
|
|
display: table-row;
|
|
}
|
|
.messages li:last-of-type {
|
|
border: none;
|
|
}
|
|
.messages li .messageAvatar {
|
|
display: inline-block;
|
|
}
|
|
.messages li .messageAvatar img {
|
|
width: 30px;
|
|
height: 30px;
|
|
-moz-border-radius: 50px;
|
|
-webkit-border-radius: 50px;
|
|
-khtml-border-radius: 50px;
|
|
-o-border-radius: 50px;
|
|
-border-radius: 50px;
|
|
border-radius: 50px;
|
|
}
|
|
.messages li .messageAvatar .name {
|
|
text-indent: -9999em;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
.messages .sender {
|
|
display: table-cell;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #565656;
|
|
padding: 5px;
|
|
text-align: right;
|
|
border-top: 1px solid #eee;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
.messages .sender .name {
|
|
padding-left: 10px;
|
|
vertical-align: middle;
|
|
}
|
|
.messages .messageWrapper {
|
|
display: table-cell;
|
|
padding: 5px;
|
|
border-top: 1px solid #eee;
|
|
width: 99%;
|
|
vertical-align: middle;
|
|
}
|
|
.messages .message {
|
|
font-size: 12px;
|
|
margin: 2px;
|
|
display: inline-block;
|
|
padding-right: 11px;
|
|
min-width: 20px;
|
|
width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.messages .message:not(.mine) {
|
|
color: #2d2d2d;
|
|
}
|
|
.messages .message.mine {
|
|
background: #fff;
|
|
}
|
|
.messages .message.mine .timestamp {
|
|
color: #bebebe;
|
|
}
|
|
.messages .message.delayed .timestamp:before {
|
|
content: '@ ';
|
|
}
|
|
.messages .message.edited .timestamp:before {
|
|
content: 'edited ';
|
|
}
|
|
.messages .message.pending {
|
|
color: #ababab;
|
|
}
|
|
.messages .message.meAction {
|
|
font-style: italic;
|
|
color: #12acef;
|
|
background-color: #e7f7fd;
|
|
padding: 2px;
|
|
padding-left: 8px;
|
|
border-radius: 2px;
|
|
}
|
|
.messages .message.meAction:before {
|
|
content: '\2022 ';
|
|
font-style: normal;
|
|
}
|
|
.messages .message.meAction .timestamp {
|
|
position: relative;
|
|
left: -10px;
|
|
font-style: normal;
|
|
color: #88d5f7;
|
|
}
|
|
.messages .message .body {
|
|
display: inline;
|
|
word-break: break-word;
|
|
}
|
|
.messages .message .body .mention {
|
|
color: #ec008c;
|
|
background-color: #fce8f1;
|
|
padding: 1px;
|
|
font-weight: bold;
|
|
border-radius: 4px;
|
|
border: 1px solid #ee7db0;
|
|
}
|
|
.messages .message .timestamp {
|
|
font-size: 10px;
|
|
color: #88d5f7;
|
|
float: right;
|
|
display: block;
|
|
}
|
|
.messages .message .sender {
|
|
display: block;
|
|
}
|
|
.chatBox {
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
bottom: 0px;
|
|
position: fixed;
|
|
right: 0px;
|
|
left: 201px;
|
|
z-index: 200;
|
|
}
|
|
.chatBox form {
|
|
background: #f7f7f7;
|
|
padding: 11px;
|
|
}
|
|
.chatBox .formwrap {
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding-right: 80px;
|
|
position: relative;
|
|
}
|
|
.chatBox textarea {
|
|
height: 30px;
|
|
padding: 6px 10px;
|
|
}
|
|
.chatBox textarea.typing:focus,
|
|
.chatBox textarea.editing:focus {
|
|
transition: none;
|
|
-webkit-transition: none;
|
|
}
|
|
.chatBox textarea.editing {
|
|
background-color: #fffcea;
|
|
border: 1px solid #efe391;
|
|
color: #d2bd2d;
|
|
}
|
|
.main > div {
|
|
padding: 20px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.main > div:last-of-type {
|
|
border: none;
|
|
}
|
|
.main > div .status {
|
|
overflow: hidden;
|
|
min-height: 35px;
|
|
max-height: 50px;
|
|
height: auto;
|
|
}
|
|
.uploadRegion {
|
|
padding: 15px;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
-khtml-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
-border-radius: 3px;
|
|
border-radius: 3px;
|
|
margin: 10px 0;
|
|
border: 1px solid #eee;
|
|
background: #fcfcfc;
|
|
}
|
|
.uploadRegion p {
|
|
margin: 0;
|
|
}
|
|
.uploadRegion img {
|
|
margin: 10px 0;
|
|
}
|
|
.aux {
|
|
background: #f7f7f7;
|
|
}
|
|
.aux header {
|
|
margin-top: 8%;
|
|
text-align: center;
|
|
}
|
|
#logo {
|
|
margin: auto;
|
|
}
|
|
.box {
|
|
position: relative;
|
|
margin: auto;
|
|
margin-top: 5%;
|
|
padding: 20px 0;
|
|
background: #fff;
|
|
width: 75%;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
-khtml-border-radius: 3px;
|
|
-o-border-radius: 3px;
|
|
-border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
.box.connect {
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
.box.connect h2 {
|
|
padding: 0;
|
|
}
|
|
.box.connect .button {
|
|
float: none;
|
|
margin-top: 20px;
|
|
}
|
|
.box .head,
|
|
.box .content {
|
|
padding: 0 20px;
|
|
}
|
|
.box .head {
|
|
margin-bottom: 20px;
|
|
border-bottom: 1px solid #f7f7f7;
|
|
}
|
|
.box input {
|
|
width: 100%;
|
|
margin-bottom: 15px;
|
|
}
|
|
.box a.button {
|
|
float: right;
|
|
}
|
|
.box h2 {
|
|
margin: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
#loginbox {
|
|
margin-bottom: 120px;
|
|
}
|
|
@media screen and (min-width: 768px) {
|
|
.box {
|
|
width: 50%;
|
|
}
|
|
}
|
|
#wrapper {
|
|
transition: all 1s;
|
|
}
|
|
#calls {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0px;
|
|
transition: all 1s;
|
|
width: 100%;
|
|
height: 80px;
|
|
z-index: 1000;
|
|
background: #ddd;
|
|
}
|
|
#calls:empty,
|
|
#calls.ending {
|
|
-webkit-transform: translateY(-80px);
|
|
-moz-transform: translateY(-80px);
|
|
-ms-transform: translateY(-80px);
|
|
transform: translateY(-80px);
|
|
}
|
|
#calls .call {
|
|
height: 80px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
#calls .call.incoming {
|
|
background: #12acef;
|
|
}
|
|
#calls .call.incoming .callTime {
|
|
display: none;
|
|
}
|
|
#calls .call.incoming .callerName:before {
|
|
content: "Incoming Call: ";
|
|
}
|
|
#calls .call.waiting {
|
|
background: #12acef;
|
|
}
|
|
#calls .call.waiting .spinner div {
|
|
background-color: #fff;
|
|
}
|
|
#calls .call.calling {
|
|
background: #12acef;
|
|
}
|
|
#calls .call.calling .callTime {
|
|
display: none;
|
|
}
|
|
#calls .call.calling .callerName:before {
|
|
content: "Calling: ";
|
|
}
|
|
#calls .call.accepted {
|
|
background: $sidebarActive;
|
|
}
|
|
#calls .call.accepted .callerName:before {
|
|
content: "On Call: ";
|
|
}
|
|
#calls .call.ending {
|
|
background: #f7f7f7;
|
|
}
|
|
#calls .call.ending .callerName:before {
|
|
content: "Call ending with: ";
|
|
}
|
|
#calls .call .callActions {
|
|
position: absolute;
|
|
left: 80px;
|
|
top: 38px;
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
#calls nav {
|
|
float: left;
|
|
}
|
|
#calls button {
|
|
min-width: auto;
|
|
background-color: rgba(255,255,255,0.3);
|
|
rgba(0,0,0,0.1)
|
|
width: 100px;
|
|
margin-right: 10px;
|
|
font-size: 16px;
|
|
color: rgba(0,0,0,0.75);
|
|
rgba(255,255,255,0.5)
|
|
float: left;
|
|
rgba(0,0,0,0.3)
|
|
}
|
|
#calls button border:top: 1pxsolid rgba(255,
|
|
#calls button 255,
|
|
#calls button 255,
|
|
#calls button 0.6) {
|
|
bottom: 1px solid rgba(0,0,0,0.1);
|
|
left: 1px solid rgba(255,255,255,0.2);
|
|
right: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
#calls button:hover {
|
|
background-color: rgba(255,255,255,0.4);
|
|
}
|
|
#calls button:active {
|
|
rgba(0,0,0,0.2)
|
|
padding-top: 11px;
|
|
padding-bottom: 9px;
|
|
}
|
|
#calls button:active border:bottom: 1pxsolid rgba(255,
|
|
#calls button:active 255,
|
|
#calls button:active 255,
|
|
#calls button:active 1) {
|
|
top: 1px solid rgba(0,0,0,0.2);
|
|
}
|
|
#calls .callerAvatar {
|
|
float: left;
|
|
width: 60px;
|
|
height: 60px;
|
|
margin: 10px;
|
|
-moz-border-radius: 30px;
|
|
-webkit-border-radius: 30px;
|
|
-khtml-border-radius: 30px;
|
|
-o-border-radius: 30px;
|
|
-border-radius: 30px;
|
|
border-radius: 30px;
|
|
}
|
|
#calls .callerName,
|
|
#calls .callTime {
|
|
font-weight: 800;
|
|
color: #fff;
|
|
rgba(0,0,0,0.7)
|
|
line-height: 1;
|
|
font-size: 16px;
|
|
}
|
|
#calls .caller {
|
|
margin: 0;
|
|
padding: 5px 0 0 0;
|
|
padding-bottom: 0px;
|
|
}
|
|
#calls .callerName {
|
|
display: inline;
|
|
}
|
|
#calls .callerNumber {
|
|
display: inline;
|
|
margin-left: 10px;
|
|
}
|
|
#calls .callTime {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 40px;
|
|
margin: 0;
|
|
}
|
|
#me {
|
|
position: fixed;
|
|
left: 200px;
|
|
top: 0px;
|
|
height: 40px;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
border-bottom: 1px solid #d6d6d6;
|
|
z-index: 100;
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
color: #fff;
|
|
}
|
|
#me .avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
vertical-align: middle;
|
|
margin-right: 5px;
|
|
-moz-border-radius: 15px;
|
|
-webkit-border-radius: 15px;
|
|
-khtml-border-radius: 15px;
|
|
-o-border-radius: 15px;
|
|
-border-radius: 15px;
|
|
border-radius: 15px;
|
|
}
|
|
#me h1 {
|
|
font-size: 13px;
|
|
line-height: 12px;
|
|
margin: 5px;
|
|
padding: 0px;
|
|
white-space: nowrap;
|
|
max-width: 75%;
|
|
}
|
|
#me .status {
|
|
font-weight: normal;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
border-width: 0px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
line-height: 20px;
|
|
height: 20px;
|
|
max-width: 75%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
transition: all 0.25s;
|
|
}
|
|
#me .status:before {
|
|
content: '-';
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
#me .status:empty {
|
|
font-style: italic;
|
|
}
|
|
#me .status:empty:before {
|
|
content: '- Update your status';
|
|
}
|
|
#me .name:focus,
|
|
#me .status:focus {
|
|
background-color: #fffcea;
|
|
border: 1px solid #efe391;
|
|
color: #d2bd2d;
|
|
}
|