mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-02-18 13:29:36 +01:00

* build: Welcome ESM and Bye Bye UMD * remove package * create unbundled esm build * update script for example * fix typo * dummy commit * update autorelease script to build esm * revert dummy commit * move react, react-dom and testing library to dev dependencies * remove entry.js, publicPath and yarn install:deps script * fix * upgrade esbuild to fix glob import error for locales * remove webpack chunk names as thats not needed anymore * marking the code sideeffects free * make the library tree-shakeable and move fonts to fonts directory * allow side effects for css, scss files * remove tree-shaking * comment code for tree shaking * move to vite for example * bye bye webpack * ignore ts * separate build and output dir * use esbuild for creating bundle for example * update output dir * lint * create browser dev build with source maps and prod with minification * add dev and prod builds for bundler * lint * update script * remove await * load prod build * create minified build in dist * prod and dev builds using export field * remove import.meta * dummy * define import.meta prod and dev * fix * export types * add types field * typo * lint * Update scripts/buildPackage.js * move types inside export * newline
150 lines
2.7 KiB
SCSS
150 lines
2.7 KiB
SCSS
@import "../../packages/excalidraw/css/variables.module.scss";
|
|
|
|
.excalidraw {
|
|
.RoomDialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
|
|
@include isMobile {
|
|
height: calc(100vh - 5rem);
|
|
}
|
|
|
|
&__popover {
|
|
@keyframes RoomDialog__popover__scaleIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
box-sizing: border-box;
|
|
z-index: 100;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
padding: 0.125rem 0.5rem;
|
|
gap: 0.125rem;
|
|
|
|
height: 1.125rem;
|
|
|
|
border: none;
|
|
border-radius: 0.6875rem;
|
|
|
|
font-family: "Assistant";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-size: 0.75rem;
|
|
line-height: 110%;
|
|
|
|
background: var(--color-success-lighter);
|
|
color: var(--color-success);
|
|
|
|
& > svg {
|
|
width: 0.875rem;
|
|
height: 0.875rem;
|
|
}
|
|
|
|
transform-origin: var(--radix-popover-content-transform-origin);
|
|
animation: RoomDialog__popover__scaleIn 150ms ease-out;
|
|
}
|
|
|
|
&__inactive {
|
|
font-family: "Assistant";
|
|
|
|
&__illustration {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
& svg {
|
|
filter: var(--theme-filter);
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
font-weight: 700;
|
|
font-size: 1.3125rem;
|
|
line-height: 130%;
|
|
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
&__description {
|
|
font-weight: 400;
|
|
font-size: 0.875rem;
|
|
line-height: 150%;
|
|
|
|
text-align: center;
|
|
|
|
color: var(--text-primary-color);
|
|
|
|
& strong {
|
|
display: block;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
&__start_session {
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
&__active {
|
|
&__share {
|
|
display: none !important;
|
|
|
|
@include isMobile {
|
|
display: flex !important;
|
|
}
|
|
}
|
|
|
|
&__header {
|
|
margin: 0;
|
|
}
|
|
|
|
&__linkRow {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-end;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
&__description {
|
|
border-top: 1px solid var(--color-gray-20);
|
|
|
|
padding: 0.5rem 0.5rem 0;
|
|
font-weight: 400;
|
|
font-size: 0.75rem;
|
|
line-height: 150%;
|
|
|
|
& p {
|
|
margin: 0;
|
|
}
|
|
|
|
& p + p {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
|
|
&__actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
}
|
|
}
|