forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
27d3ab2
commit ea6da79
Showing
13 changed files
with
519 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { Workspace, WorkspaceOptions } from '../../types'; | ||
|
||
declare function createWorkspace(options: WorkspaceOptions): Workspace; |
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,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export * from './graph_client_workspace'; |
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 |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
"embeddable", | ||
"eventLog", | ||
"features", | ||
"graph", | ||
"inspector", | ||
"kubernetesSecurity", | ||
"lens", | ||
|
139 changes: 139 additions & 0 deletions
139
x-pack/plugins/security_solution/public/app/font_awesome/font-awesome.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,139 @@ | ||
@font-face { | ||
font-family: 'FontAwesome'; | ||
src: url('~font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0'); | ||
src: url('~font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), | ||
url('~font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), | ||
url('~font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), | ||
url('~font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), | ||
url('~font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@import 'font-awesome/scss/variables'; | ||
@import 'font-awesome/scss/core'; | ||
@import 'font-awesome/scss/icons'; | ||
|
||
// new file icon | ||
.#{$fa-css-prefix}-file-new-o:before { content: $fa-var-file-o; } | ||
.#{$fa-css-prefix}-file-new-o:after { content: $fa-var-plus; position: relative; margin-left: -1.0em; font-size: .5em; } | ||
|
||
// alias for alert types - allows class="fa fa-{{alertType}}" | ||
.fa-success:before { content: $fa-var-check; } | ||
.fa-danger:before { content: $fa-var-exclamation-circle; } | ||
|
||
/** | ||
* THE SVG Graph | ||
* 1. Calculated px values come from the open/closed state of the global nav sidebar | ||
*/ | ||
|
||
#graphBasic { | ||
display: flex; | ||
flex-direction: column; | ||
flex: 1; | ||
overflow: hidden; | ||
} | ||
|
||
.gphGraph__container { | ||
display: flex; | ||
flex-direction: column; | ||
background: $euiColorEmptyShade; | ||
position: relative; | ||
flex: 1; | ||
} | ||
|
||
.gphGraph__menus { | ||
margin: $euiSizeS; | ||
} | ||
|
||
.gphGraph__flexGroup { | ||
display: flex; | ||
width: 100%; | ||
} | ||
|
||
.gphGraph__flexGroupFiller { | ||
flex: 1 1 auto; | ||
} | ||
|
||
@mixin gphSvgText() { | ||
font-family: $euiFontFamily; | ||
font-size: $euiSizeS; | ||
line-height: $euiSizeM; | ||
fill: $euiColorDarkShade; | ||
color: $euiColorDarkShade; | ||
} | ||
|
||
.gphVisualization { | ||
flex: 1; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.gphGraph { | ||
flex: 1; | ||
overflow: hidden; | ||
} | ||
|
||
.gphEdge { | ||
fill: $euiColorMediumShade; | ||
stroke: $euiColorMediumShade; | ||
stroke-width: 2; | ||
stroke-opacity: .5; | ||
|
||
&--selected { | ||
stroke: $euiColorDarkShade; | ||
stroke-opacity: .95; | ||
} | ||
} | ||
|
||
.gphEdge--clickable { | ||
fill: transparent; | ||
opacity: 0; | ||
} | ||
|
||
.gphEdge--wrapper:hover { | ||
.gphEdge { | ||
stroke-opacity: .95; | ||
cursor: pointer; | ||
} | ||
} | ||
|
||
.gphNode { | ||
cursor: pointer; | ||
} | ||
|
||
.gphNode__label { | ||
@include gphSvgText; | ||
cursor: pointer; | ||
&--html { | ||
@include euiTextTruncate; | ||
text-align: center; | ||
} | ||
} | ||
|
||
.gphNode__markerCircle { | ||
fill: $euiColorDarkShade; | ||
stroke: $euiColorEmptyShade; | ||
} | ||
|
||
.gphNode__markerText { | ||
@include gphSvgText; | ||
font-size: $euiSizeS - 2px; | ||
fill: $euiColorEmptyShade; | ||
} | ||
|
||
.gphNode__circle { | ||
fill: $euiColorMediumShade; | ||
&--selected { | ||
stroke-width: $euiSizeXS; | ||
stroke: transparentize($euiColorPrimary, .25); | ||
} | ||
} | ||
|
||
.gphNode__text { | ||
fill: $euiColorInk; | ||
|
||
&--inverse { | ||
fill: $euiColorGhost; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
x-pack/plugins/security_solution/public/app/font_awesome/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,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import './font-awesome.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
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.