Skip to content

Commit

Permalink
Replaces the Custom Color Picker on TSVB with the EuiColorPicker (#68888
Browse files Browse the repository at this point in the history
)

* Replace the Custom Color Picker on TSVB with the EuiColorPicker

* Remove the custom picker sass

* Remove private modules of eui and the custom color swatches

* Clear the color

* changes in test implementation

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
stratoula and elasticmachine authored Jun 17, 2020
1 parent 8a6aab3 commit ab1270e
Show file tree
Hide file tree
Showing 9 changed files with 158 additions and 527 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,6 @@
position: relative;
}

.tvbColorPicker__swatch-empty,
.tvbColorPicker__swatch {
// SASSTODO: Replace with EUI component
// sass-lint:disable-block placeholder-in-extend
@extend .euiColorPickerSwatch;
}

.tvbColorPicker__swatch-empty {
background-color: transparent;
background-size: 22px 22px;
background-image: repeating-linear-gradient(
-45deg,
$euiColorDanger,
$euiColorDanger 2px,
transparent 2px,
transparent $euiSize
);
}

.tvbColorPicker__clear {
margin-left: $euiSizeXS;
}

.tvbColorPicker__popover {
position: absolute;
top: $euiSizeL;
z-index: 2;
}

.tvbColorPicker__cover {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import './annotations_editor';
@import './color_rules';
@import './color_picker';
@import './custom_color_picker';
@import './error';
@import './no_data';
@import './markdown_editor';
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit ab1270e

Please sign in to comment.