From b0a7e9384564f54d441e7da6503e4b4fec7f3d5b Mon Sep 17 00:00:00 2001 From: Stanislav Vishnevetskiy Date: Thu, 2 Aug 2018 13:36:01 +0300 Subject: composition save & load Issue-ID: SDC-1591 Change-Id: I5b347a3ca1737b95045097051da462ac4fb2d781 Signed-off-by: Stanislav Vishnevetskiy --- .../resources/scss/components/_notifications.scss | 1 + .../resources/scss/features/_composition.scss | 41 +++++++++++++++++++--- .../src/main/frontend/resources/scss/style.scss | 2 ++ 3 files changed, 39 insertions(+), 5 deletions(-) (limited to 'workflow-designer-ui/src/main/frontend/resources') diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss b/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss index cc44cfbc..855c372e 100644 --- a/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss +++ b/workflow-designer-ui/src/main/frontend/resources/scss/components/_notifications.scss @@ -1,5 +1,6 @@ .workflow-notifications-container { position: absolute; + z-index: 99999; &.position-top-right { right: 30px; top: 50px; diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss index 7ab294a2..a159a4b7 100644 --- a/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss +++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss @@ -4,12 +4,43 @@ .bpmn-container { flex-basis: 100%; - height: 100%; + flex-grow: 1 } - - .properties-panel { - &, .bpp-properties-panel { - height: 100%; + .bpmn-sidebar { + height: 100%; + .properties-panel { + &, .bpp-properties-panel { + height: 100%; + } + } + .composition-buttons { + position: fixed; + background-color: #fafafa; + left: 265px; + bottom: 46px; + border: 1px solid lightgray; + width: 189px; + display: flex; + flex-direction: row; + justify-content: space-around; + height: 57px; + align-items: center; + padding: 10px; + .divider { + height: 35px; + border: 1px solid $silver; + } + .diagram-btn { + + &:hover { + fill: $blue; + cursor: pointer; + } + .svg-icon { + width: 25px; + height: 23px; + } + } } } } diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/style.scss b/workflow-designer-ui/src/main/frontend/resources/scss/style.scss index 95828ae2..49278565 100644 --- a/workflow-designer-ui/src/main/frontend/resources/scss/style.scss +++ b/workflow-designer-ui/src/main/frontend/resources/scss/style.scss @@ -1,3 +1,5 @@ +@import '../../node_modules/bpmn-js/dist/assets/diagram-js.css'; +@import '../../node_modules/bpmn-js/dist/assets/bpmn-font/css/bpmn.css'; @import 'common'; @import '../../node_modules/sdc-ui/lib/css/style.css'; @import 'components'; -- cgit 1.2.3-korg