update common

This commit is contained in:
ivan deng
2020-12-29 18:58:03 +08:00
parent b4e2cb7015
commit 18b5bec7f4
2 changed files with 22 additions and 4 deletions

View File

@@ -28,32 +28,39 @@
border-left: 0.3em solid transparent;
}
}
//列表左右显示边框
.o_list_view .table-responsive .o_list_table > thead > tr:first-child > th {
.o_list_view .table-responsive .o_list_table > thead > tr:first-child > th {
border-left: 1px solid #dfdfdf;;
border-right: 1px solid #dfdfdf;;
}
//内容显示边框
.o_list_view .table-responsive .o_list_table .o_data_row > .o_data_cell {
border-left: 1px solid #dee2e6;
border-right: 1px solid #dee2e6;
}
.o_list_view .table-responsive .o_list_table .o_data_row:not(.o_selected_row) > .o_data_cell:not(.o_readonly_modifier):not(:last-child) {
border-left: 1px solid #dee2e6;
border-right: 1px solid #dee2e6;
}
//选择列icon避免被滚动条挡
.o_content > .o_list_view > .table-responsive > .table .o_optional_columns_dropdown_toggle {
.o_content > .o_list_view > .table-responsive > .table .o_optional_columns_dropdown_toggle {
padding: 8px 20px 8px 10px;
}
.o_list_view .table-responsive .o_optional_columns_dropdown_toggle {
.o_list_view .table-responsive .o_optional_columns_dropdown_toggle {
padding: 0 20px 0 5px;
}
.o_view_controller {
.o_controller_with_searchpanel .o_renderer_with_searchpanel {
overflow: unset;
}
}
// Notebooks ,form_view,pc端优化
.o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link {
background-color: #f9f9f9;
@@ -72,6 +79,7 @@
background-color: white;
}
}
// Notebooks ,form_view,移动端优化
@media (max-width: 768px) {
.o_form_view .o_notebook > .o_notebook_headers > .nav.nav-tabs > .nav-item > .nav-link {
@@ -88,3 +96,11 @@
.o_kanban_view.o_kanban_grouped .o_kanban_record {
margin-bottom: 4px;
}
// Graphfix抖动
.o_graph_controller {
.o_graph_renderer {
height: 99.5%;
}
}