blob: 98771f1dbdd0b7c0bf830b89cbcaff21a5c09ff6 [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 {
svishnevfa538a12018-05-31 15:01:00 +030072 @extend .body-3;
svishnev091edfd2018-03-19 12:15:19 +020073 color: $white;
svishnevfa538a12018-05-31 15:01:00 +030074 background-color: $dark-purple;
svishnev091edfd2018-03-19 12:15:19 +020075 margin-left: 10px;
svishnevfa538a12018-05-31 15:01:00 +030076 padding: 1px 10px;
77 align-self: center;
78 border-radius: 3px;
svishnev091edfd2018-03-19 12:15:19 +020079 }
talig8e9c0652017-12-20 14:30:43 +020080 }
81
82 .save-submit-cancel-container {
83 display: flex;
84 align-items: center;
85 height: 100%;
86
87 .action-buttons, .collaborator-action-buttons, .vc-save-section, .vc-submit-section {
88 display: flex;
89 align-items: center;
90 height: 100%;
91
92 .vc-submit-button {
93 border: 1px solid $dark-gray;
94 width: 94px;
95 height: 30px;
96 border-radius: 2px;
97 padding-top: 5px;
98 padding-left: 10px;
99 margin-left: 10px;
100 margin-right: 10px;
101
102 &:hover:not(.disabled) {
103 cursor: pointer;
104 background-color: $tlv-light-gray;
105 }
106
107 &.disabled {
108 border-color: $light-gray;
109 }
110
111 .vc-v-submit {
112 width: 11px;
113 height: 8px;
114 margin-right: 10px;
115 position: relative;
116 top: -1px;
117 }
118 }
119
120 .version-control-buttons {
121 display: flex;
122 }
123
124 .action-button-wrapper {
125 display: flex;
126 align-items: center;
127 height: 70px;
128
129 &:hover:not(.disabled) {
130 background-color: $tlv-light-gray;
131 }
132
133 &:active:not(.disabled) {
134 background-color: $light-gray;
135 }
136
137 .action-buttons-svg {
138 padding-left: 10px;
139 padding-right: 10px;
140
141 .svg-icon {
142 fill: $text-black;
143 height: 20px;
144
145 &, &.__version-controller-save { width: 20px; }
146 &.__version-controller-permissions { width: 32px; }
147 &.__version-controller-undo, &.__version-controller-revert { width: 20px; }
148 &.__version-controller-sync, &.__version-controller-commit { width: 28px; }
149 }
150 }
151
152 .version-controller-permissions {
153 width: 32px;
154 height: 20px;
155 fill: $dark-gray;
156 }
157 }
158
159 .action-button-label {
160 display: block;
161 font-size: $icon-font-size;
162 font-family: $icon-font-family;
163 height: 1em;
164 margin-top: 5px;
165 margin-bottom: 0;
166 }
167
168 .onboarding-overlay {
169 margin-top: -6px;
170 .permissions-overlay {
171 width: 237px;
172
173 .permissions-overlay-header {
174 text-align: left;
175 color: $blue;
176 padding-bottom: 15px;
177 padding-top: 15px;
178 border-bottom: 1px solid $light-gray;
179 .permissions-overlay-header-title {
180 margin-left: 20px;
181 }
182 }
183 .permissions-overlay-content {
184 max-height: 290px;
185 overflow-y: auto;
186 padding-left: 10px;
187 padding-right: 10px;
188 .contributor {
189 &:last-child {
190 border-bottom: none;
191 }
192 border-bottom: 1px solid $tlv-light-gray;
193 .contributor-content {
194 padding-top: 12px;
195 padding-bottom: 10px;
196 margin-left: 10px;
197 display: flex;
198 .contributor-icon-circle {
199 &.selected {
200 border: 1px solid $blue;
201 }
202
203 border-radius: 65px;
204 padding: 2px;
205 width: 32px;
206 height: 32px;
207 margin-top: 4px;
208 .contributer-icon {
209 width: 26px;
210 border-radius: 50px;
211 height: 26px;
212 margin-top: 0px;
213 .__user {
214 height: 18px;
215 width: 16px;
216 stroke: $blue;
217 fill: transparent;
218 margin-left: 5px;
219 margin-top: 3px;
220 }
221 &.selected {
222 border: 1px solid $blue;
223 background-color: $blue;
224 .__user {
225 stroke: $white;
226 margin-left: 4px;
227 }
228 }
229 }
230 }
231
232 .contributer-info {
233 padding-left: 11px;
234 .contributer-name {
235 @extend .body-2-semibold;
236 text-transform: uppercase;
237 color: $dark-gray;
238 }
239 .contributer-role {
240 @extend .body-3;
241 color: $gray;
242 display: flex;
243 text-transform: lowercase;
244 p:first-letter {
245 text-transform: uppercase;
246 }
247 justify-content: space-between;
248 }
249 }
250 }
251 }
252 }
253 .permissions-overlay-footer {
254 .manage-permissions-btn {
255 @extend .body-2-semibold;
256 margin-top: 20px;
257 padding-top: 10px;
258 padding-bottom: 10px;
259 color: $blue;
260 text-align: center;
261 cursor: pointer;
262 background-color: $tlv-gray;
263 }
264 }
265
266 }
267 }
268 }
269 }
270 .vc-nav-item-close {
271 display: flex;
272 padding-left: 18px;
273 padding-top: 3px;
274 align-self: center;
275 @extend .body-1;
276 color: $gray;
277 cursor: pointer;
278 border-left: $gray thin solid;
279 }
280 }
Michael Landoefa037d2017-02-19 12:57:33 +0200281}