123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- @import "../../packages/excalidraw/css/variables.module.scss";
- .excalidraw {
- .ShareDialog {
- display: flex;
- flex-direction: column;
- gap: 1.5rem;
- @include isMobile {
- height: calc(100vh - 5rem);
- }
- &__separator {
- border-top: 1px solid var(--dialog-border-color);
- text-align: center;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: 1em;
- span {
- background: var(--island-bg-color);
- padding: 0px 0.75rem;
- transform: translateY(-1ch);
- display: inline-flex;
- line-height: 1;
- }
- }
- &__popover {
- @keyframes ShareDialog__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);
- color: var(--color-success-text);
- & > svg {
- width: 0.875rem;
- height: 0.875rem;
- }
- transform-origin: var(--radix-popover-content-transform-origin);
- animation: ShareDialog__popover__scaleIn 150ms ease-out;
- }
- &__picker {
- 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;
- }
- }
- &__button {
- 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;
- }
- }
- }
- }
|