Skip to content

Commit

Permalink
icon styles removed
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Feb 27, 2023
1 parent 7ba751f commit 05e9c4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 73 deletions.
30 changes: 0 additions & 30 deletions x-pack/plugins/ml/public/application/_app.scss

This file was deleted.

3 changes: 0 additions & 3 deletions x-pack/plugins/ml/public/application/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// Protect the rest of Kibana from ML generic namespacing
// SASSTODO: Prefix ml selectors instead
.ml-app {
// App level
@import 'app';

// Sub applications
@import 'data_frame_analytics/index';
@import 'explorer/index'; // SASSTODO: This file needs to be rewritten
Expand Down
Original file line number Diff line number Diff line change
@@ -1,45 +1,5 @@
// SASSTODO: This file has several direct EUI overwrites that need to be removed
.ml-anomalies-table {
.ml-icon-severity-critical,
.ml-icon-severity-major,
.ml-icon-severity-minor,
.ml-icon-severity-warning,
.ml-icon-severity-unknown {
color: inherit;
text-shadow: none;
}

// SASSTODO: Should only be three options, logic moved to the JS, where EuiIcon accepts a color
.ml-icon-severity-critical {
.euiIcon {
fill: $mlColorCriticalText;
}
}

.ml-icon-severity-major {
.euiIcon {
fill: $mlColorMajorText;
}
}

.ml-icon-severity-minor {
.euiIcon {
fill: $mlColorMinorText;
}
}

.ml-icon-severity-warning {
.euiIcon {
fill: $mlColorWarningText;
}
}

.ml-icon-severity-unknown {
.euiIcon {
fill: $mlColorUnknownText;
}
}

tr th:first-child,
tr td:first-child {
width: $euiSizeXL;
Expand Down

0 comments on commit 05e9c4a

Please sign in to comment.