aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/property-types/data-type-fields-structure/data-type-fields-structure.less
blob: de1f423fcbf757f660c5c0f725557c0f00f43f9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.data-type-fields-structure{
    background-color: @tlv_color_v;
    padding:10px;
    display: table-caption;
    .open-close{
        position: relative;
        .open-close-button{
            position: absolute;
            top: 50%;
            margin-top: -7px;
            &.expand{
                .sprite-new;
                .expand-collapse-minus-icon;
            }
            &.collapse{
                .sprite-new;
                .expand-collapse-plus-icon;
            }
        }

    }


    .data-type-name{
        .m_16_m;
        margin-left: 22px;
    }

    .i-sdc-form-input:disabled{
             .disabled;
         }
    .i-sdc-form-input:read-only{
        opacity: 0.4;
        cursor: auto;
    }

    .property{
        display: flex;
        min-width: 365px;
        min-height: 46px;
        input[type="text"],select{
            width: 170px;
        }
        .property-name{
            float: left;
            margin-top: 8px;
        }
        .primitive-value-field{
            float: right;
            margin-top: 8px;
            margin-left: 10px;
        }
        .inner-structure{
            display: -webkit-box;
        }
    }

    [ng-switch-when="map"]{
        margin-top: 8px;
        margin-left: 10px;
        .map-item{
            border: solid 1px @main_color_o;
            min-width: 401px;
            min-height: 69px;
            float: none !important;
        }
        .add-map-item{
            width: auto;
            float: none;
            &:nth-child(1){
                position: relative;
                top: 6px;
            }
            .add-btn{
                float: none;
            }
        }

    }

    [ng-switch-when="list"]{
        float: left;
        margin-top: 8px;
        margin-left: 10px;
        min-width: 280px;
        .dt-list-item {
            border: solid 1px @main_color_o;
        }
        .list-value-items{
            width:280px;
        }
    }
}

.temp-form {
    all: unset;
    margin-left: 6px !important;
}
.tosca-box {
    display: block !important;
    all : unset;
}
.tosca-parent {
    margin-left: 10px;
}