[FIX] im_livechat,mail: external lib: missing dependency

@navbar-height was used in chat_window.less since rev. 8397abd but wasn't
defined in the external_lib bundle (light bundle to embed im_livechat in
external pages).

This rev. also fixes some glitches of the chat window due to missing
font-awesome, and global rule 'box-sizing: border-box' on all elements.
This commit is contained in:
Aaron Bohy
2016-01-19 15:20:37 +01:00
parent 205037736f
commit de9c2135a6
@@ -1,7 +1,32 @@
// bootstrap variables needed for embedding of im_livechat outside website
// bootstrap variables and vendor prefixes needed to embed im_livechat in external pages
@gray-light: lighten(#000, 46.7%); // #777
@gray-lighter: lighten(#000, 93.5%); // #eee
@screen-xs-max: 767px;
@navbar-height: 44px;
.text-muted {
color: @gray-light;
}
.box-sizing(@boxmodel) {
-webkit-box-sizing: @boxmodel;
-moz-box-sizing: @boxmodel;
box-sizing: @boxmodel;
}
.o_chat_window {
&,* {
.box-sizing(border-box);
}
.o_chat_header {
height: 28px;
.fa-close {
text-decoration: none;
font-weight: bold;
&:before {
content: "X";
}
}
> span {
margin: auto 0;
}
}
}