summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-07-29 16:13:45 +0300
committerMichael Lando <ml636r@att.com>2018-07-29 16:20:34 +0300
commit5b593496b8f1b8e8be8d7d2dbcc223332e65a49b (patch)
tree2f9dfc45191e723da69cf74be7829784e9741b94 /catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less
parent9200382f2ce7b4bb729aa287d0878004b2d2b4f9 (diff)
re base code
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less')
-rw-r--r--catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less65
1 files changed, 61 insertions, 4 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less b/catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less
index 20da0b6ec2..72f67e434e 100644
--- a/catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less
+++ b/catalog-ui/src/app/ng2/components/logic/properties-table/properties-table.component.less
@@ -1,4 +1,4 @@
-@import './../../../../../assets/styles/variables.less';
+@import './../../../../../assets/styles/mixins.less';
@import '../../../../../assets/styles/sprite';
@smaller-screen: ~"only screen and (max-width: 1580px)";
@@ -12,13 +12,16 @@
text-align:left;
- .inner-cell-div{
- max-width: 100%;
+ .inner-cell-div {
text-overflow: ellipsis;
overflow: hidden;
height: 20px;
}
+ .inner-cell-div-multiline {
+ max-width: 100%;
+ }
+
.table-header {
display: flex;
flex-direction:row;
@@ -36,6 +39,11 @@
.table-rows-header {
border: #d2d2d2 solid 1px;
border-top:none;
+ display: flex;
+ align-items: center;
+ .archive-label{
+ margin-left: 10px;
+ }
}
.table-body {
@@ -120,7 +128,7 @@
.property-description-icon {
float: right;
margin-top: 4px;
- margin-left: 5px;
+ margin-left: 15px;
flex: 0 0 auto;
}
}
@@ -177,4 +185,53 @@
}
}
+ .table-row {
+ /deep/ .table-cell-multiline-ellipsis .multiline-ellipsis-dots {
+ background: linear-gradient(to right, transparent 0%, #ffffff 80%);
+ padding-left: 1em;
+ }
+
+ &.selected /deep/ .table-cell-multiline-ellipsis .multiline-ellipsis-dots {
+ background: linear-gradient(to right, transparent 0%, #e6f6fb 80%);
+ padding-left: 1em;
+ }
+
+ &.readonly /deep/ .table-cell-multiline-ellipsis .multiline-ellipsis-dots {
+ background: linear-gradient(to right, transparent 0%, #f8f8f8 80%);
+ padding-left: 1em;
+ }
+
+ &:hover:not(.selected) /deep/ .table-cell-multiline-ellipsis .multiline-ellipsis-dots {
+ background: linear-gradient(to right, transparent 0%, #f8f8f8 80%);
+ padding-left: 1em;
+ }
+ }
+
+ .prop-instance-icon {
+ vertical-align: middle;
+ margin-right: 7px;
+ &.defaulticon.small {
+ background-color: @main_color_q;
+ border-radius:14px;
+ }
+ // square icons
+
+ &.icon-group {
+ .square-icon();
+ background-color: @main_color_a;
+
+ &::before {
+ content: "G";
+ }
+ }
+ &.icon-policy {
+ .square-icon();
+ background-color: @main_color_r;
+
+ &::before {
+ content: "P";
+ }
+ }
+
+ }
}
> 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453
{
  "key": {
    "name": "SmallModel",
    "version": "0.0.1"
  },
  "keyInformation": {
    "key": {
      "name": "SmallModel_KeyInfo",
      "version": "0.0.1"
    },
    "keyInfoMap": {
      "entry": [
        {
          "key": {
            "name": "BasicContextAlbum",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicContextAlbum",
              "version": "0.0.1"
            },
            "UUID": "fec1b353-b35f-4384-b7d9-69622059c248",
            "description": "Generated description for a concept called \"BasicContextAlbum\" with version \"0.0.1\" and UUID \"fec1b353-b35f-4384-b7d9-69622059c248\""
          }
        },
        {
          "key": {
            "name": "BasicEvent",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicEvent",
              "version": "0.0.1"
            },
            "UUID": "cc8d3c1a-e975-459a-bcd2-69f423eaa1f3",
            "description": "Generated description for a concept called \"BasicEvent\" with version \"0.0.1\" and UUID \"cc8d3c1a-e975-459a-bcd2-69f423eaa1f3\""
          }
        },
        {
          "key": {
            "name": "BasicPolicy",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicPolicy",
              "version": "0.0.1"
            },
            "UUID": "d0c5d8ee-5fe7-4978-89ce-4a3e69cad043",
            "description": "Generated description for a concept called \"BasicPolicy\" with version \"0.0.1\" and UUID \"d0c5d8ee-5fe7-4978-89ce-4a3e69cad043\""
          }
        },
        {
          "key": {
            "name": "BasicTask",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicTask",
              "version": "0.0.1"
            },
            "UUID": "c5651414-fc1c-493b-878d-75f0ce685c36",
            "description": "Generated description for a concept called \"BasicTask\" with version \"0.0.1\" and UUID \"c5651414-fc1c-493b-878d-75f0ce685c36\""
          }
        },
        {
          "key": {
            "name": "IntType",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "IntType",
              "version": "0.0.1"
            },
            "UUID": "790ff718-8dc0-44e0-89d8-1b3bbe238310",
            "description": "Generated description for a concept called \"IntType\" with version \"0.0.1\" and UUID \"790ff718-8dc0-44e0-89d8-1b3bbe238310\""
          }
        },
        {
          "key": {
            "name": "SmallModel",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel",
              "version": "0.0.1"
            },
            "UUID": "a1bd1f4e-713b-456b-b1a8-bb48beee28e8",
            "description": "Generated description for a concept called \"SmallModel\" with version \"0.0.1\" and UUID \"a1bd1f4e-713b-456b-b1a8-bb48beee28e8\""
          }
        },
        {
          "key": {
            "name": "SmallModel_Albums",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_Albums",
              "version": "0.0.1"
            },
            "UUID": "72bed9af-ab7d-3379-b9f7-b5eca5c9ef22",
            "description": "Generated description for concept referred to by key \"SmallModel_Albums:0.0.1\""
          }
        },
        {
          "key": {
            "name": "SmallModel_Events",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_Events",
              "version": "0.0.1"
            },
            "UUID": "796dc6b0-627d-34ae-a5e2-1bc4b4b486b8",
            "description": "Generated description for concept referred to by key \"SmallModel_Events:0.0.1\""
          }
        },
        {
          "key": {
            "name": "SmallModel_KeyInfo",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_KeyInfo",
              "version": "0.0.1"
            },
            "UUID": "b4876774-6907-3d27-a2b8-f05737c5ee4a",
            "description": "Generated description for concept referred to by key \"SmallModel_KeyInfo:0.0.1\""
          }
        },
        {
          "key": {
            "name": "SmallModel_Policies",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_Policies",
              "version": "0.0.1"
            },
            "UUID": "5bcf946b-67be-3190-a906-f954896f999f",
            "description": "Generated description for concept referred to by key \"SmallModel_Policies:0.0.1\""
          }
        },
        {
          "key": {
            "name": "SmallModel_Schemas",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_Schemas",
              "version": "0.0.1"
            },
            "UUID": "c25bf5c3-7f1e-3667-b8a9-971ba21517bc",
            "description": "Generated description for concept referred to by key \"SmallModel_Schemas:0.0.1\""
          }
        },
        {
          "key": {
            "name": "SmallModel_Tasks",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "SmallModel_Tasks",
              "version": "0.0.1"
            },
            "UUID": "43b015ca-2ed1-3a35-b103-e8a5aa68f1ef",
            "description": "Generated description for concept referred to by key \"SmallModel_Tasks:0.0.1\""
          }
        }
      ]
    }
  },
  "policies": {
    "key": {
      "name": "SmallModel_Policies",
      "version": "0.0.1"
    },
    "policyMap": {
      "entry": [
        {
          "key": {
            "name": "BasicPolicy",
            "version": "0.0.1"
          },
          "value": {
            "policyKey": {
              "name": "BasicPolicy",
              "version": "0.0.1"
            },
            "template": "FREEFORM",
            "state": {
              "entry": [
                {
                  "key": "OnlyState",
                  "value": {
                    "stateKey": {
                      "parentKeyName": "BasicPolicy",
                      "parentKeyVersion": "0.0.1",
                      "parentLocalName": "NULL",
                      "localName": "OnlyState"
                    },
                    "trigger": {
                      "name": "BasicEvent",
                      "version": "0.0.1"
                    },
                    "stateOutputs": {
                      "entry": [
                        {
                          "key": "OnlyOutput",
                          "value": {
                            "key": {
                              "parentKeyName": "BasicPolicy",
                              "parentKeyVersion": "0.0.1",
                              "parentLocalName": "OnlyState",
                              "localName": "OnlyOutput"
                            },
                            "outgoingEvent": {
                              "name": "BasicEvent",
                              "version": "0.0.1"
                            },
                            "nextState": {
                              "parentKeyName": "NULL",
                              "parentKeyVersion": "0.0.0",
                              "parentLocalName": "NULL",
                              "localName": "NULL"
                            }
                          }
                        }
                      ]
                    },
                    "contextAlbumReference": [
                      {
                        "name": "BasicContextAlbum",
                        "version": "0.0.1"
                      }
                    ],
                    "taskSelectionLogic": {
                      "key": "NULL",
                      "logicFlavour": "UNDEFINED",
                      "logic": ""
                    },
                    "stateFinalizerLogicMap": {
                      "entry": []
                    },
                    "defaultTask": {
                      "name": "BasicTask",
                      "version": "0.0.1"
                    },
                    "taskReferences": {
                      "entry": [
                        {
                          "key": {
                            "name": "BasicTask",
                            "version": "0.0.1"
                          },
                          "value": {
                            "key": {
                              "parentKeyName": "BasicPolicy",
                              "parentKeyVersion": "0.0.1",
                              "parentLocalName": "OnlyState",
                              "localName": "BasicTask"
                            },
                            "outputType": "DIRECT",
                            "output": {
                              "parentKeyName": "BasicPolicy",
                              "parentKeyVersion": "0.0.1",
                              "parentLocalName": "OnlyState",
                              "localName": "OnlyOutput"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              ]
            },
            "firstState": "OnlyState"
          }
        }
      ]
    }
  },
  "tasks": {
    "key": {
      "name": "SmallModel_Tasks",
      "version": "0.0.1"
    },
    "taskMap": {
      "entry": [
        {
          "key": {
            "name": "BasicTask",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicTask",
              "version": "0.0.1"
            },
            "inputFields": {
              "entry": [
                {
                  "key": "intPar",
                  "value": {
                    "key": "intPar",
                    "fieldSchemaKey": {
                      "name": "IntType",
                      "version": "0.0.1"
                    },
                    "optional": false
                  }
                }
              ]
            },
            "outputFields": {
              "entry": [
                {
                  "key": "intPar",
                  "value": {
                    "key": "intPar",
                    "fieldSchemaKey": {
                      "name": "IntType",
                      "version": "0.0.1"
                    },
                    "optional": false
                  }
                }
              ]
            },
            "taskParameters": {
              "entry": []
            },
            "contextAlbumReference": [
              {
                "name": "BasicContextAlbum",
                "version": "0.0.1"
              }
            ],
            "taskLogic": {
              "key": "TaskLogic",
              "logicFlavour": "JAVASCRIPT",
              "logic": "executor.logger.debug(executor.subject.id);\nvar gc = executor.getContextAlbum(\"BasicContextAlbum\");\nexecutor.logger.debug(gc.name);\nexecutor.logger.debug(executor.inFields);\n\nexecutor.logger.debug(executor.eo);\n\nvar returnValue = executor.isTrue;"
            }
          }
        }
      ]
    }
  },
  "events": {
    "key": {
      "name": "SmallModel_Events",
      "version": "0.0.1"
    },
    "eventMap": {
      "entry": [
        {
          "key": {
            "name": "BasicEvent",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicEvent",
              "version": "0.0.1"
            },
            "nameSpace": "org.onap.policy.apex.events",
            "source": "source",
            "target": "target",
            "parameter": {
              "entry": [
                {
                  "key": "intPar",
                  "value": {
                    "key": "intPar",
                    "fieldSchemaKey": {
                      "name": "IntType",
                      "version": "0.0.1"
                    },
                    "optional": false
                  }
                }
              ]
            }
          }
        }
      ]
    }
  },
  "albums": {
    "key": {
      "name": "SmallModel_Albums",
      "version": "0.0.1"
    },
    "albums": {
      "entry": [
        {
          "key": {
            "name": "BasicContextAlbum",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "BasicContextAlbum",
              "version": "0.0.1"
            },
            "scope": "GLOBAL",
            "isWritable": true,
            "itemSchema": {
              "name": "IntType",
              "version": "0.0.1"
            }
          }
        }
      ]
    }
  },
  "schemas": {
    "key": {
      "name": "SmallModel_Schemas",
      "version": "0.0.1"
    },
    "schemas": {
      "entry": [
        {
          "key": {
            "name": "IntType",
            "version": "0.0.1"
          },
          "value": {
            "key": {
              "name": "IntType",
              "version": "0.0.1"
            },
            "schemaFlavour": "Java",
            "schemaDefinition": "java.lang.Integer"
          }
        }
      ]
    }
  }
}