summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_versionController.scss
blob: cc839995cb358c467880d6668d89e5798fa04900 (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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
.version-controller-bar {
    display: flex;
    min-height: 70px;
    border-bottom: 1px solid $tlv-light-gray;
    background-color: transparent;

    .vc-container {
        display: flex;
        flex: 1;
        align-self: center;
        background-color: transparent;
        justify-content: space-between;
        align-items: center;
        padding-left: 16px;
        padding-right: 40px;

        .vc-separator {
            border-left: 1px solid $tlv-light-gray;
            height: 37px;
            margin-left: 5px;
            margin-right: 5px;
        }

        .version-status-container {
            display: flex;
            height: 30px;

            .version-selector-more-versions {
                color: $blue;
                cursor: pointer;
            }

            .version-selector {
                margin-top: 0px;
                padding-right: 10px;
                margin-right: 15px;
                margin-left: 10px;
                border-color: $light-gray;
                border-radius: 2px;
                width: 243px;
                height: 30px;
                @extend .body-1;
            }

            .version-section {
                .form-group {
                    margin-right: 20px;

                    .input-options {
                        border: none;

                        .input-options-select {
                            padding-top: 4px;
                        }
                    }
                }
            }

            .vc-status {
                display: flex;
                padding-left: 20px;
                border-left: $light-gray thin solid;

                .status-text {
                    align-self: center;
                    margin-top: 2px;
                    @extend .heading-5;
                    color: $dark-gray;
                }
            }
            .depricated-item-status {
                @extend .body-3;
                color: $white;
                background-color: $dark-purple;
                margin-left: 10px;
                padding: 1px 10px;
                align-self: center;
                border-radius: 3px;
            }
        }

        .save-submit-cancel-container {
            display: flex;
            align-items: center;
            height: 100%;

            .action-buttons,
            .collaborator-action-buttons,
            .vc-save-section,
            .vc-submit-section {
                display: flex;
                align-items: center;
                height: 100%;

                .vc-submit-button {
                    border: 1px solid $dark-gray;
                    width: 94px;
                    height: 30px;
                    border-radius: 2px;
                    padding-top: 5px;
                    padding-left: 10px;
                    margin-left: 10px;
                    margin-right: 10px;

                    &:hover:not(.disabled) {
                        cursor: pointer;
                        background-color: $tlv-light-gray;
                    }

                    &.disabled {
                        border-color: $light-gray;
                    }

                    .vc-v-submit {
                        width: 11px;
                        height: 8px;
                        margin-right: 10px;
                        position: relative;
                        top: -1px;
                    }
                }

                .version-control-buttons {
                    display: flex;
                }

                .action-button-wrapper {
                    display: flex;
                    align-items: center;
                    height: 70px;

                    &:hover:not(.disabled) {
                        background-color: $tlv-light-gray;
                    }

                    &:active:not(.disabled) {
                        background-color: $light-gray;
                    }

                    .action-buttons-svg {
                        padding-left: 10px;
                        padding-right: 10px;

                        .svg-icon {
                            fill: $text-black;
                            height: 20px;

                            &,
                            &.__version-controller-save {
                                width: 20px;
                            }
                            &.__version-controller-permissions {
                                width: 32px;
                            }
                            &.__version-controller-undo,
                            &.__version-controller-revert {
                                width: 20px;
                            }
                            &.__version-controller-sync,
                            &.__version-controller-commit {
                                width: 28px;
                            }
                        }
                    }

                    .version-controller-permissions {
                        width: 32px;
                        height: 20px;
                        fill: $dark-gray;
                    }
                }

                .action-button-label {
                    display: block;
                    font-size: $icon-font-size;
                    font-family: $icon-font-family;
                    height: 1em;
                    margin-top: 5px;
                    margin-bottom: 0;
                }

                .onboarding-overlay {
                    margin-top: -6px;
                    .permissions-overlay {
                        width: 237px;

                        .permissions-overlay-header {
                            text-align: left;
                            color: $blue;
                            padding-bottom: 15px;
                            padding-top: 15px;
                            border-bottom: 1px solid $light-gray;
                            .permissions-overlay-header-title {
                                margin-left: 20px;
                            }
                        }
                        .permissions-overlay-content {
                            max-height: 290px;
                            overflow-y: auto;
                            padding-left: 10px;
                            padding-right: 10px;
                            .contributor {
                                &:last-child {
                                    border-bottom: none;
                                }
                                border-bottom: 1px solid $tlv-light-gray;
                                .contributor-content {
                                    padding-top: 12px;
                                    padding-bottom: 10px;
                                    margin-left: 10px;
                                    display: flex;
                                    .contributor-icon-circle {
                                        &.selected {
                                            border: 1px solid $blue;
                                        }

                                        border-radius: 65px;
                                        padding: 2px;
                                        width: 32px;
                                        height: 32px;
                                        margin-top: 4px;
                                        .contributer-icon {
                                            width: 26px;
                                            border-radius: 50px;
                                            height: 26px;
                                            margin-top: 0px;
                                            .__user {
                                                height: 18px;
                                                width: 16px;
                                                stroke: $blue;
                                                fill: transparent;
                                                margin-left: 5px;
                                                margin-top: 3px;
                                            }
                                            &.selected {
                                                border: 1px solid $blue;
                                                background-color: $blue;
                                                .__user {
                                                    stroke: $white;
                                                    margin-left: 4px;
                                                }
                                            }
                                        }
                                    }

                                    .contributer-info {
                                        padding-left: 11px;
                                        .contributer-name {
                                            @extend .body-2-semibold;
                                            text-transform: uppercase;
                                            color: $dark-gray;
                                        }
                                        .contributer-role {
                                            @extend .body-3;
                                            color: $gray;
                                            display: flex;
                                            text-transform: lowercase;
                                            p:first-letter {
                                                text-transform: uppercase;
                                            }
                                            justify-content: space-between;
                                        }
                                    }
                                }
                            }
                        }
                        .permissions-overlay-footer {
                            .manage-permissions-btn {
                                @extend .body-2-semibold;
                                margin-top: 20px;
                                padding-top: 10px;
                                padding-bottom: 10px;
                                color: $blue;
                                text-align: center;
                                cursor: pointer;
                                background-color: $tlv-gray;
                            }
                        }
                    }
                }
            }
        }
        .vc-nav-item-close {
            display: flex;
            padding-left: 18px;
            padding-top: 3px;
            align-self: center;
            @extend .body-1;
            color: $gray;
            cursor: pointer;
            border-left: $gray thin solid;
        }
    }
}