* mass_mailing, note, website, website_blog, website_form, website_mass_mailing, website_sale This commit, unfortunately, mixes three things: - Restoring as much as possible the scss organisation to allow styling the web_editor UI properly. - Fixing some bugs like a border around the page once the editor is loaded, no ability to scroll the snippets, etc - Introducing a whole new UI for snippet options: a left panel instead of the old dropdown & button overlay. Note: this commit also do some linting and ES6 convertion even though some of it has been done in the parent commit. Note 2: some elements that were removed are still styled in the POS apps but this is because part of a feature was removed while leaving dead code behind, this is handled in another PR which is to be merged (https://github.com/odoo/odoo/pull/36136). Part of https://github.com/odoo/odoo/pull/36068 task-1942370 closes odoo/odoo#36068 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
64 lines
1.3 KiB
SCSS
64 lines
1.3 KiB
SCSS
|
|
.o_kanban_group .note_text_line_through {
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.o_note_form_view.o_form_view {
|
|
.o_form_statusbar {
|
|
margin-bottom: 0;
|
|
}
|
|
.oe_form_field.oe_memo {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 200px;
|
|
}
|
|
&.o_form_readonly {
|
|
.oe_memo {
|
|
padding: $input-btn-padding-x-lg;
|
|
border-bottom: 1px solid gray('300');
|
|
}
|
|
}
|
|
}
|
|
|
|
// Quick create notes from systray
|
|
.o_note.o_mail_preview {
|
|
background-color: white;
|
|
.o_preview_info {
|
|
.o_preview_title {
|
|
.o_preview_name {
|
|
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;
|
|
}
|
|
.o_note_datetime {
|
|
.o_datepicker {
|
|
.o_datepicker_input {
|
|
float: right;
|
|
text-align: right;
|
|
border: none;
|
|
font-size: 11px;
|
|
}
|
|
.o_datepicker_button {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
.o_note_set_datetime {
|
|
color: $text-muted;
|
|
}
|
|
}
|