aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/resources/scss/features
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2018-07-24 17:34:04 +0300
committervempo <vitaliy.emporopulo@amdocs.com>2018-07-25 11:39:10 +0300
commita52d50e788792a63e97a9176ab319d53db7a2853 (patch)
treeb1c2222cacf4b8192aea16d1e0315b1f005c5347 /workflow-designer-ui/src/main/frontend/resources/scss/features
parent3c2665debb400aef7f0ed9e235698d2ff9f859db (diff)
Replaced old implementation at root
Old project files and directories has been moved under 'deprecated-workflow-designer'. The old project is not built by the CI anymore, but can be still built manually. New modules/directories have been moved up and integrated with the CI system. Change-Id: I1528c792bcbcce9e50bfc294a1328a20e72c91cf Issue-ID: SDC-1559 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'workflow-designer-ui/src/main/frontend/resources/scss/features')
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss95
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss15
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss39
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss149
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss290
-rw-r--r--workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss6
6 files changed, 594 insertions, 0 deletions
diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss
new file mode 100644
index 00000000..debb8b81
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_catalog.scss
@@ -0,0 +1,95 @@
+.wf-catalog {
+ background-color: $light-silver;
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+ .header {
+ align-items: center;
+ display: flex;
+ justify-content: flex-end;
+ background-color: $silver;
+ margin-bottom: 2px;
+ @include box-shadow(0px 1px 3px 0 rgba(0, 0, 0, 0.2));
+ padding: 8px 60px 0 60px;
+ &__search {
+ height: 25px;
+ }
+ }
+ .main {
+ flex: 1;
+ &__header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 25px 60px;
+ &__total {
+ @include body-1;
+ @include semi-bold;
+ color: $dark-gray;
+ }
+ &__order {
+ display: flex;
+ &__label {
+ @include body-1;
+ @include semi-bold;
+ color: $dark-gray;
+ }
+ &__alphabetical {
+ cursor: pointer;
+ display: flex;
+ &__label {
+ margin-left: 5px;
+ @include body-1;
+ color: $blue;
+ }
+ &__icon {
+ display: flex;
+ align-items: center;
+ margin-left: 5px;
+ .svg-icon {
+ width: 9px;
+ height: 9px;
+ }
+ &--flip {
+ transform: rotate(180deg);
+ }
+ }
+ }
+ }
+ }
+ &__content {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, 204px);
+ grid-gap: 20px;
+ padding: 0 60px;
+ }
+ .add-workflow {
+ border: 2px dashed #a8b3b9;
+ width: 204px;
+ height: 204px;
+ padding: 10px;
+ box-sizing: border-box;
+ cursor: pointer;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ color: $gray;
+ &__icon {
+ color: $gray;
+ fill: $gray;
+ }
+ &__label {
+ text-transform: uppercase;
+ @include body-1;
+ }
+ &:hover {
+ color: $blue;
+ .svg-icon-wrapper {
+ color: $blue;
+ fill: $blue;
+ }
+ }
+ }
+ }
+}
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
new file mode 100644
index 00000000..7ab294a2
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_composition.scss
@@ -0,0 +1,15 @@
+.composition-view {
+ display: flex;
+ width: 100%;
+
+ .bpmn-container {
+ flex-basis: 100%;
+ height: 100%;
+ }
+
+ .properties-panel {
+ &, .bpp-properties-panel {
+ height: 100%;
+ }
+ }
+}
diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss
new file mode 100644
index 00000000..f99b8aad
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_general.scss
@@ -0,0 +1,39 @@
+.general-page {
+ @include body-1;
+ padding: 0 100px 20px 100px;
+ background-color: #fff;
+
+ .general-page-title {
+ height: 110px;
+ line-height: 110px;
+ @include heading-1;
+ @include semi-bold;
+ color: $dark-gray;
+ }
+
+ .general-page-content {
+ display: grid;
+ grid-template-columns: 50% 50%;
+ grid-gap: 30px;
+ color: #444;
+
+ .description-part textarea {
+ height: 200px;
+ }
+
+ .version-info-part {
+ background-color: $light-silver;
+ height: 200px;
+ margin-top: 25px;
+ padding: 20px;
+ box-sizing: border-box;
+ .label {
+ @include body-3;
+ margin-bottom: 5px;
+ }
+ .value {
+ margin-bottom: 10px;
+ }
+ }
+ }
+}
diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss
new file mode 100644
index 00000000..45338039
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_inputOutput.scss
@@ -0,0 +1,149 @@
+.input-output {
+ @mixin border($top: 1px, $right: 1px, $bottom: 1px, $left: 1px) {
+ border-width: $top $right $bottom $left;
+ border-style: solid;
+ border-color: $light-gray;
+ }
+ padding: 0 100px 20px 100px;
+ flex: 1;
+
+ &__title {
+ height: 110px;
+ line-height: 110px;
+ @include heading-1;
+ @include semi-bold;
+ color: $dark-gray;
+ }
+
+ &__header {
+ display: flex;
+ @include body-1;
+ @include semi-bold;
+ &__right {
+ flex: 1;
+ display: flex;
+ justify-content: flex-end;
+ align-items: center;
+ }
+ }
+
+ &__tab {
+ padding: 12px;
+ @include border(1px, 1px, 0, 1px);
+ background-color: $light-silver;
+ color: $gray;
+ min-width: 128px;
+ text-align: center;
+ cursor: pointer;
+ &--active {
+ color: $blue;
+ padding-top: 9px;
+ border-top: 4px solid $blue;
+ background-color: $white;
+ }
+ & + & {
+ border-left: none;
+ }
+ }
+
+ &__table {
+ &__thead {
+ background-color: $silver;
+ @include body-1;
+ @include semi-bold;
+ }
+ }
+
+ &__tr {
+ display: flex;
+ @include border();
+ &:hover:not(.no-data) {
+ background-color: $light-silver;
+ }
+ & + & {
+ border-top: none;
+ }
+ }
+
+ &__th {
+ flex: 1;
+ padding: 10px;
+ color: $black;
+ display: flex;
+ align-items: center;
+ }
+
+ &__td {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ padding: 25px 30px;
+ &--empty {
+ padding: 20px;
+ color: $dark-gray;
+ @include body-1;
+ @include semi-bold;
+ justify-content: center;
+ }
+
+ .input-output-select {
+ width: 100%;
+ height: 32px;
+ border: solid 1px #d2d2d2;
+ border-radius: 2px;
+ color: #5a5a5a;
+ }
+
+ .sdc-input {
+ width: 100%;
+ position: relative;
+ margin: unset;
+ .sdc-input__label {
+ display: none;
+ }
+ .sdc-input__input {
+ height: 32px;
+ }
+ .sdc-label__error {
+ margin: unset;
+ position: absolute;
+ bottom: -20px;
+ }
+ }
+ }
+
+ &__add {
+ cursor: pointer;
+ @include border(0, 0, 0, 1px);
+ padding-left: 10px;
+ margin-left: 10px;
+ }
+
+ &__search {
+ }
+
+ &__td,
+ &__th {
+ .sdc-checkbox {
+ height: 14px;
+ }
+ &--unflex {
+ flex: unset;
+ justify-content: center;
+ text-align: center;
+ width: 140px;
+ }
+ &--icon {
+ width: 100px;
+ .svg-icon-wrapper {
+ cursor: pointer;
+ &:hover {
+ fill: $blue;
+ }
+ }
+ }
+ & + & {
+ @include border(0, 0, 0, 1px);
+ }
+ }
+}
diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss
new file mode 100644
index 00000000..b713b93f
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_overview.scss
@@ -0,0 +1,290 @@
+.overview-page {
+ @include body-1;
+ @include base-font-regular;
+ padding: 25px;
+
+ .overview-content {
+ display: flex;
+ flex-wrap: wrap;
+
+ .workflow-details {
+ @extend .flex;
+ padding: 20px 0 0 60px;
+ flex-direction: column;
+
+ .description-part textarea{
+ height: 200px;
+ }
+
+ .save-description {
+ display: flex;
+ justify-content: flex-end;
+ }
+
+ .version-info-part {
+ background-color: $light-silver;
+ margin-top: 25px;
+ padding: 20px;
+ box-sizing: border-box;
+ .label {
+ @include body-3;
+ margin-bottom: 5px;
+ }
+ .value {
+ margin-bottom: 10px;
+ }
+ }
+ }
+
+ .workflow-versions {
+ display: flex;
+ flex: 2;
+ }
+ }
+
+ .overview-header {
+ @include heading-1;
+ text-transform: uppercase;
+ margin: 35px 0 35px 60px;
+ color: $blue;
+ }
+
+ @mixin version-page-box-shadow() {
+ box-shadow: 1px 1px 0 0 rgba(24, 24, 24, 0.06);
+ }
+
+ @mixin version-page-sub-title(){
+ color: $text-black;
+ text-transform: uppercase;
+ //background-color: $white;
+ border-bottom: 1px solid $light-gray;
+ padding: 12px 0 10px 45px;
+ }
+
+ .versions-page-view {
+ height: 100%;
+ overflow: auto;
+ padding: 0 35px 0 90px;
+ display: flex;
+ flex: 2;
+ flex-direction: column;
+
+ .svg-icon-wrapper {
+ justify-content: flex-start;
+ }
+
+ .create-new-version {
+ @extend .text-uppercase;
+ display: flex;
+ flex-direction: row-reverse;
+ color: $blue;
+ margin-left: auto;
+ cursor: pointer;
+ }
+ .newVersionDisabled > *, .svg-icon-wrapper{
+ pointer-events: none;
+ color: $gray;
+ }
+ .version-page-header {
+ display: flex;
+ justify-content: space-between;
+ .versions-page-title {
+ @include heading-1;
+ text-transform: uppercase;
+ margin-bottom: 29px;
+ color: $blue;
+ }
+ .depricate-btn-wrapper {
+ display: flex;
+ justify-content: flex-end;
+ margin-bottom: 10px;
+ }
+ }
+
+ .versions-page-list-and-tree {
+ display: flex;
+ margin-top: 20px;
+
+ .version-tree-wrapper {
+ display: flex;
+ flex-direction: column;
+ transition: all 1s ease;
+ @include version-page-box-shadow();
+
+ .version-tree-title-container {
+ @include base-font-semibold();
+ background-color: $light-silver;
+ display: flex;
+ align-items: center;
+ height: 40px;
+ @include version-page-sub-title();
+ padding-right: 10px;
+
+ .version-tree-full-screen {
+ margin-left: auto;
+ }
+ }
+
+ .tree-view {
+ //background-color: $white;
+ flex: 1;
+
+ .node:not(.selectedNode):hover {
+ .outer-circle, .inner-circle {
+ transform: scale(1.1);
+ }
+ }
+ }
+ }
+ }
+
+ .version-list {
+ @extend .flex;
+ color: $text-black;
+ flex-direction: column;
+
+ .version-list-items {
+ @extend .flex-column;
+
+ .version-item-row {
+ border-bottom: 1px solid $silver;
+
+ &:last-child {
+ border-bottom: none;
+ }
+ }
+ }
+
+ .version-item-row {
+ $row-hover-color: lighten($blue, 54%);
+ $row-active-color: lighten($blue, 51%);
+ cursor: $cursor-pointer;
+
+ display: flex;
+ align-items: center;
+ padding: 15px 30px;
+ @include version-page-box-shadow();
+ height: 70px;
+
+ &:hover {
+ background-color: $row-hover-color;
+ }
+
+ &.selected {
+ box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 $blue;
+ background-color: $row-active-color;
+
+ &:hover {
+ box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 lighten($blue, 35%);
+ }
+ }
+
+ &.header-row {
+ height: 40px;
+ background-color: $light-silver;
+
+ @include base-font-semibold();
+ @include version-page-sub-title();
+ padding: 15px 27px;
+
+ &:hover {
+ pointer-events: none;
+ &:active {
+ @include version-page-box-shadow();
+ }
+ }
+ .header-field.actions {
+ margin-right: 57px;
+ }
+ }
+
+ .version-item-field {
+ @extend .flex;
+ margin-right: 10px;
+
+ &.item-version, &.item-status {
+ flex: 0 1 10%;
+ color: $text-black;
+ }
+
+ &.item-description, &.item-last-edited {
+ @include body-1;
+ color: $dark-gray;
+ }
+
+ &.item-description, &.header-description {
+ flex: 2 1 0;
+ }
+
+ &.item-description > .description-text {
+ margin-right: 10px;
+ @include ellipsis($max-width: 280px);
+ width: initial;
+ }
+
+ &.item-actions {
+ display: flex;
+ flex: 1 1 3%;
+ justify-content: space-between;
+ }
+
+ &.item-select, &.item-create {
+ @include body-1;
+ flex: 0 1 auto;
+ margin-right: 0;
+
+ .svg-icon-wrapper {
+ fill: $blue;
+ color: $blue;
+
+ &[disabled] {
+ cursor: default;
+ }
+
+ .svg-icon {
+ width: 16px;
+ height: 16px;
+ }
+
+ &:hover:not([disabled]) {
+ fill: $dark-blue;
+ color: $dark-blue;
+ }
+ }
+ }
+
+ }
+
+ /* To keep ellipsis hider's background the same color as row background */
+ &:not(.selected):hover .item-description > .description-text:after {
+ background: $row-hover-color;
+ }
+
+ &:hover:active .item-description > .description-text:after {
+ background: $row-active-color;
+ }
+
+ }
+
+ }
+
+ &.clickable {
+ cursor: pointer;
+ }
+ }
+
+}
+
+.inputinput-selector {
+ padding-right: 10px;
+ border-color: $light-gray;
+ border-radius: 2px;
+ width: 100%;
+ height: 30px;
+ @include body-1;
+
+ &:disabled {
+ @extend .disabled;
+ background-color: $silver;
+ }
+}
diff --git a/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss b/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss
new file mode 100644
index 00000000..58d1df98
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/resources/scss/features/_workflow.scss
@@ -0,0 +1,6 @@
+.workflow-view {
+ display: grid;
+ grid-template-columns: 245px 1fr;
+ height: auto;
+ flex: 1;
+} \ No newline at end of file