From 6224e98774dea5bff0adc3fd3202fb2fe0ace5e2 Mon Sep 17 00:00:00 2001 From: Nathan Panchout Date: Thu, 15 May 2025 08:57:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20add=20new=20SVG=20assets?= =?UTF-8?q?=20and=20skeleton=20loading=20styles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Introduced new SVG files for "desynchro" and "undo" icons to enhance the user interface. - Added a skeleton loading style in globals.css to improve the visual experience during content loading. --- .../docs/doc-share/assets/desynchro.svg | 5 +++++ .../features/docs/doc-share/assets/undo.svg | 5 +++++ .../apps/impress/src/pages/globals.css | 22 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 src/frontend/apps/impress/src/features/docs/doc-share/assets/desynchro.svg create mode 100644 src/frontend/apps/impress/src/features/docs/doc-share/assets/undo.svg diff --git a/src/frontend/apps/impress/src/features/docs/doc-share/assets/desynchro.svg b/src/frontend/apps/impress/src/features/docs/doc-share/assets/desynchro.svg new file mode 100644 index 00000000..92cbf5dd --- /dev/null +++ b/src/frontend/apps/impress/src/features/docs/doc-share/assets/desynchro.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/frontend/apps/impress/src/features/docs/doc-share/assets/undo.svg b/src/frontend/apps/impress/src/features/docs/doc-share/assets/undo.svg new file mode 100644 index 00000000..4150522f --- /dev/null +++ b/src/frontend/apps/impress/src/features/docs/doc-share/assets/undo.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/frontend/apps/impress/src/pages/globals.css b/src/frontend/apps/impress/src/pages/globals.css index c6bb8ac7..d4a649c4 100644 --- a/src/frontend/apps/impress/src/pages/globals.css +++ b/src/frontend/apps/impress/src/pages/globals.css @@ -76,3 +76,25 @@ main ::-webkit-scrollbar-thumb:hover, nextjs-portal { display: none; } + + +.skeleton { + background: linear-gradient( + 100deg, + var(--c--theme--colors--greyscale-050) 30%, + var(--c--theme--colors--greyscale-100) 50%, + var(--c--theme--colors--greyscale-050) 70% + ); + background-size: 200% 100%; + animation: shimmer 2.5s infinite; + border-radius: 4px; +} + +@keyframes shimmer { + 0% { + background-position: -200% 0; + } + 100% { + background-position: 200% 0; + } +} \ No newline at end of file