aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/select-property-types/select-data-type-fields-structure/select-data-type-fields-structure.less
blob: 43d2d646a1c22608ed242a7da0990108b990cdd9 (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
107
108
109
110
111
112
113
114
115
116
117
.selectPropertyType {
    .tlv-radio-label {
        margin-top: -7px;
    }
}

.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;
            }
        }

    }

    .existInputContainer {
        height: 30px;
        width: 20px;
        position: relative;
    }
    .existInput {
        .sprite-new;
        .sdc-success;
        position: absolute;
        top: 18px;
        left: 3px;
    }

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

    .i-sdc-form-input:disabled{
        .disabled;
        &[type="text"]{
            opacity: 1 !important;
            background-color: @tlv_color_t;
            color:black;
        }
    }

    .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;
        }
    }
}