From 521d66607f5cd1129a17cb54f332fe5afd3a2ce6 Mon Sep 17 00:00:00 2001 From: Sarah Abouzainah Date: Tue, 20 Oct 2020 21:59:14 +0200 Subject: Fix Radio Selection and Undo JointJS changes Issue-ID: CCSDK-2823 Issue-ID: CCSDK-2780 Signed-off-by: Sarah Abouzainah Change-Id: I51b2c80a4d8c338edf90fe1a1bae1640539b5126 --- .../action-attributes.component.html | 8 ++-- .../packages/designer/designer.component.css | 42 ++++++++--------- .../packages/designer/designer.component.html | 55 ++++++++++++---------- .../packages/designer/designer.component.ts | 9 ++-- .../designer/jointjs/elements/action.element.ts | 20 ++++++-- .../templ-mapp-creation.component.html | 7 +-- cds-ui/designer-client/src/styles.css | 4 +- 7 files changed, 78 insertions(+), 67 deletions(-) diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html index 63cf4bd6c..f7ba40ce1 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/action-attributes/action-attributes.component.html @@ -225,14 +225,14 @@
- - +
- -
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.css b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.css index 1d2a939bd..f15d735f6 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.css +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.css @@ -266,12 +266,13 @@ button.rotate{ .rotate a:hover{ text-decoration: none; } -#board-paper svg{ +/*PAUSE*/ +/* #board-paper svg{ top: 30px; left: 0; height: 95%; -} -.componentsList tspan{ +} */ +.functionsList tspan{ /* width:30px !important; */ font: normal 13px sans-serif; fill: #1B3E6F !important; @@ -307,7 +308,7 @@ tspan#type{ text-shadow: none; border-color: #DEE8F3; } -.componentsList p{ +.functionsList p{ margin-bottom: 0; padding-left: 30px; background-position: left center; @@ -385,8 +386,9 @@ p.compType-4{ font-size: 12px; color: #C3CDDB; } -.controllerSidebar .joint-paper{ - width: 98% !important; +/*PAUSE*/ +.functionsList .joint-paper{ + width: 100% !important; height: 72vh !important; margin: 0 !important; } @@ -411,15 +413,9 @@ p.compType-4{ .new-action:hover{ background: #D7E7F9; } -.componentsList{ - margin-top: 16px; - padding: 0 20px 10px; -} -.componentsList{ - padding-bottom: 0; - /* height: calc( 100vh - 218px)!important; - overflow: scroll;*/ - background: #F4F9FE !important; +.functionsList{ + height: calc(100vh - 200px); + overflow-y: auto; } .custom-control.custom-checkbox:hover, .custom-control-label:hover{ @@ -433,8 +429,7 @@ p.compType-4{ .custom-control:hover{ background-color: white; } -.actionsList, -.componentsList{ +.actionsList{ height: 65vh !important; overflow-y: auto; } @@ -444,13 +439,16 @@ p.compType-4{ .actionsList li{ list-style: none; } -.componentsList .list-group-item{ +.functionsList .list-group-item{ margin-bottom: 10px; padding-left: 40px; background: #fff; box-shadow: 0 2px 6px rgba(47, 83, 151, .15); border-radius: 2px; } +.functionsList .joint-paper{ + background: transparent !important; +} .actionsList .custom-control-label{ width: 100%; padding: 6px; @@ -499,7 +497,7 @@ p.compType-4{ margin-right: 9px; } /*Components List*/ -.componentsList .list-group-item{ +.functionsList .list-group-item{ padding-left: 36px; border: 0; font-size: 14px; @@ -1043,13 +1041,13 @@ p.compType-4{ background-color: #1B3E6F !important; color: #fff !important; } - - +/*PAUSE*/ +/* .joint-paper{ width: 96.4% !important; height: 80vh !important; margin: 60px auto 0 !important; -} +} */ ul.templateLegend{ margin: 0; } diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html index d4fea67bb..76717b03c 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html @@ -12,7 +12,7 @@ @@ -22,13 +22,13 @@