diff --git a/addons/web_im/static/src/css/im.css b/addons/web_im/static/src/css/im.css index bed653dae9e..c802037236a 100644 --- a/addons/web_im/static/src/css/im.css +++ b/addons/web_im/static/src/css/im.css @@ -6,49 +6,87 @@ border-left: 1px solid #AEB9BD; } +/* button */ + .openerp .oe_topbar_imbutton { cursor: pointer; } /* search stuff */ .openerp .oe_im_frame_header { - background: #dedede; - background: -moz-linear-gradient(#fcfcfc, #dedede); - background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede)); - border-bottom: 1px solid border-color !important; - padding: 5px; + position: relative; + background: #dedede; + background: -moz-linear-gradient(#fcfcfc, #dedede); + background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede)); + border-bottom: 1px solid border-color !important; + padding: 5px; } .openerp .oe_im_frame_header .oe_im_searchbox { - width: 168px; - padding: 1px 21px 1px 19px; - font-size: 13px; - -moz-border-radius: 13px; - -webkit-border-radius: 13px; - border-radius: 13px; + width: 168px; + padding: 1px 21px 1px 19px; + font-size: 13px; + -moz-border-radius: 13px; + -webkit-border-radius: 13px; + border-radius: 13px; } .openerp .oe_im_frame_header .oe_im_search_icon { - position: absolute; - color: #888; - top: 2px; - left: 9px; - font-size: 28px; - font-family: "entypoRegular" !important; - font-weight: 300 !important; + position: absolute; + color: #888; + top: 2px; + left: 9px; + font-size: 28px; + font-family: "entypoRegular" !important; + font-weight: 300 !important; } .openerp .oe_im_frame_header .oe_im_search_clear { - display: none; - position: absolute; - right: 11px; - top: 4px; - font-size: 26px; - color: #b6b6b6; - cursor: pointer; + display: none; + position: absolute; + right: 11px; + top: 4px; + font-size: 26px; + color: #b6b6b6; + cursor: pointer; } .openerp .oe_im_frame_header .oe_im_search_clear:hover { - color: #888; + color: #888; } +/* users */ +.openerp .oe_im_users { + padding-bottom: 38px; +} +.openerp .oe_im_user { + padding: 2px 6px; + cursor: pointer; + font-size: 13px; + margin-bottom: 3px; +} +.openerp .oe_im_user:hover { + background: lightGrey; +} +.openerp .oe_im_user_clip { + display: inline-block; + width: 26px; + height: 26px; + margin-right: 4px; + -moz-box-shadow: 0 0 2px 1px rgba(0,0,0,0.25); + -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25); + box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25); +} +.openerp .oe_im_user_avatar { + width: 26px; + height: auto; +} +.openerp .oe_im_user_name { + width: 162px; + line-height: 26px; + padding-right: 15px; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + position: relative; +} .openerp .oe_im_conversation { position: fixed; diff --git a/addons/web_im/static/src/img/avatar/avatar.jpeg b/addons/web_im/static/src/img/avatar/avatar.jpeg new file mode 100644 index 00000000000..7168794022e Binary files /dev/null and b/addons/web_im/static/src/img/avatar/avatar.jpeg differ diff --git a/addons/web_im/static/src/img/button-gloss.png b/addons/web_im/static/src/img/button-gloss.png new file mode 100755 index 00000000000..6f3957702fe Binary files /dev/null and b/addons/web_im/static/src/img/button-gloss.png differ diff --git a/addons/web_im/static/src/img/glyphicons-halflings-white.png b/addons/web_im/static/src/img/glyphicons-halflings-white.png new file mode 100755 index 00000000000..3bf6484a29d Binary files /dev/null and b/addons/web_im/static/src/img/glyphicons-halflings-white.png differ diff --git a/addons/web_im/static/src/img/glyphicons-halflings.png b/addons/web_im/static/src/img/glyphicons-halflings.png new file mode 100755 index 00000000000..a9969993201 Binary files /dev/null and b/addons/web_im/static/src/img/glyphicons-halflings.png differ diff --git a/addons/web_im/static/src/img/green.png b/addons/web_im/static/src/img/green.png new file mode 100644 index 00000000000..01fb373c251 Binary files /dev/null and b/addons/web_im/static/src/img/green.png differ diff --git a/addons/web_im/static/src/img/logo.png b/addons/web_im/static/src/img/logo.png new file mode 100644 index 00000000000..aca5f4c60d8 Binary files /dev/null and b/addons/web_im/static/src/img/logo.png differ diff --git a/addons/web_im/static/src/img/wood.png b/addons/web_im/static/src/img/wood.png new file mode 100644 index 00000000000..22f2450d3ad Binary files /dev/null and b/addons/web_im/static/src/img/wood.png differ diff --git a/addons/web_im/static/src/xml/im.xml b/addons/web_im/static/src/xml/im.xml index fd5cd13ee05..cb42e8c7fe8 100644 --- a/addons/web_im/static/src/xml/im.xml +++ b/addons/web_im/static/src/xml/im.xml @@ -20,7 +20,10 @@
- + + + +