From a44d6d509abcf38fbcaf58c555a6b22b2e85e177 Mon Sep 17 00:00:00 2001 From: Pierre Paridans Date: Thu, 12 Oct 2023 10:14:10 +0200 Subject: [PATCH] [IMP] account: remove unused styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-3546717 Part-of: odoo/odoo#138467 Co-authored-by: Adrien Dieudonné --- addons/account/__manifest__.py | 2 - .../static/src/scss/account_dashboard.scss | 61 ------------------- .../src/scss/legacy_account_activity.scss | 8 --- 3 files changed, 71 deletions(-) delete mode 100644 addons/account/static/src/scss/account_dashboard.scss delete mode 100644 addons/account/static/src/scss/legacy_account_activity.scss diff --git a/addons/account/__manifest__.py b/addons/account/__manifest__.py index 374d7ab8272..d6235979e7c 100644 --- a/addons/account/__manifest__.py +++ b/addons/account/__manifest__.py @@ -88,9 +88,7 @@ You could use this simplified accounting in case you work with an (external) acc 'account/static/src/css/account_bank_and_cash.css', 'account/static/src/css/account.css', 'account/static/src/scss/account_journal_dashboard.scss', - 'account/static/src/scss/account_dashboard.scss', 'account/static/src/scss/account_searchpanel.scss', - 'account/static/src/scss/legacy_account_activity.scss', 'account/static/src/components/**/*', 'account/static/src/js/tours/account.js', 'account/static/src/views/**/*.js', diff --git a/addons/account/static/src/scss/account_dashboard.scss b/addons/account/static/src/scss/account_dashboard.scss deleted file mode 100644 index 49d20dfe5f7..00000000000 --- a/addons/account/static/src/scss/account_dashboard.scss +++ /dev/null @@ -1,61 +0,0 @@ -.o_kanban_dashboard.o_account_kanban .o_kanban_renderer { - - &.o_kanban_ungrouped .o_account_dashboard_header { - margin: (0 - $o-kanban-record-margin) ($o-kanban-record-margin - $o-horizontal-padding) $o-kanban-record-margin; - } - - .o_account_dashboard_header { - flex: 1 0 100%; - flex-flow: column nowrap; - align-self: flex-start; - width: 100%; - height: auto; // cancel o_form_view height 100%, which hides the help tip message at the bottom of the screen - min-height: 0%; // cancel o_form_view min-height 100%, which hides the help tip message at the bottom of the screen - background-color: $o-view-background-color; - - .o_form_statusbar { - padding-right: $o-horizontal-padding; - } - - h4 { - font-size: $font-size-base; - font-weight: 500; - } - - .fa-gift { - color: #eeeeee; - &:hover { - color: #555555; - } - } - - .o_arrow_button.btn-secondary { - color: $text-muted; - text-transform: none; - font-weight: 500; - - .o_account_dashboard_index { - color: map-get($grays, '900'); - } - - &.o_action_done { - color: map-get($grays, '900'); - background-color: map-get($grays, '200'); - - &:after { - border-left-color: map-get($grays, '200'); - } - - .fa-check { - @extend .text-success; - } - } - - &:last-of-type { - margin-left: $o-horizontal-padding; - padding-left: $o-horizontal-padding*.5; - border-left: 1px solid map-get($grays, '300'); - } - } - } -} diff --git a/addons/account/static/src/scss/legacy_account_activity.scss b/addons/account/static/src/scss/legacy_account_activity.scss deleted file mode 100644 index b4514086cd0..00000000000 --- a/addons/account/static/src/scss/legacy_account_activity.scss +++ /dev/null @@ -1,8 +0,0 @@ -.o_journal_activity_kanban { - display: block; - .align_activity_center { - width: 100%; - align-items: center; - margin-bottom: 5px; - } -} \ No newline at end of file