Files
ThreadNet-Web/src/vector/jitsi/index.pcss
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

107 lines
2.3 KiB
Plaintext
Raw Normal View History

2020-03-18 15:47:56 -06:00
/*
2024-09-06 15:44:31 +01:00
Copyright 2020-2024 New Vector Ltd.
2020-03-18 15:47:56 -06:00
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
2024-09-06 15:44:31 +01:00
Please see LICENSE files in the repository root for full details.
2020-03-18 15:47:56 -06:00
*/
/* TODO: Match the user's theme: https://github.com/element-hq/element-web/issues/12794 */
2020-03-18 15:47:56 -06:00
@import url("@vector-im/compound-design-tokens/assets/web/css/compound-design-tokens.css");
2024-10-15 14:57:26 +01:00
/* Path to `res` dir in the source tree */
$res: ../../../res;
2020-03-18 15:47:56 -06:00
@font-face {
font-family: "Nunito";
font-style: normal;
font-weight: 400;
2024-10-15 14:57:26 +01:00
src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
2020-03-18 15:47:56 -06:00
}
2020-10-19 18:51:16 +01:00
$dark-fg: #edf3ff;
$dark-bg: #363c43;
2020-10-19 18:51:16 +01:00
$light-fg: #2e2f32;
$light-bg: #fff;
2020-03-18 15:47:56 -06:00
body {
font-family: Nunito, Arial, Helvetica, sans-serif;
2020-10-19 18:51:16 +01:00
background-color: $dark-bg;
color: $dark-fg;
}
body.theme-light {
background-color: $light-bg;
color: $light-fg;
2020-03-18 15:47:56 -06:00
}
body,
html {
padding: 0;
margin: 0;
}
#jitsiContainer {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#joinButtonContainer {
display: table;
position: absolute;
height: 100%;
width: 100%;
/* Hidden by default to avoid flashing the prejoin screen at the user when */
/* we're supposed to skip it anyways */
visibility: hidden;
2020-03-18 15:47:56 -06:00
}
2020-03-19 11:47:43 -06:00
.joinConferenceFloating {
2020-03-18 15:47:56 -06:00
display: table-cell;
vertical-align: middle;
}
2020-03-19 11:47:43 -06:00
.joinConferencePrompt {
2020-03-18 15:47:56 -06:00
margin-left: auto;
margin-right: auto;
width: 90%;
text-align: center;
}
#joinButton {
/* Copy of Compound Button styles */
border: 1px solid var(--cpd-color-bg-action-primary-rest);
color: var(--cpd-color-text-on-solid-primary);
background-color: var(--cpd-color-bg-action-primary-rest);
padding-block: var(--cpd-space-2x);
padding-inline: var(--cpd-space-8x);
min-block-size: var(--cpd-space-12x);
2020-03-18 15:47:56 -06:00
text-align: center;
border-radius: 24px;
display: inline-flex;
align-items: center;
justify-content: center;
font: var(--cpd-font-body-lg-semibold);
border: none;
word-break: keep-all;
cursor: pointer;
2020-03-18 15:47:56 -06:00
}
.joinConferencePrompt svg {
$icon-size: 42px;
/* to visually center the form */
margin: -$icon-size auto 0;
color: $dark-fg;
mask-size: $icon-size;
display: block;
width: $icon-size;
height: $icon-size;
}
2020-10-19 18:51:16 +01:00
body.theme-light .joinConferencePrompt svg {
color: $light-fg;
2020-10-19 18:51:16 +01:00
}