aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/property-types/type-list/type-list-directive.less
blob: 971ef3b007e08ae02c9bde8c692cd29e3ba6bca1 (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
.list-value-items{
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid @main_color_o;
    padding-bottom: 10px;
    min-height: 100px;
    clear: both;
    background-color: white;
    .list-value-item{
        display: inline-block;
        background-color: @tlv_color_v;
        margin: 10px 0 0 10px;
        .delete-list-item{
            margin: 0 0 0 2px;
            .hand;
        }
    }
}

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

    &.add-list-item {
        float: left;
        margin-top: 5px;
        width: 44px;
    }

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

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

}

.dt-list-item {
    min-width: 300px;
    min-height: 65px;
    background-color: @tlv_color_v;
    border-radius: 3px;
    margin: 8px;
    float: left;
    display: flex;
    .delete-dt-list-item{
        float: right;
        position: relative;
        top: 5px;
        right: 5px;
        .sprite-new;
        .delete-icon;
        &:hover{
            .delete-icon-hover;
        }
    }
    .list-new-item{
        margin: 7px 12px !important;
            float: left;
            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;
            }
    }
    .data-type-name{
        margin-right: 16px;
    }
}

.dt-list{
    display: inline-block;
    &>.add-list-item{
        float:none;
    }
}

.tosca-function {
    max-width: 165px;
}

.tosca-error {
    max-width: 165px;
}

.temp-form {
    all: unset;
}