-
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.
Merge branch 'master' of https://github.com/elastic/kibana into alert…
…ing/broken-connector
- Loading branch information
Showing
73 changed files
with
663 additions
and
67 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
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 was deleted.
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
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
6 changes: 6 additions & 0 deletions
6
...lifecycle_management/public/application/sections/edit_policy/components/timeline/index.ts
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,6 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
export { Timeline } from './timeline'; |
26 changes: 26 additions & 0 deletions
26
...agement/public/application/sections/edit_policy/components/timeline/infinity_icon.svg.tsx
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,26 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import React, { FunctionComponent } from 'react'; | ||
|
||
export const InfinityIconSvg: FunctionComponent = (props) => { | ||
return ( | ||
<svg | ||
viewBox="0 0 16 16" | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
{...props} | ||
> | ||
<defs /> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M5.44354 9.86928c-.47429.46802-1.12585.75702-1.84475.75702-1.45038 0-2.626143-1.17576-2.626143-2.62614S2.14841 5.37401 3.59879 5.37401c.71899 0 1.37049.28893 1.84473.75702l.00033-.00033.27438.27438L7.31327 8.0001l-.00001.00001.68777.68777.00001-.00002 1.86843 1.86844-.00078.0007c.65021.6442 1.54481 1.042 2.53251 1.042C14.3888 11.599 16 9.98772 16 8.00016s-1.6112-3.59879-3.5988-3.59879c-.9876 0-1.8822.39779-2.53249 1.04188l.00072.00073-.76518.76516.68777.68777.79978-.79975-.0002-.00017c.471-.44801 1.1082-.72298 1.8096-.72298 1.4504 0 2.6262 1.17577 2.6262 2.62615s-1.1758 2.62614-2.6262 2.62614c-.7012 0-1.3384-.2749-1.8094-.72282l.0002-.00024L8.68881 8.0001l.00278-.00277-.68777-.68777-.00278.00278-1.90297-1.90295-.0007.0007c-.64728-.62456-1.52806-1.00872-2.49858-1.00872C1.61124 4.40137 0 6.0126 0 8.00016 0 9.98772 1.61124 11.599 3.59879 11.599c.97055 0 1.85122-.3841 2.49844-1.0086l.00065.0006.80272-.8027-.68777-.68777-.76902.76901-.00027-.00026z" | ||
/> | ||
</svg> | ||
); | ||
}; |
87 changes: 87 additions & 0 deletions
87
...ycle_management/public/application/sections/edit_policy/components/timeline/timeline.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,87 @@ | ||
$ilmTimelineBarHeight: $euiSizeS; | ||
|
||
/* | ||
* For theming we need to shade or tint to get the right color from the base EUI color | ||
*/ | ||
$ilmDeletePhaseBackgroundColor: tintOrShade($euiColorVis5_behindText, 80%,80%); | ||
$ilmDeletePhaseColor: shadeOrTint($euiColorVis5, 40%, 40%); | ||
|
||
.ilmTimeline { | ||
overflow: hidden; | ||
width: 100%; | ||
|
||
&__phasesContainer { | ||
/* | ||
* Let the delete icon sit on the same line as the phase color bars | ||
*/ | ||
display: inline-block; | ||
width: 100%; | ||
|
||
&__phase:first-child { | ||
padding-left: 0; | ||
padding-right: $euiSizeS; | ||
} | ||
|
||
&__phase:last-child { | ||
padding-left: $euiSizeS; | ||
padding-right: 0; | ||
} | ||
|
||
&__phase:only-child { | ||
padding-left: 0; | ||
padding-right: 0; | ||
} | ||
|
||
&__phase { | ||
/* | ||
* Let the phase color bars sit horizontally | ||
*/ | ||
display: inline-block; | ||
|
||
padding-left: $euiSizeS; | ||
padding-right: $euiSizeS; | ||
} | ||
} | ||
|
||
&__deleteIconContainer { | ||
/* | ||
* Create a bit of space between the timeline and the delete icon | ||
*/ | ||
padding: $euiSizeM; | ||
margin-left: $euiSizeM; | ||
background-color: $ilmDeletePhaseBackgroundColor; | ||
color: $ilmDeletePhaseColor; | ||
border-radius: calc(#{$euiSizeS} / 2); | ||
} | ||
|
||
&__colorBar { | ||
display: inline-block; | ||
height: $ilmTimelineBarHeight; | ||
border-radius: calc(#{$ilmTimelineBarHeight} / 2); | ||
width: 100%; | ||
} | ||
|
||
&__hotPhase { | ||
width: var(--ilm-timeline-hot-phase-width); | ||
|
||
&__colorBar { | ||
background-color: $euiColorVis9; | ||
} | ||
} | ||
|
||
&__warmPhase { | ||
width: var(--ilm-timeline-warm-phase-width); | ||
|
||
&__colorBar { | ||
background-color: $euiColorVis5; | ||
} | ||
} | ||
|
||
&__coldPhase { | ||
width: var(--ilm-timeline-cold-phase-width); | ||
|
||
&__colorBar { | ||
background-color: $euiColorVis1; | ||
} | ||
} | ||
} |
Oops, something went wrong.