diff --git a/src/frontend/apps/impress/src/components/Box.tsx b/src/frontend/apps/impress/src/components/Box.tsx index 80a8a69e..84e32057 100644 --- a/src/frontend/apps/impress/src/components/Box.tsx +++ b/src/frontend/apps/impress/src/components/Box.tsx @@ -24,6 +24,7 @@ export interface BoxProps { $hasTransition?: boolean | 'slow'; $height?: CSSProperties['height']; $justify?: CSSProperties['justifyContent']; + $opacity?: CSSProperties['opacity']; $overflow?: CSSProperties['overflow']; $margin?: MarginPadding; $maxHeight?: CSSProperties['maxHeight']; @@ -65,6 +66,7 @@ export const Box = styled('div')` ${({ $minHeight }) => $minHeight && `min-height: ${$minHeight};`} ${({ $maxWidth }) => $maxWidth && `max-width: ${$maxWidth};`} ${({ $minWidth }) => $minWidth && `min-width: ${$minWidth};`} + ${({ $opacity }) => $opacity && `opacity: ${$opacity};`} ${({ $overflow }) => $overflow && `overflow: ${$overflow};`} ${({ $padding }) => $padding && stylesPadding($padding)} ${({ $position }) => $position && `position: ${$position};`} diff --git a/src/frontend/apps/impress/src/cunningham/cunningham-custom-tokens.css b/src/frontend/apps/impress/src/cunningham/cunningham-style.css similarity index 84% rename from src/frontend/apps/impress/src/cunningham/cunningham-custom-tokens.css rename to src/frontend/apps/impress/src/cunningham/cunningham-style.css index 200005b5..f3d42853 100644 --- a/src/frontend/apps/impress/src/cunningham/cunningham-custom-tokens.css +++ b/src/frontend/apps/impress/src/cunningham/cunningham-style.css @@ -1,3 +1,6 @@ +@import url('@gouvfr-lasuite/ui-kit/style'); +@import url('./cunningham-tokens.css'); + :root { /** * Input @@ -33,3 +36,10 @@ --c--components--button--border-radius ); } + +/** + * Tooltip +*/ +.c__tooltip { + padding: 4px 6px; +} diff --git a/src/frontend/apps/impress/src/features/docs/doc-search/assets/illustration-docs-empty.png b/src/frontend/apps/impress/src/features/docs/doc-search/assets/illustration-docs-empty.png index fa6a726c..c3dbb6e4 100644 Binary files a/src/frontend/apps/impress/src/features/docs/doc-search/assets/illustration-docs-empty.png and b/src/frontend/apps/impress/src/features/docs/doc-search/assets/illustration-docs-empty.png differ diff --git a/src/frontend/apps/impress/src/pages/globals.css b/src/frontend/apps/impress/src/pages/globals.css index bc15160d..c6bb8ac7 100644 --- a/src/frontend/apps/impress/src/pages/globals.css +++ b/src/frontend/apps/impress/src/pages/globals.css @@ -1,6 +1,4 @@ -@import url('@gouvfr-lasuite/ui-kit/style'); -@import url('../cunningham/cunningham-tokens.css'); -@import url('../cunningham/cunningham-custom-tokens.css'); +@import url('../cunningham/cunningham-style.css'); @import url('@fontsource/material-icons'); body {