summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/modules/_softwareProductLandingPage.scss
blob: a0620b3639d47cf3346184a5d98aec762a1da27c (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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
.upload-modal-body-content {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
    .title {
        @extend .body-1-semibold;
    }
    .file-name {
        padding-left: 5px;
        @extend .body-1-semibold;
    }
}

.software-product-view {
    display: flex;
    height: 100%;

    .description {
        @extend .body-1;
        padding-right: 20px;

        .missing-license {
            display: flex;
            align-items: baseline;
            .svg-icon {
                margin-right: 7px;
                margin-left: 3px;
                &.__exclamationTriangleFull {
                    fill: $orange;
                    width: 17px;
                    height: 17px;
                }
            }
            .warning-text {
                position: relative;
                top: -2px;
            }
        }
    }
    .name {
        @extend .body-1-semibold;
    }
    .software-product-landing-view-right-side {
        @extend .flex;
        overflow-y: hidden;
        .list-editor-view {
            .list-editor-view-title {
                margin-bottom: 0;
            }
        }
    }
    .software-product-landing-view {
        padding-bottom: 50px;

        .software-product-landing-view-top {
            .details-container {
                @extend .flex-column;

                .single-detail-section {
                    @extend .flex-column;
                    &.title-section {
                        flex: 0.8;
                        @extend .heading-5-semibold;
                    }
                    &.title-text {
                        margin-bottom: 24px;
                    }
                    .description {
                        @include multiline-ellipsis();
                    }
                }
                .title {
                    @extend .body-3;
                    color: $gray;
                    &.extra-large {
                        min-width: 130px;
                    }
                }
                .details-section {
                    display: flex;
                }
                .multiple-details-section {
                    @extend .flex-column;
                    justify-content: space-between;
                    .detail-col {
                        padding-bottom: 10px;
                    }
                }
            }
            .row {
                margin: 0;
                display: flex;
                .details-panel {
                    flex: 1;
                    margin-right: 50px;
                    &:last-child {
                        margin-right: 0;
                    }
                    .software-product-landing-view-top-block-col-upl {
                        height: 225px;
                        width: initial;
                    }
                }
                .col-md-6 {
                    padding: 0;

                    overflow-wrap: break-word;
                    &:first-child {
                        padding-right: 25px;
                    }
                    &:last-child {
                        padding-left: 25px;
                    }
                }
                .title {
                    @extend .body-1-semibold;
                }
                .software-product-landing-view-heading-title {
                    @extend .section-title;
                    color: $dark-gray;
                    padding-bottom: 20px;
                    &:first-child {
                        padding-bottom: 20px;
                    }
                }
                .software-product-landing-view-top-block {
                    &.clickable {
                        cursor: pointer;
                        &:hover {
                            @extend .box-hover;
                        }
                    }
                    border: 1px solid $light-gray;
                    padding: 20px 18px 0 18px;
                    height: 225px;
                    display: flex;
                    justify-content: space-between;
                    background-color: $white;

                    .col-md-6 {
                        @extend .body-1;
                    }
                    .software-product-landing-view-top-block-col {
                        @extend .body-1;
                        flex: 0.8;
                        display: flex;
                        justify-content: space-between;
                        flex-direction: column;
                        .description {
                            overflow: hidden;
                            padding-right: 20px;
                        }
                        .attachment-details {
                            padding-bottom: 10px;
                        }
                        .attachment-details-count {
                            color: $light-blue;
                        }
                    }
                }

                .software-product-landing-view-top-block-col-upl {
                    @extend .flex;
                    height: 225px;
                    text-align: center;
                    flex-direction: column;
                    justify-content: center;
                    border: 2px dashed $light-gray;
                    margin-bottom: 20px;
                    @extend .body-1;
                    align-items: center;
                    .upload-btn {
                        padding: 15px 55px;
                    }
                    .drag-text {
                        color: $blue;
                        @extend .body-1-semibold;
                    }
                    .or-text {
                        margin-top: 10px;
                        margin-bottom: 10px;
                        color: $light-gray;
                    }
                    .upload {
                        width: 50%;
                        border: 0px !important;
                    }
                    .vnfRepo {
                        width: 50%;
                        cursor: pointer;
                        .searchRepo-text {
                            color: $blue;
                            @extend .body-1-semibold;
                            width: 72px;
                            line-height: 24px;
                            margin-left: auto;
                            margin-right: auto;
                        }
                        .svg-icon-wrapper {
                            .svg-icon.__search {
                                width: 34px;
                                height: 34px;
                                margin-top: 10px;
                            }
                            &.__positive {
                                fill: $blue;
                                color: $blue;
                            }
                        }
                    }
                    .verticalLine {
                        height: 90%;
                        border-left: 1px solid $light-gray;
                    }
                }
                .showVnf {
                    flex-direction: row;
                }
            }
        }
    }
    .licenceLabel {
        float: right;
        margin-left: 5px;
    }
}

.vsp-details-page {
    .grid-section-general {
        padding-bottom: 30px;
    }
    .vsp-general-tab {
        .validation-form-content {
            margin: 0;
        }
        .validation-buttons {
            margin: 43px 0;
            padding: 0 52px;
        }
        .validation-form-content {
            .vsp-general-tab-inline-section {
                display: flex;

                .vsp-general-tab-sub-section:not(:last-of-type) {
                    margin-right: 40px;
                }
                .field-section {
                    width: 440px;
                }
                .form-group textarea {
                    height: 192px;
                }
                select optgroup[label] {
                    color: $dark-blue;
                }
                option {
                    color: $dark-gray;
                }
                .Select,
                .input-options {
                    width: 440px;
                }
            }
        }
        .validation-buttons {
            position: fixed;
            display: block;
            bottom: 0;
            width: 66%;
        }
        .validation-input-wrapper {
            select.form-control {
                width: 100%;
            }
        }
    }
}