Files
odoo_source/addons/note/static/src/scss/note.scss
T
Antoine (anso) fabf9e9703 [FIX] hr_{recruitment,skills},mass_mailing,project,note: milk adaptations
hr_recruitment: switch smart button value and label
- Switching applicant's name with "Employee" label to be consistent with
  the rest of smart button's format

mass_mailing: adapt status bar layout
- Removed excessive margin between the status bar and the content
- Added no padding between status bar and the control panel
- Removed a useless border before the status
- Improved margin between alert and buttons

project: right side panel stats buttons alignment

hr_skills: fix `::before` alignment

== ISSUE ==

Before this commit, the :before line in Employee resume is not aligned
with the dots. This is due to the fact that the variable
$o-hrs-timeline-entry-padding used in the mixin isn't the right value we
should use.

There was also an issue with responsive.

== After this commit ==

We now use a calc, which process the half of the circle plus the padding
minus the border-width. The $o-horizontal-padding is the variable used
to define the padding of the line inside the form view.

We adapt this in a smaller media query since the $o-horizontal-padding
value is different.

task-2818586

Part-of: odoo/odoo#116641
2023-05-12 22:59:16 +02:00

70 lines
1.6 KiB
SCSS

.o_kanban_group .note_text_line_through {
text-decoration: line-through;
}
.o_note_form_view .o_form_renderer {
.o_form_sheet_bg {
display: flex;
flex-direction: column;
.o_form_statusbar {
margin: 0;
}
.o_form_sheet {
flex: 1;
max-width: 100%;
.oe_pad {
flex: 1;
margin-bottom: 0;
display: flex;
flex-direction: column;
.oe_pad_content {
border: none;
flex: 1;
}
}
}
.o_field_html .note-editable {
border: none;
padding: $o-sheet-vpadding $o-horizontal-padding 10px !important;
min-height: 300px;
}
}
.o_field_widget[name="memo"] {
padding: 0;
margin: 0;
min-height: 200px;
height: 100%
}
&.o_form_readonly {
.oe_memo {
padding: $o-sheet-vpadding $o-horizontal-padding;
}
}
}
// Quick create notes from systray
.o_note.o_ActivityMenuView_activityGroup {
.o_ActivityMenuView_activityGroupInfo {
.o_ActivityMenuView_activityGroupTitle {
.o_ActivityMenuView_activityGroupName {
flex: 1 1 100%;
}
}
.o_note_input_box {
display: flex;
p {
flex: 1 1 auto;
margin-bottom: 0px;
}
}
.o_note_save {
font-size: 11px;
font-weight: bold;
}
}
.o_note_input {
border: none;
}
}