123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- #conversejs.converse-embedded,
- #conversejs {
- .add-chatroom {
- input[type="submit"],
- input[type="button"] {
- margin: 0.3em 0;
- }
- }
- #room-details-modal {
- .features-list {
- margin-left: 1em;
- }
- }
- .chatroom-features {
- width: 100%;
- .features-list {
- padding-top: 0;
- .feature {
- width: 100%;
- margin-right: 0.5em;
- padding-right: 0;
- font-size: 1em;
- cursor: help;
- .fa {
- margin-right: 0.5em;
- color: $text-color;
- }
- }
- }
- }
- .chat-head-chatroom {
- background-color: $chatroom-head-color;
- .chatroom-description {
- color: lighten($chatroom-head-color, 25%);
- font-size: $font-size;
- font-size: 70%;
- margin-top: 3px;
- overflow-y: hidden;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- a {
- color: white;
- }
- }
- a, a:visited, a:hover, a:not([href]):not([tabindex]) {
- &.chatbox-btn {
- &.fa {
- color: $chat-head-text-color;
- &.button-on:before {
- color: $chatroom-head-color;
- }
- }
- }
- }
- .chatbox-btn {
- &.button-on:before {
- color: $chatroom-head-color;
- }
- }
- .chat-title {
- .chatroom-jid {
- font-size: $font-size-small;
- }
- }
- }
- .chatroom {
- width: $chatroom-width;
- @media screen and (max-height: $mobile-landscape-height){
- width: $mobile-chat-width;
- }
- @media screen and (max-width: $mobile-portrait-length) {
- width: $mobile-chat-width;
- }
- .box-flyout {
- overflow-y: hidden;
- background-color: $chatroom-head-color;
- width: 100%;
- @media screen and (max-height: $mobile-landscape-height) {
- height: $mobile-chat-height;
- width: $mobile-chat-width;
- height: 100vh;
- }
- @media screen and (max-width: $mobile-portrait-length) {
- height: $mobile-chat-height;
- width: $mobile-chat-width;
- height: 100vh;
- }
- .chatroom-body {
- flex-direction: row;
- flex-flow: nowrap;
- @include border-bottom-radius($chatbox-border-radius);
- background-color: white;
- border-top: 0;
- width: 100%;
- overflow: hidden;
- .row {
- flex-direction: row;
- }
- .chat-topic {
- font-weight: bold;
- color: $chatroom-head-color;
- }
- .chat-info {
- color: $chatroom-head-color;
- line-height: normal;
- &.badge {
- color: $chat-head-text-color;
- }
- }
- .disconnect-container {
- margin: 1em;
- width: 100%;
- h3.disconnect-msg {
- padding-bottom: 1em;
- }
- }
- .chat-area {
- display: flex;
- flex-direction: column;
- word-wrap: break-word;
- .new-msgs-indicator {
- background-color: $chatroom-head-color;
- }
- .chat-content {
- height: 100%;
- }
- }
- .occupants {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- overflow-x: hidden;
- overflow-y: hidden;
- vertical-align: top;
- background-color: white;
- border-left: 1px solid $text-color;
- border-bottom-right-radius: $chatbox-border-radius;
- padding: 0.5em;
- .occupants-header {
- display: flex;
- flex-direction: column;
- .hide-occupants {
- align-self: flex-end;
- cursor: pointer;
- }
- }
- .occupants-heading {
- font-family: $heading-font;
- }
- .awesomplete {
- ul {
- padding: 0;
- li {
- padding: .5em;
- }
- }
- }
- ul {
- padding: 0.5em 0 0 0;
- margin-bottom: 0.5em;
- overflow-x: hidden;
- overflow-y: auto;
- list-style: none;
- &.occupant-list {
- overflow-y: auto;
- flex-basis: 0;
- flex-grow: 1;
- border-bottom: 1px solid lightgrey;
- }
- li {
- cursor: default;
- display: block;
- font-size: $font-size-small;
- overflow: hidden;
- padding: 0.25em 0.25em 0.25em 0;
- text-overflow: ellipsis;
- .fa {
- margin-right: 0.5em;
- }
- &.feature {
- font-size: $font-size-tiny;
- }
- &.occupant {
- cursor: pointer;
- div.row.no-gutters {
- flex-wrap: nowrap;
- min-height: 1.5em;
- }
- .badge {
- margin-bottom: 0.125rem;
- }
- .occupant-status {
- display: inline-block;
- margin: 0 0.5em 0.125em 0;
- width: 0.5em;
- height: 0.5em;
- &.occupant-online,
- &.occupant-chat {
- background-color: #1A9707;
- }
- &.occupant-dnd {
- background-color: red;
- }
- &.occupant-away {
- background-color: darkorange;
- }
- &.occupant-xa {
- background-color: orange;
- }
- &.occupant-offline {
- background-color: darkgrey;
- }
- }
- }
- }
- }
- }
- .chatroom-form-container {
- background-color: white;
- border-bottom-left-radius: $chatbox-border-radius;
- border-bottom-right-radius: $chatbox-border-radius;
- border: 0;
- color: $text-color;
- font-size: $font-size;
- height: 100%;
- width: 100%;
- overflow-y: auto;
- .validation-message {
- font-size: 90%;
- color: $error-color;
- }
- input[type=button],
- input[type=submit] {
- margin: 0 0.5em;
- }
- .button-primary {
- background-color: $chatroom-head-color;
- }
- }
- }
- }
- .sendXMPPMessage {
- .chat-toolbar {
- background-color: white;
- border-top: 4px solid $chatroom-head-color;
- color: $chatroom-head-color;
- .fas, .fas:hover,
- .far, .far:hover,
- .fa, .fa:hover {
- color: $chatroom-head-color;
- }
- }
- .chat-textarea {
- border-bottom-right-radius: 0;
- &.correcting {
- background-color: lighten($chatroom-head-color, 30%);
- }
- }
- .send-button {
- background-color: $chatroom-head-color;
- }
- }
- .room-invite {
- padding-bottom: 1em;
- .invited-contact {
- margin: -1px 0 0 -1px;
- width: 100%;
- border: 1px solid #999;
- }
- }
- }
- }
- /* ******************* Overlay styles *************************** */
- #conversejs.converse-overlayed {
- .chatbox {
- &.chatroom {
- min-width: $chatroom-width !important;
- width: $chatroom-width;
- .box-flyout {
- min-width: $chatroom-width !important;
- width: $chatroom-width;
- }
- .chatbox-title {
- @include make-col(7);
- .chatroom-description {
- font-size: 80%;
- }
- }
- .chatbox-buttons {
- @include make-col(5);
- }
- .chatroom-body {
- .occupants {
- .occupants-heading {
- padding: 0;
- }
- .chatroom-features {
- .feature {
- font-size: $font-size-tiny;
- }
- }
- }
- .chat-area {
- min-width: $overlayed-chat-width;
- }
- }
- .sendXMPPMessage {
- .chat-toolbar {
- li {
- .toolbar-menu {
- min-width: 280px;
- }
- }
- }
- }
- }
- }
- }
- #conversejs.converse-fullscreen {
- .chatroom {
- .box-flyout {
- .chatbox-title {
- @include make-col(9);
- }
- .chatbox-buttons {
- @include make-col(3);
- }
- }
- }
- }
- @include media-breakpoint-down(sm) {
- #conversejs:not(.converse-embedded) {
- .chatroom {
- width: 100vw !important;
- .box-flyout {
- .chatbox-navback {
- @include make-col(2);
- }
- .chatbox-title {
- @include make-col(7);
- }
- .chatbox-buttons {
- @include make-col(3);
- }
- }
- }
- }
- }
- #conversejs.converse-fullscreen,
- #conversejs.converse-mobile {
- .chatroom {
- .box-flyout {
- background-color: $chatroom-head-color;
- border: $flyout-padding solid $chatroom-head-color;
- border-top: 0.8em solid $chatroom-head-color;
- width: 100%;
- .chatbox-title {
- .chatroom-description {
- font-size: 70%;
- }
- }
- .chatroom-body {
- @include border-top-radius($chatbox-border-radius);
- .chatroom-form-container {
- border-radius: $chatbox-border-radius;
- }
- .chat-area {
- border-top-left-radius: $chatbox-border-radius;
- .chat-content {
- border-top-left-radius: $chatbox-border-radius;
- }
- &.full {
- max-width: 100%;
- .new-msgs-indicator {
- max-width: 100%;
- }
- }
- }
- .occupants {
- border-top-right-radius: $chatbox-border-radius;;
- padding: $occupants-padding;
- .occupants-heading {
- font-size: $font-size-large;
- }
- ul {
- &.occupant-list {
- li {
- font-size: $font-size-small;
- }
- }
- }
- }
- }
- }
- .room-invite {
- span {
- .invited-contact {
- margin: 0 0 0.5em -1px;
- }
- }
- }
- }
- }
|