-
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.
Adds auto scroll to advanced setting provided in the URL hash Registered plugins to feature catalogue to be displayed on home page Rearrange add data section Fix solution panel conditional rendering Removed extraneous import Remmoved environment update from observability plugin Registrered features to feature catalog for ingest manager, ml, and index lifecycle management Fixed import Added max width to Kibana solution card Fixed feature id Fixed enterprise search link Updated solutions logos Fixed beta label on ingest manager card Fixed logos Cleaned up CSS Change home route redirects user to advanced settings Conditionally renders default route advanced setting link Restored app search logo Hides graph description on home page on basic license Style home page header and other misc design tweaks (#72481)
- Loading branch information
Showing
48 changed files
with
1,181 additions
and
599 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
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
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
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,21 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
export const PLUGIN_ID = 'home'; | ||
export const HOME_APP_BASE_PATH = `/app/${PLUGIN_ID}`; |
63 changes: 4 additions & 59 deletions
63
src/plugins/home/public/application/components/_add_data.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,63 +1,8 @@ | ||
.homAddData__card { | ||
border: none; | ||
box-shadow: none; | ||
} | ||
|
||
.homAddData__cardDivider { | ||
position: relative; | ||
|
||
&:after { | ||
position: absolute; | ||
content: ''; | ||
width: 1px; | ||
right: -$euiSizeS; | ||
top: 0; | ||
bottom: 0; | ||
background: $euiBorderColor; | ||
} | ||
} | ||
|
||
.homAddData__icon { | ||
width: $euiSizeXL * 2; | ||
height: $euiSizeXL * 2; | ||
} | ||
|
||
.homAddData__footerItem--highlight { | ||
background-color: tintOrShade($euiColorPrimary, 90%, 70%); | ||
padding: $euiSize; | ||
} | ||
|
||
.homAddData__footerItem { | ||
.homAddData__image { | ||
text-align: center; | ||
} | ||
|
||
.homAddData__logo { | ||
margin-left: $euiSize; | ||
} | ||
|
||
@include euiBreakpoint('xs', 's') { | ||
.homeAddData__flexGroup { | ||
flex-wrap: wrap; | ||
} | ||
} | ||
|
||
@include euiBreakpoint('xs', 's', 'm') { | ||
.homAddDat__flexTablet { | ||
flex-direction: column; | ||
} | ||
|
||
.homAddData__cardDivider:after { | ||
display: none; | ||
} | ||
|
||
.homAddData__cardDivider { | ||
flex-grow: 0 !important; | ||
flex-basis: 100% !important; | ||
} | ||
} | ||
|
||
@include euiBreakpoint('l', 'xl') { | ||
.homeAddData__flexGroup { | ||
flex-wrap: nowrap; | ||
.euiImage__img { | ||
max-height: $euiSize * 16; // too tall if only two "Add data" features are enabled | ||
width: auto; | ||
} | ||
} |
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
100 changes: 100 additions & 0 deletions
100
src/plugins/home/public/application/components/_solutions_panel.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,100 @@ | ||
.homSolutionsPanel { | ||
margin-top: -$euiSizeXL; | ||
min-height: $euiSize*16; | ||
display: flex; | ||
|
||
.homSolutionsPanel--restrictHalfWidth { | ||
max-width: 50%; | ||
} | ||
|
||
.homSolutionsPanel__solutionPanel { | ||
display: flex; | ||
align-items: stretch; | ||
|
||
.homSolutionsPanel__solutionTitle { | ||
padding: $euiSize; | ||
|
||
.euiToken { | ||
padding: $euiSizeS; | ||
} | ||
} | ||
|
||
.homSolutionsPanel__CTA { | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: $euiSize; | ||
} | ||
} | ||
|
||
.homSolutionsPanel__header { | ||
border-radius: $euiBorderRadius 0 0 $euiBorderRadius; | ||
color: $euiColorEmptyShade; | ||
|
||
img { | ||
position: absolute; | ||
width: auto; | ||
} | ||
} | ||
|
||
.homSolutionsPanel__enterpriseSearch { | ||
.homSolutionsPanel__enterpriseSearchHeader { | ||
background-color: #017d73; | ||
|
||
.homSolutionsPanel__enterpriseSearchTopLeftImage img { | ||
top: $euiSizeS; | ||
left: 0; | ||
height: $euiSizeXL; | ||
} | ||
|
||
.homSolutionsPanel__enterpriseSearchBottomRightImage img { | ||
right: $euiSizeS; | ||
bottom: $euiSizeS; | ||
height: $euiSizeXL; | ||
} | ||
} | ||
} | ||
|
||
.homSolutionsPanel__observability { | ||
.homSolutionsPanel__observabilityHeader { | ||
background-color: #c42373; | ||
|
||
.homSolutionsPanel__observabilityTopRightImage img { | ||
top: $euiSizeS; | ||
right: $euiSizeS; | ||
height: $euiSizeXL; | ||
} | ||
} | ||
} | ||
|
||
.homSolutionsPanel__securitySolution { | ||
.homSolutionsPanel__securitySolutionHeader { | ||
background-color: #343741; | ||
|
||
.homSolutionsPanel__securitySolutionTopLeftImage img { | ||
top: $euiSizeS; | ||
left: $euiSizeS; | ||
height: $euiSizeXXL; | ||
} | ||
} | ||
} | ||
|
||
.homSolutionsPanel__kibana { | ||
.homSolutionsPanel__kibanaHeader { | ||
background-color: #006bb4; | ||
|
||
.homSolutionsPanel__kibanaTopLeftImage img { | ||
top: 0; | ||
left: 0; | ||
height: $euiSizeXXL * 4; | ||
} | ||
|
||
.homSolutionsPanel__kibanaBottomRightImage img { | ||
right: 0; | ||
bottom: 0; | ||
height: $euiSizeXXL * 4; | ||
} | ||
} | ||
} | ||
} |
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.