From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../static/src/scss/section_and_note_backend.scss | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 addons/account/static/src/scss/section_and_note_backend.scss (limited to 'addons/account/static/src/scss/section_and_note_backend.scss') 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; + } + } +} -- cgit v1.2.3