xmpp.chapril.org-conversejs/converse.css

673 lines
13 KiB
CSS
Raw Normal View History

2012-10-26 20:47:41 +02:00
.hidden {
display: none
}
#chatpanel {
2013-04-01 19:10:09 +02:00
z-index: 99; /*--Keeps the panel on top of all other elements--*/
position: fixed;
bottom: 0; right: 0;
2012-10-26 20:47:41 +02:00
height: 332px;
width: auto;
}
#toggle-controlbox {
position: fixed;
2012-10-26 20:47:41 +02:00
font-size: 80%;
bottom: 0;
2012-10-26 20:47:41 +02:00
right: 0;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
background: #e3e2e2;
border: 1px solid #c3c3c3;
border-bottom: none;
2012-10-26 20:47:41 +02:00
padding: 0.25em 0.5em;
margin-right: 1em;
height: 1.1em;
}
#connecting-to-chat {
background: url(images/spinner.gif) no-repeat left;
padding-left: 1.4em;
}
2012-10-26 20:47:41 +02:00
.chat-head {
color: #ffffff;
2012-10-26 20:47:41 +02:00
margin: 0;
font-size: 100%;
2012-10-26 20:47:41 +02:00
border-top-right-radius: 4px;
border-top-left-radius: 4px;
padding: 3px 0 3px 7px;
2012-10-26 20:47:41 +02:00
}
.chat-head-chatbox {
background-color: rgb(89, 106, 114);
background-color: rgba(89, 106, 114, 1);
2012-10-26 20:47:41 +02:00
}
.chat-head-chatroom {
background-color: #2D617A;
2012-10-26 20:47:41 +02:00
}
.chatroom .chat-area {
float: left;
width: 200px;
}
.chatroom .chat {
overflow: auto;
height: 400px;
border: solid 1px #ccc;
}
.chatroom .participants {
float: left;
width: 99px;
height: 272px;
background-color: white;
overflow: auto;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
2012-10-26 20:47:41 +02:00
border-bottom-right-radius: 4px;
}
.participants ul.participant-list li {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2012-10-26 20:47:41 +02:00
display: block;
font-size: 12px;
padding: 0.5em 0 0 0.5em;
2012-10-26 20:47:41 +02:00
}
.chatroom form.sendXMPPMessage {
-webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
}
.chatroom .participant-list {
list-style: none;
}
input.new-chatroom-name {
width: 10em;
}
.chat-blink {
background-color: #176689;
border-right:1px solid #176689;
border-left:1px solid #176689;
2012-10-26 20:47:41 +02:00
}
.chat-content {
padding: 0.3em;
font-size: 13px;
color: #333333;
height:193px;
overflow-y:auto;
border:1px solid #999;
2012-10-26 20:47:41 +02:00
border-bottom: 0;
border-top: 0;
background-color: #ffffff;
line-height: 1.3em;
2012-10-26 20:47:41 +02:00
}
.chat-textarea {
border: 0;
2012-10-26 20:47:41 +02:00
height: 50px;
}
.chat-textarea-chatbox-selected {
border: 1px solid #578308;
margin:0;
2012-10-26 20:47:41 +02:00
}
.chat-textarea-chatroom-selected {
border: 2px solid #2D617A;
margin:0;
2012-10-26 20:47:41 +02:00
}
.chat-info {
color:#666666;
2012-10-26 20:47:41 +02:00
}
.chat-message-me {
font-weight: bold;
2012-10-26 20:47:41 +02:00
color: #436976;
}
.chat-message-room {
font-weight: bold;
2012-10-26 20:47:41 +02:00
color: #4B7003;
white-space: nowrap;
}
.chat-message-them {
font-weight: bold;
2012-10-26 20:47:41 +02:00
color: #F62817;
white-space: nowrap;
2013-03-27 18:50:13 +01:00
max-width: 100px;
2013-03-22 16:42:47 +01:00
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
2012-10-26 20:47:41 +02:00
}
.chat-event, .chat-date, .chat-help {
2012-10-26 20:47:41 +02:00
color: #808080;
}
.chat-date {
display: inline-block;
padding-top: 10px;
}
div#settings,
div#chatrooms,
div#login-dialog {
2013-03-28 19:50:28 +01:00
height: 272px;
2012-10-26 20:47:41 +02:00
}
p.not-implemented {
margin-top: 3em;
margin-left: 0.3em;
color: #808080;
}
div.delayed .chat-message-them {
2012-10-26 20:47:41 +02:00
color: #FB5D50;
}
div.delayed .chat-message-me {
2012-10-26 20:47:41 +02:00
color: #7EABBB;
}
.chat-message-error {
color:#76797C;
font-size:90%;
font-weight:normal;
}
.chat-head .avatar {
float: left;
margin-right: 6px;
2012-10-26 20:47:41 +02:00
}
div.chat-title {
height: 1.1em;
color: white;
font-weight: bold;
line-height: 15px;
display: block;
2012-10-26 20:47:41 +02:00
margin-top: 2px;
margin-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-shadow: rgba(0,0,0,0.51) 0 -1px 0;
2012-10-26 20:47:41 +02:00
}
.chat-head-chatbox,
.chat-head-chatroom {
background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(89,106,114,1) 100%);
height: 33px;
position: relative;
2012-10-26 20:47:41 +02:00
}
p.user-custom-message,
p.chatroom-topic {
font-size: 80%;
font-style: italic;
height: 1.3em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 0;
2012-10-26 20:47:41 +02:00
}
.activated{
display: block !important;
}
a.subscribe-to-user {
padding-left: 2em;
font-weight: bold;
}
dl.add-xmpp-contact {
margin: 0 0 0 0.5em;
padding-top: 3px;
z-index: 21;
background: url('images/add_icon.png') no-repeat 3px;
2012-10-26 20:47:41 +02:00
}
dt#xmpp-contact-search {
padding-top: 3px;
}
.fancy-dropdown a.choose-xmpp-status,
.fancy-dropdown a.add-xmpp-contact {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
padding-left: 1.5em;
width: 140px;
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
float: left;
}
#fancy-xmpp-status-select {
padding-bottom: 3px;
2012-10-26 20:47:41 +02:00
}
#fancy-xmpp-status-select a.change-xmpp-status-message {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2013-03-03 19:14:11 +01:00
background: url('images/pencil_icon.png') no-repeat right top;
2012-10-26 20:47:41 +02:00
float: right;
clear: right;
width: 1em;
height: 1em;
}
ul#found-users {
padding: 10px 0 5px 5px;
border: 0;
2012-10-26 20:47:41 +02:00
}
form.search-xmpp-contact {
margin: 0;
padding-left: 5px;
padding: 1em 0 0 5px;
background: white;
2012-10-26 20:47:41 +02:00
}
form.search-xmpp-contact input {
width: 9em;
}
.oc-chat-head {
margin: 0;
color: #FFF;
2012-10-26 20:47:41 +02:00
border-top-right-radius: 4px;
border-top-left-radius: 4px;
height: 35px;
clear: right;
background-color: #5390C8;
padding: 3px 0 0 0;
2012-10-26 20:47:41 +02:00
}
.close-chatbox-button {
cursor: pointer;
float: right;
margin-top: 0.2em;
margin-right: 0.5em;
-moz-box-shadow:inset 0 1px 0 0 #ffffff;
-webkit-box-shadow:inset 0 1px 0 0 #ffffff;
box-shadow:inset 0 1px 0 0 #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6) );
background:-moz-linear-gradient( center top, #ffffff 5%, #f6f6f6 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6');
background-color:#ffffff;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #888;
display:inline-block;
color: #666 !important;
font-family:arial;
font-size:12px;
font-weight:bold;
padding:0 4px;
text-decoration:none;
text-shadow:1px 1px 0 #ffffff;
}
.close-chatbox-button:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff) );
background:-moz-linear-gradient( center top, #f6f6f6 5%, #ffffff 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff');
background-color:#f6f6f6;
}
.close-chatbox-button:active {
position:relative;
top:1px;
}
.oc-chat-content dt {
margin: 0;
padding-top: 0.5em;
}
#xmppchat-roster dd.odd {
background-color: #DCEAC5; /* Make this difference */
}
#xmppchat-roster dd.current-xmpp-contact {
clear: both;
}
#xmppchat-roster dd.current-xmpp-contact,
#xmppchat-roster dd.current-xmpp-contact:hover {
background: url(images/user_online_panel.png) no-repeat 5px 2px;
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd.current-xmpp-contact.offline:hover,
#xmppchat-roster dd.current-xmpp-contact.unavailable:hover,
#xmppchat-roster dd.current-xmpp-contact.offline,
#xmppchat-roster dd.current-xmpp-contact.unavailable {
background: url(images/user_offline_panel.png) no-repeat 5px 2px;
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd.current-xmpp-contact.dnd,
#xmppchat-roster dd.current-xmpp-contact.dnd:hover {
background: url(images/user_busy_panel.png) no-repeat 5px 2px;
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd.current-xmpp-contact.away,
#xmppchat-roster dd.current-xmpp-contact.away:hover {
background: url(images/user_away_panel.png) no-repeat 5px 2px;
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd.requesting-xmpp-contact button{
margin-left: 0.5em;
}
#xmppchat-roster dd a,
#xmppchat-roster dd span {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
display: inline-block;
overflow: hidden;
2013-03-22 12:22:27 +01:00
white-space: nowrap;
text-overflow: ellipsis;
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd a {
margin-left: 1.5em;
width: 113px;
}
#xmppchat-roster dd span {
width: 125px;
}
2012-10-26 20:47:41 +02:00
.remove-xmpp-contact-dialog .ui-dialog-buttonpane {
border: none;
}
#xmppchat-roster {
height: 200px;
overflow-y: scroll;
width: 100%;
margin: 0;
position: relative;
top: 0;
border: none;
margin-top: 0.5em;
}
#available-chatrooms dt,
#xmppchat-roster dt {
font-weight: normal;
display: none;
font-size: 13px;
color: #666;
border: none;
padding: 0.3em 0.5em 0.3em 0.5em;
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
}
#available-chatrooms dt {
padding-top: 1em;
}
#available-chatrooms li {
display: block;
}
dd.available-chatroom,
#xmppchat-roster dd {
font-weight: bold;
border: none;
display: block;
padding: 0 0.5em 0 0.5em;
color: #3f3f3f;
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
}
#xmppchat-roster dd a.remove-xmpp-contact {
2013-03-03 19:14:11 +01:00
background: url('images/delete_icon.png') no-repeat right top;
2012-10-26 20:47:41 +02:00
padding: 0 1em 1em 0;
float: right;
width: 22px;
2012-10-26 20:47:41 +02:00
margin: 0;
}
.chatbox,
.chatroom {
box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.4);
display:none;
2012-10-26 20:47:41 +02:00
float: right;
margin-right: 15px;
2013-04-01 19:10:09 +02:00
z-index: 20; /* So that it's higher than the content actions */
2012-10-26 20:47:41 +02:00
border-radius: 4px;
}
.chatbox {
2013-03-28 10:46:43 +01:00
width: 201px;
2012-10-26 20:47:41 +02:00
}
.chatroom {
width: 300px;
2012-10-26 20:47:41 +02:00
height: 311px;
}
.oc-chat-content {
height:272px;
2012-10-26 20:47:41 +02:00
width: 199px;
padding: 0;
}
.oc-chat-content dd {
margin-left: 0;
margin-bottom: 0;
padding: 1em;
}
.oc-chat-content dd.odd {
background-color: #DCEAC5;
}
div#controlbox-panes {
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(240,240,240,1) 100%); /* FF3.6+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* IE10+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* Opera 11.10+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(240,240,240,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* Chrome10+,Safari5.1+ */
background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* W3C */
2012-10-26 20:47:41 +02:00
background-color: white;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border: 1px solid #999;
width: 199px;
}
form#xmppchat-login {
2013-04-01 19:47:52 +02:00
background: white;
padding: 2em 0 0.3em 0.5em;
}
2013-03-22 16:42:47 +01:00
form#xmppchat-login input {
display: block;
}
2012-10-26 20:47:41 +02:00
form.set-xmpp-status,
form.add-chatroom {
padding: 0.5em 0 0.3em 0.5em;
2013-04-01 19:47:52 +02:00
background: white;
2012-10-26 20:47:41 +02:00
}
2013-04-01 20:00:30 +02:00
.set-xmpp-status li {
list-style: none;
padding-left: 5px;
}
2012-10-26 20:47:41 +02:00
select#select-xmpp-status {
float: right;
margin-right: 0.5em;
}
/* @group Tabs */
.chat-head #controlbox-tabs {
text-align: center;
display: inline;
overflow: hidden;
font-size: 12px;
list-style-type: none;
2012-10-26 20:47:41 +02:00
}
/* single tab */
.chat-head #controlbox-tabs li {
float:left;
2013-04-01 18:52:52 +02:00
list-style: none;
padding-left: 0;
text-shadow: white 0 1px 0;
2013-04-01 18:52:52 +02:00
width: 40%;
2012-10-26 20:47:41 +02:00
}
ul#controlbox-tabs li a {
display:block;
font-size:12px;
height: 34px;
line-height:34px;
margin: 0;
text-align:center;
text-decoration:none;
border: 1px solid #999;
border-top-right-radius: 4px;
border-top-left-radius: 4px;
color:#666;
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
}
.chat-head #controlbox-tabs li a:hover {
color: black;
2012-10-26 20:47:41 +02:00
}
.chat-head #controlbox-tabs li a {
2013-04-01 19:47:52 +02:00
background-color: white;
box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
2012-10-26 20:47:41 +02:00
}
ul#controlbox-tabs a.current, ul#controlbox-tabs a.current:hover {
box-shadow: none;
color: #000;
2012-10-26 20:47:41 +02:00
border-bottom: 0;
height: 35px;
}
div#users,
div#chatrooms,
div#login-dialog,
2012-10-26 20:47:41 +02:00
div#settings {
border: 0;
font-size: 14px;
width: 199px;
2013-04-01 19:47:52 +02:00
background-color: white;
2012-10-26 20:47:41 +02:00
}
form.sendXMPPMessage {
background: white;
border: 1px solid #999;
padding:0.5em;
margin: 0;
position: relative;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border-top-left-radius: 0;
border-top-right-radius: 0;
2013-03-28 10:46:43 +01:00
height: 54px;
2012-10-26 20:47:41 +02:00
}
2013-04-19 20:23:45 +02:00
form#set-custom-xmpp-status {
2012-10-26 20:47:41 +02:00
float: left;
2013-04-19 20:23:45 +02:00
padding: 0;
background: none;
2012-10-26 20:47:41 +02:00
}
#set-custom-xmpp-status button {
padding: 1px 2px 1px 1px;
}
2013-04-19 20:23:45 +02:00
input.custom-xmpp-status {
width: 138px;
}
/* status dropdown styles */
2012-10-26 20:47:41 +02:00
dl.dropdown {
margin-right: 0.5em;
margin-bottom: 0;
2012-10-26 20:47:41 +02:00
}
.dropdown dd, .dropdown dt, .dropdown ul { margin:0px; padding:0px; }
.dropdown dd { position:relative; }
div.xmpp-status {
padding: 3px;
}
.fancy-dropdown {
border:1px solid #ddd;
2012-10-26 20:47:41 +02:00
height: 22px;
}
.dropdown dt a span {
cursor:pointer; display:block; padding:5px;
}
.dropdown dd ul {
list-style:none;
position:absolute; left:0; top:0;
border:1px solid #ddd;
2012-10-26 20:47:41 +02:00
border-top: 0;
width: 99%;
background-color: #FFF;
2013-04-01 19:10:09 +02:00
z-index: 21;
2012-10-26 20:47:41 +02:00
}
.dropdown dd ul li a:hover {
2012-10-26 20:47:41 +02:00
background-color: #bed6e5;
}
.dropdown span.value {
2012-10-26 20:47:41 +02:00
display:none;
}
.dropdown dd ul li a {
padding:5px 5px 5px 30px;
2012-10-26 20:47:41 +02:00
display:block;
}
.dropdown a.online {
background: url(images/user_online_panel.png) no-repeat left 3px;
2012-10-26 20:47:41 +02:00
}
.dropdown a.offline {
background: url(images/user_offline_panel.png) no-repeat left 3px;
2012-10-26 20:47:41 +02:00
}
.dropdown a.dnd {
background: url(images/user_busy_panel.png) no-repeat left 3px;
2012-10-26 20:47:41 +02:00
}
.dropdown a.away {
background: url(images/user_away_panel.png) no-repeat left 3px;
2012-10-26 20:47:41 +02:00
}