The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/theme/client/imports/general/base_old.css

3750 lines
47 KiB

.rc-old .no-scroll {
overflow: hidden !important;
}
.rc-old .page-settings,
.rc-old .page-settings * {
user-select: text;
}
.rc-old code {
margin: 5px 0;
padding: 0.5em;
text-align: left;
vertical-align: middle;
white-space: pre-wrap;
word-wrap: break-word;
border-width: 1px;
border-radius: var(--border-radius);
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 13px;
font-weight: 600;
direction: ltr;
unicode-bidi: embed;
&.inline {
display: inline;
padding: 0.05rem 0.2rem;
line-height: 1rem;
}
}
.rc-old code.hljs {
overflow-y: hidden;
}
.rc-old pre {
display: inline-block;
width: 100%;
}
.rc-old blockquote {
position: relative;
display: block;
clear: both;
min-height: 20px;
padding-left: 10px;
&::after {
display: table;
clear: both;
content: "";
}
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
&:first-child::before {
border-radius: 2px 2px 0 0;
}
&:last-child::before {
border-radius: 0 0 2px 2px;
}
&::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 2px;
content: ' ';
}
}
.rc-old .login-terms {
width: 520px;
max-width: 100%;
margin: auto;
padding: 10px;
font-size: smaller;
& a {
text-decoration: underline;
font-weight: bold !important;
}
}
.upload-preview {
& .upload-preview-file {
height: 200px;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
}
}
.upload-preview-title {
padding: 3px;
border-radius: 0 0 5px 5px;
}
.copyonly {
display: inline-block;
width: 0;
height: 0;
user-select: none;
vertical-align: baseline;
font-size: 0;
-moz-box-orient: vertical;
code & {
float: left;
}
}
.rc-old .text-center {
display: flex;
text-align: center;
justify-content: center;
}
.connection-status > .alert {
position: absolute;
z-index: 1000000;
top: 0;
width: 100%;
margin-top: 0 !important;
padding: 2px;
border-width: 0 0 1px;
}
.rc-old .alert {
margin: 1rem 0;
padding: 0.5rem;
border-width: 1px;
border-radius: var(--border-radius);
}
.rc-old .full-page .hidden {
display: none !important;
visibility: hidden !important;
}
.rc-old .hidden {
display: none !important;
}
.rc-old .page-container {
position: absolute;
top: 0;
left: 0;
display: flex;
overflow-y: hidden;
flex-direction: column;
width: 100%;
height: 100%;
padding: 1.25rem;
& .content {
display: flex;
overflow-y: auto;
flex-direction: column;
flex: 1 1 auto;
margin: 0 -1.25rem;
padding: 1.25rem 1.25rem 0;
line-height: 1.3em;
-webkit-overflow-scrolling: touch;
& fieldset {
margin-bottom: 1em;
}
& .rocket-form {
& fieldset {
display: block;
margin: 1em 0 1.5em;
& small {
font-size: 11px;
}
}
& legend {
position: relative;
display: block;
width: 100%;
margin: 12px 0;
font-weight: bold;
& h3 {
margin-bottom: 5px !important;
}
}
& .submit {
margin-top: 20px;
text-align: right;
}
}
}
}
.rc-old .input-line {
display: block;
clear: both;
margin-bottom: 12px;
&::after {
display: table;
clear: both;
content: "";
}
&:nth-last-child(1) {
margin-bottom: 0;
}
&.search {
& i {
position: absolute;
top: 10px;
left: 7px;
}
& .icon-spin {
right: 5px;
left: auto;
animation-name: spin;
animation-duration: 2000ms;
animation-timing-function: linear;
animation-iteration-count: infinite;
font-weight: 400;
}
& input {
padding-left: 30px;
}
}
& > label {
display: block;
margin-bottom: 4px;
}
& > div {
position: relative;
& .right {
position: absolute;
z-index: 10;
top: 10px;
right: 10px;
}
}
& > div.-autocomplete-container {
position: absolute;
}
& input[type='text'] {
display: block;
}
&.double-col {
& > label {
width: 30%;
margin-bottom: 0;
padding: 10px 20px 10px 0;
text-align: right;
line-height: 15px;
}
& > div {
width: 60%;
min-height: 2.5rem;
& label {
display: inline-block;
margin-right: 4px;
padding: 10px 20px 10px 0;
line-height: 15px;
&:nth-last-child(1) {
margin-right: 0;
}
& input {
margin-right: 4px;
}
}
}
}
}
.rc-old input {
& .input-forward {
visibility: hidden;
width: 0;
transition: width 0.5s ease-in;
& .show {
visibility: visible;
width: calc(100% - 48px);
}
}
& .search::before {
position: absolute;
top: 0;
left: 0;
display: block;
width: 30px;
height: 30px;
content: " ";
}
}
.rc-old form.inline {
& input[type='text'],
& input[type='number'],
& input[type='email'],
& input[type='url'],
& input[type='password'],
& select {
width: auto;
}
}
.rc-old .search-form {
position: relative;
}
.rc-old .-autocomplete-container {
top: auto;
width: 100%;
border-width: 0;
border-radius: 0;
box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
& p {
padding: 8px;
font-size: 14px;
}
& .loading-animation {
position: relative;
min-height: 60px;
}
}
.rc-old .-autocomplete-item {
padding: 8px 5px;
cursor: pointer;
font-size: 12px;
}
.rc-old label.required::after {
content: ' *';
}
.rc-old .btn-loading {
cursor: not-allowed;
pointer-events: none;
border-width: 0;
box-shadow: none !important;
& i {
display: block;
}
& div {
display: none;
}
}
/* new layout buttons */
.rc-old .button {
position: relative;
display: inline-block;
padding: 9px 12px;
user-select: none;
text-align: center;
word-spacing: 0;
text-transform: uppercase;
border-width: 0;
border-radius: var(--border-radius);
font-size: 14px;
font-weight: 500;
line-height: 16px;
& span {
position: relative;
z-index: 2;
}
&.button-block {
display: block;
width: 100%;
margin-bottom: 4px;
}
&[disabled] {
cursor: initial;
}
&.external-login {
color: white;
&.facebook {
background-color: #325c99;
}
&.twitter {
background-color: #02acec;
}
&.google {
background-color: #dd4b39;
}
&.github {
background-color: #4c4c4c;
}
&.gitlab {
background-color: #373d47;
}
&.trello {
background-color: #026aa7;
}
&.meteor-developer {
background-color: #de4f4f;
}
&.wordpress {
background-color: #1e8cbe;
}
&.linkedin {
background-color: #1b86bc;
}
}
}
.rc-old .buttons-group {
display: flex;
margin-bottom: 4px;
& .button {
margin-left: 4px;
&:first-child {
margin-left: 0;
flex-grow: 1;
}
}
}
.rc-old .oauth-panel .buttons-group .button:first-child {
flex-grow: 0;
}
.rc-old.burger {
display: none;
visibility: hidden;
cursor: pointer;
transition: transform 0.2s ease-out 0.1s;
will-change: transform;
& i {
display: block;
width: 20px;
height: 2px;
margin: 5px 0;
transition: transform 0.2s ease-out;
opacity: 0.8;
}
&.menu-opened i {
&:nth-child(1),
&:nth-child(3) {
transform-origin: 50%, 50%, 0;
opacity: 1;
}
&:nth-child(1) {
transform: translate(-25%, 3px) rotate(-45deg) scale(0.5, 1);
}
&:nth-child(3) {
transform: translate(-25%, -3px) rotate(45deg) scale(0.5, 1);
}
}
}
.rc-old .arrow {
z-index: 100;
top: calc(50% - 13px);
display: block;
width: 25px;
height: 25px;
&::before,
&::after {
position: absolute;
top: calc(50% - 5px);
left: calc(50% - 5px);
display: block;
width: 2px;
height: 10px;
content: " ";
}
&::before {
transition: transform 0.185s ease-out, background 0.15s ease-out;
transform: rotate(135deg) translateX(-4px);
}
&::after {
transition: transform 0.185s ease-out, background 0.15s ease-out;
transform: rotate(-135deg) translateX(-4px);
}
&.left {
&::before {
transform: rotate(45deg) translateY(-4px);
}
&::after {
transform: rotate(-45deg) translateY(4px);
}
}
&.top {
&::before {
transform: rotate(-135deg) translateX(2px) translateY(-2px);
}
&::after {
transform: rotate(135deg) translateX(-2px) translateY(-2px);
}
}
&.bottom {
&::before {
transform: rotate(-45deg) translateX(-2px) translateY(-2px);
}
&::after {
transform: rotate(45deg) translateX(2px) translateY(-2px);
}
}
&.close {
&::before {
transform: rotate(-135deg) translateX(0) translateY(0);
}
&::after {
transform: rotate(135deg) translateX(0) translateY(0);
}
}
}
/*
.rc-old #rocket-chat {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
visibility: visible;
width: auto;
transition: opacity 0.2s ease-out;
opacity: 1;
&.animated-hidden {
visibility: hidden;
opacity: 0;
}
& > .alert {
position: absolute;
margin-bottom: 0;
padding: 5px;
}
} */
/* rooms-box */
.rc-old.flex-nav {
position: fixed;
z-index: 3;
top: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
width: var(--rooms-box-width);
height: 100%;
transition: transform 0.15s cubic-bezier(0.5, 0, 0.1, 1);
&.animated-hidden {
transform: translateX(-100%);
& header,
& footer,
& .content {
transform: translateX(-100%);
}
}
& header,
& footer,
& .content {
transition: transform 0.425s cubic-bezier(0, 0.8, 0.05, 1);
}
& > section {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
& header {
position: absolute;
z-index: 110;
top: 0;
left: 0;
display: table;
width: 100%;
height: var(--header-min-height);
min-height: var(--header-min-height);
padding-left: 15px;
cursor: pointer;
& > div {
display: table-cell;
text-align: left;
vertical-align: middle;
}
& h4 {
position: relative;
overflow: hidden;
margin-top: 2px;
text-overflow: ellipsis;
font-size: 20px;
font-weight: 300;
line-height: 24px;
}
& p {
margin-top: 4px;
font-size: 13px;
font-weight: 400;
line-height: 18px;
}
}
& footer {
position: absolute;
z-index: 120;
bottom: 0;
left: 0;
display: table;
width: 100%;
height: var(--footer-min-height);
padding: 0 10px;
text-align: left;
& > div {
display: table-cell;
text-align: left;
vertical-align: middle;
}
}
& .content {
position: absolute;
top: var(--header-min-height);
display: block;
overflow-x: hidden;
overflow-y: auto;
width: 100%;
height: calc(100% - calc(var(--header-min-height) + var(--footer-min-height)));
padding: 20px 10px;
direction: rtl;
-webkit-overflow-scrolling: touch;
& > .wrapper {
direction: ltr;
}
& h4 {
margin-bottom: 30px;
text-transform: uppercase;
font-size: 13px;
font-weight: 400;
}
}
& .input-line {
margin-bottom: 25px;
&:nth-last-child(1) {
margin-bottom: 0;
}
& label {
margin-bottom: 0;
font-weight: 400;
}
& input[type='text'],
& input[type='password'],
& select {
padding: 0 8px 0 30px;
border-width: 1px;
border-radius: var(--border-radius);
box-shadow: 0 0 0;
appearance: none;
}
& .inline-fields {
& input,
& label,
& select {
display: inline-block;
}
}
&.toggle {
font-size: 0;
& > label {
display: inline-block;
width: calc(100% - 40px);
vertical-align: top;
font-size: 14px;
}
& > div {
display: inline-block;
width: 40px;
}
}
&.no-icon input {
padding: 0 8px;
}
}
& .selected-users {
padding: 20px 0 0;
& li {
display: inline-block;
margin-right: 2px;
margin-bottom: 2px;
padding: 5px;
}
& i {
cursor: pointer;
}
}
}
.rc-old .new-room-highlight a {
animation: highlight 6s infinite;
}
.cms-page {
display: flex;
flex-direction: column;
max-width: 800px;
max-height: 100%;
margin: auto;
padding: 2rem;
border-radius: var(--border-radius);
&__content {
overflow: auto;
margin: -1rem;
padding: 1rem;
}
& .cms-page-close {
display: flex;
margin-bottom: 10px;
justify-content: flex-end;
}
}
/* MAIN CONTENT + MAIN PAGES */
.rc-old .page-settings {
& .content {
& h2 {
margin-bottom: 2rem;
}
& h3 {
margin-bottom: 1rem;
}
& > .info {
max-width: none;
padding-left: 20px;
font-size: 16px;
font-weight: 500;
line-height: 24px;
}
}
& .section {
padding: 20px 0;
&:not(:only-child) {
border-bottom: 2px solid #dddddd;
&.section-collapsed .section-content {
display: none;
}
.section-title-right {
visibility: visible;
}
}
}
& .section-title {
display: flex;
cursor: pointer;
& .section-title-text {
user-select: none;
font-size: 1rem;
font-weight: 500;
line-height: 3rem;
flex-grow: 1;
}
& .section-title-right {
visibility: hidden;
& > .rc-button {
font-size: 1.25rem;
}
}
}
& .section-content {
padding: 20px 0 !important;
border: none !important;
border-radius: 0 !important;
p {
margin-bottom: 0.75rem;
}
& .input-line {
display: flex;
margin-bottom: 0;
padding: 10px 0;
align-items: flex-start;
&:last-child {
padding-bottom: 0;
border-bottom: none;
}
& .add-token {
display: flex;
& .rc-select {
width: 40%;
margin: 0 0 0 10px;
}
}
&:first-child {
padding-top: 0;
}
& .horizontal {
display: flex;
}
& .flex-grow-1 {
flex-grow: 1;
}
}
& .reset-setting {
margin-left: 0.75rem;
padding: 0.75rem;
}
& .setting-label {
min-width: 30%;
font-weight: 500;
line-height: 16px;
}
.setting-action {
height: auto;
margin: 0 4px;
}
& .settings-description {
padding-top: 2px;
line-height: 1.2rem;
}
& .settings-alert {
margin-top: 0.75rem;
padding: 1rem;
border-width: 2px;
font-weight: bold;
line-height: 1.2rem;
}
& .selected-rooms .remove-room {
cursor: pointer;
}
}
& .settings-description {
user-select: text;
}
& .rocket-form {
width: 100%;
max-width: none;
padding: 0;
}
& .settings-file-preview {
display: flex;
align-items: center;
& input[type=file] {
position: absolute !important;
z-index: 10000;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
& * {
cursor: pointer;
}
}
& .preview {
overflow: hidden;
width: 100px;
height: 40px;
margin-right: 0.75rem;
border-width: var(--input-border-width);
border-color: var(--input-border-color);
border-radius: var(--input-border-radius);
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
&.no-file {
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
.rc-old .page-static .content {
& > div {
margin-bottom: 25px;
&:nth-last-child(1) {
margin-bottom: 0;
}
}
& p {
margin-bottom: 12px;
&:nth-last-child(1) {
margin-bottom: 0;
}
}
& .section {
& h1 {
margin-top: 40px;
padding: 0 0 0 10px;
font-size: 20px;
font-weight: 500;
}
&:first-of-type > h1 {
margin-top: 0;
}
& .section-content {
padding: 20px;
border-width: 1px;
border-radius: var(--border-radius);
& .section-helper {
padding: 20px 20px 40px;
& pre {
display: inline;
}
}
}
}
& h1,
& h2,
& h3,
& h4 {
margin-bottom: 12px;
text-transform: uppercase;
font-weight: 300;
}
}
.rc-old .page-home {
& .fixed-title h2 {
overflow: visible;
}
& .logo {
display: block;
max-width: 325px;
margin: 10px 0;
}
& .info {
max-width: 680px;
line-height: 20px;
}
& .social {
& h4 {
margin-bottom: 8px;
}
& nav {
margin-left: -4px;
}
}
}
.rc-old .page-list {
& .search {
margin-bottom: 12px;
}
& .results {
margin-bottom: 10px;
padding: 10px 0;
font-weight: 300;
& p {
text-transform: uppercase;
font-size: 12px;
}
}
& .list {
& a {
display: block;
margin-bottom: 5px;
padding: 3px;
& .info {
& h3 {
margin-bottom: 5px;
}
& ul {
margin-left: 3px;
}
}
}
& .room-info {
margin-bottom: 5px;
padding: 3px;
cursor: pointer;
& h3 {
margin-bottom: 5px;
}
}
}
}
.rc-old .image-to-download {
display: flex;
flex-direction: column;
width: 200px;
height: 200px;
margin-bottom: 5px;
padding: 20px 15px;
cursor: pointer;
text-align: center;
text-transform: uppercase;
border: 1px dashed;
border-radius: 6px;
align-items: center;
justify-content: center;
& i {
font-size: 24px;
}
}
.rc-old .room-not-found {
display: flex;
flex-direction: column;
font-size: 30px;
align-items: center;
justify-content: center;
& div {
text-align: center;
line-height: 40px;
}
& i {
padding-bottom: 30px;
font-size: 100px;
}
}
.rc-old .container-bars {
position: relative;
z-index: 2;
display: none;
visibility: hidden;
overflow: hidden;
flex-direction: column;
margin: 5px 10px 0;
transition: transform 0.4s ease, visibility 0.3s ease, opacity 0.3s ease;
transform: translateY(-10px);
opacity: 0;
border-radius: var(--border-radius);
box-shadow:
0 1px 1px 0 rgba(0, 0, 0, 0.2),
0 2px 10px 0 rgba(0, 0, 0, 0.16);
font-size: 1em;
font-weight: bold;
&.show {
display: flex;
visibility: visible;
transform: translateY(0);
opacity: 1;
}
& > div {
padding: 0 10px;
line-height: 28px;
}
& .upload-progress {
position: relative;
display: flex;
height: 28px;
& .upload-progress-progress {
position: absolute;
z-index: 1;
left: 0;
width: 0%;
height: 100%;
transition: width, 1s, ease-out;
}
& .upload-progress-text {
z-index: 2;
right: 0;
left: 0;
overflow: hidden;
width: 50%;
height: 100%;
padding: 0 10px;
white-space: nowrap;
text-overflow: ellipsis;
flex-grow: 1;
& > a {
float: right;
cursor: pointer;
text-transform: uppercase;
}
}
& .upload-progress-close {
position: relative;
z-index: 3;
float: right;
height: 100%;
text-transform: uppercase;
font-weight: bold;
}
}
& .unread-bar {
text-align: center;
text-transform: uppercase;
& > button.mark-read {
float: right;
line-height: inherit;
&:hover {
cursor: pointer;
}
}
& .unread-count {
display: none;
}
& > button.jump-to {
float: left;
line-height: inherit;
& .jump-to-small {
display: none;
line-height: inherit;
}
&:hover {
cursor: pointer;
}
}
}
}
.rc-old .flex-tab-main-content {
position: relative;
z-index: 1;
overflow: auto;
flex-grow: 1;
}
.rc-old .room-container {
height: 100%;
}
/* change to page-messages */
.rc-old .messages-container {
position: relative;
display: flex;
flex-direction: column;
flex: 1;
width: 100%;
&-wrapper {
display: flex;
flex: 1 1 auto;
height: 1%;
}
&-main {
position: relative;
display: flex;
flex-direction: column;
flex: 1 1 auto;
width: 50%;
}
& .wrapper {
position: absolute;
top: 0;
left: 0;
overflow-x: hidden;
overflow-y: auto;
width: 100%;
height: 100%;
word-wrap: break-word;
-webkit-overflow-scrolling: touch;
}
& .footer {
flex-shrink: 0;
}
&.admin {
& .message:hover:not(.system) .message-action {
display: inline-block;
}
}
}
.rc-old .message-popup-position {
position: relative;
.message-popup {
display: flex;
flex-direction: column;
max-height: 20rem;
align-items: stretch;
.message-popup-items {
overflow-y: auto;
.popup-slash-command {
display: flex;
flex-flow: row wrap;
&-format {
flex-grow: 1;
}
&-description {
text-align: right;
font-style: italic;
flex-grow: 2;
}
}
}
}
}
.rc-old .message-popup-items.preview-items {
display: flex;
overflow-y: auto;
}
.rc-old .preview-items .popup-item {
padding: 5px;
line-height: unset;
}
.rc-old .rc-message-box .reply-preview__wrap {
position: relative;
}
.rc-old .rc-message-box .reply-preview {
position: relative;
display: flex;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-left: 15px;
background-color: #ffffff;
align-items: center;
justify-content: space-between;
.message {
flex: 1;
padding: 0;
background-color: transparent;
}
}
.rc-old .rc-message-box .reply-preview:not(:last-child)::before {
position: absolute;
right: 15px;
bottom: 0;
left: 15px;
height: 2px;
content: "";
background: rgba(31, 35, 41, 0.08);
}
.rc-old .rc-message-box .reply-preview-with-popup {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-left-radius: 5px;
}
.rc-old .reply-preview .cancel-reply {
padding: 10px;
}
.rc-message-box__icon.cancel-reply .rc-input__icon-svg--cross {
font-size: 1em;
}
.rc-old .message-popup.popup-with-reply-preview {
border-radius: 5px 5px 0 0;
}
.rc-old .message-popup {
position: absolute;
z-index: 101;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
border-radius: 5px;
box-shadow:
0 -1px 10px 0 rgba(0, 0, 0, 0.2),
0 1px 1px rgba(0, 0, 0, 0.16);
}
.rc-old .message-popup-title {
padding: 0 20px;
border-width: 0 0 1px;
font-size: 14px;
font-weight: 300;
line-height: 32px;
}
.rc-old .popup-item {
padding: 0 20px;
cursor: pointer;
user-select: none;
line-height: 32px;
}
.rc-old .popup-user-avatar {
display: inline-block;
width: 24px;
height: 24px;
margin: -7px 4px;
border-radius: 3px;
background-size: contain;
}
.rc-old .popup-user-not_in_channel {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.rc-old .popup-user {
display: flex;
align-items: center;
&-avatar_wrap,
&-name {
margin-right: 4px;
flex-shrink: 0;
}
}
.rc-old .popup-user-notice {
min-width: 0;
margin-left: auto;
}
.rc-old .popup-user-status {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 10px;
}
.messages-box {
position: relative;
overflow: hidden;
flex-grow: 1;
& .wrapper.has-more-next {
padding-bottom: 24px;
}
& ul {
padding: 21px 0 10px;
}
& .start {
margin-top: 12px;
text-align: center;
& .start__purge-warning {
margin-top: -33px;
margin-bottom: 0.5rem;
padding: 1rem;
border-width: 1px 0 0;
background: linear-gradient(to bottom, var(--rc-color-alert-message-warning-background) 0%, rgba(255, 255, 255, 0) 100%);
}
}
& .new-message {
position: absolute;
z-index: 2;
bottom: 8px;
left: 50%;
width: 130px;
height: 30px;
margin: 0 -65px;
cursor: pointer;
user-select: none;
transition: transform 0.3s ease-out;
transform: translateY(0);
text-align: center;
border-radius: 20px;
font-size: 0.8em;
line-height: 30px;
&.not {
transform: translateY(150%);
}
}
& .jump-recent {
position: absolute;
z-index: 15;
right: 20px;
bottom: 0;
left: 20px;
height: 24px;
padding-right: 20px;
transition: transform 0.3s ease-out;
transform: translateY(0);
text-align: right;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
font-size: 0.8em;
line-height: 24px;
&.not {
transform: translateY(150%);
}
& button {
cursor: pointer;
user-select: none;
}
}
& .editing .body {
border-radius: var(--border-radius);
}
&.selectable .message {
cursor: pointer;
}
&.has-leader {
& .wrapper {
padding-top: 57px;
}
}
}
.rc-old .ticks-bar {
position: absolute;
z-index: 1;
right: 2px;
width: 10px;
height: 100%;
pointer-events: none;
& .tick {
position: absolute;
top: 50%;
width: 100%;
height: 2px;
border-radius: 2px;
&--me {
background-color: var(--mention-link-me-text-color);
}
&--group {
background-color: var(--mention-link-group-text-color);
}
}
}
.message {
position: relative;
z-index: 1;
min-height: 40px;
padding: 8px 50px 4px 70px;
line-height: 20px;
&-unread {
display: inline-block;
float: right;
width: 10px;
height: 10px;
margin: 0 0.25rem;
cursor: pointer;
border-radius: 50%;
background: var(--rc-color-button-primary);
}
&.highlighted {
background: #ffff99;
}
&.highlight {
animation: highlight 6s;
}
&:nth-child(1) {
margin-top: 0;
}
& .time {
padding-right: 2px;
padding-left: 2px;
white-space: nowrap;
}
&.new-day {
margin-top: 40px;
&::before {
position: absolute;
top: -30px;
left: calc(50% - 70px);
display: block;
min-width: 140px;
padding: 0 10px;
content: attr(data-date);
transition: all 0.3s;
text-align: center;
pointer-events: none;
border-radius: 2px;
font-size: 12px;
font-weight: 600;
}
&::after {
position: absolute;
z-index: -1;
top: -20px;
right: 0;
left: 0;
display: block;
margin: 0 var(--default-padding);
content: " ";
pointer-events: none;
border-width: 1px 0 0;
}
}
& .message-action {
display: none;
cursor: pointer;
}
&:hover:not(.system) .message-action {
display: block;
}
& .user {
display: inline-block;
margin-right: 5px;
font-family: inherit;
font-size: 0.875rem;
font-weight: 600;
line-height: inherit;
}
& .thumb {
position: absolute;
left: 24px;
display: block;
width: 36px;
height: 36px;
&:not(.thumb-small) .avatar {
width: 36px;
height: 36px;
}
&.thumb-small {
position: initial;
display: inline-block;
width: 20px;
height: 20px;
vertical-align: bottom;
& .avatar {
width: 20px;
height: 20px;
}
}
}
& .title {
display: flex;
flex-direction: row;
font-size: 0.75rem;
align-items: center;
& .edited {
margin-left: 3px;
}
& .is-bot,
& .role-tag {
margin: 0 3px;
padding: 1px 4px;
border-width: 1px;
border-radius: var(--border-radius);
background: #ffffff;
line-height: initial;
}
}
& .private {
margin-left: 10px;
}
&.sequential {
min-height: 20px;
margin-top: 0;
padding-top: 4px;
padding-bottom: 4px;
& .user {
display: none;
}
& .thumb:not(.thumb-small) {
display: none;
}
.message-custom-status {
display: none;
}
& .title {
position: absolute;
left: 5px;
width: 60px;
text-align: right;
justify-content: flex-end;
& .time,
& .role-tag,
& .is-bot {
display: none;
}
& .edited {
display: block;
margin-left: 0;
padding-left: 0;
white-space: nowrap;
border-left: 0;
}
& .private {
display: none;
}
& .message-action {
float: left;
margin-left: 1px;
}
}
&:hover .edited {
display: none;
}
}
& .body {
transition: opacity 0.3s linear;
word-break: break-word;
opacity: 1;
& > h1 {
font-size: 3em;
line-height: 1em;
}
& > h2 {
font-size: 2.5em;
line-height: 1em;
}
& > h3 {
font-size: 2em;
line-height: 1em;
}
& > h4 {
font-size: 1.5em;
line-height: 1em;
}
& ul,
& ol {
padding: 0 0 0 24px;
}
& ul {
list-style-type: disc;
}
& ol {
list-style-type: decimal;
}
& > table {
display: block;
overflow: auto;
& tr {
border-top: 1px solid #cccccc;
background-color: #ffffff;
&:nth-child(2n) {
background-color: #f6f8fa;
}
& th {
font-weight: 600;
}
& th,
& td {
padding: 6px 13px;
border: 1px solid #dddddd;
}
}
}
& > hr {
height: 3px;
margin: 12px 0;
padding: 0;
border: 0;
background-color: #e7e7e7;
}
}
&.temp .body {
opacity: 0.5;
}
& .message-alias {
padding-right: 2px;
padding-left: 2px;
font-weight: 400;
}
& .inline-image {
display: inline-block;
border-radius: 3px;
background-repeat: no-repeat;
background-position: center left;
background-size: contain;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
line-height: 0;
& img {
max-width: 100%;
max-height: 200px;
cursor: pointer;
object-fit: contain;
}
}
&.livechat_navigation_history {
& .thumb,
& .user,
& .info {
display: none;
}
}
&.collapsed {
min-height: 25px;
padding: 2px 50px 2px 70px;
font-size: 12px;
& > .thumb {
top: 3px;
width: 20px;
height: 20px;
margin-left: 16px;
& .avatar {
width: 100%;
height: 100%;
}
}
& .user {
font-size: 0.75rem;
font-weight: initial;
}
& .body,
& .message-oembed,
& .attachment,
& .reactions,
& .edited,
& .role-tag,
&:hover .message-actions {
display: none;
}
}
&.system {
min-height: 25px;
padding: 2px 50px 2px 70px;
font-size: 12px;
& > .thumb {
top: 3px;
width: 20px;
height: 20px;
margin-left: 16px;
& > .avatar {
width: 100% !important;
height: 100% !important;
}
}
& .message-body-wrapper {
& .title {
display: inline-flex;
& .user {
font-size: 0.75rem;
font-weight: initial;
}
& .reactions,
& .edited,
& .role-tag {
display: none;
}
}
& .body {
display: inline;
font-style: italic;
& em {
font-weight: 600;
}
& .attachment {
font-style: normal;
}
}
}
&:hover .message-actions {
display: none;
}
}
}
.rc-old .image-labels {
display: flex;
margin: 5px 0 25px;
flex-wrap: wrap;
}
.rc-old .image-label {
margin-top: 5px;
margin-right: 5px;
padding: 9px 4px;
border-radius: 2px;
font-size: 12px;
&:last-child {
margin-right: 0;
}
}
.rc-old .attachment-description {
margin: 6px;
line-height: 1;
}
.rc-old .cozy {
& .message {
padding: 4px 20px 4px 70px;
& .body {
margin-top: 0;
}
}
}
/* FLEX-TAB and FLEX-TAB views */
.rc-old .main-content-flex {
display: flex;
height: 100%;
flex-grow: 1;
}
.rc-old .list-view {
& .list {
position: relative;
display: flex;
width: 100%;
flex-flow: column nowrap;
& .message {
padding: 8px 0 4px 50px;
}
}
& > .title {
&:not(:last-child) {
margin: 0 0 20px;
}
& h2 {
font-size: 20px;
font-weight: 300;
line-height: 25px;
}
& p {
margin-top: 4px;
font-size: 12px;
}
& b {
font-weight: 600;
}
& .see-all {
float: right;
cursor: pointer;
text-decoration: underline;
border-width: 0;
&:hover {
text-decoration: none;
}
}
}
& .show-more-users {
display: block;
margin: 1em auto 0;
}
}
.rc-old .user-view {
z-index: 15;
overflow-x: hidden;
overflow-y: auto;
& .about {
width: 100%;
margin-bottom: 20px;
}
& .thumb {
width: 100%;
height: 350px;
padding: 20px;
}
& nav {
padding: 0 20px;
& .back {
float: right;
}
}
& .info {
padding: 0 20px;
white-space: normal;
& h2 {
overflow: hidden;
width: 100%;
margin: 8px 0;
user-select: text;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 24px;
line-height: 27px;
& i::after {
display: inline-block;
width: 8px;
height: 8px;
content: " ";
vertical-align: middle;
border-radius: var(--border-radius);
}
}
& h3 {
margin: 8px 0;
}
& p {
user-select: text;
font-size: 12px;
font-weight: 300;
line-height: 18px;
}
}
& .stats li {
display: inline-block;
margin-bottom: 3px;
padding: 4px 6px;
border-right: 2px;
border-radius: 2px;
}
& .box {
position: relative;
margin-bottom: 25px;
font-size: 13px;
& h4 {
margin-bottom: 6px;
text-transform: uppercase;
font-size: 13px;
font-weight: 600;
}
&::after {
position: absolute;
bottom: -10px;
left: 0;
width: 100%;
height: 1px;
content: " ";
}
}
& .tags li {
display: inline-block;
padding: 4px;
border-right: 2px;
}
& .links {
& i {
margin-right: 5px;
font-size: 13px;
}
& a {
position: relative;
display: block;
overflow: hidden;
max-width: 100%;
padding: 0 5px;
transition: background 0.18s ease, color 0.18s ease;
white-space: nowrap;
text-overflow: ellipsis;
border-radius: 2px;
line-height: 22px;
&::before {
position: absolute;
top: 0;
right: 5px;
content: attr(data-stats);
opacity: 0;
font-size: 11px;
}
&:hover {
padding-right: 34px;
text-decoration: none;
&::before {
opacity: 1;
}
}
& span {
font-weight: 300;
}
}
}
& .channels {
& h3 {
margin-bottom: 8px;
font-size: 24px;
line-height: 22px;
}
& p {
font-size: 12px;
font-weight: 300;
line-height: 18px;
}
& a {
position: relative;
display: block;
overflow: hidden;
max-width: 100%;
padding: 0 5px;
transition: background 0.18s ease, color 0.18s ease;
white-space: nowrap;
text-overflow: ellipsis;
border-radius: 2px;
line-height: 22px;
&::before {
position: absolute;
top: 0;
right: 5px;
content: attr(data-stats);
opacity: 0;
font-size: 11px;
}
& span {
font-weight: 300;
}
}
}
}
.rc-old .edit-form {
padding: 20px 20px 0;
white-space: normal;
& h3 {
margin-bottom: 8px;
font-size: 24px;
line-height: 22px;
}
& p {
font-size: 12px;
font-weight: 300;
line-height: 18px;
}
& > .input-line {
margin-top: 20px;
& #password {
width: 70%;
}
& #roleSelect {
width: 70%;
}
}
& nav {
padding: 0;
&.buttons {
margin-top: 2em;
}
}
& .form-divisor {
height: 9px;
margin: 2em 0;
text-align: center;
& > span {
padding: 0 1em;
}
}
}
.rc-old #login-card {
position: relative;
z-index: 1;
width: 100%;
max-width: 520px;
margin: 20px auto;
padding: 20px;
border-radius: 2px;
box-shadow: 0 0 2px 0 rgba(47, 52, 61, 0.08), 0 0 12px 0 rgba(47, 52, 61, 0.12);
& header {
padding: 18px 0 23px;
& p {
margin: 8px 0 0;
font-size: 14px;
font-weight: 300;
line-height: 22px;
}
}
& h2 {
margin: 0;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 20px;
font-weight: 300;
line-height: 24px;
}
& h3 {
margin: 18px 0;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 16px;
font-weight: 300;
}
& img {
width: 200px;
}
& a {
display: inline-block;
margin: 4px 0;
}
& .options {
display: none;
width: 100%;
font-size: 10px;
}
& .input-line {
position: relative;
margin: 0 0 14px;
&::before {
position: absolute;
top: 7px;
left: 0;
width: 100%;
height: 40px;
content: " ";
cursor: text;
}
&.active::before {
visibility: hidden;
}
& input,
& select {
position: relative;
width: 100%;
padding: 4px 8px;
border-width: 0 0 1px;
border-radius: 0;
box-shadow: 0 0 0;
font-size: 18px;
font-weight: 400;
&:focus {
border-color: #1d74f5 !important;
}
}
& label {
display: block;
margin-left: 8px;
transition: all 0.3s;
text-align: left;
color: #a9a9a9;
font-size: 12px;
}
& .input-error {
padding-left: 8px;
text-align: left;
color: #b40202;
font-size: 14px;
font-weight: bold;
}
}
}
.rc-old .oauth-login {
display: flex;
margin-bottom: 16px;
margin-left: -4px;
flex-flow: row wrap;
justify-content: space-around;
& h3 {
margin-top: 0;
margin-bottom: 12px;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 16px;
font-weight: 300;
}
button {
margin: 0 5px;
flex-grow: 1;
}
& .button {
margin-bottom: 4px;
font-size: 18px;
line-height: 22px;
flex-grow: 1;
&:first-child {
margin-left: 4px;
}
}
}
.full-page,
.page-loading {
background-color: var(--rc-color-primary);
}
.rc-old.full-page {
display: flex;
overflow: auto;
width: 100%;
min-height: 100%;
margin: auto;
text-align: center;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
align-items: flex-start;
flex-flow: row nowrap;
& .wrapper {
position: relative;
z-index: 10;
width: 100%;
margin: auto;
padding: 20px;
text-align: center;
}
& .logo {
display: block;
width: 100%;
max-width: 520px;
margin: 0 auto;
padding: 0 20px;
& > img {
position: relative;
z-index: 20;
top: 0;
right: 0;
display: inline-block;
max-width: 100%;
max-height: 150px;
}
}
& a:not(.rcx-box) {
font-weight: 300;
}
& .cell {
display: table-cell;
text-align: center;
vertical-align: middle;
}
& header:not(.rcx-box) {
position: relative;
z-index: 1;
display: block;
max-width: 520px;
margin: auto;
padding: 0 20px;
}
& .text {
position: relative;
z-index: 1;
max-width: 580px;
margin: 0 auto 25px;
font-weight: 300;
& .button {
margin-top: 20px;
padding: 16px 20px;
font-weight: 400;
}
& h1 {
display: none;
margin-bottom: 20px;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 24px;
font-weight: 600;
}
& h2 {
margin: 18px 0;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 20px;
font-weight: 300;
}
& h3 {
margin: 18px 0;
letter-spacing: -0.5px;
text-transform: uppercase;
font-size: 16px;
font-weight: 300;
}
& p {
margin: 18px 0;
font-size: 16px;
font-weight: 400;
line-height: 24px;
}
}
& footer {
position: relative;
z-index: 1;
padding: 20px 0 0;
& h4 {
margin-bottom: 8px;
text-transform: uppercase;
font-size: 12px;
font-weight: 300;
}
& div.switch-language {
margin-top: 20px;
}
}
& .share {
min-height: 40px;
border-radius: 50%;
line-height: 20px;
&::before {
border-radius: 50%;
}
& span {
display: none;
}
}
}
.rc-old .highlight-text {
padding: 2px;
border-radius: 15px;
}
.rc-old .avatar-suggestions {
display: flex;
flex-flow: column nowrap;
}
.rc-old .avatar-suggestion-item {
display: flex;
width: 100%;
margin: 5px 0;
padding: 12px;
transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
text-align: left;
border-width: 1px;
border-radius: var(--border-radius);
align-items: center;
flex-flow: row nowrap;
&:first-child {
margin-top: 10px;
}
& .avatar {
position: relative;
width: 55px;
min-width: 55px;
max-width: 55px;
height: 55px;
min-height: 55px;
max-height: 55px;
text-align: center;
background-size: cover;
font-size: 40px;
}
& .question-mark::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin: 0;
line-height: 55px;
}
& .action {
padding-left: 20px;
text-align: right;
}
& .button {
min-width: 120px;
cursor: pointer;
text-align: center;
}
& .input-line {
display: flex;
align-items: center;
}
& #avatarurl {
margin-right: 20px;
}
& input[type=file] {
position: absolute !important;
z-index: 10000;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: pointer;
opacity: 0;
& * {
cursor: pointer;
}
}
& .avatar-file-input::-webkit-file-upload-button {
visibility: hidden;
}
}
.rc-old .dropzone {
& .dropzone-overlay {
position: absolute;
z-index: 1000000;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
animation-name: zoomIn;
animation-duration: 0.1s;
text-align: center;
background: rgba(255, 255, 255, 0.8);
font-size: 42px;
align-items: center;
justify-content: center;
&--enabled {
color: var(--color-blue);
border: 4px dashed var(--color-blue);
}
&--disabled {
color: var(--color-red);
border: 4px dashed var(--color-red);
}
}
&.over .dropzone-overlay {
display: flex;
}
}
@keyframes zoomIn {
0% {
transform: scale3d(0.9, 0.9, 0.9);
opacity: 0;
}
50% {
opacity: 1;
}
}
.rc-old .touch .footer {
padding-right: 10px;
padding-left: 10px;
}
.webrtc-video {
&.webrtc-video-overlay,
& .main-video,
& .state-overlay::before,
& .videos .video-item {
color: var(--color-white);
}
&.webrtc-video-overlay {
position: fixed;
z-index: 1000;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
overflow-y: auto;
flex-direction: column;
padding: var(--default-small-padding);
background-color: #ffffff;
& .main-video {
display: flex;
flex-direction: column;
min-height: 140px;
margin-bottom: 4px;
align-items: center;
flex-grow: 1;
.webrtc-video-element {
width: auto;
max-width: 100%;
height: 100%;
min-height: 140px;
}
}
}
& .main-video {
text-align: center;
& .webrtc-video-element {
width: 100%;
min-height: 299px;
}
& > div {
position: relative;
margin-top: -28px;
margin-bottom: 2px;
padding: 0 8px;
text-align: center;
font-weight: bold;
line-height: 25px;
}
}
& .video-flip {
transform: scaleX(-1);
filter: FlipH;
}
& .videos {
display: flex;
flex-wrap: wrap;
justify-content: center;
& .video-item {
position: relative;
overflow: hidden;
width: 93px;
margin-right: 3px;
margin-bottom: 3px;
text-align: center;
line-height: 0;
& &.state-overlay::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
content: attr(data-state-text);
font-size: 12px;
font-weight: bold;
align-items: center;
justify-content: center;
}
& .webrtc-video-element {
max-width: 100px;
height: 70px;
}
& > div {
position: relative;
overflow: hidden;
margin-top: -16px;
padding: 0 2px;
text-align: center;
text-overflow: ellipsis;
font-size: 12px;
font-weight: bold;
line-height: 16px;
}
& .video-muted-overlay {
position: absolute;
top: 16px;
right: 0;
bottom: 16px;
left: 0;
display: flex;
text-align: center;
font-size: 24px;
align-items: center;
justify-content: center;
}
}
}
}
.webrtc-video-element {
background-color: #000000;
}
.rc-old .alert-icon {
display: block;
margin-bottom: 20px;
font-size: 80px;
}
.rc-old .inline-video {
width: 100%;
max-width: 480px;
height: auto;
max-height: 270px;
}
.rc-old .attention-message {
padding-top: 50px;
font-size: 24px;
& i {
display: block;
margin-bottom: 20px;
font-size: 40px;
}
& span {
display: block;
}
}
.rc-old .load-more {
position: relative;
height: 2rem;
}
.flex-tab.discussions > .flex-tab__content {
padding: 0;
}
.rc-old .flex-tab {
&__content {
display: flex;
flex-direction: column;
height: 100%;
}
&__header {
flex: 0 0 auto;
padding-bottom: 10px;
}
&__result {
overflow-x: hidden;
overflow-y: auto;
flex: 1 1 auto;
}
& .no-results {
text-align: center;
}
}
.rc-old .code-colors {
color: #333333;
border-color: #cccccc;
background-color: #f8f8f8;
}
.rc-old .powered-by {
margin-top: 1em;
}
.rc-old .code-error-box {
& .title {
margin-top: 5px;
padding: 5px;
font-size: 16px;
font-weight: bold;
}
& .script-error {
padding: 6px;
border-left: 3px solid;
font-size: 12px;
font-weight: bold;
}
}
.rc-old .code-mirror-box {
& .title {
display: none;
}
& .button-fullscreen {
display: initial;
}
& .button-restore {
display: none;
}
& .buttons {
margin: 10px 0;
}
& .CodeMirror {
border-width: var(--input-border-width);
border-color: var(--input-border-color);
border-radius: var(--input-border-radius);
}
&.code-mirror-box-fullscreen {
position: fixed;
z-index: 100;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
width: auto;
height: auto;
padding: 40px;
align-items: stretch;
& .buttons {
border-width: 0;
}
& .title {
display: initial;
font-size: 16px;
line-height: 50px;
}
& .button-fullscreen {
display: none;
}
& .button-restore {
display: initial;
}
& .CodeMirror {
display: flex;
flex-direction: column;
flex-grow: 1;
& .CodeMirror-scroll {
flex-grow: 1;
}
}
}
}
.rc-old .collapse-switch {
cursor: pointer;
}
.toggle-hidden {
cursor: pointer;
font-style: italic;
}
/* kinda hacky, needed in oembedFrageWidget.html */
.rc-old br.only-after-a {
display: none;
}
.rc-old a + br.only-after-a {
display: block;
}
.rc-old .hide-usernames .message .user.user-card-message .message-alias {
display: none;
}
.rc-old .hide-avatars .message {
padding-left: 20px;
& .thumb.user-card-message:not(.thumb-small) {
display: none;
}
& .user.user-card-message {
margin-left: -5px;
}
& .thread-icons--thread {
position: relative;
left: 0;
margin: 0 3px;
}
}
.rc-old .messages-box:not(.compact) .hide-avatars .message.sequential .info {
position: static;
float: right;
width: auto;
}
.rc-old .form-inline {
& input,
& select {
display: inline-block;
width: auto;
vertical-align: middle;
}
& label {
display: inline-block;
max-width: 100%;
}
& .form-group {
display: inline-block;
vertical-align: middle;
}
}
.rc-old .embedded-view {
& .messages-container {
border-width: 0;
& .messages-box {
margin-top: 0;
}
& .footer {
min-height: 36px;
padding: 0;
& .users-typing {
display: none;
}
& .formatting-tips {
display: none;
}
}
}
}
.rc-old .user-info.deactivated {
text-decoration: line-through;
opacity: 0.8;
}
/* MEDIA QUERIES */
@media (width <= 1100px) {
.rc-old .flex-tab-container.opened .flex-tab {
position: absolute;
z-index: 100;
right: 40px;
height: 100%;
}
}
@media (width > 780px) {
.rc-old.main-content {
transform: translateX(0) !important;
}
}
@media (width <= 780px) {
.rc-old.main-content {
transition: right 0.25s cubic-bezier(0.5, 0, 0.1, 1), transform 0.1s linear;
will-change: transform;
}
.rc-old {
&.burger {
display: inline-block;
visibility: visible;
}
& .fixed-title h2 {
margin-left: 45px;
}
& .messages-box {
padding: 0 10px;
}
}
.rc-old .code-mirror-box.code-mirror-box-fullscreen {
left: 0;
}
.rc-old .container-bars .unread-bar {
& .unread-count {
display: inline-block;
}
& .unread-count-since {
display: none;
}
}
.rc-old .container-bars .unread-bar > button.jump-to {
& .jump-to-small {
display: inline-block;
}
& .jump-to-large {
display: none;
}
}
.add-token {
display: block !important;
& .rc-select {
width: auto !important;
margin: 10px 0 !important;
}
}
}
@media (width <= 500px) {
.cms-page {
padding: 0;
&__content {
margin: 0;
padding: 0 1rem 1rem;
}
& .cms-page-close {
margin-top: 10px;
}
}
}
@media (height <= 480px) {
.rc-old #login-card {
margin: 10px auto;
padding: 10px;
& .input-line {
margin-bottom: 6px;
}
& .submit {
margin: 0;
}
}
.rc-old .oauth-login {
margin-bottom: 6px;
}
}
@media (width <= 440px) {
.rc-old .flex-tab-container.opened .flex-tab {
left: 0;
width: auto;
}
.flex-tab-container.opened {
left: 0;
}
}
@media (height <= 400px) {
.upload-preview .upload-preview-file {
height: 100px;
}
}
.room-leader .chat-now {
position: absolute;
right: 25px;
height: 30px;
padding: 4px;
cursor: pointer;
text-align: center;
text-decoration: none;
color: #555555;
border: 1px solid var(--color-gray-light);
border-radius: var(--border-radius);
font-family: arial;
font-size: 14px;
}
.room-leader a.chat-now:hover {
color: #555555;
}
.room-leader {
position: absolute;
z-index: 9;
right: 0;
left: 0;
display: flex;
visibility: visible;
flex-direction: column;
height: 57px;
padding-bottom: 8px;
transition: transform 0.15s cubic-bezier(0.5, 0, 0.1, 1), visibility 0.15s cubic-bezier(0.5, 0, 0.1, 1);
border-bottom: 1px solid var(--color-gray-lightest);
justify-content: center;
&.message:hover {
background-color: #ffffff;
}
&.animated-hidden {
visibility: hidden;
transform: translateY(-100%);
}
& .leader-name {
font-size: 18px;
}
& .leader-status {
& .status-text {
padding-left: 15px;
font-size: 14px;
}
& .color-ball {
position: absolute;
width: 10px;
height: 10px;
margin-top: 5px;
border-radius: 5px;
}
}
}