aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/interface-operation/operation-creator/operation-creator.component.less
blob: f2bd0f82af9b051eb691e91cd04982176105ba74 (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
@import '../../../../../assets/styles/variables.less';
@import '../../../../../assets/styles/override.less';

.operation-creator {
    font-family: @font-opensans-regular;
    user-select: none;
    padding-top: 12px;
    padding-bottom: 20px;

    .i-sdc-form-label {
        font-size: 12px;
    }

    .w-sdc-form .form-item {
        margin-bottom: 15px;
    }

    textarea {
        min-height: 74px;
        margin-bottom: 18px;
    }

    /deep/ .sdc-dropdown__component-container {
        .sdc-dropdown__header {
            height: 38px;
            line-height: 35px;

            svg-icon {
                margin: 13px 6px;
            }
        }
    }

    /deep/ .sdc-input {
        margin-bottom: 0;

        .sdc-input__input {
            height: 38px;
        }
    }

    .side-by-side {
        display: flex;

        .form-item {
            flex: 1;

            &:first-child {
                margin-right: 14px;
                flex-basis: 37%;
                flex-grow: 0;
                flex-shrink: 0;
            }

            &:nth-child(3) {
                margin-left: 14px;
                flex: 0.4;
            }

            .i-sdc-form-file-upload {
                height: 37px;
                margin-bottom: 0;

                .i-sdc-form-file-name {
                    padding: 8px 10px;
                }

                .i-sdc-form-file-upload-x-btn {
                    top: 13px;
                }

                .file-upload-browse-btn {
                    height: 100%;
                    padding: 7px 6px;
                    z-index: 1;
                }
            }

        }
    }

    .archive-warning {
        font-family: @font-opensans-bold;
        color: @main_color_i;
    }

    .no-workflow-warning {
        font-family: @font-opensans-bold;
        color: @sdcui_color_red;
        float: right;
    }

    .input-param-title {
        font-size: 16px;
        text-transform: uppercase;
    }

    .separator-buttons {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;

        .add-param-link {
            &:not(.disabled):hover {
                cursor: pointer;
            }
        }

        .tab {
            width: 84px;
            text-align: center;
        }
    }

    .generic-table {
        max-height: 244px;
        min-height: 91px;
        background: @main_color_p;

        .header-row .header-cell {
            .info-icon {
                float: right;
                position: relative;
                top: 2px;
            }
            /deep/ .tooltip-inner {
                padding: 2px;
                max-width: 270px;
                font-size: 11px;
            }
            &.remove {
                padding: 10px;
                font-size: 10px;
            }
        }

        .data-row {
            &.empty-msg {
                .bold-message {
                    font-family: @font-opensans-bold;
                }

                :first-child {
                    &:not(:only-child) {
                        margin: 6px 0;
                    }
                }

                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 14px;
            }
        }

        /deep/ .cell {
            &.field-name, &.field-type {
                flex: 1;
            }

            &.field-property {
                &, &:last-child {
                    flex: 1;
                }
            }

            &.field-mandatory {
                flex: 0.5;
                text-align: center;
            }

            &.remove {
                min-width: 40px;
                max-width: 40px;
            }
        }

    }
}