From 915a5e256094334ddeeae4530b55ef0873bf0b0e Mon Sep 17 00:00:00 2001 From: Sebastian Stamm Date: Fri, 2 Jun 2023 10:11:14 +0200 Subject: [PATCH] fix: remove misplaced condition expression info icons feat: de-emphasise info icons --- src/main/resources/public/css/app.css | 8 +++++++- src/main/resources/public/js/view-common.js | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/resources/public/css/app.css b/src/main/resources/public/css/app.css index 6b7dc82..aaf9a3e 100644 --- a/src/main/resources/public/css/app.css +++ b/src/main/resources/public/css/app.css @@ -12,7 +12,7 @@ } .info-icon { - background: #007dffb2; + background-color: #00000030; border-radius: 2px; width: 18px; height: 18px; @@ -23,6 +23,12 @@ font-size: 12px; padding-right: 1px; margin-top: 5px; + + transition: background-color 0.2s; +} + +.info-icon:hover { + background-color: #007dffb2; } .overlay-button { diff --git a/src/main/resources/public/js/view-common.js b/src/main/resources/public/js/view-common.js index 149aafd..6255ad1 100644 --- a/src/main/resources/public/js/view-common.js +++ b/src/main/resources/public/js/view-common.js @@ -401,9 +401,6 @@ function showInfoOfBpmnElement(element) { if (metadata.jobType) { info = "job type: " + metadata.jobType; } - if (metadata.conditionExpression) { - info = "condition: " + metadata.conditionExpression; - } if (metadata.timerDefinition) { info = "timer: " + metadata.timerDefinition; }