From ec5393be4ff2daacef4aa3958b7b2f5dc1606a7d Mon Sep 17 00:00:00 2001 From: Stacey Gammon Date: Wed, 22 Mar 2017 10:09:01 -0400 Subject: [PATCH] Show dashed border on maximized panels in edit mode. --- .../kibana/public/dashboard/styles/index.less | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/core_plugins/kibana/public/dashboard/styles/index.less b/src/core_plugins/kibana/public/dashboard/styles/index.less index a1633c7098794..f351295d8dc3f 100644 --- a/src/core_plugins/kibana/public/dashboard/styles/index.less +++ b/src/core_plugins/kibana/public/dashboard/styles/index.less @@ -35,10 +35,6 @@ dashboard-grid { .gs-w { - .panel { - border: 2px dashed transparent; - } - .panel .panel-heading .btn-group { display: none; } @@ -71,6 +67,20 @@ dashboard-grid { } } +.panel { + border: 2px dashed transparent; +} + +.panel--edit-mode { + border-color: @kibanaGray4; + .visualize-show-spy { + visibility: visible; + } + .panel-heading .btn-group { + display: block !important; + } +} + .dashboard-container { flex: 1; display: flex; @@ -99,7 +109,6 @@ dashboard-panel { display: flex; flex-direction: column; justify-content: flex-start; - border: 0 solid transparent; .panel-heading { padding: 0px 0px 0px 5px;