diff options
| author | Géry Debongnie <ged@odoo.com> | 2015-09-30 14:14:30 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2015-10-01 14:00:18 +0200 |
| commit | 2a5f07e0b919d4209c2cb72c6dfdc8b86cd5c7ff (patch) | |
| tree | 54cbc12fb66b72ad21f94857ac24052a3abf3f6a /addons/mail/static/src/less/mail_chat_backend.less | |
| parent | 62be162877f30a6ca0f61b38f0b070d56f7ab419 (diff) | |
[REF] mail: last part of the chat refactoring (client side)
Removal of old files and update of assets and imports
Joint work with aab
Diffstat (limited to 'addons/mail/static/src/less/mail_chat_backend.less')
| -rw-r--r-- | addons/mail/static/src/less/mail_chat_backend.less | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/addons/mail/static/src/less/mail_chat_backend.less b/addons/mail/static/src/less/mail_chat_backend.less deleted file mode 100644 index f93d1ed2448..00000000000 --- a/addons/mail/static/src/less/mail_chat_backend.less +++ /dev/null @@ -1,128 +0,0 @@ - -// ------------------------------------------------------------------ -// Layout -// ------------------------------------------------------------------ -.o_mail_chat { - .o-position-absolute(0, 0, 0, 0); - height: 100%; - - @media (max-width: @screen-xs-max) { - position: static; - height: auto; - } - - .o-flex-display(); - .o-flex-flow(row, nowrap); - - .o_mail_chat_sidebar { - .o-flex(0, 0, 15%); - overflow: auto; - padding: 1%; - } - - .o_mail_chat_content { - .o-flex(0, 0, 85%); - height: 100%; - .o-flex-display(); - .o-flex-flow(column, nowrap); - @media (max-width: @screen-xs-max) { - height: auto; - } - - .o_mail_chat_messages { - .o-flex(1, 0, 0); - overflow: auto; - .o-webclient-padding(); - - .o_mail_chat_help_message { - padding: 25px 0; - text-align: justify; - } - } - - .o_mail_chat_composer_wrapper { - .o-flex(0, 0, auto); - .o-webclient-padding(@top: 10px, @bottom: 5px); - } - } -} - -// ------------------------------------------------------------------ -// Style -// ------------------------------------------------------------------ -.o_mail_chat { - .o_mail_chat_sidebar { - background-color: @gray; - - > .nav-pills { - > li { - > a { - color: @odoo-brand-optional; // community compatibility: override base.css - &:hover, &:focus { - background-color: @gray-dark; - } - &.active { - background-color: @gray-dark; - } - } - - &.o_mail_chat_channel_item, &.o_mail_chat_partner_item { - > a { - color: @gray-lighter; - > .badge { - color: white; - background-color: @odoo-brand-optional; - } - - > i.fa { - padding-top: 3px; - padding-right: 3px; - - &.o_online { - color: @odoo-brand-optional; - } - } - } - } - } - } - - .o_mail_chat_channel_item.o_mail_chat_channel_unread, .o_mail_chat_partner_item.o_mail_chat_channel_unread{ - font-weight: bold; - } - - .o_mail_chat_sidebar_title { - text-transform: uppercase; - color: @gray-lighter; - margin-top: 25px; - .user-select(none); - cursor: default; - } - - .o_mail_chat_add_more_search{ - padding: @padding-base-vertical @padding-base-horizontal; - .o_mail_chat_add_more_text{ - color: @gray-lighter; - display: inline-block; - font-style: italic; - cursor: pointer; - font-size: @font-size-base; - } - .o_mail_chat_add_more_text:hover{ - text-decoration: underline; - color: white; - cursor: pointer; - } - } - - } - - .o_mail_chat_content { - background-color: white; - - .o_mail_chat_composer_wrapper { - border-top: 1px solid @gray-lighter; - background-color: #21b799; - } - } -} |
