Debian Codegraph @

addons/hr_skills/static/src/fields/resume_one2many/resume_one2many.scss

raw
1 .o_field_resume_one2many {
2 $o-hrs-timeline-entry-padding: .5rem;
3 $o-hrs-timeline-dot-size: .6rem;
4
5 .o_data_row {
6 border-bottom: none;
7 }
8
9 .o_data_row td {
10 padding: $o-hrs-timeline-entry-padding;
11
12 &.o_resume_timeline_cell {
13 overflow: hidden !important;
14 div {
15 width: $o-hrs-timeline-dot-size;
16 height: $o-hrs-timeline-dot-size;
17 }
18
19 &:before {
20 @include o-position-absolute(0, $left: ($o-hrs-timeline-dot-size * .5 + o-to-rem($o-horizontal-padding) - o-to-rem($border-width)));
21 width: $border-width;
22 height: 100%;
23 background-color: $border-color;
24 content: "";
25
26 @include media-breakpoint-up(lg) {
27 left: ($o-hrs-timeline-dot-size * .5 + o-to-rem(map-get($spacers, 4)) - o-to-rem($border-width))
28 }
29
30 @include media-breakpoint-up(xxl) {
31 left: ($o-hrs-timeline-dot-size * .5 + o-to-rem($o-horizontal-padding) - o-to-rem($border-width))
32 }
33 }
34 }
35 }
36
37 .o_resume_line_desc {
38 overflow: auto;
39 }
40
41 .o_resume_line_title, .o_resume_line_desc {
42 white-space: normal;
43 }
44
45 .o_resume_line_title, .o_resume_line_dates {
46 line-height: 1;
47 }
48
49 .o_resume_group_header + .o_data_row .o_resume_timeline_cell:before {
50 top: $o-hrs-timeline-entry-padding;
51 }
52
53 .o_data_row.o_data_row_last {
54 .o_resume_line_desc {
55 margin-bottom: $headings-margin-bottom;
56 }
57
58 .o_resume_timeline_cell:before {
59 height: $o-hrs-timeline-entry-padding;
60 }
61 }
62 }