1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-10 11:35:02 -05:00
kaiwa/public/css/otalk.css
2013-09-23 10:37:02 +02:00

822 lines
14 KiB
CSS

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block;
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
display: none;
}
[hidden] {
display: none;
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
html,
button,
input,
select,
textarea {
font-family: sans-serif;
color: #222;
}
body {
margin: 0;
font-size: 1em;
line-height: 1.4;
}
a {
color: #00e;
}
a:visited {
color: #551a8b;
}
a:hover {
color: #06e;
}
a:focus {
outline: thin dotted;
}
a:hover,
a:active {
outline: 0;
}
abbr[title] {
border-bottom: 1px dotted;
}
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
dfn {
font-style: italic;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
ins {
background: #ff9;
color: #000;
text-decoration: none;
}
mark {
background: #ff0;
color: #000;
font-style: italic;
font-weight: bold;
}
pre,
code,
kbd,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
q {
quotes: none;
}
q:before,
q:after {
content: none;
}
small {
font-size: 85%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
ul,
ol {
margin: 1em 0;
padding: 0 0 0 40px;
}
dd {
margin: 0 0 0 40px;
}
nav ul,
nav ol {
list-style: none;
list-style-image: none;
margin: 0;
padding: 0;
}
img {
border: 0;
-ms-interpolation-mode: bicubic;
vertical-align: middle;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 0;
}
form {
margin: 0;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
label {
cursor: pointer;
}
legend {
border: 0;
*margin-left: -7px;
padding: 0;
white-space: normal;
}
button,
input,
select,
textarea {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle;
}
button,
input {
line-height: normal;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button;
*overflow: visible;
}
button[disabled],
input[disabled] {
cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box;
padding: 0;
*width: 13px;
*height: 13px;
}
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-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
vertical-align: top;
resize: vertical;
}
input:valid,
textarea:valid,
input:invalid,
textarea:invalid {
background-color: #f0dddd;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td {
vertical-align: top;
}
.clearfix:before,
.clearfix:after {
content: "\0020";
display: block;
height: 0;
visibility: hidden;
}
.clearfix:after {
clear: both;
}
.clearfix {
zoom: 1;
}
#menu {
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
width: 180px;
background-color: #0b1316;
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 li {
list-style-type: none;
margin: 10px 0 5px 0;
text-align: center;
}
#menu .main li:last-child {
margin: 0;
}
#menu .main li svg {
position: absolute;
top: 50%;
left: 10px;
margin-top: -13px;
fill: #fff;
}
#menu .main li a {
position: relative;
width: 120px;
}
#menu .main li .button {
background: #1f2d49;
}
#menu .main li .button:hover {
background: #2b3f65;
}
#menu h1 {
font-size: 12px;
margin: 0;
padding: 20px 15px 10px 15px;
color: #fff;
text-transform: uppercase;
}
#roster li,
#bookmarks li {
list-style-type: none;
padding: 7px 10px;
margin: 0px;
position: relative;
min-height: 15px;
font-size: 12px;
color: #fff;
cursor: pointer;
-webkit-transition: all 0.3s ease-in 0;
-o-transition: all 0.3s ease-in 0;
transition: all 0.3s ease-in 0;
-moz-transition: all 0.3s ease-in 0;
-webkit-transition: all 0.3s ease-in 0;
-moz-transition: all 0.3s ease-in 0;
}
#roster li:nth-child(2n),
#bookmarks li:nth-child(2n) {
background: #111e23;
}
#roster li:hover,
#bookmarks li:hover {
background: #00aeef;
}
#roster li.hasUnread .unread,
#bookmarks li.hasUnread .unread {
display: block;
}
#roster li.online,
#bookmarks li.online,
#roster li.chat,
#bookmarks li.chat {
border-left: 3px solid #427a00;
}
#roster li.dnd,
#bookmarks li.dnd {
border-left: 3px solid #c50041;
}
#roster li.away,
#bookmarks li.away,
#roster li.xa,
#bookmarks li.xa {
border-left: 3px solid #f57900;
}
#roster li.offline,
#bookmarks li.offline {
border-left: none;
}
#roster li.offline:not(:hover) .name,
#bookmarks li.offline:not(:hover) .name {
color: #b7b7b7;
}
#roster li.offline:not(:hover) img,
#bookmarks li.offline:not(:hover) img {
opacity: 0.25;
}
#roster li.offline:not(:hover) .status,
#bookmarks li.offline:not(:hover) .status {
color: #777;
}
#roster li.activeContact,
#bookmarks li.activeContact,
#roster li.offline.activeContact,
#bookmarks li.offline.activeContact {
background: #fff;
font-weight: bold;
}
#roster li.activeContact .name,
#bookmarks li.activeContact .name,
#roster li.offline.activeContact .name,
#bookmarks li.offline.activeContact .name {
color: #565656;
}
#roster li.composing,
#bookmarks li.composing {
border-right: 4px solid #ffa500;
}
#roster li.paused,
#bookmarks li.paused {
border-right: 4px solid #666;
}
#roster li img,
#bookmarks li img {
opacity: 1;
}
#roster li .avatar,
#bookmarks li .avatar {
vertical-align: top;
margin-right: 5px;
margin-top: -10px;
position: absolute;
left: 10px;
top: 50%;
width: 20px;
height: 20px;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
-khtml-border-radius: 30px;
-o-border-radius: 30px;
-border-radius: 30px;
border-radius: 30px;
-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 .name,
#bookmarks li .name {
margin-left: 30px;
line-height: 20px;
color: #fff;
text-overflow: ellipsis;
overflow: hidden;
width: 70%;
}
#roster li .status,
#bookmarks li .status {
color: #b7b7b7;
font-size: $fontSmall-2px;
margin: 0;
margin-left: 30px;
}
#roster li .status:not(:empty),
#bookmarks li .status:not(:empty) {
margin-top: -5px;
}
#roster li .unread,
#bookmarks li .unread {
display: none;
color: #fff;
padding: 0 5px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-khtml-border-radius: 20px;
-o-border-radius: 20px;
-border-radius: 20px;
border-radius: 20px;
position: absolute;
top: 10px;
right: 15px;
text-align: center;
font-weight: bold;
background: #00aeef;
}
.page.chat {
padding-top: 0px;
height: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.conversation {
position: relative;
bottom: 0px;
left: 0px;
right: 0px;
padding: 0px;
height: 100%;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.conversation header {
padding: 5px;
border-bottom: 2px solid #e4e4e4;
position: fixed;
right: 0px;
left: 181px;
z-index: 10;
font-size: 14px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #f7f7f7;
color: #222;
}
.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 {
margin: 15px;
padding: 0px;
margin-left: 45px;
font-size: 14px;
line-height: 14px;
}
.messages {
background: #f7fdff;
font-weight: normal;
margin: 0px;
padding: 0px;
padding-top: 130px;
overflow-y: auto;
overflow-x: hidden;
position: relative;
bottom: 75px;
width: 100%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.messages li {
position: relative;
z-index: 1;
list-style: none;
margin: 0px;
padding: 0px;
width: 100%;
display: block;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.messages li:last-child .message {
border: none;
}
.messages .message {
font-size: 12px;
margin: 0px;
padding: 7px 11px;
display: inline-block;
padding-right: 11px;
min-width: 20px;
width: 100%;
border-bottom: 1px solid #e4f8ff;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.messages .message.mine {
background: #fff;
border-bottom: 1px solid #e7e7e7;
}
.messages .message.mine .timestamp {
color: #b6b6b6;
}
.messages .message.delayed .timestamp:before {
content: '@ ';
}
.messages .message.edited .timestamp:before {
content: 'edited ';
}
.messages .message .body {
display: inline;
word-break: break-word;
padding: 0px;
margin: 0px;
color: #111;
}
.messages .message .timestamp {
font-size: 10px;
font-weight: bold;
color: #78daff;
float: right;
display: block;
}
.chatBox {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-top: 1px solid #e4e4e4;
bottom: 0px;
position: fixed;
right: 0px;
left: 181px;
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 {
background-color: #fff;
width: 100%;
height: 30px;
border: 1px solid #e4e4e4;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-o-border-radius: 3px;
-border-radius: 3px;
border-radius: 3px;
line-height: 18px;
outline: none;
resize: none;
color: #222f3b;
font-size: 14px;
-webkit-font-smoothing: antialiased;
-webkit-appearance: none;
padding: 5px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.chatBox textarea.editing {
background-color: #ff0;
}
#connectionOverlay {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.5);
z-index: 1000;
-webkit-transition: all 0.25s linear 0;
-o-transition: all 0.25s linear 0;
transition: all 0.25s linear 0;
-moz-transition: all 0.25s linear 0;
}
#connectionOverlay.connected {
height: 0px;
}
#connectionOverlay.connected #connectionStatus {
top: -51px;
}
#connectionStatus {
height: 50px;
line-height: 50px;
top: 0px;
position: fixed;
background-color: #333;
width: 100%;
z-index: 100;
text-align: center;
}
#connectionStatus span.message {
display: inline-block;
padding: 0px 10px;
font-weight: bold;
font-size: 20px;
color: #fff;
}
#connectionStatus button {
padding: 5px 8px;
position: relative;
top: -3px;
}
body {
background: #fff;
color: #565656;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal;
font-size: 16px;
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
color: #3c3c3c;
}
#pages {
position: absolute;
top: 0px;
right: 0px;
left: 181px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.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 .head,
.box .content {
padding: 0 20px;
}
.box .head {
margin-bottom: 20px;
border-bottom: 1px solid #f2f2f2;
}
.box input {
width: 100%;
margin-bottom: 15px;
}
.box a.button {
float: right;
}
.box h2 {
margin: 0;
padding-bottom: 20px;
}
@media screen and (min-width: 768px) {
.box {
width: 50%;
}
}
input[type=text],
input[type=email],
input[type=search],
input[type=password],
textarea {
-webkit-appearance: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-o-border-radius: 3px;
-border-radius: 3px;
border-radius: 3px;
padding: 0 10px;
background: #fff;
border: 1px solid #e4e4e4;
font-size: 12px;
color: #565656;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal;
-webkit-transition: border 0.2s ease-in 0;
-o-transition: border 0.2s ease-in 0;
transition: border 0.2s ease-in 0;
-moz-transition: border 0.2s ease-in 0;
-webkit-transition: border 0.2s ease-in 0;
-moz-transition: border 0.2s ease-in 0;
}
input[type=text],
input[type=email],
input[type=search],
input[type=password] {
height: 35px;
}
textarea {
resize: none;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
input[type=password]:focus,
textarea:focus {
outline: none;
border: 1px solid #78daff;
}
label {
display: block;
margin-bottom: 5px;
font-size: 13px;
font-weight: bold;
color: #565656;
}
a.button {
line-height: 35px;
}
button,
a.button {
display: inline-block;
font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
font-style: normal;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-o-border-radius: 3px;
-border-radius: 3px;
border-radius: 3px;
border: none;
height: 35px;
min-width: 80px;
padding: 0 1em;
color: #fff;
background: #00aeef;
font-size: 12px;
font-weight: bold;
text-decoration: none;
text-align: center;
cursor: pointer;
}
button:hover,
a.button:hover {
background: #007aa7;
}