mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
add app_web_ent
This commit is contained in:
39
app_web_enterprise/static/src/scss/app_style.scss
Normal file
39
app_web_enterprise/static/src/scss/app_style.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
16
app_web_enterprise/static/src/xml/base.xml
Normal file
16
app_web_enterprise/static/src/xml/base.xml
Normal 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>
|
||||
Reference in New Issue
Block a user