diff options
Diffstat (limited to 'addons/account/static/src/scss/section_and_note_backend.scss')
| -rw-r--r-- | addons/account/static/src/scss/section_and_note_backend.scss | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/addons/account/static/src/scss/section_and_note_backend.scss b/addons/account/static/src/scss/section_and_note_backend.scss new file mode 100644 index 00000000..93ce4dfd --- /dev/null +++ b/addons/account/static/src/scss/section_and_note_backend.scss @@ -0,0 +1,29 @@ + +// The goal of this file is to contain CSS hacks related to allowing +// section and note on sale order and invoice. + +table.o_section_and_note_list_view tr.o_data_row.o_is_line_note, +table.o_section_and_note_list_view tr.o_data_row.o_is_line_note textarea[name="name"], +div.oe_kanban_card.o_is_line_note { + font-style: italic; +} +table.o_section_and_note_list_view tr.o_data_row.o_is_line_section, +div.oe_kanban_card.o_is_line_section { + font-weight: bold; + background-color: #DDDDDD; +} +table.o_section_and_note_list_view tr.o_data_row.o_is_line_section { + border-top: 1px solid #BBB; + border-bottom: 1px solid #BBB; +} + +table.o_section_and_note_list_view tr.o_data_row { + &.o_is_line_note, + &.o_is_line_section { + td { + // There is an undeterministic CSS behaviour in Chrome related to + // the combination of the row's and its children's borders. + border: none !important; + } + } +} |
