xmpp.chapril.org-conversejs/converse.css

880 lines
16 KiB
CSS
Raw Normal View History

2013-07-30 21:42:42 +02:00
/*!
* Converse.js (Web-based XMPP instant messaging client)
* http://conversejs.org
*
* Copyright (c) 2012, Jan-Carel Brand <jc@opkode.com>
* Dual licensed under the MIT and GPL Licenses
*/
2013-08-09 20:25:21 +02:00
@import url("fonticons/style.css");
2013-08-26 09:13:12 +02:00
#collective-xmpp-chat-data,
#collective-xmpp-chat-data input {
2013-08-10 09:04:13 +02:00
color: rgb(79, 79, 79);
}
2012-10-26 20:47:41 +02:00
.hidden {
display: none
}
.locked {
padding-right: 22px;
}
span.spinner {
background: url(images/spinner.gif) no-repeat center;
width: 22px;
height: 22px;
padding: 0 2px 0 2px;
display: block;
}
span.spinner.centered {
position: absolute;
top: 30%;
left: 50%;
margin: 0 0 0 -25%;
}
2013-05-09 15:00:17 +02:00
span.spinner.hor_centered {
left: 40%;
position: absolute;
}
2012-10-26 20:47:41 +02:00
#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;
font-size: 70%;
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;
padding: 1px 3px;
margin-right: 15px;
height: 16px;
2012-10-26 20:47:41 +02:00
}
#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 0 3px;
2012-10-26 20:47:41 +02:00
}
.chat-head-chatbox {
2013-08-10 09:04:13 +02:00
background-color: rgb(79, 106, 114);
background-color: rgba(79, 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-body {
height: 274px;
background-color: white;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
border-top: 0;
}
2012-10-26 20:47:41 +02:00
.chatroom .chat-area {
float: left;
width: 200px;
}
.chatroom .chat {
overflow: auto;
height: 400px;
}
.chatroom .participants {
float: left;
overflow: auto;
border-left: 1px solid #AAA;
2013-08-26 09:13:12 +02:00
max-width: 98px;
height: 274px;
background-color: white;
overflow: auto;
border-left: 1px solid #AAA;
border-bottom-right-radius: 4px;
2012-10-26 20:47:41 +02:00
}
.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;
cursor: default;
}
ul.participant-list li.moderator {
color: #FE0007;
2012-10-26 20:47:41 +02:00
}
.chatroom .participant-list {
list-style: none;
}
.chat-blink {
2013-08-10 09:04:13 +02:00
background-color: #176679;
border-right:1px solid #176679;
border-left:1px solid #176679;
2012-10-26 20:47:41 +02:00
}
.chat-content {
padding: 0.3em;
font-size: 13px;
2013-08-10 09:04:13 +02:00
color: rgb(79, 79, 79);
height:200px;
width: 192px;
overflow-y:auto;
border: 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
}
.chatroom .chat-content {
height:200px;
}
2012-10-26 20:47:41 +02:00
.chat-info {
color:#666666;
2012-10-26 20:47:41 +02:00
}
.chat-message-room,
.chat-message-them,
2012-10-26 20:47:41 +02:00
.chat-message-me {
font-weight: bold;
2012-10-26 20:47:41 +02:00
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;
float: left;
padding-right: 3px;
}
.chat-message-content {
word-wrap: break-word;
}
.chat-message-them {
color: #F62817;
}
.chat-message-me {
color: #436976;
}
.chat-message-room {
color: #4B7003;
2012-10-26 20:47:41 +02:00
}
.chat-event, .chat-date, .chat-info {
2012-10-26 20:47:41 +02:00
color: #808080;
}
li.chat-info {
padding-left: 10px;
}
.chat-date {
display: inline-block;
padding-top: 10px;
}
div#settings,
div#chatrooms,
div#login-dialog {
height: 274px;
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;
}
input.error {
border: 1px solid red;
}
2013-05-08 14:25:21 +02:00
.conn-feedback.error {
color: red;
}
2012-10-26 20:47:41 +02:00
.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 {
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;
height: 1em;
2012-10-26 20:47:41 +02:00
}
.chat-head-chatbox,
.chat-head-chatroom {
2013-08-10 09:04:13 +02:00
background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(79,106,114,1) 100%);
height: 35px;
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-converse-contact {
margin: 0 0 0 0.5em;
}
.fancy-dropdown {
border:1px solid #ddd;
height: 22px;
}
2013-08-15 20:13:50 +02:00
.fancy-dropdown a.choose-xmpp-status {
width: 155px;
}
.fancy-dropdown a.choose-xmpp-status,
.fancy-dropdown a.toggle-xmpp-contact-form {
text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2013-08-09 20:25:21 +02:00
display: inline;
}
2013-08-09 23:16:46 +02:00
.fancy-dropdown a.toggle-xmpp-contact-form span {
float: left;
}
2013-08-15 20:13:50 +02:00
.choose-xmpp-status span {
2013-08-12 20:52:30 +02:00
padding-right: 5px;
padding-left: 5px;
2013-08-15 20:13:50 +02:00
float: left;
2013-08-12 20:52:30 +02:00
}
2012-10-26 20:47:41 +02:00
#fancy-xmpp-status-select a.change-xmpp-status-message {
float: right;
clear: right;
height: 22px;
2013-08-12 20:52:30 +02:00
padding: 5px 5px 0 0;
color: rgb(79, 79, 79);
2012-10-26 20:47:41 +02:00
}
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: 0 0 5px 5px;
2012-10-26 20:47:41 +02:00
}
form.search-xmpp-contact input {
width: 8em;
2012-10-26 20:47:41 +02:00
}
.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
}
a.configure-chatroom-button,
a.close-chatbox-button {
font-size: 10px;
padding: 3px 3px 2px 3px;
margin-right: 3px;
cursor: pointer;
float: right;
2012-10-26 20:47:41 +02:00
-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');
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #888;
display:inline-block;
color: #666 !important;
text-decoration:none;
text-shadow:1px 1px 0 #ffffff;
}
a.configure-chatroom-button:active,
a.close-chatbox-button:active {
2012-10-26 20:47:41 +02:00
position:relative;
top:1px;
}
.oc-chat-content dt {
margin: 0;
padding-top: 0.5em;
}
.chatroom-form-container {
color: #666;
padding: 5px;
height: 262px;
overflow-y: auto;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
.chatroom-form {
background: white;
font-size: 12px;
padding: 10px 5px;
}
2013-05-14 22:13:05 +02:00
.chat-body p {
font-size: 14px;
color: #666;
padding: 5px;
margin: 0;
2013-05-14 22:13:05 +02:00
}
.chatroom-form legend {
font-size: 14px;
font-weight: bold;
margin-bottom: 5px;
}
.chatroom-form label {
font-weight: bold;
display: block;
clear: both;
}
.chatroom-form label input,
.chatroom-form label select {
float: right;
}
2013-04-20 10:41:10 +02:00
#converse-roster dd.odd {
2012-10-26 20:47:41 +02:00
background-color: #DCEAC5; /* Make this difference */
}
2013-04-20 10:41:10 +02:00
#converse-roster dd.current-xmpp-contact {
2012-10-26 20:47:41 +02:00
clear: both;
}
2013-08-10 09:04:13 +02:00
#converse-roster dd.current-xmpp-contact span {
font-size: 16px;
float: left;
2013-08-12 21:32:00 +02:00
color: rgb(79, 79, 79);
2012-10-26 20:47:41 +02:00
}
2013-04-20 10:41:10 +02:00
#converse-roster dd.requesting-xmpp-contact button{
2012-10-26 20:47:41 +02:00
margin-left: 0.5em;
}
2013-04-20 10:41:10 +02:00
#converse-roster dd a,
#converse-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
}
2013-08-09 23:20:50 +02:00
#converse-roster dd span {
padding: 2px 5px 0 0;
}
2013-04-20 10:41:10 +02:00
#converse-roster {
2012-10-26 20:47:41 +02:00
height: 200px;
overflow-y: auto;
2013-05-10 11:50:19 +02:00
overflow-x: hidden;
2012-10-26 20:47:41 +02:00
width: 100%;
margin: 0;
position: relative;
top: 0;
border: none;
margin-top: 0.5em;
}
#available-chatrooms dd {
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
2013-05-26 21:43:57 +02:00
width: 165px;
}
2012-10-26 20:47:41 +02:00
#available-chatrooms dt,
2013-04-20 10:41:10 +02:00
#converse-roster dt {
2012-10-26 20:47:41 +02:00
font-weight: normal;
font-size: 13px;
color: #666;
border: none;
2013-08-10 09:04:13 +02:00
padding: 0.3em 0em 0em 0.5em;
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
}
2013-05-09 09:22:54 +02:00
#converse-roster dt {
display: none;
}
2012-10-26 20:47:41 +02:00
dd.available-chatroom,
2013-04-20 10:41:10 +02:00
#converse-roster dd {
2012-10-26 20:47:41 +02:00
font-weight: bold;
border: none;
display: block;
padding: 0 0em 0 0.5em;
color: #666;
text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
2012-10-26 20:47:41 +02:00
}
.room-info {
font-size: 11px;
font-style: normal;
font-weight: normal;
}
li.room-info {
display: block;
margin-left: 5px;
}
div.room-info {
clear: left;
}
p.room-info {
margin: 0;
padding: 0;
display: block;
white-space: normal;
}
a.room-info {
width: 22px;
height: 22px;
float: right;
display: none;
clear: right;
}
a.open-room {
float: left;
white-space: nowrap;
text-overflow: ellipsis;
overflow-x: hidden;
}
dd.available-chatroom:hover a.room-info {
display: inline-block;
2013-08-12 20:52:30 +02:00
margin-top: 3px;
font-size: 15px;
}
2013-04-20 10:41:10 +02:00
#converse-roster dd a.remove-xmpp-contact {
2013-08-12 20:52:30 +02:00
line-height: 21px;
2012-10-26 20:47:41 +02:00
float: right;
width: 22px;
2012-10-26 20:47:41 +02:00
margin: 0;
display: none;
2013-08-10 09:04:13 +02:00
color: rgb(79, 79, 79);
}
#converse-roster dd:hover a.remove-xmpp-contact {
display: inline-block;
}
2013-08-09 20:25:21 +02:00
#converse-roster a.open-chat {
width: 85%;
}
#converse-roster dd:hover a.open-chat {
width: 70%;
2012-10-26 20:47:41 +02:00
}
.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;
}
2013-08-24 21:36:07 +02:00
.chatbox {
width: 200px;
}
2012-10-26 20:47:41 +02:00
.chatroom {
width: 300px;
2012-10-26 20:47:41 +02:00
}
.oc-chat-content {
height:274px;
2012-10-26 20:47:41 +02:00
padding: 0;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
2012-10-26 20:47:41 +02:00
}
.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;
width: 200px;
2012-10-26 20:47:41 +02:00
}
2013-04-20 10:41:10 +02:00
form#converse-login {
2013-04-01 19:47:52 +02:00
background: white;
padding: 2em 0 0.3em 0.5em;
}
2013-04-20 10:41:10 +02:00
form#converse-login input {
2013-03-22 16:42:47 +01:00
display: block;
2013-05-10 21:15:22 +02:00
width: 90%;
2013-03-22 16:42:47 +01:00
}
form#converse-login .login-submit {
margin-top: 1em;
2013-05-10 21:15:22 +02:00
width: auto;
}
form.set-xmpp-status {
background: none;
padding: 0.5em 0 0.5em 0.5em;
}
2012-10-26 20:47:41 +02:00
form.add-chatroom {
background: none;
padding: 3px;
}
form.add-chatroom input[type=text] {
width: 95%;
margin: 3px;
}
form.add-chatroom input[type=button],
form.add-chatroom input[type=submit] {
2013-08-12 20:52:30 +02:00
width: 48%;
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-top-right-radius: 5px;
border-top-left-radius: 5px;
2012-10-26 20:47:41 +02:00
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 4px 12px rgba(0,0,0,0.3);
border-bottom: 1px solid #CCC;
2012-10-26 20:47:41 +02:00
}
ul#controlbox-tabs a.current, ul#controlbox-tabs a.current:hover {
box-shadow: none;
2012-10-26 20:47:41 +02:00
border-bottom: 0;
height: 35px;
cursor: default;
color: rgb(102,102,102);
2012-10-26 20:47:41 +02:00
}
div#users,
div#chatrooms,
div#login-dialog,
2012-10-26 20:47:41 +02:00
div#settings {
border: 0;
font-size: 14px;
2013-04-01 19:47:52 +02:00
background-color: white;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
2013-08-26 09:30:00 +02:00
width: 100%;
2012-10-26 20:47:41 +02:00
}
div#chatrooms {
overflow-y: auto;
}
2012-10-26 20:47:41 +02:00
form.sendXMPPMessage {
background: white;
border: 0;
border-top: 1px solid #BBB;
padding: 0;
2012-10-26 20:47:41 +02:00
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;
height: 65px;
width: 200px;
}
.chatroom form.sendXMPPMessage {
-webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
height: 65px;
}
.chat-textarea {
box-sizing: border-box;
-moz-box-sizing: border-box;
border: 0;
width: 100%;
padding: 3px;
border-radius: 4px;
resize: none;
height: 65px;
}
ul.chat-toolbar {
font-size: 14px;
margin: 0;
padding: 0 5px 0 0;
float: right;
display: inline-block;
height: 20px;
}
ul.chat-toolbar li {
display: inline-block;
list-style: none;
padding: 0 3px 0 3px;
}
ul.chat-toolbar li:hover {
cursor: pointer;
color: rgb(39, 39, 39);
2012-10-26 20:47:41 +02:00
}
form#set-custom-xmpp-status {
2012-10-26 20:47:41 +02:00
float: left;
padding: 0;
2012-10-26 20:47:41 +02:00
}
.chat-textarea-chatbox-selected {
border: 1px solid #578308;
margin:0;
}
.chat-textarea-chatroom-selected {
border: 2px solid #2D617A;
margin:0;
}
2012-10-26 20:47:41 +02:00
#set-custom-xmpp-status button {
padding: 1px 2px 1px 1px;
}
2013-08-12 20:52:30 +02:00
#controlbox div.xmpp-status {
display: inline;
}
/* status dropdown styles */
.chatbox dl.dropdown {
2012-10-26 20:47:41 +02:00
margin-right: 0.5em;
margin-bottom: 0;
background-color: rgb(240, 240, 240);
2012-10-26 20:47:41 +02:00
}
.chatbox .dropdown dd, .dropdown dt, .dropdown ul { margin:0px; padding:0px; }
.chatbox .dropdown dd { position:relative; }
2012-10-26 20:47:41 +02:00
input.custom-xmpp-status {
width: 138px;
}
form.add-xmpp-contact {
background: none;
padding: 5px;
}
form.add-xmpp-contact input {
2013-08-12 21:32:00 +02:00
width: 120px;
2012-10-26 20:47:41 +02:00
}
.chatbox .dropdown dt a span {
cursor:pointer;
display:block;
2013-08-12 20:52:30 +02:00
padding: 2px 7px 0 5px;
2013-08-10 09:04:13 +02:00
color: rgb(79, 79, 79);
2012-10-26 20:47:41 +02:00
}
.chatbox .dropdown dd ul {
padding: 5px 0 5px 0;
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%;
2013-04-01 19:10:09 +02:00
z-index: 21;
background-color: rgb(240, 240, 240);
2012-10-26 20:47:41 +02:00
}
.chatbox .dropdown li {
list-style: none;
padding-left: 0;
}
.set-xmpp-status .dropdown dd ul {
z-index: 22;
2012-10-26 20:47:41 +02:00
}
.chatbox .dropdown a {
height: 22px;
2013-08-09 23:16:46 +02:00
display: inline-block;
padding-top: 2px;
2012-10-26 20:47:41 +02:00
}
2013-08-12 21:32:00 +02:00
.chatbox .dropdown dd ul a:hover {
background-color: #bed6e5;
2012-10-26 20:47:41 +02:00
}
2013-08-12 21:32:00 +02:00
.xmpp-status-menu li a {
width: 100%;
}
2013-08-12 21:32:00 +02:00
.xmpp-status-menu li a span {
padding: 0 5px 0 5px;
color: rgb(79, 79, 79);
}