-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Discover] Improve empty state page (#103602)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
- Loading branch information
1 parent
856ec00
commit 09c49f5
Showing
10 changed files
with
287 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
src/plugins/discover/public/application/apps/main/components/no_results/_no_results.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
.dscNoResults { | ||
padding: $euiSize; | ||
padding: $euiSizeL; | ||
} | ||
|
||
.dscPageContent--emptyPrompt { | ||
// override EUI specificity | ||
max-width: $euiSizeXXL * 19 !important; // sass-lint:disable-line no-important | ||
} |
19 changes: 19 additions & 0 deletions
19
...er/public/application/apps/main/components/no_results/assets/no_results_illustration.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.dscNoResultsIllustration__decor { | ||
fill: lightOrDarkTheme(#E6EBF2, #294492); | ||
} | ||
|
||
.dscNoResultsIllustration__fly { | ||
fill: lightOrDarkTheme(#294492, #E6EBF2); | ||
} | ||
|
||
@include euiBreakpoint('xs', 's') { | ||
.dscNoResults__illustration > svg { | ||
width: $euiSize * 12; | ||
height: auto; | ||
margin: 0 auto; | ||
} | ||
|
||
.dscNoResults__title { | ||
text-align: center; | ||
} | ||
} |
124 changes: 124 additions & 0 deletions
124
...ver/public/application/apps/main/components/no_results/assets/no_results_illustration.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.