From 0a5b5cac99d0dd089db11fc6aea363f1c6935297 Mon Sep 17 00:00:00 2001 From: LaviniaStiliadou Date: Mon, 16 Oct 2023 20:26:09 +0200 Subject: [PATCH] add prefix to prevent override --- .../service-task/yaml-modal.css | 64 +-- .../bpmn-q/modeler-component/modeler.css | 69 ++-- components/bpmn-q/public/index.html | 374 ++++++++++-------- 3 files changed, 251 insertions(+), 256 deletions(-) diff --git a/components/bpmn-q/modeler-component/extensions/quantme/modeling/properties-provider/service-task/yaml-modal.css b/components/bpmn-q/modeler-component/extensions/quantme/modeling/properties-provider/service-task/yaml-modal.css index 979ee317..f90424cb 100644 --- a/components/bpmn-q/modeler-component/extensions/quantme/modeling/properties-provider/service-task/yaml-modal.css +++ b/components/bpmn-q/modeler-component/extensions/quantme/modeling/properties-provider/service-task/yaml-modal.css @@ -1,54 +1,16 @@ -.tab { - flex: 1; - padding: 10px; - border-radius: 3px; - text-align: center; - cursor: pointer; - font-weight: bold; - font-stretch: normal; - font-style: normal; - line-height: normal; - letter-spacing: normal; - color: #fdfdfe; - margin: 1px; - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2); - border: solid 1px var(--blue-darken-62); - background-color: var(--blue-base-65); +.qwm .upload-yaml-button { + outline: none; + background-color: var(--color-grey-225-10-97); + border: 1px solid var(--color-grey-225-10-75); + border-radius: 4px; + margin: 2px 32px 6px 12px; + padding: 2px 6px 2px 6px; + fill: var(--add-entry-fill-color); } -.tab.active { - background-color: var(--blue-darken-55); +.qwm .upload-yaml-button:hover { + color: white; + border: 1px solid white; + background-color: var(--color-blue-205-100-50); + fill: var(--add-entry-hover-fill-color); } - -.tab:hover { - border: solid 1px var(--blue-darken-55); - background-color: var(--blue-darken-62); -} - -.tabButtonsContainer { - display: flex; - flex-direction: row; - align-items: center; - overflow: auto; - min-width: 120px; - max-height: 263px; - direction: ltr; -} - - -.upload-yaml-button { - outline: none; - background-color: var(--color-grey-225-10-97); - border: 1px solid var(--color-grey-225-10-75); - border-radius: 4px; - margin: 2px 32px 6px 12px; - padding: 2px 6px 2px 6px; - fill: var(--add-entry-fill-color); -} - -.upload-yaml-button:hover { - color: white; - border: 1px solid white; - background-color: var(--color-blue-205-100-50); - fill: var(--add-entry-hover-fill-color); -} \ No newline at end of file diff --git a/components/bpmn-q/modeler-component/modeler.css b/components/bpmn-q/modeler-component/modeler.css index 15488b09..31beb9e2 100644 --- a/components/bpmn-q/modeler-component/modeler.css +++ b/components/bpmn-q/modeler-component/modeler.css @@ -1,54 +1,47 @@ -.resize { - position: absolute; - bottom: 45px; - right: 0; -} - -.xml-viewer-button { - position: absolute; - bottom: 45px; - left: 20px; - z-index: 2; +.qwm .resize { + position: absolute; + bottom: 45px; + right: 0; } .ace_editor.ace-tm { - width: 99%; - top: 0%; - position: absolute; - bottom: 0; - left: 0; - right: 0; - z-index: 1; + width: 99%; + top: 0%; + position: absolute; + bottom: 0; + left: 0; + right: 0; + z-index: 1; } #properties { - cursor: default; + cursor: default; } #properties::before { - content: ''; - position: absolute; - cursor: w-resize; + content: ""; + position: absolute; + cursor: w-resize; } -body { - overflow-y: hidden; +#editor_wrap { + position: relative; + border-bottom: 1px solid #222222; } -#editor_wrap { - position: relative; - border-bottom: 1px solid #222222; +.qwm-body { + overflow-y: hidden; } #editor_dragbar { - position: absolute; - top: 200; - /* Adjust the initial top position as needed */ - left: 0; - right: 0; - background-color: #222222; - height: 3px; - cursor: row-resize; - opacity: 1; - z-index: 3; -} \ No newline at end of file + position: absolute; + top: 200; + /* Adjust the initial top position as needed */ + left: 0; + right: 0; + background-color: #222222; + height: 3px; + cursor: row-resize; + opacity: 1; + z-index: 3; +} diff --git a/components/bpmn-q/public/index.html b/components/bpmn-q/public/index.html index 7574a65a..a8dd64d3 100644 --- a/components/bpmn-q/public/index.html +++ b/components/bpmn-q/public/index.html @@ -1,181 +1,221 @@ - - + - - + + Workflow Modeler - - - -
- + + + +
+
-