Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
1884908
[ML] change basic page structure
darnautov Jan 9, 2020
1909d38
[ML] adjust search panel
darnautov Jan 9, 2020
fdbfc06
[ML] adjust fields_panel.tsx
darnautov Jan 9, 2020
54c0316
[ML] card icon styles
darnautov Jan 9, 2020
d26af58
[ML] styles
darnautov Jan 9, 2020
94fef77
[ML] adjust actions_panel.tsx
darnautov Jan 9, 2020
85fb81c
Update styling of panels, spacing
mdefazio Jan 9, 2020
38aa5af
[ML] change basic page structure
darnautov Jan 9, 2020
d09adcd
[ML] adjust search panel
darnautov Jan 9, 2020
96f5df7
[ML] adjust fields_panel.tsx
darnautov Jan 9, 2020
f7db66f
[ML] card icon styles
darnautov Jan 9, 2020
efc3fb1
[ML] styles
darnautov Jan 9, 2020
7dc4bcb
[ML] adjust actions_panel.tsx
darnautov Jan 9, 2020
9d07f44
[ML] fix i18n
darnautov Jan 9, 2020
f182c87
[ML] fix styles
darnautov Jan 10, 2020
0c00ae3
[ML] adjust top values styles
darnautov Jan 10, 2020
d518a90
Merge origin, fix conflicts
mdefazio Jan 10, 2020
c0c53cd
[ML] remove conflicts artifacts
darnautov Jan 10, 2020
8eafebb
Use EuiBorderColor
mdefazio Jan 10, 2020
f3270f1
[ML] fix i18n
darnautov Jan 10, 2020
132ff94
Merge branch 'master' into ML-54114-data-visualizer-redesign
elasticmachine Jan 10, 2020
379537e
[ML] fix i18n
darnautov Jan 13, 2020
a9712b6
Merge remote-tracking branch 'upstream/master' into ML-54114-data-vis…
darnautov Jan 13, 2020
5a39b62
[ML] fix counters
darnautov Jan 13, 2020
5be2ae4
[ML] fixed width for sample size select
darnautov Jan 13, 2020
35f4033
[ML] fix layout for file viz
darnautov Jan 13, 2020
9464c0a
[ML] fix empty cards rendering
darnautov Jan 13, 2020
2889e18
Update text styling and spacing
mdefazio Jan 13, 2020
7e4a53a
Merge remote-tracking branch 'upstream/master' into ML-54114-data-vis…
darnautov Jan 14, 2020
b595235
Merge remote-tracking branch 'upstream/master' into ML-54114-data-vis…
darnautov Jan 14, 2020
34ddc1f
[ML] fix field stats card
darnautov Jan 14, 2020
c16861c
[ML] fix counter for showAllFields
darnautov Jan 14, 2020
a153039
[ML] reset title for the badge
darnautov Jan 14, 2020
e30ab8c
[ML] boolean_content.tsx with the bar chart
darnautov Jan 14, 2020
0c9eeb8
[ML] fix counters
darnautov Jan 14, 2020
ad5cad9
Merge remote-tracking branch 'upstream/master' into ML-54114-data-vis…
darnautov Jan 14, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const DisplayValue: FC<{ value: any }> = ({ value }) => {
const length = String(value).length;

if (length <= MAX_CHARS) {
return value;
return <b>{value}</b>;
} else {
return (
<EuiToolTip content={value} anchorClassName="valueWrapper">
<span>{value}</span>
<b>{value}</b>
</EuiToolTip>
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
.ml-field-title-bar {
color: $euiColorEmptyShade;
@include euiFontSizeL;
@include euiFontSizeM;
font-family: Roboto Mono, serif;
font-style: normal;
font-weight: bold;
font-size: $euiFontSizeS;
border-radius: $euiBorderRadius $euiBorderRadius 0 0;
padding: $euiSizeXS;
margin: (-$euiSize) (-$euiSize) 0 (-$euiSize);
border-top: 3px solid;
text-align: center;
border-radius: $euiBorderRadius $euiBorderRadius 0px 0px;
padding-bottom: $euiSizeXS/2;

.field-type-icon {
vertical-align: middle;
Expand All @@ -18,5 +23,6 @@
padding-right: $euiSizeS;
max-width: 290px; // SASSTODO: Calculate value
display: inline-block;
margin-left: $euiSizeS;
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
$icon-size: 20px;

.field-type-icon-container {
display: inline !important;
display: inline-block !important;
vertical-align: middle;
border: 1px solid;
border-radius: 4px;
width: $icon-size;
height: $icon-size;
line-height: $icon-size;;
text-align: center;

.field-type-icon {
padding-right: $euiSizeXS / 2;
padding: 0;
display: inline !important;
vertical-align: initial;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,56 +8,96 @@
// These styles should all be removed once the file data visualizer is using
// the same field_data_card component as the index based data visualizer.
height: 408px;
box-shadow: none;
border-color: $euiBorderColor;

// Note the names of these styles need to match the type of the field they are displaying.
.boolean {
background-color: #e6c220;
color: $euiColorVis5;
border-color: $euiColorVis5;

.field-type-icon-container {
background-color: rgba($euiColorVis5, 0.5);
}
}

.date {
background-color: #f98510;
color: $euiColorVis7;
border-color: $euiColorVis7;

.field-type-icon-container {
background-color: rgba($euiColorVis7, 0.5);
}
}

.document_count {
background-color: #db1374;
color: $euiColorVis2;
border-color: $euiColorVis2;

.field-type-icon-container {
background-color: rgba($euiColorVis2, 0.5);
}
}

.geo_point {
background-color: #461a0a;
color: $euiColorVis8;
border-color: $euiColorVis8;

.field-type-icon-container {
background-color: rgba($euiColorVis8, 0.5);
}
}

.ip {
background-color: #490092;
color: $euiColorVis3;
border-color: $euiColorVis3;

.field-type-icon-container {
background-color: rgba($euiColorVis3, 0.5);
}
}

.keyword {
background-color: #00b3a4;
color: $euiColorVis0;
border-color: $euiColorVis0;

.field-type-icon-container {
background-color: rgba($euiColorVis0, 0.5);
}
}

.number {
background-color: #3185fc;
color: $euiColorVis1;
border-color: $euiColorVis1;

.field-type-icon-container {
background-color: rgba($euiColorVis1, 0.5);
}
}

.text {
background-color: #920000;
color: $euiColorVis9;
border-color: $euiColorVis9;

.field-type-icon-container {
background-color: rgba($euiColorVis9, 0.5);
}
}

.type-other,
.unknown {
background-color: #bfa180;
color: $euiColorVis6;
border-color: $euiColorVis6;

.field-type-icon-container {
background-color: rgba($euiColorVis6, 0.5);
}
}

// Use euiPanel styling
@include euiPanel($selector: '.card-contents');

.card-contents {
height: 378px;
line-height: 21px;
border-radius: 0px 0px $euiBorderRadius $euiBorderRadius;
overflow: hidden;
}

.stats {
padding: 10px 10px 0px 10px;
text-align: center;
}

Expand Down
Loading