blob: d99532cb209ba42f8699052925e7bed5a6724edb [file] [log] [blame]
talig8e9c0652017-12-20 14:30:43 +02001.dox-ui-punch-out {
2 background-color: $content-background-color;
3}
4
5.dox-ui-punch-out.dox-ui-punch-out-full-page {
6 position: absolute;
7 top: 0;
8 bottom: 0;
9 left: 0;
10 right: 0;
11 overflow-y: auto;
12}
13
14@mixin version-page-box-shadow() {
15 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06);
16}
17
18@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;
24}
25
26.versions-tree-modal {
27 .modal-dialog {
28 width: 800px;
29 }
30
31 .tree-view {
32 display: flex;
33 align-items: center;
34 }
35}
36
37.versions-page-view {
38 height: 100%;
39 background-color: $background-gray;
40 overflow: auto;
41 padding: 35px 50px 20px 50px;
42
43 .svg-icon-wrapper {
44 justify-content: flex-start;
45 }
svishnev091edfd2018-03-19 12:15:19 +020046 .version-page-header {
47 display: flex;
48 justify-content: space-between;
49 .versions-page-title {
50 @extend .heading-1;
51 text-transform: uppercase;
52 margin-bottom: 29px;
53 color: $blue;
54 }
55 .depricate-btn-wrapper {
56 display: flex;
57 justify-content: flex-end;
58 margin-bottom: 10px;
59 }
60 }
talig8e9c0652017-12-20 14:30:43 +020061 .versions-page-permissions-view-wrapper {
62 @extend .body-1-semibold;
63 @include version-page-box-shadow();
64
65 .permissions-view-wrapper-title {
66 @include version-page-sub-title();
67 }
68
69 .svg-icon-wrapper.user-view {
70 fill: transparent;
71 stroke: $blue;
72 .svg-icon {
73 height: 18px;
74 width: 16px;
75 margin: 0 7px;
76 }
77 &.current-user {
78 .svg-icon {
79 background-color: $blue;
80 stroke: $white;
81 padding-top: 5px;
82 padding-bottom: 3px;
83 height: 29px;
84 width: 29px;
85 border-radius: 20px;
86 border: 1px solid $blue;
87 box-shadow: inset 0px 0px 0px 2px $white;
88 margin: 0;
89 }
90 .svg-icon-label {
91 margin-left: 7px;
92 }
93 }
94 .svg-icon-label {
95 @extend .body-2;
96 color: $dark-gray;
97 margin-left: 6px;
98 }
99 }
100
101 .permissions-view-content {
102 padding: 20px 40px 20px 25px;
103 background-color: $white;
104
105 height: 120px;
106 display: flex;
107 }
108
109 .permissions-view {
110 display: flex;
111 flex: 1;
112 flex-direction: column;
113 justify-content: space-around;
114
115 .permissions-view-title {
116 text-transform: uppercase;
117 color: $dark-gray;
118 }
119
120 .contributors-view, .owner-view {
121 display: flex;
122 height: 16px;
123 @extend .body-1-semibold;
124
125 .permissions-view-title {
126 width: 130px;
127 line-height: 16px;
128 }
129
130 .extra-contributors {
131 border-radius: 30px;
132 background-color: $gray;
133 width: 26px;
134 height: 26px;
135 padding-right: 2px;
136 display: flex;
137 align-items: center;
138 justify-content: center;
139 color: $white;
140 cursor: default;
141 &:hover {
142 background-color: $dark-gray;
143 }
144 }
145
146 .user-view {
147 margin-right: 38px;
148 }
149
150 .manage-permissions {
151 color: $blue;
152 margin-left: auto;
153 cursor: pointer;
154
155 &:hover {
156 color: $dark-blue;
157 }
158 }
159 }
160 }
161 }
162
163 .versions-page-list-and-tree {
164 display: flex;
165 margin-top: 20px;
166
167 .version-tree-wrapper {
168 display: flex;
169 flex-direction: column;
170 margin-right:10px;
171 transition: all 1s ease;
172 @include version-page-box-shadow();
173
174 .version-tree-title-container {
175 display: flex;
176 align-items: center;
177 height: 40px;
178 @include version-page-sub-title();
179 padding-right: 10px;
180
181 .version-tree-full-screen {
182 margin-left: auto;
183 }
184 }
185
186 .tree-view {
187 background-color: $white;
188 flex: 1;
Arielk134783c2018-05-07 13:25:29 +0300189
190 .node:not(.selectedNode):hover {
191 .outer-circle, .inner-circle {
192 transform: scale(1.1);
193 }
194 }
talig8e9c0652017-12-20 14:30:43 +0200195 }
196 }
197 }
198
199 .version-list {
200 flex: 1;
201 @extend .body-1-semibold;
202 color: $text-black;
203 display: flex;
204 flex-direction: column;
205
206 .version-list-items {
207 flex: 1;
208 display: flex;
209 flex-direction: column;
210
211 .version-item-row {
212 border-bottom: 1px solid $tlv-light-gray;
213
214 &:last-child {
215 border-bottom: none;
216 }
217 }
218 }
219
220 .version-item-row {
221 $row-hover-color: lighten($blue, 54%);
222 $row-active-color: lighten($blue, 51%);
223
224 display: flex;
225 align-items: center;
226 padding: 15px 30px;
227 @include version-page-box-shadow();
228 background-color: $white;
229 height: 70px;
230
231 &:hover {
232 background-color: $row-hover-color;
233 }
234
235 &.selected {
236 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 $blue;
237 background-color: $row-active-color;
Arielk134783c2018-05-07 13:25:29 +0300238
talig8e9c0652017-12-20 14:30:43 +0200239 &:hover {
talig8e9c0652017-12-20 14:30:43 +0200240 box-shadow: 0 1px 4px 0 rgba(24, 24, 24, 0.06), inset 5px 0 0 0 lighten($blue, 35%);
241 }
242 }
243
244 &.header-row {
245 height: 40px;
246
247 @extend .body-1-semibold;
248 @include version-page-sub-title();
249 padding: 15px 27px;
250
251 &:hover {
252 background-color: $white;
253 pointer-events: none;
254 &:active {
255 background-color: $white;
256 @include version-page-box-shadow();
257 }
258 }
259 .header-field.actions {
260 margin-right: 57px;
261 }
262 }
263
264 .version-item-field {
265 flex: 1;
266 display: flex;
267 margin-right: 10px;
268
269 &.item-version, &.item-status {
270 flex: 0 1 10%;
271 @extend .body-1-semibold;
272 color: $text-black;
273 }
274
275 &.item-description, &.item-last-edited {
276 @extend .body-1;
277 color: $dark-gray;
278 }
279
280 &.item-description, &.header-description {
281 flex: 2 1 0;
282 }
283
284 &.item-description > .description-text {
285 margin-right: 10px;
286 @include ellipsis($max-width: 300px);
Arielk134783c2018-05-07 13:25:29 +0300287 width: initial;
talig8e9c0652017-12-20 14:30:43 +0200288 }
289
290 &.item-actions {
291 display: flex;
292 flex: 1 1 3%;
293 justify-content: space-between;
294 }
295
296 &.item-select, &.item-create {
297 @extend .body-1;
298 flex: 0 1 auto;
299 margin-right: 0;
300
301 .svg-icon-wrapper {
302 fill: $blue;
303 color: $blue;
304
305 &[disabled] {
306 cursor: default;
307 }
308
309 .svg-icon {
310 width: 16px;
311 height: 16px;
312 }
313
314 &:hover:not([disabled]) {
315 fill: $dark-blue;
316 color: $dark-blue;
317 }
318 }
319 }
320
321 }
322
323 /* To keep ellipsis hider's background the same color as row background */
324 &:not(.selected):hover .item-description > .description-text:after {
Arielk134783c2018-05-07 13:25:29 +0300325 background: $row-hover-color;
talig8e9c0652017-12-20 14:30:43 +0200326 }
327
328 &:hover:active .item-description > .description-text:after {
329 background: $row-active-color;
330 }
331
332 }
333
334 }
335
336 &.clickable {
337 cursor: pointer;
338 }
339}