| 1 |
@media (min-width: 576px) { |
| 2 |
.o_accrual_plan_settings .o_accrual { |
| 3 |
grid-template-columns: 1fr 1fr !important; |
| 4 |
} |
| 5 |
|
| 6 |
.o_accrual_level_form .o_accrual { |
| 7 |
grid-template-columns: max-content 1fr !important; |
| 8 |
} |
| 9 |
} |
| 10 |
|
| 11 |
.o_accrual { |
| 12 |
.o_field_accrual, .o_field_selection, .o_field_day_selection, .o_field_filterable_selection { |
| 13 |
width: fit-content !important; |
| 14 |
|
| 15 |
&:not(.o_readonly_modifier) > *:first-child { |
| 16 |
min-width: 50px; |
| 17 |
border-bottom: solid $border-width $border-color; |
| 18 |
max-width: fit-content; |
| 19 |
field-sizing: content; |
| 20 |
} |
| 21 |
|
| 22 |
&:not(.o_field_selection, .o_field_day_selection, .o_field_filterable_selection) > *:first-child { |
| 23 |
max-width: 8ch; |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
.o_form_label { |
| 28 |
font-weight: $o-font-weight-normal; |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
.o_accrual_plan_summary { |
| 33 |
& div { |
| 34 |
display: flex !important; |
| 35 |
justify-content: center; |
| 36 |
} |
| 37 |
|
| 38 |
& p { |
| 39 |
width: 70%; |
| 40 |
padding: 8px; |
| 41 |
font-weight: $o-font-weight-normal; |
| 42 |
border: solid $border-width $border-color; |
| 43 |
border-radius: $border-radius; |
| 44 |
background-color: $o-webclient-background-color; |
| 45 |
} |
| 46 |
} |
| 47 |
|
| 48 |
.o_accrual_plan_form { |
| 49 |
.o_form_sheet_bg { |
| 50 |
max-width: 100% !important; |
| 51 |
margin: 0; |
| 52 |
padding-bottom: 8px; |
| 53 |
} |
| 54 |
|
| 55 |
.o_accrual_plan_settings { |
| 56 |
.oe_title { |
| 57 |
.o_inner_group { |
| 58 |
grid-template-columns: max-content 1fr; |
| 59 |
} |
| 60 |
} |
| 61 |
} |
| 62 |
|
| 63 |
.o_accrual_plan_levels { |
| 64 |
background-color: $o-webclient-background-color; |
| 65 |
|
| 66 |
& > .o_accrual_levels_scrollable { |
| 67 |
overflow-y: auto; |
| 68 |
box-sizing: border-box; |
| 69 |
|
| 70 |
&:has(.o_view_nocontent) { |
| 71 |
justify-content: center; |
| 72 |
} |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
.o_accrual_level { |
| 78 |
.new-text { |
| 79 |
top: -20px; |
| 80 |
right: 5px; |
| 81 |
color: $o-brand-primary; |
| 82 |
pointer-events: none; |
| 83 |
} |
| 84 |
|
| 85 |
.circle { |
| 86 |
background-color: $border-color; |
| 87 |
} |
| 88 |
|
| 89 |
.new { |
| 90 |
background-color: $o-brand-primary; |
| 91 |
border-color: $o-brand-primary; |
| 92 |
} |
| 93 |
|
| 94 |
.arrow { |
| 95 |
border: solid $border-color; |
| 96 |
border-width: 0 $border-width*2 $border-width*2 0; |
| 97 |
padding: 5px; |
| 98 |
margin-top: -10px - $border-width*2; |
| 99 |
transform: rotate(45deg); |
| 100 |
} |
| 101 |
|
| 102 |
.o_accrual_bg { |
| 103 |
background-color: $o-view-background-color; |
| 104 |
} |
| 105 |
|
| 106 |
.delete span:hover { |
| 107 |
background-color: $o-danger; |
| 108 |
color: $o-white; |
| 109 |
} |
| 110 |
|
| 111 |
&:has(.content:hover, .time > span:hover) { |
| 112 |
|
| 113 |
.content { |
| 114 |
border-color: $o-brand-primary !important; |
| 115 |
} |
| 116 |
|
| 117 |
.time > span { |
| 118 |
border-color: $o-brand-primary !important; |
| 119 |
} |
| 120 |
|
| 121 |
.timeline > .circle { |
| 122 |
border-color: $o-brand-primary !important; |
| 123 |
background-color: $o-brand-primary; |
| 124 |
} |
| 125 |
} |
| 126 |
} |
| 127 |
|
| 128 |
|