mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update
This commit is contained in:
@@ -1,17 +1,23 @@
|
||||
// 编辑模式默认 input下方border 有颜色
|
||||
// 编辑模式默认 input下方border 有颜色。必填的深色
|
||||
.o_form_view {
|
||||
.o_form_view_container {
|
||||
&:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '200')};
|
||||
}
|
||||
&:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '600')};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.o_form_view:not(.o_field_highlight) {
|
||||
.o_form_view_container {
|
||||
.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
&:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '200')};
|
||||
}
|
||||
&:not(.o_field_highlight) .o_required_modifier.o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
|
||||
--o-input-border-color: #{map-get($grays, '600')};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,3 +29,74 @@
|
||||
}
|
||||
}
|
||||
|
||||
//navbar
|
||||
$o-navbar-background: rgba($o-brand-odoo, .06);
|
||||
|
||||
.o_main_navbar {
|
||||
--NavBar-entry-backgroundColor: $o-navbar-background;
|
||||
background: $o-navbar-background;
|
||||
}
|
||||
//navbar 的下拉箭头
|
||||
//在顶部
|
||||
.o_main_navbar {
|
||||
.o_menu_sections {
|
||||
.dropdown.dropdown-toggle {
|
||||
span::after {
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-top: 4px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-bottom: 0;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//在底部时
|
||||
.o_web_client.navbar_pos_bottom {
|
||||
.o_main_navbar {
|
||||
.o_menu_sections {
|
||||
.dropdown.dropdown-toggle {
|
||||
span::after {
|
||||
border-top: 0;
|
||||
border-bottom: 4px solid;
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.dropup.dropdown-toggle {
|
||||
span::after {
|
||||
border-top: 0;
|
||||
border-bottom: 4px solid;
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-right: 4px solid transparent;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//在顶部和底部时
|
||||
.o-overlay-container {
|
||||
.dropdown-menu_group.dropdown-header::after {
|
||||
display: inline-block;
|
||||
margin-left: 3.4px;
|
||||
vertical-align: 3.4px;
|
||||
content: "";
|
||||
border-top: 4px solid;
|
||||
border-right: 4px solid transparent;
|
||||
border-bottom: 0;
|
||||
border-left: 4px solid transparent;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
$o-navbar-background: rgba($o-brand-odoo, .05);
|
||||
|
||||
.o_main_navbar {
|
||||
--NavBar-entry-backgroundColor: $o-navbar-background;
|
||||
background: $o-navbar-background;
|
||||
|
||||
.o_menu_sections {
|
||||
.o_nav_entry, .dropdown-toggle {
|
||||
background: var(--NavBar-entry-backgroundColor, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user