aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/property-types/type-map/type-map-directive.less
blob: 6dc481dd26354ea982944365767951207bc1e9a5 (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
.add-map-item{
    &:nth-child(odd){
        float: right;
    }
    &:nth-child(1){
        float: none;
        .add-btn{
            float: none;
        }
    }
    width: 400px;
    .add-btn{
        width: 44px;
        float: right;
    }
    &.schema-data-type{
        float:none;
        .add-btn{
            float: none;
        }
    }
}

.add-btn {
    .f-color.a;
    .f-type._14_m;
    .hand;

    &:before {
        .sprite-new;
        .plus-icon;
        margin-right: 5px;
        content: "";

    }
    &:hover {
        .f-color.b;
        &:before {
            .sprite-new;
            .plus-icon-hover;
        }
    }

}

.map-item{
    min-width: 389px;
    min-height: 65px;
    background-color: @tlv_color_v;
    border-radius: 3px;
    margin-bottom: 8px;
    float: left;
    display: flex;
    &:nth-child(even).primitive-value-map{
        float: right;
    }
    .delete-map-item {
        float: right;
        position: relative;
        top: 5px;
        right: 5px;
        .sprite-new;
        .delete-icon;
        &:hover{
            .delete-icon-hover;
        }
    }
    .map-item-field {
        margin: 7px 12px !important;
        float: left;
        min-width: 170px;
        min-height: 50px;
        select{
            width:171px;
        }
        input[type="text"]{
            width: 170px;
        }
        &>.data-type-fields-structure{
            padding: 0;
        }

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