aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less')
-rw-r--r--catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less127
1 files changed, 45 insertions, 82 deletions
diff --git a/catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less b/catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less
index de080dfdc9..bb019a768b 100644
--- a/catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less
+++ b/catalog-ui/src/app/ng2/components/properties-table/properties-table.component.less
@@ -10,38 +10,17 @@
height:100%;
text-align:left;
-
- .child-property-container {
- display:flex;
- flex-direction:column;
-
- &.table-cell {
- padding:0;
- }
-
- .child-property-row {
- border-bottom: #d2d2d2 solid 1px;
- &:last-child {
- border-bottom:none;
- }
- }
- }
-
-
- derived-property, dynamic-property {
- width:100%;
- }
-
- /deep/ dynamic-property dynamic-property .dynamic-property-row {
- border-top:solid #d2d2d2 1px;
- }
-
- /deep/ dynamic-property dynamic-property:first-of-type .dynamic-property-row:not(.with-top-border) {
- border-top: none;
+ .inner-cell-div{
+ max-width: 100%;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ height: 20px;
}
-
- properties-value-inner-table {
- width: 100%;
+
+ .table-header, .table-row {
+ display: flex;
+ flex-direction:row;
+ flex: 0 0 auto;
}
.table-header {
@@ -54,10 +33,17 @@
padding: 5px;
}
}
- .table-header, .table-row {
- display: flex;
- flex-direction:row;
- flex: 0 0 auto;
+
+ .table-rows-header {
+ font-size:16px;
+ flex:1;
+ border: #d2d2d2 solid 1px;
+ border-top:none;
+ padding: 5px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ background-color: @tlv_color_v;
}
.table-body {
@@ -79,17 +65,6 @@
}
}
- .table-rows-header {
- font-size:16px;
- flex:1;
- border: #d2d2d2 solid 1px;
- border-top:none;
- padding: 5px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- background-color: @tlv_color_v;
- }
.table-row {
&:hover {
@@ -103,6 +78,10 @@
background-color:#e6f6fb;
}
}
+ .cut-inner-long-text{
+ text-overflow: ellipsis;
+ overflow: hidden;
+ }
.table-cell {
font-size:13px;
flex:1;
@@ -112,7 +91,7 @@
padding: 5px;
text-overflow: ellipsis;
white-space: nowrap;
- overflow: hidden;
+ display: flex;
&:last-child {
border-right:#d2d2d2 solid 1px;
@@ -120,10 +99,24 @@
&.col1 {
flex: 0 0 300px;
max-width:300px;
+ display: flex;
+ justify-content: space-between;
+
+ .property-name {
+ flex: 1;
+ display: flex;
+ max-width: 270px;
+ }
.property-description-icon {
float: right;
margin-top: 4px;
+ margin-left: 5px;
+ flex: 0 0 auto;
+ }
+
+ /deep/ .checkbox-container {
+ margin-right: 5px;
}
}
&.col2 {
@@ -137,46 +130,12 @@
}
&.valueCol {
- flex: 1 0 auto;
+ flex: 1;
min-width: 350px;
display: flex;
justify-content: flex-end;
padding: 0px;
-
- .value-input {
- flex: 1;
- max-height: 24px;
- border: none;
- background-color: inherit;
-
- &:focus, &:active {
- border:none;
- outline:none;
- }
- }
-
- .delete-btn {
- flex: 0 0 auto;
- }
-
- .delete-button-container {
- max-height: 24px;
- }
-
- &.inner-table-container {
- padding: 0px;
-
- .delete-button-container {
- padding: 3px 5px 0 0 ;
- }
- }
}
-
- &.input-value-col {
- padding: 5px;
- }
-
-
}
.filtered {
@@ -184,5 +143,9 @@
background-color: yellow;
}
}
+
+ dynamic-property {
+ width:100%;
+ }
}