From 1c5f42a4f100e91e912ba35cef19a94a63ed8c24 Mon Sep 17 00:00:00 2001 From: Ricardo Hernandez-Montoya Date: Tue, 28 Mar 2017 11:56:09 +0200 Subject: [PATCH] disabled buttons while editing the visualization --- src/styles/widgets.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/styles/widgets.css b/src/styles/widgets.css index cb5b745..dd1521c 100644 --- a/src/styles/widgets.css +++ b/src/styles/widgets.css @@ -93,8 +93,27 @@ .plot-table-widget .widget-table { min-width: 100px; + display: flex; + flex-direction: column; + justify-content: center; } +/* Reset Bootstrap styles to "disable" while editing */ +.plot-table-widget .widget-table .btn[disabled] { + cursor: inherit; +} + +.btn-default[disabled]:hover { + background-color: #fff; + border-color: #ccc; +} + +.btn-default.active[disabled]:hover { + background-color: #e6e6e6; + border-color: #adadad; +} + /* End reset */ + .plot-table-widget .widget-plot { -webkit-flex: 1 0 auto; flex: 1 0 auto;