Arquivos
jsxc/jsxc.css
T
2014-05-24 07:12:23 -04:00

651 linhas
11 KiB
CSS

.jsxc_online,.jsxc_chat {
border-left: 4px solid #00BFFF !important;
}
.jsxc_away,.jsxc_xa {
border-left: 4px solid orange !important;
}
.jsxc_dnd {
border-left: 4px solid red !important;
}
.jsxc_offline {
border-left: 4px solid #A4A4A4 !important;
}
.jsxc_hidden {
display: none;
}
.jsxc_invalid {
border: 2px solid red !important;
}
p.jsxc_right {
text-align: right;
}
p.jsxc_center {
text-align: center;
}
/*############################
*########## Dialog ##########
*############################*/
#jsxc_dialog {
padding: 10px;
min-width: 300px;
}
#jsxc_dialog h3 {
font-size: 120%;
font-weight: bold;
margin-bottom: 10px;
margin-top: 20px;
}
#jsxc_dialog p input {
margin-bottom: 5px;
width: 60%;
outline: none;
}
#jsxc_dialog p label {
display: block;
width: 30%;
float: left;
padding: 6px 0px;
}
#jsxc_dialog .jsxc_right {
padding-top: 10px;
}
/*############################
*########## Overall #########
*############################*/
li .jsxc_name {
overflow: hidden;
height: 30px;
cursor: pointer;
text-overflow: ellipsis;
white-space: nowrap;
}
.jsxc_avatar, ul#jsxc_buddylist li:hover .jsxc_avatar {
width: 25px;
height: 25px;
line-height: 25px;
margin-top: 2px;
margin-right: 4px;
background-color: #a3a3a3;
border-radius: 2px;
float: left;
text-align: center;
font-weight: bold;
font-size: 30px;
color: #b1b1b1;
overflow: hidden;
position: relative;
font-family: Arial;
}
.jsxc_avatar img {
display: block;
width: 25px;
height: 25px;
position: absolute;
top: 0px;
left: 0px;
}
/*############################
*########## Roster ##########
*############################*/
div#jsxc_roster {
position: fixed;
top: 0px;
bottom: 0px;
right: 0px;
width: 200px;
overflow: visible;
border-left: 4px solid #A4A4A4;
z-index: 80;
margin-left: 10px;
box-shadow: 0px 0px 7px #000000;
}
div#jsxc_roster .slimScrollDiv {
left: -4px;
margin-bottom: 30px;
z-index: 40;
}
div#jsxc_roster .jsxc_wait {
position: absolute;
top: 45px;
left: 0px;
width: 160px;
height: 100%;
padding: 20px;
background-color: #fff;
}
div#jsxc_roster .jsxc_wait img {
padding: 5px;
}
div#jsxc_roster .jsxc_wait h3 {
margin-bottom: 5px;
font-size: 1.13em;
font-weight: bold;
}
/** Input field for alias renaming */
#jsxc_roster input {
position: absolute;
left: 31px;
top: 2px;
width: 157px;
height: 22px;
padding: 2px;
border: 0px;
background-image: none;
background-color: #fff;
border-radius: 3px;
-moz-box-shadow: inset 0 0 5px #888;
-webkit-box-shadow: inset 0 0 5px #888;
box-shadow: inner 0 0 5px #888;
outline: none;
}
div#jsxc_roster p {
color: #939393;
}
div#jsxc_roster>.jsxc_bottom {
position: absolute;
left: -4px;
bottom: 0px;
height: 30px;
width: 200px;
border-left: 4px solid #A4A4A4;
border-top: 1px solid #939393;
padding-left: 0px;
background-color: #282323;
color: #939393;
cursor: pointer;
line-height: 30px;
z-index: 50;
}
div#jsxc_roster>.jsxc_bottom>div:hover {
color: #FAFAFA;
}
div#jsxc_roster>.jsxc_bottom>div>span {
cursor: pointer;
}
div#jsxc_roster>.jsxc_bottom ul {
width: 190px;
position: absolute;
bottom: 30px;
left: 0px;
display: none;
border-top: 1px solid #939393;
padding-left: 10px;
background-color: #282323;
margin: 0;
}
div#jsxc_roster>.jsxc_bottom li {
height: 30px;
background-color: #282323;
color: #939393;
cursor: pointer;
width: 180px;
padding-left: 10px;
line-height: 30px;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
div#jsxc_roster>.jsxc_bottom li:hover:not(.jsxc_disabled) {
color: #fff;
background-color: #3F8FBA;
}
div#jsxc_roster>.jsxc_bottom li.jsxc_disabled {
color: #595959;
cursor: default;
}
div#jsxc_roster>.jsxc_bottom ul li:last-child {
border-bottom: 1px solid #939393;
}
#jsxc_menu,#jsxc_avatar,#jsxc_notice {
height: 30px;
width: 30px;
}
#jsxc_avatar {
float: left;
margin: 0px 2px;
width: 25px;
}
#jsxc_menu {
cursor: pointer;
float: right;
text-align: center;
width: 25px;
}
#jsxc_menu>span {
opacity: 0.5;
display: block;
width: 25px;
height: 30px;
background-image: url('img/gear_white.svg');
background-size: 18px 18px;
background-repeat: no-repeat;
background-position: center center;
}
#jsxc_menu:hover>span {
opacity: 1;
}
#jsxc_notice {
float: right;
text-align: center;
line-height: 30px;
}
#jsxc_notice>span:empty {
display: none;
}
#jsxc_notice span {
background-color: #fbc14c;
border-radius: 11px;
color: black;
font-size: 80%;
padding: 2px;
}
#jsxc_presence {
cursor: pointer;
padding-left: 2px;
overflow: hidden;
}
/** List of all buddies inside the roster */
ul#jsxc_buddylist {
list-style: none;
padding: 0px;
margin: 0px;
width: 204px;
}
ul#jsxc_buddylist li {
padding: 0px;
margin: 0px;
height: 30px;
border-bottom: 1px solid #939393;
cursor: pointer;
width: 200px;
position: relative;
color: #939393;
font-family: Arial;
line-height: 30px;
padding-left: 3px;
z-index: 85;
}
ul#jsxc_buddylist li:hover {
color: #FAFAFA;
}
ul#jsxc_buddylist li.jsxc_oneway {
opacity: 0.7;
}
ul#jsxc_buddylist .jsxc_options {
height: 30px;
float: right;
overflow: hidden;
transition: width 2s;
width: 0px;
-webkit-transition: width .5s; /* Safari */
white-space: nowrap;
}
ul#jsxc_buddylist .jsxc_options div {
line-height: 30px;
height: 30px;
width: 20px;
cursor: pointer;
opacity: 0.7;
display: inline-block;
font-weight: bold;
text-align: center;
font-size: 17px;
overflow: hidden;
}
ul#jsxc_buddylist li[data-type="chat"]:hover .jsxc_options {
width: 50px;
}
ul#jsxc_buddylist .jsxc_options div:hover {
opacity: 1.0;
}
ul#jsxc_buddylist .jsxc_rename {
/* background-image: url('../img/edit.png'); */
/* background-repeat: no-repeat; */
/* background-position: center center; */
/* background-size: 15px 15px; */
transform: scaleX(-1);
}
ul#jsxc_buddylist .jsxc_delete {
/* text-transform: lowercase; */
/* font-weight: bold; */
/* vertical-align: middle; */
/* font-size: 17px; */
}
div#jsxc_toggleRoster {
width: 14px;
height: 100%;
position: absolute;
left: -14px !important;
top: 0px;
z-index: 110;
background-color: transparent;
cursor: pointer;
}
#jsxc_toggleRoster:hover {
background-color: #a4a4a4;
opacity: 0.5;
}
/*############################
*###### Window List #########
*############################*/
div#jsxc_windowList {
position: fixed;
bottom: 0px;
right: 0px;
width: 100%;
z-index: 50;
}
div#jsxc_windowList>ul {
list-style: none;
padding: 0px;
margin: 0px;
padding-right: 210px;
height: 30px;
overflow: visible;
}
div#jsxc_windowList>ul>li {
padding: 0px;
margin: 0px;
display: block;
float: right;
width: 200px;
background-color: #282323;
height: 30px;
position: relative;
overflow: visible;
margin-right: 5px;
box-shadow: 0px 0px 5px #000;
cursor: pointer;
}
/*############################
*######### Window ###########
*############################*/
div.jsxc_bar {
cursor: pointer;
height: 30px;
line-height: 30px;
margin-left: 2px;
color: #939393;
}
div.jsxc_bar:hover {
color: #FAFAFA;
}
div.jsxc_cycle {
position: absolute;
bottom: 9px;
right: 5px;
height: 12px;
width: 12px;
border-radius: 6px;
}
div#jsxc_windowList>ul>li.jsxc_unreadMsg .jsxc_name {
font-style: italic;
}
div#jsxc_windowList>ul>li.jsxc_unreadMsg .jsxc_cycle {
background-color: orange;
}
/** Contains text area */
div.jsxc_window {
display: none;
width: 200px;
height: 255px;
position: absolute;
bottom: 30px;
right: 0px;
background-color: #A4A4A4;
box-shadow: 0px 0px 5px #000;
z-index: 80;
cursor: default;
}
div.jsxc_window .jsxc_tools {
position: absolute;
top: 0px;
left: 0px;
width: 200px;
height: 23px;
background-color: #282323;
box-shadow: 0px 5px 5px -5px #000;
z-index: 100;
}
div.jsxc_window .jsxc_textarea {
width: 200px;
height: 200px;
overflow: hidden;
}
div.jsxc_window .slimScrollDiv {
position: absolute;
top: 22px;
left: 0px;
}
div.jsxc_chatmessage,input.jsxc_chatmessage {
margin: 5px;
border-radius: 5px !important;
padding: 3px;
width: 157px;
word-wrap: break-word;
background-color: #fff;
position: relative;
outline: none;
}
div.jsxc_chatmessage.jsxc_received {
}
div.jsxc_chatmessage.jsxc_received:before {
content: '✓';
position: absolute;
bottom: 2px;
left: 4px;
font-size: 10px;
line-height: 10px;
color: green;
}
div.jsxc_chatmessage a {
color: blue;
text-decoration: underline;
}
div.jsxc_chatmessage img {
width: 19px;
height: 19px;
}
/** incoming message */
div.jsxc_in,input.jsxc_in {
text-align: left;
margin-right: 30px;
border: 1px solid blue;
}
/** outgoing message */
div.jsxc_out,input.jsxc_out {
text-align: right;
margin-left: 30px;
border: 1px solid green !important;
}
/** system message */
div.jsxc_sys {
width: 182px;
border: 1px solid black;
}
.jsxc_window input.jsxc_textinput {
position: absolute;
top: 226px;
left: 30px;
width: 157px;
height: 16px;
margin: 0px;
line-height: 16px;
outline:none;
}
.jsxc_window .jsxc_close {
text-transform: uppercase;
color: #939393;
font-family: Arial;
font-weight: bold;
line-height: 17px;
cursor: pointer;
float: right;
padding: 3px;
}
.jsxc_window .jsxc_close:hover {
color: #FAFAFA;
}
div.jsxc_settings {
color: #939393;
font-family: Arial;
line-height: 17px;
cursor: pointer;
background-image: url('img/gear_grey.svg');
background-size: 15px 15px;
background-repeat: no-repeat;
background-position: center center;
width: 17px;
height: 17px;
display: block;
float: left;
overflow: visible;
padding: 3px;
}
div.jsxc_settings:hover,div.jsxc_settings.hover {
background-image: url('img/gear_white.svg');
}
div.jsxc_settings ul {
list-style: none;
padding: 0px;
margin: 0px;
position: absolute;
top: 23px;
left: 0px;
box-shadow: 0px 5px 5px -5px #000;
z-index: 90;
overflow: visible;
background-color: #282323;
display: none;
}
div.jsxc_settings li {
width: 170px;
margin-left: 20px;
padding-left: 10px;
height: 30px;
line-height: 30px;
}
div.jsxc_settings li:first-child {
border-top: 1px solid #ccc;
}
div.jsxc_settings li:hover:not(.jsxc_disabled){
color: #fff;
background-color: #3F8FBA;
}
div.jsxc_settings li.jsxc_disabled {
color: #595959;
cursor: default;
}
div.jsxc_transfer {
padding: 3px;
width: 17px;
height: 17px;
background-image: url('img/padlock_open_grey.svg');
background-repeat: no-repeat;
background-position: center center;
background-size: 15px 15px;
cursor: pointer;
float: left;
}
div.jsxc_transfer.jsxc_fin {
background-image: url('img/padlock_close_grey.svg');
}
div.jsxc_transfer.jsxc_enc {
background-image: url('img/padlock_close_orange.svg');
}
div.jsxc_transfer.jsxc_enc.jsxc_trust {
background-image: url('img/padlock_close_green.svg');
}
#colorbox, #cboxWrapper {
outline: none;
}