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/mail/static/src/scss/activity_view.scss | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/mail/static/src/scss/activity_view.scss')
| -rw-r--r-- | addons/mail/static/src/scss/activity_view.scss | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/addons/mail/static/src/scss/activity_view.scss b/addons/mail/static/src/scss/activity_view.scss new file mode 100644 index 00000000..bbb819eb --- /dev/null +++ b/addons/mail/static/src/scss/activity_view.scss @@ -0,0 +1,132 @@ +.o_activity_view { + height: 100%; + > table { + background-color: white; + thead > tr > th:first-of-type { + min-width: 300px; + } + tbody > tr > td, tfoot > tr > td { + cursor: pointer; + } + } + .o_activity_summary_cell { + background-color: #FFF; + &.planned { + background-color: theme-color('success'); + } + &.overdue { + background-color: theme-color('danger'); + } + &.today { + background-color: theme-color('warning'); + } + .o_kanban_inline_block { + min-height: 42px; + } + .dropdown-toggle { + cursor: pointer; + .o_closest_deadline { + height: 42px; + width: 100%; + color: #FFF; + text-align: center; + line-height: 42px; + } + } + &.o_activity_empty_cell { + > i { + display: none; + } + &:hover { + background-color: #eee; + + > i { + color: gray; + display: block; + } + } + } + .o_activity_btn > .badge { + @include o-position-absolute($bottom: 0, $right: 0); + + &.planned { + color: theme-color('success'); + } + &.overdue { + color: theme-color('danger'); + } + &.today { + color: theme-color('warning'); + } + } + } + + // it contains a kanban card representing the record + .o_activity_record { + display: flex; + flex: 1 1 auto; + align-items: center; + padding: 8px 8px; + cursor: pointer; + + > img { + width: 32px; + max-height: 32px; + margin-right: 16px; + } + + > div { + max-width: 200px; + + .o_text_block { + @include o-text-overflow; + display: block; + } + } + + .o_text_bold { + font-weight: bold; + } + + .o_text_block { + display: block; + } + } + .o_activity_filter_planned { + background-color: mix(theme-color('success'), $o-webclient-background-color, 5%); + } + .o_activity_filter_today { + background-color: mix(theme-color('warning'), $o-webclient-background-color, 5%); + } + .o_activity_filter_overdue { + background-color: mix(theme-color('danger'), $o-webclient-background-color, 5%); + } + .o_record_selector { + color: $o-enterprise-primary-color; + } + .o_activity_type_cell { + padding:10px; + min-width:100px; + .fa-ellipsis-v { + cursor: pointer; + } + + .o_template_element { + white-space: nowrap; + padding:5px; + cursor: pointer; + &:hover { + color: theme-color('success'); + } + } + .o_kanban_counter { + margin: 5px 0 0 0; + > .o_kanban_counter_progress { + width: 100%; + > div.active { + border: 1px solid; + } + } + } + } +} |
