diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/account/static/src/scss/section_and_note_backend.scss | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
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; + } + } +} |
