From 5603491fb2aa9191b03cc78bbe66ad1e2084ad44 Mon Sep 17 00:00:00 2001 From: cchaos Date: Wed, 5 Jun 2019 10:55:35 -0400 Subject: [PATCH] Clean up some classes and SASS --- .../embeddable_api/public/_variables.scss | 1 - .../containers/embeddable_child_panel.tsx | 4 +- .../open_context_menu.tsx | 2 +- .../public/panel/_embeddable_panel.scss | 63 +++++++++---------- .../embeddable_api/public/panel/_index.scss | 3 +- .../public/panel/embeddable_panel.tsx | 2 +- .../public/panel/panel_header/_index.scss | 1 + .../panel/panel_header/panel_options_menu.tsx | 4 +- .../embeddable/visualize_embeddable.ts | 2 +- 9 files changed, 40 insertions(+), 42 deletions(-) create mode 100644 src/legacy/core_plugins/embeddable_api/public/panel/panel_header/_index.scss diff --git a/src/legacy/core_plugins/embeddable_api/public/_variables.scss b/src/legacy/core_plugins/embeddable_api/public/_variables.scss index 5f4f314ff9db71..1c5b1664eab683 100644 --- a/src/legacy/core_plugins/embeddable_api/public/_variables.scss +++ b/src/legacy/core_plugins/embeddable_api/public/_variables.scss @@ -1,2 +1 @@ - $embEditingModeHoverColor: transparentize($euiColorWarning, lightOrDarkTheme(.9, .7)); diff --git a/src/legacy/core_plugins/embeddable_api/public/containers/embeddable_child_panel.tsx b/src/legacy/core_plugins/embeddable_api/public/containers/embeddable_child_panel.tsx index de41b4b2f9d444..cd15b80795bcdf 100644 --- a/src/legacy/core_plugins/embeddable_api/public/containers/embeddable_child_panel.tsx +++ b/src/legacy/core_plugins/embeddable_api/public/containers/embeddable_child_panel.tsx @@ -82,8 +82,8 @@ class EmbeddableChildPanelUi extends React.Component { closeContextMenu={this.state.closeContextMenu} title={title} /> -
+
); } diff --git a/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/_index.scss b/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/_index.scss new file mode 100644 index 00000000000000..b6cea833f65cfe --- /dev/null +++ b/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/_index.scss @@ -0,0 +1 @@ +@import './panel_options_menu_form'; diff --git a/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_options_menu.tsx b/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_options_menu.tsx index 5db87ab791ab42..351e007357e5af 100644 --- a/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_options_menu.tsx +++ b/src/legacy/core_plugins/embeddable_api/public/panel/panel_header/panel_options_menu.tsx @@ -82,7 +82,7 @@ class PanelOptionsMenuUi extends React.Component return (