blob: bdf1c61249dce899fbe39dda47c6f929afba6d80 [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;
KrupaNagabhushan881438c2022-04-04 17:49:50 +010067 .deprecate-btn {
68 margin-left: 10px;
69 }
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030070 .svg-icon-wrapper {
71 &:hover {
72 fill: $light-blue;
73 }
74 .svg-icon {
75 width: 24px;
76 height: 24px;
77 }
78 }
79 }
80 }
81 .versions-page-permissions-view-wrapper {
82 @extend .body-1-semibold;
83 @include version-page-box-shadow();
talig8e9c0652017-12-20 14:30:43 +020084
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030085 .permissions-view-wrapper-title {
86 @include version-page-sub-title();
87 }
talig8e9c0652017-12-20 14:30:43 +020088
Einav Weiss Keidar1801b242018-08-13 16:19:46 +030089 .svg-icon-wrapper.user-view {
90 fill: transparent;
91 stroke: $blue;
92 .svg-icon {
93 height: 18px;
94 width: 16px;
95 margin: 0 7px;
96 }
97 &.current-user {
98 .svg-icon {
99 background-color: $blue;
100 stroke: $white;
101 padding-top: 5px;
102 padding-bottom: 3px;
Arielka51eac02019-07-07 12:56:11 +0300103 height: 24px;
104 width: 32px;
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300105 border-radius: 20px;
106 border: 1px solid $blue;
107 box-shadow: inset 0px 0px 0px 2px $white;
108 margin: 0;
109 }
110 .svg-icon-label {
111 margin-left: 7px;
112 }
113 }
114 .svg-icon-label {
115 @extend .body-2;
116 color: $dark-gray;
117 margin-left: 6px;
118 }
119 }
talig8e9c0652017-12-20 14:30:43 +0200120
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300121 .permissions-view-content {
122 padding: 20px 40px 20px 25px;
123 background-color: $white;
talig8e9c0652017-12-20 14:30:43 +0200124
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300125 height: 120px;
126 display: flex;
127 }
talig8e9c0652017-12-20 14:30:43 +0200128
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300129 .permissions-view {
130 display: flex;
131 flex: 1;
132 flex-direction: column;
133 justify-content: space-around;
talig8e9c0652017-12-20 14:30:43 +0200134
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300135 .permissions-view-title {
136 text-transform: uppercase;
137 color: $dark-gray;
138 }
talig8e9c0652017-12-20 14:30:43 +0200139
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300140 .contributors-view,
141 .owner-view {
142 display: flex;
143 height: 16px;
144 @extend .body-1-semibold;
talig8e9c0652017-12-20 14:30:43 +0200145
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300146 .permissions-view-title {
147 width: 130px;
148 line-height: 16px;
149 }
talig8e9c0652017-12-20 14:30:43 +0200150
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300151 .extra-contributors {
152 border-radius: 30px;
153 background-color: $gray;
154 width: 26px;
155 height: 26px;
156 padding-right: 2px;
157 display: flex;
158 align-items: center;
159 justify-content: center;
160 color: $white;
161 cursor: default;
162 &:hover {
163 background-color: $dark-gray;
164 }
165 }
talig8e9c0652017-12-20 14:30:43 +0200166
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300167 .user-view {
168 margin-right: 38px;
169 }
talig8e9c0652017-12-20 14:30:43 +0200170
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300171 .manage-permissions {
172 color: $blue;
173 margin-left: auto;
174 cursor: pointer;
talig8e9c0652017-12-20 14:30:43 +0200175
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300176 &:hover {
177 color: $dark-blue;
178 }
179 }
180 }
181 }
182 }
talig8e9c0652017-12-20 14:30:43 +0200183
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300184 .versions-page-list-and-tree {
185 display: flex;
186 margin-top: 20px;
talig8e9c0652017-12-20 14:30:43 +0200187
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300188 .version-tree-wrapper {
189 display: flex;
190 flex-direction: column;
191 margin-right: 10px;
192 transition: all 1s ease;
193 @include version-page-box-shadow();
talig8e9c0652017-12-20 14:30:43 +0200194
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300195 .version-tree-title-container {
196 display: flex;
197 align-items: center;
198 height: 40px;
199 @include version-page-sub-title();
200 padding-right: 10px;
talig8e9c0652017-12-20 14:30:43 +0200201
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300202 .version-tree-full-screen {
203 margin-left: auto;
204 }
205 }
talig8e9c0652017-12-20 14:30:43 +0200206
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300207 .tree-view {
208 background-color: $white;
209 flex: 1;
Arielk134783c2018-05-07 13:25:29 +0300210
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300211 .node:not(.selectedNode):hover {
212 .outer-circle,
213 .inner-circle {
214 transform: scale(1.1);
215 }
216 }
217 }
218 }
219 }
talig8e9c0652017-12-20 14:30:43 +0200220
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300221 .version-list {
222 flex: 1;
223 @extend .body-1-semibold;
224 color: $text-black;
225 display: flex;
226 flex-direction: column;
talig8e9c0652017-12-20 14:30:43 +0200227
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300228 .version-list-items {
229 flex: 1;
230 display: flex;
231 flex-direction: column;
talig8e9c0652017-12-20 14:30:43 +0200232
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300233 .version-item-row {
234 border-bottom: 1px solid $tlv-light-gray;
talig8e9c0652017-12-20 14:30:43 +0200235
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300236 &:last-child {
237 border-bottom: none;
238 }
239 }
240 }
talig8e9c0652017-12-20 14:30:43 +0200241
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300242 .version-item-row {
243 $row-hover-color: lighten($blue, 54%);
244 $row-active-color: lighten($blue, 51%);
talig8e9c0652017-12-20 14:30:43 +0200245
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300246 display: flex;
247 align-items: center;
248 padding: 15px 30px;
249 @include version-page-box-shadow();
250 background-color: $white;
251 height: 70px;
talig8e9c0652017-12-20 14:30:43 +0200252
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300253 &:hover {
254 background-color: $row-hover-color;
255 }
talig8e9c0652017-12-20 14:30:43 +0200256
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300257 &.selected {
258 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06),
259 inset 5px 0 0 0 $blue;
260 background-color: $row-active-color;
Arielk134783c2018-05-07 13:25:29 +0300261
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300262 &:hover {
263 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06),
264 inset 5px 0 0 0 lighten($blue, 35%);
265 }
266 }
talig8e9c0652017-12-20 14:30:43 +0200267
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300268 &.header-row {
269 height: 40px;
talig8e9c0652017-12-20 14:30:43 +0200270
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300271 @extend .body-1-semibold;
272 @include version-page-sub-title();
273 padding: 15px 27px;
talig8e9c0652017-12-20 14:30:43 +0200274
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300275 &:hover {
276 background-color: $white;
277 pointer-events: none;
278 &:active {
279 background-color: $white;
280 @include version-page-box-shadow();
281 }
282 }
283 .header-field.actions {
284 margin-right: 57px;
285 }
286 }
talig8e9c0652017-12-20 14:30:43 +0200287
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300288 .version-item-field {
289 flex: 1;
290 display: flex;
291 margin-right: 10px;
talig8e9c0652017-12-20 14:30:43 +0200292
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300293 &.item-version,
294 &.item-status {
295 flex: 0 1 10%;
296 @extend .body-1-semibold;
297 color: $text-black;
298 }
talig8e9c0652017-12-20 14:30:43 +0200299
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300300 &.item-description,
301 &.item-last-edited {
302 @extend .body-1;
303 color: $dark-gray;
304 }
talig8e9c0652017-12-20 14:30:43 +0200305
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300306 &.item-description,
307 &.header-description {
308 flex: 2 1 0;
309 }
talig8e9c0652017-12-20 14:30:43 +0200310
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300311 &.item-description > .description-text {
312 margin-right: 10px;
313 @include ellipsis($max-width: 300px);
314 width: initial;
315 }
talig8e9c0652017-12-20 14:30:43 +0200316
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300317 &.item-actions {
318 display: flex;
319 flex: 1 1 3%;
320 justify-content: space-between;
321 }
talig8e9c0652017-12-20 14:30:43 +0200322
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300323 &.item-select,
324 &.item-create {
325 @extend .body-1;
326 flex: 0 1 auto;
327 margin-right: 0;
talig8e9c0652017-12-20 14:30:43 +0200328
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300329 .svg-icon-wrapper {
330 fill: $blue;
331 color: $blue;
talig8e9c0652017-12-20 14:30:43 +0200332
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300333 &[disabled] {
334 cursor: default;
335 }
talig8e9c0652017-12-20 14:30:43 +0200336
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300337 .svg-icon {
338 width: 16px;
339 height: 16px;
340 }
talig8e9c0652017-12-20 14:30:43 +0200341
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300342 &:hover:not([disabled]) {
343 fill: $dark-blue;
344 color: $dark-blue;
345 }
346 }
347 }
348 }
talig8e9c0652017-12-20 14:30:43 +0200349
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300350 /* To keep ellipsis hider's background the same color as row background */
351 &:not(.selected):hover .item-description > .description-text:after {
352 background: $row-hover-color;
353 }
talig8e9c0652017-12-20 14:30:43 +0200354
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300355 &:hover:active .item-description > .description-text:after {
356 background: $row-active-color;
357 }
358 }
359 }
talig8e9c0652017-12-20 14:30:43 +0200360
Einav Weiss Keidar1801b242018-08-13 16:19:46 +0300361 &.clickable {
362 cursor: pointer;
363 }
talig8e9c0652017-12-20 14:30:43 +0200364}