Commit f4856e06 authored by JC Brand's avatar JC Brand

Prefix all CSS styles with #conversejs. Updates #130

Also fix some margins/padding that do wonky when the Github theme stylesheets
aren't available.
parent 1dff3ac0
...@@ -37,7 +37,93 @@ Instead of a list of all class selectors, ...@@ -37,7 +37,93 @@ Instead of a list of all class selectors,
you can use the generic selector below, but it's slower: you can use the generic selector below, but it's slower:
[class*="icon-"] { [class*="icon-"] {
*/ */
.icon-home, .icon-pencil, .icon-camera, .icon-camera-2, .icon-play, .icon-music, .icon-headphones, .icon-phone, .icon-phone-hang-up, .icon-address-book, .icon-notebook, .icon-envelop, .icon-pushpin, .icon-online, .icon-away, .icon-xa, .icon-bubbles, .icon-bubbles-2, .icon-bubbles-3, .icon-user, .icon-users, .icon-quotes-left, .icon-spinner, .icon-search, .icon-cogs, .icon-wrench, .icon-unlocked, .icon-lock, .icon-lock-2, .icon-key, .icon-key-2, .icon-zoom-out, .icon-zoom-in, .icon-cog, .icon-remove, .icon-remove-2, .icon-eye, .icon-eye-blocked, .icon-attachment, .icon-globe, .icon-heart, .icon-happy, .icon-thumbs-up, .icon-smiley, .icon-tongue, .icon-sad, .icon-wink, .icon-wondering, .icon-confused, .icon-shocked, .icon-evil, .icon-angry, .icon-cool, .icon-grin, .icon-info, .icon-notification, .icon-warning, .icon-spell-check, .icon-volume-high, .icon-volume-medium, .icon-volume-low, .icon-volume-mute, .icon-volume-mute-2, .icon-volume-decrease, .icon-volume-increase, .icon-bold, .icon-underline, .icon-italic, .icon-strikethrough, .icon-new-tab, .icon-youtube, .icon-close, .icon-blocked, .icon-cancel-circle, .icon-minus, .icon-plus, .icon-checkbox-checked, .icon-checkbox-unchecked, .icon-checkbox-partial, .icon-radio-checked, .icon-radio-unchecked, .icon-room-info, .icon-newspaper, .icon-image, .icon-offline, .icon-unavailable, .icon-dnd { #conversejs .icon-home,
#conversejs .icon-pencil,
#conversejs .icon-camera,
#conversejs .icon-camera-2,
#conversejs .icon-play,
#conversejs .icon-music,
#conversejs .icon-headphones,
#conversejs .icon-phone,
#conversejs .icon-phone-hang-up,
#conversejs .icon-address-book,
#conversejs .icon-notebook,
#conversejs .icon-envelop,
#conversejs .icon-pushpin,
#conversejs .icon-online,
#conversejs .icon-away,
#conversejs .icon-xa,
#conversejs .icon-bubbles,
#conversejs .icon-bubbles-2,
#conversejs .icon-bubbles-3,
#conversejs .icon-user,
#conversejs .icon-users,
#conversejs .icon-quotes-left,
#conversejs .icon-spinner,
#conversejs .icon-search,
#conversejs .icon-cogs,
#conversejs .icon-wrench,
#conversejs .icon-unlocked,
#conversejs .icon-lock,
#conversejs .icon-lock-2,
#conversejs .icon-key,
#conversejs .icon-key-2,
#conversejs .icon-zoom-out,
#conversejs .icon-zoom-in,
#conversejs .icon-cog,
#conversejs .icon-remove,
#conversejs .icon-remove-2,
#conversejs .icon-eye,
#conversejs .icon-eye-blocked,
#conversejs .icon-attachment,
#conversejs .icon-globe,
#conversejs .icon-heart,
#conversejs .icon-happy,
#conversejs .icon-thumbs-up,
#conversejs .icon-smiley,
#conversejs .icon-tongue,
#conversejs .icon-sad,
#conversejs .icon-wink,
#conversejs .icon-wondering,
#conversejs .icon-confused,
#conversejs .icon-shocked,
#conversejs .icon-evil,
#conversejs .icon-angry,
#conversejs .icon-cool,
#conversejs .icon-grin,
#conversejs .icon-info,
#conversejs .icon-notification,
#conversejs .icon-warning,
#conversejs .icon-spell-check,
#conversejs .icon-volume-high,
#conversejs .icon-volume-medium,
#conversejs .icon-volume-low,
#conversejs .icon-volume-mute,
#conversejs .icon-volume-mute-2,
#conversejs .icon-volume-decrease,
#conversejs .icon-volume-increase,
#conversejs .icon-bold,
#conversejs .icon-underline,
#conversejs .icon-italic,
#conversejs .icon-strikethrough,
#conversejs .icon-new-tab,
#conversejs .icon-youtube,
#conversejs .icon-close,
#conversejs .icon-blocked,
#conversejs .icon-cancel-circle,
#conversejs .icon-minus,
#conversejs .icon-plus,
#conversejs .icon-checkbox-checked,
#conversejs .icon-checkbox-unchecked,
#conversejs .icon-checkbox-partial,
#conversejs .icon-radio-checked,
#conversejs .icon-radio-unchecked,
#conversejs .icon-room-info,
#conversejs .icon-newspaper,
#conversejs .icon-image,
#conversejs .icon-offline,
#conversejs .icon-unavailable,
#conversejs .icon-dnd {
font-family: 'Converse-js'; font-family: 'Converse-js';
speak: none; speak: none;
font-style: normal; font-style: normal;
...@@ -47,265 +133,265 @@ you can use the generic selector below, but it's slower: ...@@ -47,265 +133,265 @@ you can use the generic selector below, but it's slower:
line-height: 1; line-height: 1;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
.icon-home:before { #conversejs .icon-home:before {
content: "\e000"; content: "\e000";
} }
.icon-pencil:before { #conversejs .icon-pencil:before {
content: "\270e"; content: "\270e";
} }
.icon-camera:before { #conversejs .icon-camera:before {
content: "\e003"; content: "\e003";
} }
.icon-camera-2:before { #conversejs .icon-camera-2:before {
content: "\2616"; content: "\2616";
} }
.icon-play:before { #conversejs .icon-play:before {
content: "\25d9"; content: "\25d9";
} }
.icon-music:before { #conversejs .icon-music:before {
content: "\266b"; content: "\266b";
} }
.icon-headphones:before { #conversejs .icon-headphones:before {
content: "\266c"; content: "\266c";
} }
.icon-phone:before { #conversejs .icon-phone:before {
content: "\260f"; content: "\260f";
} }
.icon-phone-hang-up:before { #conversejs .icon-phone-hang-up:before {
content: "\260e"; content: "\260e";
} }
.icon-address-book:before { #conversejs .icon-address-book:before {
content: "\270f"; content: "\270f";
} }
.icon-notebook:before { #conversejs .icon-notebook:before {
content: "\2710"; content: "\2710";
} }
.icon-envelop:before { #conversejs .icon-envelop:before {
content: "\2709"; content: "\2709";
} }
.icon-pushpin:before { #conversejs .icon-pushpin:before {
content: "\e012"; content: "\e012";
} }
.icon-online:before { #conversejs .icon-online:before {
content: "\25fc"; content: "\25fc";
} }
.icon-away:before { #conversejs .icon-away:before {
content: "\25fb"; content: "\25fb";
} }
.icon-bubbles:before { #conversejs .icon-bubbles:before {
content: "\e015"; content: "\e015";
} }
.icon-bubbles-2:before { #conversejs .icon-bubbles-2:before {
content: "\e016"; content: "\e016";
} }
.icon-bubbles-3:before { #conversejs .icon-bubbles-3:before {
content: "\e017"; content: "\e017";
} }
.icon-user:before { #conversejs .icon-user:before {
content: "\e01a"; content: "\e01a";
} }
.icon-users:before { #conversejs .icon-users:before {
content: "\e01b"; content: "\e01b";
} }
.icon-quotes-left:before { #conversejs .icon-quotes-left:before {
content: "\e01d"; content: "\e01d";
} }
.icon-spinner:before { #conversejs .icon-spinner:before {
content: "\231b"; content: "\231b";
} }
.icon-search:before { #conversejs .icon-search:before {
content: "\e021"; content: "\e021";
} }
.icon-cogs:before { #conversejs .icon-cogs:before {
content: "\e022"; content: "\e022";
} }
.icon-wrench:before { #conversejs .icon-wrench:before {
content: "\e024"; content: "\e024";
} }
.icon-unlocked:before { #conversejs .icon-unlocked:before {
content: "\e025"; content: "\e025";
} }
.icon-lock:before { #conversejs .icon-lock:before {
content: "\e026"; content: "\e026";
} }
.icon-lock-2:before { #conversejs .icon-lock-2:before {
content: "\e027"; content: "\e027";
} }
.icon-key:before { #conversejs .icon-key:before {
content: "\e028"; content: "\e028";
} }
.icon-key-2:before { #conversejs .icon-key-2:before {
content: "\e029"; content: "\e029";
} }
.icon-zoom-out:before { #conversejs .icon-zoom-out:before {
content: "\e02a"; content: "\e02a";
} }
.icon-zoom-in:before { #conversejs .icon-zoom-in:before {
content: "\e02b"; content: "\e02b";
} }
.icon-cog:before { #conversejs .icon-cog:before {
content: "\e02f"; content: "\e02f";
} }
.icon-remove:before { #conversejs .icon-remove:before {
content: "\e02d"; content: "\e02d";
} }
.icon-remove-2:before { #conversejs .icon-remove-2:before {
content: "\e02e"; content: "\e02e";
} }
.icon-eye:before { #conversejs .icon-eye:before {
content: "\e030"; content: "\e030";
} }
.icon-eye-blocked:before { #conversejs .icon-eye-blocked:before {
content: "\e031"; content: "\e031";
} }
.icon-attachment:before { #conversejs .icon-attachment:before {
content: "\e032"; content: "\e032";
} }
.icon-globe:before { #conversejs .icon-globe:before {
content: "\e033"; content: "\e033";
} }
.icon-heart:before { #conversejs .icon-heart:before {
content: "\2764"; content: "\2764";
} }
.icon-happy:before { #conversejs .icon-happy:before {
content: "\263b"; content: "\263b";
} }
.icon-thumbs-up:before { #conversejs .icon-thumbs-up:before {
content: "\261d"; content: "\261d";
} }
.icon-smiley:before { #conversejs .icon-smiley:before {
content: "\263a"; content: "\263a";
} }
.icon-tongue:before { #conversejs .icon-tongue:before {
content: "\e038"; content: "\e038";
} }
.icon-sad:before { #conversejs .icon-sad:before {
content: "\2639"; content: "\2639";
} }
.icon-wink:before { #conversejs .icon-wink:before {
content: "\e03a"; content: "\e03a";
} }
.icon-wondering:before { #conversejs .icon-wondering:before {
content: "\2369"; content: "\2369";
} }
.icon-confused:before { #conversejs .icon-confused:before {
content: "\2368"; content: "\2368";
} }
.icon-shocked:before { #conversejs .icon-shocked:before {
content: "\2364"; content: "\2364";
} }
.icon-evil:before { #conversejs .icon-evil:before {
content: "\261f"; content: "\261f";
} }
.icon-angry:before { #conversejs .icon-angry:before {
content: "\e03f"; content: "\e03f";
} }
.icon-cool:before { #conversejs .icon-cool:before {
content: "\e040"; content: "\e040";
} }
.icon-grin:before { #conversejs .icon-grin:before {
content: "\e041"; content: "\e041";
} }
.icon-info:before { #conversejs .icon-info:before {
content: "\2360"; content: "\2360";
} }
.icon-notification:before { #conversejs .icon-notification:before {
content: "\e01f"; content: "\e01f";
} }
.icon-warning:before { #conversejs .icon-warning:before {
content: "\26a0"; content: "\26a0";
} }
.icon-spell-check:before { #conversejs .icon-spell-check:before {
content: "\e045"; content: "\e045";
} }
.icon-volume-high:before { #conversejs .icon-volume-high:before {
content: "\e046"; content: "\e046";
} }
.icon-volume-medium:before { #conversejs .icon-volume-medium:before {
content: "\e047"; content: "\e047";
} }
.icon-volume-low:before { #conversejs .icon-volume-low:before {
content: "\e048"; content: "\e048";
} }
.icon-volume-mute:before { #conversejs .icon-volume-mute:before {
content: "\e049"; content: "\e049";
} }
.icon-volume-mute-2:before { #conversejs .icon-volume-mute-2:before {
content: "\e04a"; content: "\e04a";
} }
.icon-volume-decrease:before { #conversejs .icon-volume-decrease:before {
content: "\e04b"; content: "\e04b";
} }
.icon-volume-increase:before { #conversejs .icon-volume-increase:before {
content: "\e04c"; content: "\e04c";
} }
.icon-bold:before { #conversejs .icon-bold:before {
content: "\e04d"; content: "\e04d";
} }
.icon-underline:before { #conversejs .icon-underline:before {
content: "\e04e"; content: "\e04e";
} }
.icon-italic:before { #conversejs .icon-italic:before {
content: "\e04f"; content: "\e04f";
} }
.icon-strikethrough:before { #conversejs .icon-strikethrough:before {
content: "\e050"; content: "\e050";
} }
.icon-new-tab:before { #conversejs .icon-new-tab:before {
content: "\e053"; content: "\e053";
} }
.icon-youtube:before { #conversejs .icon-youtube:before {
content: "\e055"; content: "\e055";
} }
.icon-close:before { #conversejs .icon-close:before {
content: "\2715"; content: "\2715";
} }
.icon-blocked:before { #conversejs .icon-blocked:before {
content: "\2718"; content: "\2718";
} }
.icon-cancel-circle:before { #conversejs .icon-cancel-circle:before {
content: "\e058"; content: "\e058";
} }
.icon-minus:before { #conversejs .icon-minus:before {
content: "\e05a"; content: "\e05a";
} }
.icon-plus:before { #conversejs .icon-plus:before {
content: "\271a"; content: "\271a";
} }
.icon-checkbox-checked:before { #conversejs .icon-checkbox-checked:before {
content: "\2611"; content: "\2611";
} }
.icon-checkbox-unchecked:before { #conversejs .icon-checkbox-unchecked:before {
content: "\2b27"; content: "\2b27";
} }
.icon-checkbox-partial:before { #conversejs .icon-checkbox-partial:before {
content: "\2b28"; content: "\2b28";
} }
.icon-radio-checked:before { #conversejs .icon-radio-checked:before {
content: "\2b26"; content: "\2b26";
} }
.icon-radio-unchecked:before { #conversejs .icon-radio-unchecked:before {
content: "\2b25"; content: "\2b25";
} }
.icon-room-info:before { #conversejs .icon-room-info:before {
content: "\e059"; content: "\e059";
} }
.icon-newspaper:before { #conversejs .icon-newspaper:before {
content: "\e001"; content: "\e001";
} }
.icon-image:before { #conversejs .icon-image:before {
content: "\2b14"; content: "\2b14";
} }
.icon-xa:before, #conversejs .icon-xa:before,
.icon-unavailable:before, #conversejs .icon-unavailable:before,
.icon-offline:before { #conversejs .icon-offline:before {
content: "\e002"; content: "\e002";
} }
.icon-dnd:before { #conversejs .icon-dnd:before {
content: "\e004"; content: "\e004";
} }
.no-text-select { #conversejs .no-text-select {
-webkit-touch-callout: none; -webkit-touch-callout: none;
-webkit-user-select: none; -webkit-user-select: none;
-khtml-user-select: none; -khtml-user-select: none;
...@@ -314,20 +400,50 @@ you can use the generic selector below, but it's slower: ...@@ -314,20 +400,50 @@ you can use the generic selector below, but it's slower:
user-select: none; user-select: none;
} }
#conversejs, #conversejs input { #conversejs {
bottom: 1px;
direction: ltr;
height: 25px;
left: 0;
position: fixed;
right: 0;
z-index: 30;
display: block;
}
#conversejs,
#conversejs input {
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
#conversejs a {
text-decoration: none;
}
#conversejs ol,
#conversejs ul {
list-style: none;
}
#conversejs ul,
#conversejs ol,
#conversejs dl {
border: 0;
font: inherit;
margin: 0 0 15px 0;
padding: 0;
vertical-align: baseline;
}
#conversejs .emoticon { #conversejs .emoticon {
font-size: 14px; font-size: 14px;
} }
.hidden { #conversejs .hidden {
display: none display: none
} }
.locked { #conversejs .locked {
padding-right: 22px; padding-right: 22px;
} }
...@@ -347,7 +463,7 @@ span.spinner.hor_centered { ...@@ -347,7 +463,7 @@ span.spinner.hor_centered {
text-align: center; text-align: center;
} }
#toggle-controlbox { #conversejs #toggle-controlbox {
float: right; float: right;
font-size: 85%; font-size: 85%;
border-top-right-radius: 4px; border-top-right-radius: 4px;
...@@ -358,12 +474,12 @@ span.spinner.hor_centered { ...@@ -358,12 +474,12 @@ span.spinner.hor_centered {
color: white; color: white;
} }
#connecting-to-chat { #conversejs #connecting-to-chat {
background: url(images/spinner.gif) no-repeat left; background: url(images/spinner.gif) no-repeat left;
padding-left: 1.4em; padding-left: 1.4em;
} }
.chat-head { #conversejs .chat-head {
color: #ffffff; color: #ffffff;
margin: 0; margin: 0;
font-size: 100%; font-size: 100%;
...@@ -372,41 +488,41 @@ span.spinner.hor_centered { ...@@ -372,41 +488,41 @@ span.spinner.hor_centered {
padding: 3px 0 0 3px; padding: 3px 0 0 3px;
} }
.chat-head-chatbox { #conversejs .chat-head-chatbox {
background-color: rgb(79, 106, 114); background-color: rgb(79, 106, 114);
background-color: rgba(79, 106, 114, 1); background-color: rgba(79, 106, 114, 1);
} }
.chat-head-chatroom { #conversejs .chat-head-chatroom {
background-color: #2D617A; background-color: #2D617A;
} }
.chat-body { #conversejs .chat-body {
background-color: white; background-color: white;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
border-top: 0; border-top: 0;
} }
.chatbox .chat-body { #conversejs .chatbox .chat-body {
height: -moz-calc(100% - 38px); height: -moz-calc(100% - 38px);
height: -o-calc(100% - 38px); height: -o-calc(100% - 38px);
height: calc(100% - 38px); height: calc(100% - 38px);
} }
.chatroom .chat-body { #conversejs .chatroom .chat-body {
height: -moz-calc(100% - 38px); height: -moz-calc(100% - 38px);
height: -o-calc(100% - 38px); height: -o-calc(100% - 38px);
height: calc(100% - 38px); height: calc(100% - 38px);
} }
.chatroom .chat-area { #conversejs .chatroom .chat-area {
float: left; float: left;
width: 200px; width: 200px;
height: 100%; height: 100%;
} }
.chatroom .participants { #conversejs .chatroom .participants {
float: left; float: left;
height: 100%; height: 100%;
background-color: white; background-color: white;
...@@ -416,7 +532,7 @@ span.spinner.hor_centered { ...@@ -416,7 +532,7 @@ span.spinner.hor_centered {
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
} }
.participants ul.participant-list li { #conversejs .participants ul.participant-list li {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
...@@ -427,21 +543,21 @@ span.spinner.hor_centered { ...@@ -427,21 +543,21 @@ span.spinner.hor_centered {
cursor: default; cursor: default;
} }
ul.participant-list li.moderator { #conversejs ul.participant-list li.moderator {
color: #8f2831; color: #8f2831;
} }
.chatroom .participant-list { #conversejs .chatroom .participant-list {
list-style: none; list-style: none;
} }
.chat-blink { #conversejs .chat-blink {
background-color: #176679; background-color: #176679;
border-right:1px solid #176679; border-right:1px solid #176679;
border-left:1px solid #176679; border-left:1px solid #176679;
} }
.chat-content { #conversejs .chat-content {
position: relative; position: relative;
padding: 4px; padding: 4px;
font-size: 13px; font-size: 13px;
...@@ -454,22 +570,22 @@ ul.participant-list li.moderator { ...@@ -454,22 +570,22 @@ ul.participant-list li.moderator {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
} }
.chat-content { #conversejs .chat-content {
height: -moz-calc(100% - 76px); height: -moz-calc(100% - 76px);
height: -o-calc(100% - 76px); height: -o-calc(100% - 76px);
height: calc(100% - 76px); height: calc(100% - 76px);
} }
.chat-info { #conversejs .chat-info {
color: #666666; color: #666666;
} }
.chat-error { #conversejs .chat-error {
color: #8f2831; color: #8f2831;
} }
.chat-message-room, #conversejs .chat-message-room,
.chat-message-them, #conversejs .chat-message-them,
.chat-message-me { #conversejs .chat-message-me {
font-weight: bold; font-weight: bold;
white-space: nowrap; white-space: nowrap;
max-width: 100px; max-width: 100px;
...@@ -480,46 +596,48 @@ ul.participant-list li.moderator { ...@@ -480,46 +596,48 @@ ul.participant-list li.moderator {
padding-right: 3px; padding-right: 3px;
} }
.chat-message-content { #conversejs .chat-message-content {
word-wrap: break-word; word-wrap: break-word;
} }
.chat-message-them { #conversejs .chat-message-them {
color: #8f2831; color: #8f2831;
} }
.chat-message-me { #conversejs .chat-message-me {
color: #436976; color: #436976;
} }
.chat-message-room { #conversejs .chat-message-room {
color: #4B7003; color: #4B7003;
} }
.chat-event, .chat-date, .chat-info { #conversejs .chat-event,
#conversejs .chat-date,
#conversejs .chat-info {
color: #808080; color: #808080;
} }
li.chat-info { #conversejs li.chat-info {
padding-left: 10px; padding-left: 10px;
} }
.chat-date { #conversejs .chat-date {
display: inline-block; display: inline-block;
padding-top: 10px; padding-top: 10px;
} }
p.not-implemented { #conversejs p.not-implemented {
margin-top: 3em; margin-top: 3em;
margin-left: 0.3em; margin-left: 0.3em;
color: #808080; color: #808080;
} }
div.delayed .chat-message-them { #conversejs div.delayed .chat-message-them {
color: #FB5D50; color: #FB5D50;
} }
div.delayed .chat-message-me { #conversejs div.delayed .chat-message-me {
color: #7EABBB; color: #7EABBB;
} }
...@@ -527,22 +645,22 @@ input.error { ...@@ -527,22 +645,22 @@ input.error {
border: 1px solid red; border: 1px solid red;
} }
.conn-feedback.error { #conversejs .conn-feedback.error {
color: red; color: red;
} }
.chat-message-error { #conversejs .chat-message-error {
color:#76797C; color:#76797C;
font-size:90%; font-size:90%;
font-weight:normal; font-weight:normal;
} }
.chat-head .avatar { #conversejs .chat-head .avatar {
float: left; float: left;
margin-right: 6px; margin-right: 6px;
} }
div.chat-title { #conversejs div.chat-title {
color: white; color: white;
font-weight: bold; font-weight: bold;
line-height: 15px; line-height: 15px;
...@@ -556,19 +674,19 @@ div.chat-title { ...@@ -556,19 +674,19 @@ div.chat-title {
height: 1em; height: 1em;
} }
div.chat-title a { #conversejs div.chat-title a {
color: white; color: white;
} }
.chat-head-chatbox, #conversejs .chat-head-chatbox,
.chat-head-chatroom { #conversejs .chat-head-chatroom {
background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(79,106,114,1) 100%); background: linear-gradient(top, rgba(206,220,231,1) 0%,rgba(79,106,114,1) 100%);
height: 35px; height: 35px;
position: relative; position: relative;
} }
p.user-custom-message, #conversejs p.user-custom-message,
p.chatroom-topic { #conversejs p.chatroom-topic {
font-size: 80%; font-size: 80%;
font-style: italic; font-style: italic;
height: 1.3em; height: 1.3em;
...@@ -578,14 +696,14 @@ p.chatroom-topic { ...@@ -578,14 +696,14 @@ p.chatroom-topic {
margin: 0; margin: 0;
} }
div.chat-head-chatbox a.user-custom-message { #conversejs div.chat-head-chatbox a.user-custom-message {
color: white; color: white;
} }
.activated{ #conversejs .activated{
display: block !important; display: block !important;
} }
a.subscribe-to-user { #conversejs a.subscribe-to-user {
padding-left: 2em; padding-left: 2em;
font-weight: bold; font-weight: bold;
} }
...@@ -594,17 +712,17 @@ dl.add-converse-contact { ...@@ -594,17 +712,17 @@ dl.add-converse-contact {
margin: 0 0 0 0.5em; margin: 0 0 0 0.5em;
} }
.fancy-dropdown { #conversejs .fancy-dropdown {
border:1px solid #ddd; border:1px solid #ddd;
height: 22px; height: 22px;
} }
.fancy-dropdown a.choose-xmpp-status { #conversejs .fancy-dropdown a.choose-xmpp-status {
width: 155px; width: 155px;
} }
.fancy-dropdown a.choose-xmpp-status, #conversejs .fancy-dropdown a.choose-xmpp-status,
.fancy-dropdown a.toggle-xmpp-contact-form { #conversejs .fancy-dropdown a.toggle-xmpp-contact-form {
text-shadow: 0 1px 0 rgba(255, 255, 255, 1); text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -612,17 +730,17 @@ dl.add-converse-contact { ...@@ -612,17 +730,17 @@ dl.add-converse-contact {
display: inline; display: inline;
} }
.fancy-dropdown a.toggle-xmpp-contact-form span { #conversejs .fancy-dropdown a.toggle-xmpp-contact-form span {
float: left; float: left;
} }
.choose-xmpp-status span { #conversejs .choose-xmpp-status span {
padding-right: 5px; padding-right: 5px;
padding-left: 5px; padding-left: 5px;
float: left; float: left;
} }
#fancy-xmpp-status-select a.change-xmpp-status-message { #conversejs #fancy-xmpp-status-select a.change-xmpp-status-message {
float: right; float: right;
clear: right; clear: right;
height: 22px; height: 22px;
...@@ -631,22 +749,22 @@ dl.add-converse-contact { ...@@ -631,22 +749,22 @@ dl.add-converse-contact {
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
ul#found-users { #conversejs ul#found-users {
padding: 10px 0 5px 5px; padding: 10px 0 5px 5px;
border: 0; border: 0;
} }
form.search-xmpp-contact { #conversejs form.search-xmpp-contact {
margin: 0; margin: 0;
padding-left: 5px; padding-left: 5px;
padding: 0 0 5px 5px; padding: 0 0 5px 5px;
} }
form.search-xmpp-contact input { #conversejs form.search-xmpp-contact input {
width: 8em; width: 8em;
} }
.controlbox-head { #conversejs .controlbox-head {
margin: 0; margin: 0;
color: #FFF; color: #FFF;
border-top-right-radius: 4px; border-top-right-radius: 4px;
...@@ -657,7 +775,7 @@ form.search-xmpp-contact input { ...@@ -657,7 +775,7 @@ form.search-xmpp-contact input {
padding: 3px 0 0 0; padding: 3px 0 0 0;
} }
.chat-head-message-count { #conversejs .chat-head-message-count {
font-weight: bold; font-weight: bold;
position: absolute; position: absolute;
left: -6px; left: -6px;
...@@ -675,13 +793,13 @@ form.search-xmpp-contact input { ...@@ -675,13 +793,13 @@ form.search-xmpp-contact input {
display: none; display: none;
} }
.chat-head-chatroom .chat-head-message-count { #conversejs .chat-head-chatroom .chat-head-message-count {
border: 3px solid #2D617A; border: 3px solid #2D617A;
} }
a.configure-chatroom-button, #conversejs a.configure-chatroom-button,
a.toggle-chatbox-button, #conversejs a.toggle-chatbox-button,
a.close-chatbox-button { #conversejs a.close-chatbox-button {
font-size: 10px; font-size: 10px;
padding: 3px 3px 2px 3px; padding: 3px 3px 2px 3px;
margin-right: 3px; margin-right: 3px;
...@@ -703,19 +821,19 @@ a.close-chatbox-button { ...@@ -703,19 +821,19 @@ a.close-chatbox-button {
text-shadow:1px 1px 0 #ffffff; text-shadow:1px 1px 0 #ffffff;
} }
a.configure-chatroom-button:active, #conversejs a.configure-chatroom-button:active,
a.toggle-chatbox-button:active, #conversejs a.toggle-chatbox-button:active,
a.close-chatbox-button:active { #conversejs a.close-chatbox-button:active {
position:relative; position:relative;
top:1px; top:1px;
} }
.controlbox-pane dt { #conversejs .controlbox-pane dt {
margin: 0; margin: 0;
padding-top: 0.5em; padding-top: 0.5em;
} }
.chatroom-form-container { #conversejs .chatroom-form-container {
height: 100%; height: 100%;
color: #666; color: #666;
overflow-y: auto; overflow-y: auto;
...@@ -723,56 +841,56 @@ a.close-chatbox-button:active { ...@@ -723,56 +841,56 @@ a.close-chatbox-button:active {
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
} }
.chatroom-form { #conversejs .chatroom-form {
background: white; background: white;
font-size: 12px; font-size: 12px;
padding: 10px 5px; padding: 10px 5px;
} }
.chat-body p { #conversejs .chat-body p {
font-size: 14px; font-size: 14px;
color: #666; color: #666;
padding: 5px; padding: 5px;
margin: 0; margin: 0;
} }
.chatroom-form legend { #conversejs .chatroom-form legend {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
margin-bottom: 5px; margin-bottom: 5px;
} }
.chatroom-form label { #conversejs .chatroom-form label {
font-weight: bold; font-weight: bold;
display: block; display: block;
clear: both; clear: both;
} }
.chatroom-form label input, #conversejs .chatroom-form label input,
.chatroom-form label select { #conversejs .chatroom-form label select {
float: right; float: right;
} }
#converse-roster dd.odd { #conversejs #converse-roster dd.odd {
background-color: #DCEAC5; /* Make this difference */ background-color: #DCEAC5; /* Make this difference */
} }
#converse-roster dd.current-xmpp-contact { #conversejs #converse-roster dd.current-xmpp-contact {
clear: both; clear: both;
} }
#converse-roster dd.current-xmpp-contact span { #conversejs #converse-roster dd.current-xmpp-contact span {
font-size: 16px; font-size: 16px;
float: left; float: left;
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
#converse-roster dd.requesting-xmpp-contact button{ #conversejs #converse-roster dd.requesting-xmpp-contact button{
margin-left: 0.5em; margin-left: 0.5em;
} }
#converse-roster dd a, #conversejs #converse-roster dd a,
#converse-roster dd span { #conversejs #converse-roster dd span {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1); text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
...@@ -780,11 +898,11 @@ a.close-chatbox-button:active { ...@@ -780,11 +898,11 @@ a.close-chatbox-button:active {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
#converse-roster dd span { #conversejs #converse-roster dd span {
padding: 2px 5px 0 0; padding: 2px 5px 0 0;
} }
#converse-roster { #conversejs #converse-roster {
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
width: 100%; width: 100%;
...@@ -807,8 +925,8 @@ a.close-chatbox-button:active { ...@@ -807,8 +925,8 @@ a.close-chatbox-button:active {
width: 148px; width: 148px;
} }
#available-chatrooms dt, #conversejs #available-chatrooms dt,
#converse-roster dt { #conversejs #converse-roster dt {
font-weight: normal; font-weight: normal;
font-size: 13px; font-size: 13px;
color: #666; color: #666;
...@@ -817,12 +935,12 @@ a.close-chatbox-button:active { ...@@ -817,12 +935,12 @@ a.close-chatbox-button:active {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1); text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
} }
#converse-roster dt { #conversejs #converse-roster dt {
display: none; display: none;
} }
dd.available-chatroom, #conversejs dd.available-chatroom,
#converse-roster dd { #conversejs #converse-roster dd {
font-weight: bold; font-weight: bold;
border: none; border: none;
display: block; display: block;
...@@ -831,29 +949,29 @@ dd.available-chatroom, ...@@ -831,29 +949,29 @@ dd.available-chatroom,
text-shadow: 0 1px 0 rgba(250, 250, 250, 1); text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
} }
.room-info { #conversejs .room-info {
font-size: 11px; font-size: 11px;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
} }
li.room-info { #conversejs li.room-info {
display: block; display: block;
margin-left: 5px; margin-left: 5px;
} }
div.room-info { #conversejs div.room-info {
clear: left; clear: left;
} }
p.room-info { #conversejs p.room-info {
margin: 0; margin: 0;
padding: 0; padding: 0;
display: block; display: block;
white-space: normal; white-space: normal;
} }
a.room-info { #conversejs a.room-info {
width: 22px; width: 22px;
height: 22px; height: 22px;
float: right; float: right;
...@@ -861,20 +979,20 @@ a.room-info { ...@@ -861,20 +979,20 @@ a.room-info {
clear: right; clear: right;
} }
a.open-room { #conversejs a.open-room {
float: left; float: left;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow-x: hidden; overflow-x: hidden;
} }
dd.available-chatroom:hover a.room-info { #conversejs dd.available-chatroom:hover a.room-info {
display: inline-block; display: inline-block;
margin-top: 3px; margin-top: 3px;
font-size: 15px; font-size: 15px;
} }
#converse-roster dd a.remove-xmpp-contact { #conversejs #converse-roster dd a.remove-xmpp-contact {
line-height: 21px; line-height: 21px;
float: right; float: right;
width: 22px; width: 22px;
...@@ -883,85 +1001,86 @@ dd.available-chatroom:hover a.room-info { ...@@ -883,85 +1001,86 @@ dd.available-chatroom:hover a.room-info {
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
#converse-roster dd:hover a.remove-xmpp-contact { #conversejs #converse-roster dd:hover a.remove-xmpp-contact {
display: inline-block; display: inline-block;
} }
#converse-roster a.open-chat { #conversejs #converse-roster a.open-chat {
line-height: 21px; line-height: 21px;
width: 85%; width: 85%;
} }
#converse-roster dd:hover a.open-chat { #conversejs #converse-roster dd:hover a.open-chat {
width: 70%; width: 70%;
} }
#converse-roster dd.pending-xmpp-contact:hover span { #conversejs #converse-roster dd.pending-xmpp-contact:hover span {
width: 70%; width: 70%;
} }
.chatbox, #conversejs .chatbox,
.chatroom { #conversejs .chatroom {
height: 25px; height: 25px;
float: right; float: right;
margin-right: 15px; margin-right: 15px;
display: block; display: block;
} }
.chatbox { #conversejs .chatbox {
width: 200px; width: 200px;
} }
.chatroom { #conversejs .chatroom {
width: 300px; width: 300px;
} }
.controlbox-pane { #conversejs .controlbox-pane {
padding: 0; padding: 0;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px; border-bottom-left-radius: 4px;
} }
.controlbox-pane dd { #conversejs .controlbox-pane dd {
margin-left: 0; margin-left: 0;
margin-bottom: 0; margin-bottom: 0;
padding: 1em; padding: 1em;
} }
.controlbox-pane dd.odd { #conversejs .controlbox-pane dd.odd {
background-color: #DCEAC5; background-color: #DCEAC5;
} }
form#converse-login { #conversejs form#converse-login {
background: white; background: white;
padding: 2em 0 0.3em 0.5em; padding: 2em 0 0.3em 0.5em;
} }
form#converse-login input { #conversejs form#converse-login input {
display: block; display: block;
width: 90%; width: 90%;
} }
form#converse-login .login-submit { #conversejs form#converse-login .login-submit {
margin-top: 1em; margin-top: 1em;
width: auto; width: auto;
} }
form.set-xmpp-status { #conversejs form.set-xmpp-status {
background: none; background: none;
padding: 0.5em 0 0.5em 0.5em; margin: none;
padding: none;
} }
form.add-chatroom { #conversejs form.add-chatroom {
background: none; background: none;
padding: 3px; padding: 3px;
} }
form.add-chatroom input[type=text] { #conversejs form.add-chatroom input[type=text] {
width: 95%; width: 95%;
margin: 3px; margin: 3px;
} }
form.add-chatroom input[type=button], #conversejs form.add-chatroom input[type=button],
form.add-chatroom input[type=submit] { #conversejs form.add-chatroom input[type=submit] {
width: 48%; width: 48%;
} }
...@@ -972,7 +1091,7 @@ select#select-xmpp-status { ...@@ -972,7 +1091,7 @@ select#select-xmpp-status {
/* @group Tabs */ /* @group Tabs */
.chat-head #controlbox-tabs { #conversejs .chat-head #controlbox-tabs {
text-align: center; text-align: center;
display: inline; display: inline;
overflow: hidden; overflow: hidden;
...@@ -981,7 +1100,7 @@ select#select-xmpp-status { ...@@ -981,7 +1100,7 @@ select#select-xmpp-status {
} }
/* single tab */ /* single tab */
.chat-head #controlbox-tabs li { #conversejs .chat-head #controlbox-tabs li {
float: left; float: left;
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
...@@ -989,7 +1108,7 @@ select#select-xmpp-status { ...@@ -989,7 +1108,7 @@ select#select-xmpp-status {
width: 38%; width: 38%;
} }
ul#controlbox-tabs li a { #conversejs ul#controlbox-tabs li a {
display: block; display: block;
font-size: 12px; font-size: 12px;
height: 34px; height: 34px;
...@@ -1003,17 +1122,18 @@ ul#controlbox-tabs li a { ...@@ -1003,17 +1122,18 @@ ul#controlbox-tabs li a {
text-shadow: 0 1px 0 rgba(250, 250, 250, 1); text-shadow: 0 1px 0 rgba(250, 250, 250, 1);
} }
.chat-head #controlbox-tabs li a:hover { #conversejs .chat-head #controlbox-tabs li a:hover {
color: black; color: black;
} }
.chat-head #controlbox-tabs li a { #conversejs .chat-head #controlbox-tabs li a {
background-color: white; background-color: white;
box-shadow: inset 0 4px 12px rgba(0,0,0,0.3); box-shadow: inset 0 4px 12px rgba(0,0,0,0.3);
border-bottom: 1px solid #CCC; border-bottom: 1px solid #CCC;
} }
ul#controlbox-tabs a.current, ul#controlbox-tabs a.current:hover { #conversejs ul#controlbox-tabs a.current,
#conversejs ul#controlbox-tabs a.current:hover {
box-shadow: none; box-shadow: none;
border-bottom: 0; border-bottom: 0;
height: 35px; height: 35px;
...@@ -1021,10 +1141,10 @@ ul#controlbox-tabs a.current, ul#controlbox-tabs a.current:hover { ...@@ -1021,10 +1141,10 @@ ul#controlbox-tabs a.current, ul#controlbox-tabs a.current:hover {
color: rgb(102,102,102); color: rgb(102,102,102);
} }
div#users, #conversejs div#users,
div#chatrooms, #conversejs div#chatrooms,
div#login-dialog, #conversejs div#login-dialog,
div#settings { #conversejs div#settings {
border: 0; border: 0;
font-size: 14px; font-size: 14px;
background-color: white; background-color: white;
...@@ -1038,11 +1158,11 @@ div#settings { ...@@ -1038,11 +1158,11 @@ div#settings {
position: absolute; position: absolute;
} }
div#chatrooms { #conversejs div#chatrooms {
overflow-y: auto; overflow-y: auto;
} }
form.sendXMPPMessage { #conversejs form.sendXMPPMessage {
background: white; background: white;
border: 0; border: 0;
border-top: 1px solid #BBB; border-top: 1px solid #BBB;
...@@ -1061,12 +1181,12 @@ form.sendXMPPMessage { ...@@ -1061,12 +1181,12 @@ form.sendXMPPMessage {
height: 75px; height: 75px;
} }
.chatroom form.sendXMPPMessage { #conversejs .chatroom form.sendXMPPMessage {
-webkit-border-bottom-right-radius: 0; -webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
} }
.chat-textarea { #conversejs .chat-textarea {
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
border: 0; border: 0;
...@@ -1077,7 +1197,7 @@ form.sendXMPPMessage { ...@@ -1077,7 +1197,7 @@ form.sendXMPPMessage {
height: 55px; height: 55px;
} }
ul.chat-toolbar { #conversejs ul.chat-toolbar {
font-size: 14px; font-size: 14px;
margin: 0; margin: 0;
padding: 0 5px 0 0; padding: 0 5px 0 0;
...@@ -1090,23 +1210,23 @@ ul.chat-toolbar { ...@@ -1090,23 +1210,23 @@ ul.chat-toolbar {
height: 20px; height: 20px;
} }
.chat-toolbar .toggle-otr { #conversejs .chat-toolbar .toggle-otr {
float: right; float: right;
} }
.chat-toolbar .toggle-call { #conversejs .chat-toolbar .toggle-call {
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
.chat-toolbar ul li a { #conversejs .chat-toolbar ul li a {
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
.chat-toolbar ul li a:hover { #conversejs .chat-toolbar ul li a:hover {
color: #8f2831; color: #8f2831;
} }
.chat-toolbar ul { #conversejs .chat-toolbar ul {
display: none; display: none;
font-size:12px; font-size:12px;
position: absolute; position: absolute;
...@@ -1117,33 +1237,33 @@ ul.chat-toolbar { ...@@ -1117,33 +1237,33 @@ ul.chat-toolbar {
box-shadow: 0 -1px 2px 0 rgba(0,0,0,0.4); box-shadow: 0 -1px 2px 0 rgba(0,0,0,0.4);
} }
.chat-toolbar ul li { #conversejs .chat-toolbar ul li {
position: relative; position: relative;
list-style: none; list-style: none;
cursor: pointer; cursor: pointer;
} }
.chat-toolbar .toggle-smiley { #conversejs .chat-toolbar .toggle-smiley {
padding-left: 5px; padding-left: 5px;
} }
.chat-toolbar .toggle-smiley ul li { #conversejs .chat-toolbar .toggle-smiley ul li {
font-size: 14px; font-size: 14px;
padding: 5px; padding: 5px;
z-index: 98; z-index: 98;
} }
.chat-toolbar .toggle-otr ul li { #conversejs .chat-toolbar .toggle-otr ul li {
background-color: white; background-color: white;
display: block; display: block;
z-index: 99; z-index: 99;
} }
.chat-toolbar ul li:hover { #conversejs .chat-toolbar ul li:hover {
background-color: #eee; background-color: #eee;
} }
.chat-toolbar .toggle-otr ul li a { #conversejs .chat-toolbar .toggle-otr ul li a {
transition:background-color 0.2s ease-in-out; transition:background-color 0.2s ease-in-out;
-webkit-transition:background-color 0.2s ease-in-out; -webkit-transition:background-color 0.2s ease-in-out;
-moz-transition:background-color 0.2s ease-in-out; -moz-transition:background-color 0.2s ease-in-out;
...@@ -1152,27 +1272,27 @@ ul.chat-toolbar { ...@@ -1152,27 +1272,27 @@ ul.chat-toolbar {
text-decoration: none; text-decoration: none;
} }
.chat-toolbar-text { #conversejs .chat-toolbar-text {
font-size: 12px; font-size: 12px;
padding-right: 3px; padding-right: 3px;
} }
.unencrypted a, #conversejs .unencrypted a,
.unencrypted { #conversejs .unencrypted {
color: #8f2831; color: #8f2831;
} }
.unverified a, #conversejs .unverified a,
.unverified { #conversejs .unverified {
color: #cf5300; color: #cf5300;
} }
.private a, #conversejs .private a,
.private { #conversejs .private {
color: #4B7003 color: #4B7003
} }
ul.chat-toolbar li { #conversejs ul.chat-toolbar li {
display: inline-block; display: inline-block;
list-style: none; list-style: none;
padding: 0 3px 0 3px; padding: 0 3px 0 3px;
...@@ -1180,67 +1300,75 @@ ul.chat-toolbar li { ...@@ -1180,67 +1300,75 @@ ul.chat-toolbar li {
margin-top: 1px; margin-top: 1px;
} }
ul.chat-toolbar li:hover { #conversejs ul.chat-toolbar li:hover {
cursor: pointer; cursor: pointer;
} }
form#set-custom-xmpp-status { #conversejs form#set-custom-xmpp-status {
float: left; float: left;
padding: 0; padding: 0;
} }
.chat-textarea-chatbox-selected { #conversejs .chat-textarea-chatbox-selected {
border: 1px solid #578308; border: 1px solid #578308;
margin:0; margin:0;
} }
.chat-textarea-chatroom-selected { #conversejs .chat-textarea-chatroom-selected {
border: 2px solid #2D617A; border: 2px solid #2D617A;
margin:0; margin:0;
} }
#set-custom-xmpp-status button { #conversejs #set-custom-xmpp-status button {
padding: 1px 2px 1px 1px; padding: 1px 2px 1px 1px;
} }
#controlbox { #conversejs #controlbox {
display: none; display: none;
} }
#controlbox div.xmpp-status { #conversejs #controlbox div.xmpp-status {
display: inline; display: inline;
} }
/* status dropdown styles */ /* status dropdown styles */
.chatbox dl.dropdown { #conversejs .chatbox dl.dropdown {
margin-right: 0.5em; margin: 0.5em;
margin-bottom: 0;
background-color: rgb(240, 240, 240); background-color: rgb(240, 240, 240);
} }
.chatbox .dropdown dd, .dropdown dt, .dropdown ul { margin:0px; padding:0px; }
.chatbox .dropdown dd { position:relative; } #conversejs .chatbox .dropdown dd,
#conversejs .dropdown dt,
#conversejs .dropdown ul {
margin: 0;
padding: 0;
}
#conversejs .chatbox .dropdown dd {
position: relative;
}
input.custom-xmpp-status { input.custom-xmpp-status {
width: 124px; width: 124px;
} }
form.add-xmpp-contact { #conversejs form.add-xmpp-contact {
background: none; background: none;
padding: 5px; padding: 5px;
} }
form.add-xmpp-contact input { #conversejs form.add-xmpp-contact input {
width: 108px; width: 108px;
} }
.chatbox .dropdown dt a span { #conversejs .chatbox .dropdown dt a span {
cursor:pointer; cursor:pointer;
display:block; display:block;
padding: 4px 7px 0 5px; padding: 4px 7px 0 5px;
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
.chatbox .dropdown dd ul { #conversejs .chatbox .dropdown dd ul {
padding: 5px 0 5px 0; padding: 5px 0 5px 0;
list-style:none; list-style:none;
position:absolute; left:0; top:0; position:absolute; left:0; top:0;
...@@ -1251,47 +1379,36 @@ form.add-xmpp-contact input { ...@@ -1251,47 +1379,36 @@ form.add-xmpp-contact input {
background-color: rgb(240, 240, 240); background-color: rgb(240, 240, 240);
} }
.chatbox .dropdown li { #conversejs .chatbox .dropdown li {
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
} }
.chatbox .dropdown a { #conversejs .chatbox .dropdown a {
height: 22px; height: 22px;
width: 148px; width: 148px;
display: inline-block; display: inline-block;
line-height: 24px; line-height: 24px;
} }
.chatbox .dropdown dd ul li:hover { #conversejs .chatbox .dropdown dd ul li:hover {
background-color: #bed6e5; background-color: #bed6e5;
} }
.xmpp-status-menu li a { #conversejs .xmpp-status-menu li a {
width: 100%; width: 100%;
} }
.xmpp-status-menu li a span { #conversejs .xmpp-status-menu li a span {
padding: 0 5px 0 5px; padding: 0 5px 0 5px;
color: rgb(79, 79, 79); color: rgb(79, 79, 79);
} }
.set-xmpp-status .dropdown dd ul { #conversejs .set-xmpp-status .dropdown dd ul {
z-index: 22; z-index: 22;
} }
#conversejs { #conversejs .box-flyout {
bottom: 1px;
direction: ltr;
height: 25px;
left: 0;
position: fixed;
right: 0;
z-index: 30;
display: block;
}
.box-flyout {
background: white; background: white;
position: absolute; position: absolute;
display: block; display: block;
...@@ -1301,19 +1418,19 @@ form.add-xmpp-contact input { ...@@ -1301,19 +1418,19 @@ form.add-xmpp-contact input {
height: 324px; height: 324px;
} }
.box-flyout.minimized { #conversejs .box-flyout.minimized {
height: auto; height: auto;
} }
.chatbox .box-flyout { #conversejs .chatbox .box-flyout {
width: 200px; width: 200px;
} }
.chatroom .box-flyout { #conversejs .chatroom .box-flyout {
width: 300px; width: 300px;
} }
.dragresize { #conversejs .dragresize {
position: absolute; position: absolute;
width: 200px; width: 200px;
height: 5px; height: 5px;
......
...@@ -10,6 +10,7 @@ Changelog ...@@ -10,6 +10,7 @@ Changelog
Message forwarding was before default behavior but is now optional (and disabled by default). Message forwarding was before default behavior but is now optional (and disabled by default).
[jcbrand] [jcbrand]
* #71 Chat boxes and rooms can be minimized. [jcbrand] * #71 Chat boxes and rooms can be minimized. [jcbrand]
* #130 Fixed bootstrap conflicts. [jcbrand]
* #132 Support for `XEP-0280: Message Carbons <https://xmpp.org/extensions/xep-0280.html'>`_. * #132 Support for `XEP-0280: Message Carbons <https://xmpp.org/extensions/xep-0280.html'>`_.
Configured via `enable_message_carbons <https://conversejs.org/docs/html/index.html#enable_message_carbons>`_ Configured via `enable_message_carbons <https://conversejs.org/docs/html/index.html#enable_message_carbons>`_
[hejazee] [hejazee]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment