2015-10-25 20:37:42 +01:00
|
|
|
#conversejs {
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2018-02-21 16:10:13 +01:00
|
|
|
.set-xmpp-status, .xmpp-status, .roster-contacts {
|
|
|
|
.fa-circle {
|
|
|
|
color: $green;
|
|
|
|
}
|
|
|
|
.fa-minus-circle {
|
|
|
|
color: $red
|
|
|
|
}
|
|
|
|
.fa-dot-circle-o {
|
|
|
|
color: $orange,
|
|
|
|
}
|
|
|
|
.fa-circle-o {
|
|
|
|
color: $subdued-color;
|
|
|
|
}
|
|
|
|
.fa-times-circle {
|
|
|
|
color: $subdued-color;
|
2018-01-23 11:20:51 +01:00
|
|
|
}
|
2018-02-21 16:10:13 +01:00
|
|
|
}
|
|
|
|
|
2018-02-22 17:39:44 +01:00
|
|
|
.room-info {
|
|
|
|
font-size: $font-size-small;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
li.room-info {
|
|
|
|
display: block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
p.room-info {
|
|
|
|
line-height: $line-height;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
div.room-info {
|
|
|
|
padding: 0.3em 0;
|
|
|
|
clear: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-02-21 16:10:13 +01:00
|
|
|
|
|
|
|
#converse-modals {
|
|
|
|
.set-xmpp-status {
|
|
|
|
margin: 1em;
|
|
|
|
.custom-control-label {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#controlbox {
|
2018-03-09 11:02:28 +01:00
|
|
|
.box-flyout {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
|
2018-02-21 16:10:13 +01:00
|
|
|
margin-right: 3*$chat-gutter;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2017-09-09 11:20:28 +02:00
|
|
|
&.logged-out {
|
2017-09-17 01:30:52 +02:00
|
|
|
.box-flyout {
|
|
|
|
.controlbox-pane {
|
|
|
|
overflow-y: auto;
|
2017-09-09 11:20:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
form.search-xmpp-contact {
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding: 0 0 5px 5px;
|
|
|
|
input {
|
|
|
|
width: 8em;
|
|
|
|
}
|
|
|
|
}
|
2017-06-05 14:50:29 +02:00
|
|
|
|
|
|
|
.msgs-indicator {
|
2018-03-11 13:56:53 +01:00
|
|
|
margin-right: 0.5em;
|
2017-06-05 14:50:29 +02:00
|
|
|
}
|
|
|
|
|
2015-10-28 08:33:50 +01:00
|
|
|
a.subscribe-to-user {
|
|
|
|
padding-left: 2em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2015-10-25 20:37:42 +01:00
|
|
|
|
|
|
|
#converse-register {
|
2017-09-17 01:30:52 +02:00
|
|
|
@include fade-in;
|
2015-10-25 20:37:42 +01:00
|
|
|
background: white;
|
|
|
|
.title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.info {
|
|
|
|
color: green;
|
2017-09-17 01:30:52 +02:00
|
|
|
font-size: 90%;
|
|
|
|
margin: 1.5em 0;
|
2015-10-25 20:37:42 +01:00
|
|
|
}
|
|
|
|
.form-errors {
|
2017-09-18 08:58:26 +02:00
|
|
|
color: $error-color;
|
|
|
|
margin: 1em 0;
|
2015-10-25 20:37:42 +01:00
|
|
|
}
|
|
|
|
.provider-title {
|
2017-08-15 21:46:47 +02:00
|
|
|
font-size: $font-size-huge;
|
|
|
|
margin: 0;
|
2015-10-25 20:37:42 +01:00
|
|
|
}
|
|
|
|
.provider-score {
|
|
|
|
width: 178px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
.form-help .url {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $link-color;
|
|
|
|
}
|
|
|
|
.input-group {
|
|
|
|
display: table;
|
|
|
|
margin: auto;
|
|
|
|
width: 100%;
|
|
|
|
span {
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 110px;
|
|
|
|
}
|
|
|
|
span, input[name=username] {
|
|
|
|
display: table-cell;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.instructions {
|
|
|
|
color: gray;
|
|
|
|
font-size: 85%;
|
|
|
|
&:hover {
|
|
|
|
color: $text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-08 19:50:34 +02:00
|
|
|
.conn-feedback {
|
2017-09-22 18:55:02 +02:00
|
|
|
color: $controlbox-head-color;
|
|
|
|
&.error {
|
|
|
|
color: $error-color;
|
|
|
|
}
|
2017-09-08 19:50:34 +02:00
|
|
|
p {
|
2018-03-19 21:57:15 +01:00
|
|
|
padding-bottom: 1em;
|
2017-09-08 19:50:34 +02:00
|
|
|
&.feedback-subject.error {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-16 18:11:31 +02:00
|
|
|
.brand-heading-container {
|
2018-03-07 17:48:53 +01:00
|
|
|
|
2017-09-09 11:20:28 +02:00
|
|
|
.brand-heading {
|
2018-01-23 11:20:51 +01:00
|
|
|
text-align: center;
|
2017-09-09 11:20:28 +02:00
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2017-09-09 11:20:28 +02:00
|
|
|
.brand-name {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
2017-09-16 18:11:31 +02:00
|
|
|
}
|
|
|
|
|
2018-03-07 21:26:06 +01:00
|
|
|
#converse-login-panel, #converse-register-panel {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2018-02-24 18:43:32 +01:00
|
|
|
#converse-login-panel {
|
2018-01-26 14:41:06 +01:00
|
|
|
flex-direction: column;
|
|
|
|
|
2018-02-21 16:10:13 +01:00
|
|
|
.brand-heading {
|
2018-01-23 11:20:51 +01:00
|
|
|
color: $global-background-color;
|
|
|
|
}
|
2018-02-21 16:10:13 +01:00
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2017-09-16 18:11:31 +02:00
|
|
|
.toggle-register-login {
|
|
|
|
font-weight: bold;
|
2017-09-09 11:20:28 +02:00
|
|
|
}
|
2017-09-17 01:30:52 +02:00
|
|
|
|
2017-09-16 19:29:13 +02:00
|
|
|
.oauth-login {
|
2017-09-17 01:30:52 +02:00
|
|
|
margin-left: 0;
|
2017-09-16 19:29:13 +02:00
|
|
|
color: $text-color;
|
2017-09-17 01:30:52 +02:00
|
|
|
.icon-social:before {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
}
|
2017-09-16 19:29:13 +02:00
|
|
|
}
|
2017-09-09 11:20:28 +02:00
|
|
|
|
2015-10-25 20:37:42 +01:00
|
|
|
#converse-register, #converse-login {
|
2018-02-24 18:43:32 +01:00
|
|
|
legend {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2018-03-07 21:26:06 +01:00
|
|
|
margin: 0 auto 0.5em auto;
|
2018-02-24 18:43:32 +01:00
|
|
|
}
|
2018-02-24 19:59:25 +01:00
|
|
|
label {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
fieldset.buttons {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2015-10-25 20:37:42 +01:00
|
|
|
.login-anon {
|
|
|
|
height: auto;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
.save-submit {
|
|
|
|
color: $save-button-color;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-09-17 01:30:52 +02:00
|
|
|
.form-url {
|
|
|
|
display: block;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|
|
|
|
|
2015-10-25 20:37:42 +01:00
|
|
|
}
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2018-02-15 15:49:16 +01:00
|
|
|
.controlbox-pane {
|
2018-01-23 11:20:51 +01:00
|
|
|
.userinfo {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
|
|
|
|
.username {
|
|
|
|
margin-left: 0.5em;
|
2018-02-15 15:50:55 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2018-01-23 11:20:51 +01:00
|
|
|
}
|
2018-03-17 12:42:17 +01:00
|
|
|
.profile {
|
|
|
|
margin-bottom: 0.75em;
|
2018-01-23 11:20:51 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#chatrooms {
|
2018-02-15 15:50:55 +01:00
|
|
|
padding: 0;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2015-10-27 11:17:55 +01:00
|
|
|
form.add-chatroom {
|
|
|
|
input[type=button],
|
|
|
|
input[type=submit],
|
|
|
|
input[type=text] {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-06-14 11:14:42 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2015-10-27 11:17:55 +01:00
|
|
|
}
|
|
|
|
}
|
2015-10-25 20:37:42 +01:00
|
|
|
|
2018-04-27 09:52:15 +02:00
|
|
|
.controlbox-section {
|
2018-04-10 21:23:32 +02:00
|
|
|
margin: 1em 0 0 0;
|
2018-04-27 09:52:15 +02:00
|
|
|
|
|
|
|
.controlbox-heading {
|
2018-04-10 21:23:32 +02:00
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
2018-02-15 15:50:55 +01:00
|
|
|
}
|
|
|
|
|
2015-10-25 20:37:42 +01:00
|
|
|
.dropdown {
|
|
|
|
a {
|
2017-05-08 21:06:33 +02:00
|
|
|
width: 143px;
|
2015-10-25 20:37:42 +01:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
dd {
|
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 21;
|
|
|
|
background-color: $light-background-color;
|
|
|
|
li:hover {
|
|
|
|
background-color: $highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-10-03 19:45:06 +02:00
|
|
|
|
|
|
|
dd.search-xmpp {
|
2017-07-17 22:01:23 +02:00
|
|
|
height: 0;
|
|
|
|
.contact-form-container {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 22;
|
|
|
|
form {
|
|
|
|
box-shadow: 1px 4px 10px 1px rgba(0, 0, 0, 0.4);
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
}
|
2015-10-25 20:37:42 +01:00
|
|
|
li:hover {
|
|
|
|
background-color: $light-background-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dt a span {
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
padding: 4px 7px 0 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-16 18:11:31 +02:00
|
|
|
.controlbox-panes {
|
2017-09-17 01:30:52 +02:00
|
|
|
height: 100%;
|
2018-01-29 13:46:10 +01:00
|
|
|
overflow-y: auto;
|
2018-02-15 14:37:44 +01:00
|
|
|
background-color: white;
|
2017-09-16 18:11:31 +02:00
|
|
|
}
|
|
|
|
|
2015-10-25 20:37:42 +01:00
|
|
|
.controlbox-pane {
|
2017-06-14 11:14:42 +02:00
|
|
|
padding: $controlbox-pane-padding;
|
2015-10-25 20:37:42 +01:00
|
|
|
background-color: white;
|
|
|
|
border: 0;
|
|
|
|
font-size: $font-size;
|
2017-09-17 01:30:52 +02:00
|
|
|
left: 0;
|
2018-01-23 11:20:51 +01:00
|
|
|
text-align: left;
|
2015-10-25 20:37:42 +01:00
|
|
|
overflow-x: hidden;
|
2018-01-23 11:20:51 +01:00
|
|
|
|
2018-02-15 15:49:16 +01:00
|
|
|
.add-converse-contact {
|
|
|
|
margin: 0 0 0.75em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chatbox-btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-17 01:30:52 +02:00
|
|
|
.switch-form {
|
2018-02-24 19:59:25 +01:00
|
|
|
padding: 2em 0;
|
2017-09-17 01:30:52 +02:00
|
|
|
p {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2015-10-25 20:37:42 +01:00
|
|
|
dd {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
&.odd {
|
|
|
|
background-color: #DCEAC5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-xmpp-contact {
|
2017-05-08 21:06:33 +02:00
|
|
|
padding: 1em 0.5em;
|
2015-10-25 20:37:42 +01:00
|
|
|
input {
|
|
|
|
margin: 0 0 1rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-controlbox {
|
2018-03-11 11:33:13 +01:00
|
|
|
text-align: center;
|
2015-10-25 20:37:42 +01:00
|
|
|
background-color: $link-color;
|
2017-06-14 11:14:42 +02:00
|
|
|
border-top-left-radius: $button-border-radius;
|
|
|
|
border-top-right-radius: $button-border-radius;
|
2015-10-25 20:37:42 +01:00
|
|
|
color: #0a0a0a;
|
|
|
|
float: right;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0 $chat-gutter;
|
2018-03-25 21:16:23 +02:00
|
|
|
padding: 1em;
|
2015-10-25 20:37:42 +01:00
|
|
|
span {
|
|
|
|
color: $inverse-link-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-03-11 11:33:13 +01:00
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
|
2018-04-25 18:03:03 +02:00
|
|
|
#conversejs:not(.converse-embedded) {
|
2018-03-11 11:33:13 +01:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding-left: env(safe-area-inset-left);
|
|
|
|
padding-right: env(safe-area-inset-right);
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-03-11 11:33:13 +01:00
|
|
|
.converse-chatboxes {
|
|
|
|
margin: 0 !important;
|
|
|
|
flex-direction: row !important;
|
|
|
|
justify-content: space-between;
|
2018-01-25 12:36:13 +01:00
|
|
|
|
2018-03-11 11:33:13 +01:00
|
|
|
.converse-chatroom {
|
|
|
|
font-size: 14px;
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
|
|
|
|
2018-03-11 11:33:13 +01:00
|
|
|
.chatbox {
|
|
|
|
.box-flyout {
|
2018-04-24 18:22:44 +02:00
|
|
|
top: -100vh;
|
|
|
|
margin-left: 15px; // Counteracts Bootstrap margins, but
|
|
|
|
// not clear why needed...
|
2018-03-11 11:33:13 +01:00
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
width: 100vw !important;
|
|
|
|
height: 100vh !important;
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
2018-03-11 11:33:13 +01:00
|
|
|
|
2018-01-25 12:36:13 +01:00
|
|
|
#controlbox {
|
2018-03-11 11:33:13 +01:00
|
|
|
order: 0;
|
|
|
|
.box-flyout {
|
|
|
|
width: 100vw !important;
|
|
|
|
height: 100vh !important;
|
|
|
|
}
|
|
|
|
.sidebar {
|
2018-01-25 12:36:13 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2018-03-11 11:33:13 +01:00
|
|
|
|
|
|
|
&.sidebar-open {
|
|
|
|
.chatbox:not(#controlbox) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#controlbox {
|
|
|
|
.controlbox-pane {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-25 12:36:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|