123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575 |
- #conversejs {
- .oauth-providers {
- text-align: center;
- .oauth-provider {
- margin: 1em 0;
- .oauth-login {
- margin-left: 0;
- color: $link-color;
- font-size: $font-size-large;
- &:hover {
- color: darken($link-color, 20%);
- }
- i {
- color: $link-color;
- font-size: $font-size-huge;
- margin-right: 0.5em;
- }
- }
- }
- }
- .set-xmpp-status,
- .xmpp-status,
- .roster-contacts {
- .fa-circle {
- color: $green;
- }
- .fa-minus-circle {
- color: $red
- }
- .fa-dot-circle-o {
- color: $orange,
- }
- .far.fa-circle,
- .fa-times-circle {
- color: $subdued-color;
- }
- }
- .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%;
- }
- #controlbox {
- .box-flyout {
- background-color: white;
- }
- margin-right: 3*$chat-gutter;
- &.logged-out {
- .box-flyout {
- .controlbox-pane {
- overflow-y: auto;
- }
- }
- }
- form.search-xmpp-contact {
- margin: 0;
- padding-left: 5px;
- padding: 0 0 5px 5px;
- input {
- width: 8em;
- }
- }
- .msgs-indicator {
- margin-right: 0.5em;
- }
- a.subscribe-to-user {
- padding-left: 2em;
- font-weight: bold;
- }
- #converse-register {
- @include fade-in;
- background: white;
- .title {
- font-weight: bold;
- }
- .info {
- color: green;
- font-size: 90%;
- margin: 1.5em 0;
- }
- .form-errors {
- color: $error-color;
- margin: 1em 0;
- }
- .provider-title {
- font-size: $font-size-huge;
- margin: 0;
- }
- .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;
- }
- }
- }
- .conn-feedback {
- color: $controlbox-head-color;
- &.error {
- color: $error-color;
- }
- p {
- padding-bottom: 1em;
- &.feedback-subject.error {
- font-weight: bold;
- }
- }
- }
- .brand-heading-container {
- .brand-heading {
- text-align: center;
- }
- .brand-name {
- font-size: 120%;
- }
- }
- #converse-login-panel, #converse-register-panel {
- padding-top: 0;
- padding-bottom: 0;
- }
- #converse-login-panel {
- flex-direction: column;
- .brand-heading {
- color: $global-background-color;
- }
- }
- .toggle-register-login {
- font-weight: bold;
- }
- .controlbox-pane {
- .userinfo {
- padding-bottom: 1em;
- .username {
- margin-left: 0.5em;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .profile {
- margin-bottom: 0.75em;
- }
- }
- }
- #chatrooms {
- padding: 0;
- .add-chatroom {
- input[type=button],
- input[type=submit],
- input[type=text] {
- width: 100%;
- }
- margin: 0;
- padding: 0;
- }
- }
- .controlbox-section {
- margin: 1em 0 0 0;
- .controlbox-heading {
- font-family: $heading-font;
- margin: 0 0 0.5em 0;
- text-transform: uppercase;
- }
- }
- .dropdown {
- a {
- width: 143px;
- 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;
- }
- }
- }
- dd.search-xmpp {
- 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;
- }
- }
- li:hover {
- background-color: $light-background-color;
- }
- }
- dt a span {
- cursor: pointer;
- display: block;
- padding: 4px 7px 0 5px;
- }
- }
- .controlbox-panes {
- height: 100%;
- overflow-y: auto;
- background-color: white;
- }
- .controlbox-pane {
- background-color: white;
- border: 0;
- font-size: $font-size;
- left: 0;
- text-align: left;
- overflow-x: hidden;
- padding: 1em 0 1em 0;
- .controlbox-padded {
- padding-left: 1em;
- padding-right: 1em;
- }
- .add-converse-contact {
- margin: 0 0 0.75em 0;
- }
- .chatbox-btn {
- margin: 0;
- }
- .switch-form {
- text-align: center;
- padding: 2em 0;
- p {
- margin-top: 0.5em;
- }
- }
- dd {
- margin-left: 0;
- margin-bottom: 0;
- &.odd {
- background-color: #DCEAC5;
- }
- }
- }
- .add-xmpp-contact {
- padding: 1em 0.5em;
- input {
- margin: 0 0 1rem;
- width: 100%;
- }
- button {
- width: 100%;
- }
- }
- }
- .toggle-controlbox {
- text-align: center;
- background-color: $link-color;
- border-top-left-radius: $button-border-radius;
- border-top-right-radius: $button-border-radius;
- color: #0a0a0a;
- float: right;
- height: 100%;
- margin: 0 $chat-gutter;
- padding: 1em;
- span {
- color: $inverse-link-color;
- }
- }
- }
- #conversejs.converse-overlayed {
- #controlbox {
- order: -1;
- min-width: $controlbox-width !important;
- width: $controlbox-width;
- .box-flyout {
- min-width: $controlbox-width !important;
- width: $controlbox-width;
- }
- .login-trusted {
- white-space: nowrap;
- font-size: 90%;
- }
- #converse-login-trusted {
- margin-top: 0.5em;
- }
- &:not(.logged-out) {
- .controlbox-head {
- height: 15px;
- }
- }
- .brand-heading-container {
- width: 100%;
- }
- .controlbox-head {
- display: flex;
- flex-direction: row-reverse;
- flex-wrap: nowrap;
- justify-content: space-between;
- .brand-heading {
- color: $text-color;
- font-size: 2em;
- }
- .chatbox-btn {
- color: $controlbox-head-color;
- margin: 0;
- }
- }
- #converse-register, #converse-login {
- @include make-col(12);
- padding-bottom: 0;
- }
- #converse-register {
- .button-cancel {
- font-size: 90%;
- }
- }
- .controlbox-panes {
- border-radius: $chatbox-border-radius;
- }
- }
- }
- #conversejs.converse-fullscreen,
- #conversejs.converse-mobile {
- #controlbox {
- @include make-col-ready();
- @include media-breakpoint-up(md) {
- @include make-col(4);
- }
- @include media-breakpoint-up(lg) {
- @include make-col(3);
- }
- @include media-breakpoint-up(xl) {
- @include make-col(2);
- }
- &.logged-out {
- @include make-col(12);
- }
- margin: 0;
- .controlbox-pane {
- border-radius: 0;
- }
- .flyout {
- border-radius: 0;
- }
- #converse-login-panel {
- border-radius: 0;
- .converse-form {
- padding: 3em 2em 3em;
- }
- }
- .toggle-register-login {
- line-height: $line-height-huge;
- }
- .brand-heading-container {
- @include make-col(12);
- margin-bottom: 1em;
- text-align: center;
- .brand-heading {
- font-size: 150%;
- font-size: 600%;
- padding: 0.7em 0 0 0;
- opacity: 0.8;
- color: $blue;
- }
- .brand-subtitle {
- font-size: 90%;
- padding: 0.5em;
- }
- @media screen and (max-width: $mobile-portrait-length) {
- .brand-heading {
- font-size: 400%;
- }
- }
- }
- &.logged-out {
- @include make-col(12);
- @include fade-in;
- width: 100%;
- .box-flyout {
- width: 100%;
- }
- }
- .box-flyout {
- border: 0;
- width: 100%;
- z-index: 1;
- background-color: $controlbox-head-color;
- .controlbox-head {
- display: none;
- }
- }
- #converse-register, #converse-login {
- @include make-col-ready();
- @include make-col(8);
- @include make-col-offset(2);
- @include media-breakpoint-up(sm) {
- @include make-col(8);
- @include make-col-offset(2);
- }
- @include media-breakpoint-up(md) {
- @include make-col(8);
- @include make-col-offset(2);
- }
- @include media-breakpoint-up(lg) {
- @include make-col(6);
- @include make-col-offset(3);
- }
- .title, .instructions {
- margin: 1em 0;
- }
- input[type=submit],
- input[type=button] {
- width: auto;
- }
- }
- }
- }
- @include media-breakpoint-down(sm) {
- #conversejs:not(.converse-embedded) {
- left: 0;
- right: 0;
- padding-left: env(safe-area-inset-left);
- padding-right: env(safe-area-inset-right);
- .converse-chatboxes {
- margin: 0 !important;
- flex-direction: row !important;
- justify-content: space-between;
- .converse-chatroom {
- font-size: 14px;
- }
- .chatbox {
- .box-flyout {
- margin-left: 15px; // Counteracts Bootstrap margins, but
- // not clear why needed...
- left: 0;
- bottom: 0;
- border-radius: 0;
- width: 100vw !important;
- height: 100vh !important;
- }
- }
- #controlbox {
- width: 100vw !important;
- .box-flyout {
- width: 100vw !important;
- height: 100vh !important;
- }
- .sidebar {
- display: block;
- }
- }
- &.sidebar-open {
- .chatbox:not(#controlbox) {
- display: none;
- }
- #controlbox {
- .controlbox-pane {
- display: block;
- }
- }
- }
- }
- }
- #conversejs.converse-overlayed {
- .converse-chatboxes {
- .chatbox {
- .box-flyout {
- margin-left: 30px; // Counteracts Bootstrap margins, but
- // not clear why needed...
- }
- }
- }
- }
- }
|