aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/resources/scss/components/_versionController.scss
blob: 3cf9b05eb86e8079b196a8f5d0cd8e1752d4270b (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
.version-controller-bar {
    display: flex;
    height: 70px;
    border-bottom: 1px solid $silver;
    background-color: transparent;
    justify-content: space-between;
    .group-name-wrapper {
        width: 245px;
        .group-name {
            @include heading-4-emphasis;
            @include ellipsis;
            display: block;
            padding: 24px 12px 13px 20px;
            background-color: $white;
        }
    }

    .vc-container {
        display: flex;
        flex: 1;
        align-self: center;
        background-color: transparent;
        justify-content: space-between;
        align-items: center;
        padding-left: 16px;
        padding-right: 100px;
        border-left: 1px solid #eaeaea;
        height: 45px;
        &.vs-container-operation {
            flex: inherit;
        }
        .vc-separator {
            border-left: 1px solid $silver;
            height: 37px;
        }

        .version-status-container {
            display: flex;
            align-items: center;
            .version-selector-more-versions {
                @include body-1-emphasis;
                color: $blue;
                cursor: pointer;
            }

            .version-selector {
                margin-top: 0;
                padding-right: 10px;
                margin-right: 15px;
                margin-left: 10px;
                border-color: $light-gray;
                border-radius: 2px;
                width: 243px;
                height: 30px;
                @include 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;
                    @include heading-5;
                    color: $dark-gray;
                }
            }
        }

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

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

                .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: $silver;
                    }

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

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

                .certifyBtn {
                    margin-left: 20px;
                }

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

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

                    &:hover {
                        background-color: $silver;
                    }

                    &:active {
                        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;
                            }
                        }
                        .vs-back-btn {
                            height: '35px';
                            width: '35px';
                            .svg-icon {
                                height: '35px';
                                width: '35px';
                                transform: rotate(90deg);
                            }
                        }
                    }
                }

                .action-button-label {
                    @include body-4;
                    display: block;
                    height: 1em;
                    margin-top: 5px;
                    margin-bottom: 0;
                }
            }
        }
    }
}