summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/_softwareProductAttachmentPage.scss
blob: f24198cf59ad3cb35eed6632ca6e215171ecf9f8 (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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
.vsp-attachments-view {
    position: relative;
    .attachments-tabs {
        .sdc-tabs-list {
            padding-left: 28px;
            background-color: $tlv-gray;
            box-shadow: none;
            border-bottom: 1px solid $light-gray;
            .sdc-tab {
                @extend .heading-2;
                padding-top: 10px;
                margin-top: 0;
                &.sdc-tab-active {
                    color: $blue;
                    font-weight: bold;
                }
            }
        }
        .sdc-tab-content {
            margin-top: 0;
        }
    }
    .attachments-view-controllers {
        position: absolute;
        right: 40px;
        top: 10px;
        display: flex;

        .icon-component {
            margin-right: 30px;
        }

        input[type='file'] {
            visibility: hidden;
            width: 1px;
            padding: 0;
            margin-left: -1px;
        }

        .proceed-to-validation-btn {
            margin-right: 30px;
        }
        .go-to-overview-btn {
            width: 191px;
            margin-right: 36px;
            height: 36px;
        }
        .separator {
            height: 27px;
            border: 1px solid $light-gray;
            margin-right: 31px;
            margin-left: 0px;
            margin-top: 3px;
        }
        .abort-btn {
            fill: $blue;
            color: $blue;
            &:hover {
                color: $light-blue;
                fill: $light-blue;
            }
        }
    }
}

.vsp-attachments-heat-validation {
    @extend .body-1;
    display: flex;
    .svg-icon.exclamationTriangleFull {
        fill: $orange;
        width: 15px;
        height: 15px;
        &.large {
            width: 20px;
            height: 20px;
        }
    }
    .validation-tree-section {
        display: flex;
        width: 400px;
        justify-content: space-between;
    }
    .vsp-attachments-heat-validation-tree {
        @extend .flex-column;
        margin: 0;
        overflow: auto;
        height: 100%;
        .attachments-tree-header {
            display: flex;
            justify-content: space-between;
            height: 55px;
            align-items: center;
            &.header-selected {
                background: $tlv-gray;
            }
            .header-icon {
                top: -3px;
                position: relative;
                margin-left: 20px;
            }
            .tree-header-title-text {
                @extend .heading-4-semibold;
                padding-left: 32px;
                cursor: pointer;
                &.tree-header-title-selected {
                    color: $blue;
                }
            }
            .tree-header-title {
                display: flex;
            }
        }
        .counters {
            display: flex;
            justify-content: space-between;
            z-index: 1;
            padding-right: 20px;
            .counter {
                .svg-icon {
                    &.__exclamationTriangleLine {
                        fill: $orange;
                    }
                }
                display: flex;
                &:first-child {
                    margin-right: 20px;
                }
                &:only-child {
                    margin-right: 0;
                }
                .svg-icon-wrapper {
                    margin-right: 5px;
                }
                .counter-icon {
                    margin-right: 5px;
                }
                .error-text,
                .warning-text {
                    @extend .body-3;
                    &.large {
                        @extend .heading-4-semibold;
                    }
                }
            }
        }
        .tree-wrapper {
            flex: 1 1;
            position: relative;
            padding-bottom: 10px;

            @-moz-document url-prefix() {
                .tree-block-inside {
                    top: 0;
                    position: relative;
                }
            }
            .tree-block-inside {
                padding-left: 20px;
                .tree-node-row {
                    cursor: default;
                    white-space: nowrap;
                    display: flex;
                    justify-content: space-between;
                    height: 40px;
                    align-items: center;
                    .svg-icon {
                        &.__chevronUp,
                        &.__chevronDown {
                            height: 10px;
                            width: 10px;
                        }
                    }

                    &:after {
                        border-top: 1px solid $tlv-gray;
                        height: 40px;
                        position: absolute;
                        left: 0;
                        right: 0;
                        content: ' ';
                    }
                    @-moz-document url-prefix() {
                        &:after {
                            top: 0;
                        }
                    }
                    &.tree-node-selected::before {
                        position: absolute;
                        left: 0;
                        right: 0;
                        height: 20px;
                        display: inline-block;
                        content: ' ';
                        background-color: $tlv-gray;
                        color: $blue;
                    }

                    &.tree-node-clicked {
                        color: $blue;
                        &:after {
                            background: $tlv-gray;
                            height: 40px;
                            position: absolute;
                            left: 0;
                            right: 0;
                            content: ' ';
                        }
                    }
                    .tree-node-name {
                        cursor: pointer;
                    }
                    .name-section {
                        z-index: 1;
                        flex: 1;
                        @include ellipsis(auto);
                    }
                    .tree-node-expander {
                        position: relative;
                        display: inline-block;
                        cursor: pointer;
                    }
                    .tree-node-icon {
                        margin: 0 7px;
                    }
                }
            }
        }
    }
    .vsp-attachments-heat-validation-separator {
        border-left: 1px solid $tlv-light-gray;
        height: 100%;
        width: 5px;
        cursor: e-resize;
    }

    .message-board-section {
        @extend .flex-column;
        padding-left: 25px;
        padding-top: 10px;
        padding-right: 60px;
        overflow: auto;
        margin-bottom: 70px;
        .error-item {
            display: flex;
            margin: 10px 0;
            .large {
                .svg-icon {
                    width: 20px;
                    height: 20px;
                    fill: $orange;
                }
            }
            .error-item-file-type {
                margin-left: 15px;
            }
            .error-file-name {
                @extend .body-1-semibold;
                margin-right: 5px;
            }
        }
    }
}