Fix CSS: no css code in _variables.scss, only variables.

This commit is contained in:
John Livingston 2024-03-26 14:43:53 +01:00
parent 1fd985ce3e
commit bc9c9923d5
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 22 additions and 21 deletions

View File

@ -17,27 +17,6 @@ body.converse-embedded {
--livechat-transparent: rgba(0 0 0 / 0%);
}
body.converse-embedded {
.conversejs .modal {
// modal z-index = use same z-index as Peertube (see Peertube _variables.scss)
z-index: 19000;
}
.modal-backdrop {
// must be just under .modal.
z-index: 18999;
}
}
/* Chat embedded in a full client page. */
.livechat-embed-fullpage {
converse-root {
display: block;
height: 90vh;
min-height: 400px;
}
}
.conversejs.theme-peertube,
.conversejs-bg.theme-peertube,
#conversejs-bg.theme-peertube,

View File

@ -89,3 +89,25 @@ body.livechat-transparent {
display: none !important;
}
}
/* Chat directly embedded in Peertube */
body.converse-embedded {
.conversejs .modal {
// modal z-index = use same z-index as Peertube (see Peertube _variables.scss)
z-index: 19000;
}
.modal-backdrop {
// must be just under .modal.
z-index: 18999;
}
}
/* Chat embedded in a full client page. */
.livechat-embed-fullpage {
converse-root {
display: block;
height: 90vh;
min-height: 400px;
}
}