381 lines
8.5 KiB
SCSS
381 lines
8.5 KiB
SCSS
@mixin fade-in {
|
|
opacity: 0; /* make things invisible upon start */
|
|
@include animation-name(fadein);
|
|
@include animation-fill-mode(forwards);
|
|
@include animation-duration(0.75s);
|
|
@include animation-timing-function(ease);
|
|
}
|
|
|
|
// FIXME: these need to go elsewhere, they're outside of #conversejs
|
|
.converse-bg {
|
|
position: relative;
|
|
height: 100vh;
|
|
text-align: center;
|
|
color: #fff;
|
|
}
|
|
|
|
body .brand-heading {
|
|
margin: auto;
|
|
font-size: 6em;
|
|
font-weight: bold;
|
|
|
|
.icon-conversejs {
|
|
font-size: 0.88em;
|
|
}
|
|
}
|
|
|
|
#converse-embedded-chat,
|
|
#conversejs {
|
|
bottom: 0;
|
|
color: $text-color;
|
|
direction: ltr;
|
|
display: block;
|
|
font-family: "Helvetica", "Arial", sans-serif;
|
|
font-size: $font-size;
|
|
height: $bottom-gutter-height;
|
|
position: fixed;
|
|
right: 0;
|
|
width: auto;
|
|
z-index: 1031; // One more than bootstrap navbar
|
|
@media screen and (max-height: $mobile-landscape-height) {
|
|
width: 100%;
|
|
width: 100vw;
|
|
}
|
|
@media screen and (max-width: $mobile-portrait-length) {
|
|
width: 100%;
|
|
width: 100vw;
|
|
}
|
|
|
|
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
|
color: $subdued-color;
|
|
}
|
|
::-moz-placeholder { /* Firefox 19+ */
|
|
color: $subdued-color;
|
|
}
|
|
:-ms-input-placeholder { /* IE 10+ */
|
|
color: $subdued-color;
|
|
}
|
|
:-moz-placeholder { /* Firefox 18- */
|
|
color: $subdued-color;
|
|
}
|
|
::placeholder {
|
|
color: $subdued-color;
|
|
}
|
|
|
|
::selection {
|
|
background-color: $highlight-color;
|
|
}
|
|
::-moz-selection {
|
|
background-color: $highlight-color;
|
|
}
|
|
|
|
canvas {
|
|
background:#000;
|
|
border-radius:4px;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.circle {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.sidebar {
|
|
display: none;
|
|
position: absolute;
|
|
width: 50px;
|
|
height: 100vh;
|
|
padding: 10px 0;
|
|
background-color: $controlbox-head-color;
|
|
text-align: center;
|
|
|
|
.chatbox-btn {
|
|
float: none;
|
|
margin: 0;
|
|
font-size: 1.35em;
|
|
&.fa-vcard {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
.bottom {
|
|
position: absolute;
|
|
bottom: 1em;
|
|
}
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.25em 0.4em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.fa {
|
|
font: normal normal normal 14px/1 FontAwesome;
|
|
display: inline-block;
|
|
font-size: inherit;
|
|
text-rendering: auto;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.list-container {
|
|
text-align: left;
|
|
margin: 0.3em 0;
|
|
}
|
|
|
|
.btn.btn-primary {
|
|
color: #fff;
|
|
}
|
|
|
|
.no-text-select {
|
|
-webkit-touch-callout: none;
|
|
@include user-select(none);
|
|
}
|
|
|
|
@keyframes colorchange-chatmessage {
|
|
0% {background-color: rgba(141, 216, 174, 1);}
|
|
25% {background-color: rgba(141, 216, 174, 0.75);}
|
|
50% {background-color: rgba(141, 216, 174, 0.5);}
|
|
75% {background-color: rgba(141, 216, 174, 0.25);}
|
|
100% {background-color: transparent;}
|
|
}
|
|
@-webkit-keyframes colorchange-chatmessage {
|
|
0% {background-color: rgba(141, 216, 174, 1);}
|
|
25% {background-color: rgba(141, 216, 174, 0.75);}
|
|
50% {background-color: rgba(141, 216, 174, 0.5);}
|
|
75% {background-color: rgba(141, 216, 174, 0.25);}
|
|
100% {background-color: transparent;}
|
|
}
|
|
|
|
@keyframes colorchange-chatmessage-muc {
|
|
0% {background-color: rgba(255, 181, 162, 1);}
|
|
25% {background-color: rgba(255, 181, 162, 0.75);}
|
|
50% {background-color: rgba(255, 181, 162, 0.5);}
|
|
75% {background-color: rgba(255, 181, 162, 0.25);}
|
|
100% {background-color: transparent;}
|
|
}
|
|
@-webkit-keyframes colorchange-chatmessage-muc {
|
|
0% {background-color: rgba(255, 181, 162, 1);}
|
|
25% {background-color: rgba(255, 181, 162, 0.75);}
|
|
50% {background-color: rgba(255, 181, 162, 0.5);}
|
|
75% {background-color: rgba(255, 181, 162, 0.25);}
|
|
100% {background-color: transparent;}
|
|
}
|
|
|
|
|
|
@keyframes fadein {
|
|
0% { opacity: 0 }
|
|
100% { opacity: 1 }
|
|
}
|
|
@-webkit-keyframes fadein {
|
|
0% { opacity: 0 }
|
|
100% { opacity: 1 }
|
|
}
|
|
|
|
.fade-in {
|
|
@include fade-in;
|
|
}
|
|
|
|
.visible {
|
|
opacity:0; /* make things invisible upon start */
|
|
@include animation-name(fadein);
|
|
@include animation-fill-mode(forwards);
|
|
@include animation-duration(500ms);
|
|
@include animation-timing-function(ease);
|
|
}
|
|
|
|
.hidden {
|
|
opacity: 0;
|
|
display: none;
|
|
}
|
|
.collapsed {
|
|
height: 0 !important;
|
|
overflow: hidden !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.locked {
|
|
padding-right: 22px;
|
|
}
|
|
|
|
|
|
@include keyframes(spin) {
|
|
from {
|
|
@include transform(rotate(0deg));
|
|
}
|
|
to {
|
|
@include transform(rotate(359deg));
|
|
}
|
|
}
|
|
|
|
.emojione {
|
|
height: $emoji_height;
|
|
}
|
|
|
|
.spinner {
|
|
@include animation(spin 2s infinite, linear);
|
|
display: block;
|
|
text-align: center;
|
|
margin: 1em;
|
|
&:before {
|
|
font-size: 24px;
|
|
font-family: 'Converse-js' !important;
|
|
content: "\231b";
|
|
}
|
|
}
|
|
.left {
|
|
float: left;
|
|
}
|
|
.right {
|
|
float: right;
|
|
}
|
|
.centered {
|
|
text-align: center;
|
|
display: block;
|
|
margin: 0;
|
|
padding: 10% 0;
|
|
}
|
|
.hor_centered {
|
|
text-align: center;
|
|
display: block;
|
|
margin: 0 auto;
|
|
clear: both;
|
|
}
|
|
|
|
.button-group,
|
|
.input-button-group {
|
|
display: table;
|
|
}
|
|
.button-group {
|
|
width: 100%;
|
|
}
|
|
.input-button-group button,
|
|
.input-button-group input {
|
|
display: table-cell;
|
|
}
|
|
|
|
.error {
|
|
color: $error-color;
|
|
}
|
|
.info {
|
|
color: $info-color;
|
|
}
|
|
.reg-feedback {
|
|
font-size: 85%;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.reg-feedback,
|
|
#converse-login .conn-feedback {
|
|
display: block;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
a.restore-chat {
|
|
padding: 1px 0 1px 5px;
|
|
color: $chat-head-text-color;
|
|
line-height: 15px;
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
a.restore-chat:visited {
|
|
color: $chat-head-text-color;
|
|
}
|
|
|
|
.activated {
|
|
display: block !important;
|
|
}
|
|
.pure-form-message {
|
|
padding: 0.5em 0;
|
|
}
|
|
.pure-button {
|
|
border-radius: $button-border-radius;
|
|
}
|
|
.button-primary {
|
|
color: white;
|
|
background-color: $primary-color;
|
|
}
|
|
.button-secondary {
|
|
color: white;
|
|
background-color: $secondary-color;
|
|
}
|
|
.button-cancel {
|
|
color: white;
|
|
background-color: $text-color;
|
|
}
|
|
|
|
form {
|
|
&.pure-form.converse-form {
|
|
background: white;
|
|
padding: 1em;
|
|
legend {
|
|
color: $text-color;
|
|
font-size: 125%;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
input[type=checkbox] {
|
|
display: block;
|
|
}
|
|
select,
|
|
input[type=password],
|
|
input[type=number],
|
|
input[type=text] {
|
|
min-width: 50%;
|
|
}
|
|
label {
|
|
font-size: $font-size-large;
|
|
}
|
|
input[type=text],
|
|
input[type=password],
|
|
input[type=number],
|
|
input[type=button],
|
|
input[type=submit] {
|
|
padding: 0.5em;
|
|
}
|
|
input[type=button],
|
|
input[type=submit] {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
margin: 0.5em 0;
|
|
border: none;
|
|
}
|
|
input.error {
|
|
border: 1px solid $error-color;
|
|
color: $text-color;
|
|
}
|
|
.form-help {
|
|
color: gray;
|
|
font-size: 85%;
|
|
padding-top: 0.5em;
|
|
&:hover {
|
|
color: $text-color;
|
|
}
|
|
&.error {
|
|
color: $error-color;
|
|
}
|
|
}
|
|
}
|
|
&.pure-form.converse-centered-form {
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.chat-textarea-chatbox-selected {
|
|
border: 1px solid #578308;
|
|
margin: 0;
|
|
}
|
|
.chat-textarea-chatroom-selected {
|
|
border: 2px solid $link-color;
|
|
margin: 0;
|
|
}
|
|
|
|
.dropdown dt,
|
|
.dropdown ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|