fd572b0f2d559b8a676dfbd727ce045bae94f793
[sdc.git] /
1 @import '../../../../../../assets/styles/variables.less';
2 .flat-children-container {
3     .dynamic-property-row {
4         /*create nested left border classes for up to 10 levels of nesting*/
5         .nested-border-loop(@i) when (@i > 0) {
6             @size: (@i - 1) *2;
7             &.nested-level-@{i} .table-cell:first-child {
8                 border-left: ~"solid @{size}px #009fdb";
9             }
10             .nested-border-loop(@i - 1)
11         }
12         .nested-border-loop(10);
13     }
14     dynamic-property {
15         &:first-child .dynamic-property-row.with-top-border {
16             border-top:solid 1px #d2d2d2;
17         }
18         &:not(:last-child) .dynamic-property-row {
19             border-bottom:solid 1px #d2d2d2;
20         }
21     }
22 }
23 .dynamic-property-row {
24     display:flex;
25     flex-direction:row;
26     align-items: stretch;
27
28     &.readonly{
29         background-color: @tlv_color_t;
30         cursor: auto;
31     }
32     //for the case that the parent is disabled but the child is enabled
33     &:not(.readonly){
34         background-color: @main_color_p;
35     }
36
37     .table-cell {
38         flex: 1;
39         padding:9px;
40         justify-content: center;
41         overflow: hidden;
42         text-overflow: ellipsis;
43         white-space: nowrap;
44
45         &:first-child {
46             flex: 0 0 50%;
47             border-right:#d2d2d2 solid 1px;
48             &:only-of-type {
49                 flex: 1 1 100%;
50                 border-right:none;
51             }
52         }
53         &.empty {
54             height:40px;
55         }
56     }
57     .property-icon {
58         flex: 0 0 auto;
59         margin-right:10px;
60         align-self:center;
61         cursor:pointer;
62     }
63 }
64
65 .filtered {
66     /deep/ .checkbox-label-content{
67         background-color: yellow;
68     }
69 }
70 .inner-cell-div{
71     max-width: 100%;
72     text-overflow: ellipsis;
73     overflow: hidden;
74     display: inline;
75     padding-left: 8px;
76 }
77 .error {
78     border: solid 1px @func_color_q;
79     color: @func_color_q;
80     outline: none;
81     box-sizing: border-box;
82 }