From 704214ae7d62526a4dec995fcb568d7d727c72b1 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 24 Oct 2017 17:28:16 -0600 Subject: [PATCH] input controls icon (#14517) (#14552) --- .../public/images/icon-input-control.svg | 10 ++++++++++ .../input_control_vis/public/register_vis.js | 3 ++- src/ui/public/styles/base.less | 5 +++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 src/core_plugins/input_control_vis/public/images/icon-input-control.svg diff --git a/src/core_plugins/input_control_vis/public/images/icon-input-control.svg b/src/core_plugins/input_control_vis/public/images/icon-input-control.svg new file mode 100644 index 0000000000000..54e7ea826beb7 --- /dev/null +++ b/src/core_plugins/input_control_vis/public/images/icon-input-control.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/core_plugins/input_control_vis/public/register_vis.js b/src/core_plugins/input_control_vis/public/register_vis.js index 20d98a44b8214..2bb267462673a 100644 --- a/src/core_plugins/input_control_vis/public/register_vis.js +++ b/src/core_plugins/input_control_vis/public/register_vis.js @@ -5,6 +5,7 @@ import { VisTypesRegistryProvider } from 'ui/registry/vis_types'; import { VisController } from './vis_controller'; import { ControlsTab } from './components/editor/controls_tab'; import { OptionsTab } from './components/editor/options_tab'; +import image from './images/icon-input-control.svg'; function InputControlVisProvider(Private) { @@ -14,7 +15,7 @@ function InputControlVisProvider(Private) { return VisFactory.createBaseVisualization({ name: 'input_control_vis', title: 'Controls', - icon: 'fa fa-gear', + image, description: 'Create interactive controls for easy dashboard manipulation.', category: CATEGORY.OTHER, isExperimental: true, diff --git a/src/ui/public/styles/base.less b/src/ui/public/styles/base.less index 45ce76a4302f7..595a85b2283bd 100644 --- a/src/ui/public/styles/base.less +++ b/src/ui/public/styles/base.less @@ -738,4 +738,9 @@ fieldset { margin-left: 2px; } +.kuiGalleryItem__image img { + width: 64px; + height: 64px; +} + @import "~dragula/dist/dragula.css";