add app_web_ent

This commit is contained in:
ivan deng
2018-09-26 09:23:05 +08:00
parent 03d31c6ae7
commit e198c1865f
18 changed files with 229 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
//输入焦点时有颜色
.o_web_client input:focus,
.o_web_client textarea:focus,
.o_web_client select:focus {
border-color: $o-brand-primary;
font-weight: bold;
}
//菜单搜索常见
.o_menu_search {
&.o_bar_hidden {
opacity: 0.9;
}
}
// Notebooks ,form_view,移动端优化
.o_form_view {
.o_notebook {
> .nav.nav-tabs {
> .nav-item {
> .nav-link {
border-left-width: 0!important;
background-color: #fafafa;
&:hover, &:focus, &:active {
background-color: white;
}
&.active {
border-top-width: 2px;
border-left-width: 1px!important;
border-right-width: 1px!important;
}
}
&:first-child > .nav-link {
border-left-width: 1px!important;
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="HomeMenu.Content">
<t t-jquery=".o_home_menu_footer" t-operation="inner">
<img src='/web/binary/company_logo' alt="Logo"/>
</t>
</t>
<t t-extend="Menu.sections">
<t t-jquery=".dropdown-toggle" t-operation="attributes">
<attribute name="class">dropdown-toggle o_menu_header_lvl_1</attribute>
</t>
</t>
</templates>