blob: 0f2e83eec6cfc2b3e191c6ff51a3300511ff6383 [file] [log] [blame]
talig8e9c0652017-12-20 14:30:43 +02001.dox-ui-punch-out {
Einav Weiss Keidar1801b242018-08-13 16:19:46 +03002 background-color: $content-background-color;
talig8e9c0652017-12-20 14:30:43 +02003}
4
5.dox-ui-punch-out.dox-ui-punch-out-full-page {
Einav Weiss Keidar1801b242018-08-13 16:19:46 +03006 position: absolute;
7 top: 0;
8 bottom: 0;
9 left: 0;
10 right: 0;
11 overflow-y: auto;
talig8e9c0652017-12-20 14:30:43 +020012}
13
14@mixin version-page-box-shadow() {
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030015 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06);
talig8e9c0652017-12-20 14:30:43 +020016}
17
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030018@mixin version-page-sub-title() {
19 color: $text-black;
20 text-transform: uppercase;
21 background-color: $white;
22 border-bottom: 1px solid $light-gray;
23 padding: 12px 0 10px 23px;
talig8e9c0652017-12-20 14:30:43 +020024}
25
26.versions-tree-modal {
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030027 .tree-view {
28 display: flex;
29 align-items: center;
30 }
talig8e9c0652017-12-20 14:30:43 +020031}
32
33.versions-page-view {
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030034 height: 100%;
35 background-color: $background-gray;
36 overflow: auto;
37 padding: 35px 50px 20px 50px;
talig8e9c0652017-12-20 14:30:43 +020038
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030039 .svg-icon-wrapper {
40 justify-content: flex-start;
41 }
42 .version-page-header {
43 display: flex;
44 justify-content: space-between;
45 .versions-page-title {
46 @extend .heading-1;
47 text-transform: uppercase;
48 margin-bottom: 29px;
49 color: $blue;
50 display: flex;
51 .archived-title {
52 @extend .body-3;
53 color: $white;
54 background-color: $dark-purple;
55 margin-left: 20px;
56 border-radius: 3px;
57 padding: 1px 10px;
58 align-self: center;
59 text-transform: none;
60 }
61 }
62 .deprecate-btn-wrapper {
63 display: flex;
64 justify-content: flex-end;
65 margin-bottom: 10px;
66 align-self: center;
67 .svg-icon-wrapper {
68 &:hover {
69 fill: $light-blue;
70 }
71 .svg-icon {
72 width: 24px;
73 height: 24px;
74 }
75 }
76 }
77 }
78 .versions-page-permissions-view-wrapper {
79 @extend .body-1-semibold;
80 @include version-page-box-shadow();
talig8e9c0652017-12-20 14:30:43 +020081
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030082 .permissions-view-wrapper-title {
83 @include version-page-sub-title();
84 }
talig8e9c0652017-12-20 14:30:43 +020085
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030086 .svg-icon-wrapper.user-view {
87 fill: transparent;
88 stroke: $blue;
89 .svg-icon {
90 height: 18px;
91 width: 16px;
92 margin: 0 7px;
93 }
94 &.current-user {
95 .svg-icon {
96 background-color: $blue;
97 stroke: $white;
98 padding-top: 5px;
99 padding-bottom: 3px;
Arielka51eac02019-07-07 12:56:11 +0300100 height: 24px;
101 width: 32px;
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300102 border-radius: 20px;
103 border: 1px solid $blue;
104 box-shadow: inset 0px 0px 0px 2px $white;
105 margin: 0;
106 }
107 .svg-icon-label {
108 margin-left: 7px;
109 }
110 }
111 .svg-icon-label {
112 @extend .body-2;
113 color: $dark-gray;
114 margin-left: 6px;
115 }
116 }
talig8e9c0652017-12-20 14:30:43 +0200117
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300118 .permissions-view-content {
119 padding: 20px 40px 20px 25px;
120 background-color: $white;
talig8e9c0652017-12-20 14:30:43 +0200121
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300122 height: 120px;
123 display: flex;
124 }
talig8e9c0652017-12-20 14:30:43 +0200125
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300126 .permissions-view {
127 display: flex;
128 flex: 1;
129 flex-direction: column;
130 justify-content: space-around;
talig8e9c0652017-12-20 14:30:43 +0200131
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300132 .permissions-view-title {
133 text-transform: uppercase;
134 color: $dark-gray;
135 }
talig8e9c0652017-12-20 14:30:43 +0200136
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300137 .contributors-view,
138 .owner-view {
139 display: flex;
140 height: 16px;
141 @extend .body-1-semibold;
talig8e9c0652017-12-20 14:30:43 +0200142
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300143 .permissions-view-title {
144 width: 130px;
145 line-height: 16px;
146 }
talig8e9c0652017-12-20 14:30:43 +0200147
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300148 .extra-contributors {
149 border-radius: 30px;
150 background-color: $gray;
151 width: 26px;
152 height: 26px;
153 padding-right: 2px;
154 display: flex;
155 align-items: center;
156 justify-content: center;
157 color: $white;
158 cursor: default;
159 &:hover {
160 background-color: $dark-gray;
161 }
162 }
talig8e9c0652017-12-20 14:30:43 +0200163
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300164 .user-view {
165 margin-right: 38px;
166 }
talig8e9c0652017-12-20 14:30:43 +0200167
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300168 .manage-permissions {
169 color: $blue;
170 margin-left: auto;
171 cursor: pointer;
talig8e9c0652017-12-20 14:30:43 +0200172
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300173 &:hover {
174 color: $dark-blue;
175 }
176 }
177 }
178 }
179 }
talig8e9c0652017-12-20 14:30:43 +0200180
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300181 .versions-page-list-and-tree {
182 display: flex;
183 margin-top: 20px;
talig8e9c0652017-12-20 14:30:43 +0200184
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300185 .version-tree-wrapper {
186 display: flex;
187 flex-direction: column;
188 margin-right: 10px;
189 transition: all 1s ease;
190 @include version-page-box-shadow();
talig8e9c0652017-12-20 14:30:43 +0200191
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300192 .version-tree-title-container {
193 display: flex;
194 align-items: center;
195 height: 40px;
196 @include version-page-sub-title();
197 padding-right: 10px;
talig8e9c0652017-12-20 14:30:43 +0200198
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300199 .version-tree-full-screen {
200 margin-left: auto;
201 }
202 }
talig8e9c0652017-12-20 14:30:43 +0200203
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300204 .tree-view {
205 background-color: $white;
206 flex: 1;
Arielk134783c2018-05-07 13:25:29 +0300207
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300208 .node:not(.selectedNode):hover {
209 .outer-circle,
210 .inner-circle {
211 transform: scale(1.1);
212 }
213 }
214 }
215 }
216 }
talig8e9c0652017-12-20 14:30:43 +0200217
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300218 .version-list {
219 flex: 1;
220 @extend .body-1-semibold;
221 color: $text-black;
222 display: flex;
223 flex-direction: column;
talig8e9c0652017-12-20 14:30:43 +0200224
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300225 .version-list-items {
226 flex: 1;
227 display: flex;
228 flex-direction: column;
talig8e9c0652017-12-20 14:30:43 +0200229
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300230 .version-item-row {
231 border-bottom: 1px solid $tlv-light-gray;
talig8e9c0652017-12-20 14:30:43 +0200232
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300233 &:last-child {
234 border-bottom: none;
235 }
236 }
237 }
talig8e9c0652017-12-20 14:30:43 +0200238
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300239 .version-item-row {
240 $row-hover-color: lighten($blue, 54%);
241 $row-active-color: lighten($blue, 51%);
talig8e9c0652017-12-20 14:30:43 +0200242
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300243 display: flex;
244 align-items: center;
245 padding: 15px 30px;
246 @include version-page-box-shadow();
247 background-color: $white;
248 height: 70px;
talig8e9c0652017-12-20 14:30:43 +0200249
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300250 &:hover {
251 background-color: $row-hover-color;
252 }
talig8e9c0652017-12-20 14:30:43 +0200253
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300254 &.selected {
255 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06),
256 inset 5px 0 0 0 $blue;
257 background-color: $row-active-color;
Arielk134783c2018-05-07 13:25:29 +0300258
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300259 &:hover {
260 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06),
261 inset 5px 0 0 0 lighten($blue, 35%);
262 }
263 }
talig8e9c0652017-12-20 14:30:43 +0200264
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300265 &.header-row {
266 height: 40px;
talig8e9c0652017-12-20 14:30:43 +0200267
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300268 @extend .body-1-semibold;
269 @include version-page-sub-title();
270 padding: 15px 27px;
talig8e9c0652017-12-20 14:30:43 +0200271
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300272 &:hover {
273 background-color: $white;
274 pointer-events: none;
275 &:active {
276 background-color: $white;
277 @include version-page-box-shadow();
278 }
279 }
280 .header-field.actions {
281 margin-right: 57px;
282 }
283 }
talig8e9c0652017-12-20 14:30:43 +0200284
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300285 .version-item-field {
286 flex: 1;
287 display: flex;
288 margin-right: 10px;
talig8e9c0652017-12-20 14:30:43 +0200289
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300290 &.item-version,
291 &.item-status {
292 flex: 0 1 10%;
293 @extend .body-1-semibold;
294 color: $text-black;
295 }
talig8e9c0652017-12-20 14:30:43 +0200296
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300297 &.item-description,
298 &.item-last-edited {
299 @extend .body-1;
300 color: $dark-gray;
301 }
talig8e9c0652017-12-20 14:30:43 +0200302
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300303 &.item-description,
304 &.header-description {
305 flex: 2 1 0;
306 }
talig8e9c0652017-12-20 14:30:43 +0200307
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300308 &.item-description > .description-text {
309 margin-right: 10px;
310 @include ellipsis($max-width: 300px);
311 width: initial;
312 }
talig8e9c0652017-12-20 14:30:43 +0200313
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300314 &.item-actions {
315 display: flex;
316 flex: 1 1 3%;
317 justify-content: space-between;
318 }
talig8e9c0652017-12-20 14:30:43 +0200319
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300320 &.item-select,
321 &.item-create {
322 @extend .body-1;
323 flex: 0 1 auto;
324 margin-right: 0;
talig8e9c0652017-12-20 14:30:43 +0200325
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300326 .svg-icon-wrapper {
327 fill: $blue;
328 color: $blue;
talig8e9c0652017-12-20 14:30:43 +0200329
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300330 &[disabled] {
331 cursor: default;
332 }
talig8e9c0652017-12-20 14:30:43 +0200333
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300334 .svg-icon {
335 width: 16px;
336 height: 16px;
337 }
talig8e9c0652017-12-20 14:30:43 +0200338
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300339 &:hover:not([disabled]) {
340 fill: $dark-blue;
341 color: $dark-blue;
342 }
343 }
344 }
345 }
talig8e9c0652017-12-20 14:30:43 +0200346
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300347 /* To keep ellipsis hider's background the same color as row background */
348 &:not(.selected):hover .item-description > .description-text:after {
349 background: $row-hover-color;
350 }
talig8e9c0652017-12-20 14:30:43 +0200351
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300352 &:hover:active .item-description > .description-text:after {
353 background: $row-active-color;
354 }
355 }
356 }
talig8e9c0652017-12-20 14:30:43 +0200357
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300358 &.clickable {
359 cursor: pointer;
360 }
talig8e9c0652017-12-20 14:30:43 +0200361}