* Switch to rendered svg for Field select decoration instead of SVG mask Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace warning.svg with Compound icon Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace device kind icons with Compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Draw notification badge decoration using SVG rather than CSS masks Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Replace {collapse,expand}-message icons with Compound Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove stale icon prefetch Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Render icons in AddExistingToSpaceDialog using SVGs rather than CSS masks Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Render icons in Jitsi landing page using SVGs rather than CSS masks Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update screenshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix field label Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Add tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Revert icon colour Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
107 lines
2.3 KiB
Plaintext
107 lines
2.3 KiB
Plaintext
/*
|
|
Copyright 2020-2024 New Vector Ltd.
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
/* TODO: Match the user's theme: https://github.com/element-hq/element-web/issues/12794 */
|
|
|
|
@import url("@vector-im/compound-design-tokens/assets/web/css/compound-design-tokens.css");
|
|
/* Path to `res` dir in the source tree */
|
|
$res: ../../../res;
|
|
|
|
@font-face {
|
|
font-family: "Nunito";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
|
|
}
|
|
|
|
$dark-fg: #edf3ff;
|
|
$dark-bg: #363c43;
|
|
$light-fg: #2e2f32;
|
|
$light-bg: #fff;
|
|
body {
|
|
font-family: Nunito, Arial, Helvetica, sans-serif;
|
|
background-color: $dark-bg;
|
|
color: $dark-fg;
|
|
}
|
|
|
|
body.theme-light {
|
|
background-color: $light-bg;
|
|
color: $light-fg;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
.joinConferenceFloating {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.joinConferencePrompt {
|
|
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);
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
body.theme-light .joinConferencePrompt svg {
|
|
color: $light-fg;
|
|
}
|