blob: 94a8a6498f86e380f6881af85f03aa8bb63cc6ad [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001.version-controller-bar {
talig8e9c0652017-12-20 14:30:43 +02002 display: flex;
3 min-height: 70px;
4 border-bottom: 1px solid $tlv-light-gray;
5 background-color: transparent;
AviZi280f8012017-06-09 02:39:56 +03006
talig8e9c0652017-12-20 14:30:43 +02007 .vc-container {
8 display: flex;
9 flex: 1;
10 align-self: center;
11 background-color: transparent;
12 justify-content: space-between;
13 align-items: center;
14 padding-left: 16px;
15 padding-right: 40px;
az2497644017c2017-08-10 17:49:40 +030016
talig8e9c0652017-12-20 14:30:43 +020017 .vc-separator {
18 border-left: 1px solid $tlv-light-gray;
19 height: 37px;
20 margin-left: 5px;
21 margin-right: 5px;
22 }
AviZi280f8012017-06-09 02:39:56 +030023
talig8e9c0652017-12-20 14:30:43 +020024 .version-status-container {
25 display: flex;
26 height: 30px;
az2497644017c2017-08-10 17:49:40 +030027
talig8e9c0652017-12-20 14:30:43 +020028 .version-selector-more-versions {
29 color: $blue;
30 cursor: pointer;
31 }
az2497644017c2017-08-10 17:49:40 +030032
talig8e9c0652017-12-20 14:30:43 +020033 .version-selector {
34 margin-top: 0px;
35 padding-right: 10px;
36 margin-right: 15px;
37 margin-left: 10px;
38 border-color: $light-gray;
39 border-radius: 2px;
40 width: 243px;
41 height: 30px;
42 @extend .body-1;
43 }
az2497644017c2017-08-10 17:49:40 +030044
talig8e9c0652017-12-20 14:30:43 +020045 .version-section {
46 .form-group {
47 margin-right: 20px;
48
49 .input-options {
50 border: none;
51
52 .input-options-select {
53 padding-top: 4px;
54 }
55 }
56 }
57 }
58
59 .vc-status {
60 display: flex;
61 padding-left: 20px;
62 border-left: $light-gray thin solid;
63
64 .status-text {
65 align-self: center;
66 margin-top: 2px;
67 @extend .heading-5;
68 color: $dark-gray;
69 }
70 }
svishnev091edfd2018-03-19 12:15:19 +020071 .depricated-item-status {
72 color: $white;
73 background-color: $gray;
74 margin-left: 10px;
75 padding: 5px 8px;
76 border-radius: 5px;
77 }
talig8e9c0652017-12-20 14:30:43 +020078 }
79
80 .save-submit-cancel-container {
81 display: flex;
82 align-items: center;
83 height: 100%;
84
85 .action-buttons, .collaborator-action-buttons, .vc-save-section, .vc-submit-section {
86 display: flex;
87 align-items: center;
88 height: 100%;
89
90 .vc-submit-button {
91 border: 1px solid $dark-gray;
92 width: 94px;
93 height: 30px;
94 border-radius: 2px;
95 padding-top: 5px;
96 padding-left: 10px;
97 margin-left: 10px;
98 margin-right: 10px;
99
100 &:hover:not(.disabled) {
101 cursor: pointer;
102 background-color: $tlv-light-gray;
103 }
104
105 &.disabled {
106 border-color: $light-gray;
107 }
108
109 .vc-v-submit {
110 width: 11px;
111 height: 8px;
112 margin-right: 10px;
113 position: relative;
114 top: -1px;
115 }
116 }
117
118 .version-control-buttons {
119 display: flex;
120 }
121
122 .action-button-wrapper {
123 display: flex;
124 align-items: center;
125 height: 70px;
126
127 &:hover:not(.disabled) {
128 background-color: $tlv-light-gray;
129 }
130
131 &:active:not(.disabled) {
132 background-color: $light-gray;
133 }
134
135 .action-buttons-svg {
136 padding-left: 10px;
137 padding-right: 10px;
138
139 .svg-icon {
140 fill: $text-black;
141 height: 20px;
142
143 &, &.__version-controller-save { width: 20px; }
144 &.__version-controller-permissions { width: 32px; }
145 &.__version-controller-undo, &.__version-controller-revert { width: 20px; }
146 &.__version-controller-sync, &.__version-controller-commit { width: 28px; }
147 }
148 }
149
150 .version-controller-permissions {
151 width: 32px;
152 height: 20px;
153 fill: $dark-gray;
154 }
155 }
156
157 .action-button-label {
158 display: block;
159 font-size: $icon-font-size;
160 font-family: $icon-font-family;
161 height: 1em;
162 margin-top: 5px;
163 margin-bottom: 0;
164 }
165
166 .onboarding-overlay {
167 margin-top: -6px;
168 .permissions-overlay {
169 width: 237px;
170
171 .permissions-overlay-header {
172 text-align: left;
173 color: $blue;
174 padding-bottom: 15px;
175 padding-top: 15px;
176 border-bottom: 1px solid $light-gray;
177 .permissions-overlay-header-title {
178 margin-left: 20px;
179 }
180 }
181 .permissions-overlay-content {
182 max-height: 290px;
183 overflow-y: auto;
184 padding-left: 10px;
185 padding-right: 10px;
186 .contributor {
187 &:last-child {
188 border-bottom: none;
189 }
190 border-bottom: 1px solid $tlv-light-gray;
191 .contributor-content {
192 padding-top: 12px;
193 padding-bottom: 10px;
194 margin-left: 10px;
195 display: flex;
196 .contributor-icon-circle {
197 &.selected {
198 border: 1px solid $blue;
199 }
200
201 border-radius: 65px;
202 padding: 2px;
203 width: 32px;
204 height: 32px;
205 margin-top: 4px;
206 .contributer-icon {
207 width: 26px;
208 border-radius: 50px;
209 height: 26px;
210 margin-top: 0px;
211 .__user {
212 height: 18px;
213 width: 16px;
214 stroke: $blue;
215 fill: transparent;
216 margin-left: 5px;
217 margin-top: 3px;
218 }
219 &.selected {
220 border: 1px solid $blue;
221 background-color: $blue;
222 .__user {
223 stroke: $white;
224 margin-left: 4px;
225 }
226 }
227 }
228 }
229
230 .contributer-info {
231 padding-left: 11px;
232 .contributer-name {
233 @extend .body-2-semibold;
234 text-transform: uppercase;
235 color: $dark-gray;
236 }
237 .contributer-role {
238 @extend .body-3;
239 color: $gray;
240 display: flex;
241 text-transform: lowercase;
242 p:first-letter {
243 text-transform: uppercase;
244 }
245 justify-content: space-between;
246 }
247 }
248 }
249 }
250 }
251 .permissions-overlay-footer {
252 .manage-permissions-btn {
253 @extend .body-2-semibold;
254 margin-top: 20px;
255 padding-top: 10px;
256 padding-bottom: 10px;
257 color: $blue;
258 text-align: center;
259 cursor: pointer;
260 background-color: $tlv-gray;
261 }
262 }
263
264 }
265 }
266 }
267 }
268 .vc-nav-item-close {
269 display: flex;
270 padding-left: 18px;
271 padding-top: 3px;
272 align-self: center;
273 @extend .body-1;
274 color: $gray;
275 cursor: pointer;
276 border-left: $gray thin solid;
277 }
278 }
Michael Landoefa037d2017-02-19 12:57:33 +0200279}