From 29353de5be638eb00affc8f2ffd681677acb8992 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Wed, 9 Dec 2020 12:02:44 +0100 Subject: [PATCH] JSDialog: PivotTable: Find parent container of #listbox-fields and apply divider Signed-off-by: Pedro Pinto Silva Change-Id: I5d69d13e63526e770f35f3f25577cc2774f96ddb --- loleaflet/css/jsdialogs.css | 9 +++++++++ loleaflet/src/control/Control.JSDialogBuilder.js | 1 + 2 files changed, 10 insertions(+) diff --git a/loleaflet/css/jsdialogs.css b/loleaflet/css/jsdialogs.css index 885f0fe44..3e75aa987 100644 --- a/loleaflet/css/jsdialogs.css +++ b/loleaflet/css/jsdialogs.css @@ -20,6 +20,15 @@ font-weight: bold; text-transform: uppercase; } +.jsdialog.divider-left { + padding-left: 6px; + /* border-left: 1px dashed #888; */ + background-image: linear-gradient(#888 22%, rgba(255,255,255,0) 0%); + background-position: left center; + background-size: 1px 14px; + background-repeat: repeat-y; + box-shadow: inset 0 34px 0 0 white; +} td.jsdialog:hover *, #table-box3:hover p { diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 83f721764..66d92ac57 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -2652,6 +2652,7 @@ L.Control.JSDialogBuilder = L.Control.extend({ this.options.useInLineLabelsForUnoButtons = false; } } + $('#listbox-fields').parents().eq(4).addClass('divider-left'); } });