542 lines
11 KiB
SCSS
542 lines
11 KiB
SCSS
.test_model {
|
|
display: flex !important;
|
|
}
|
|
|
|
.test_model > .o_form_label {
|
|
margin-left: 0px !important;
|
|
margin-right: 0px !important;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
div:has(.o_required_modifier) > label::before {
|
|
content: '*' !important;
|
|
color: red !important;
|
|
padding: 0 4px !important;
|
|
vertical-align: top !important;
|
|
font-size: unset !important;
|
|
}
|
|
|
|
.my-image div {
|
|
|
|
width: 110px !important;
|
|
height: 110px !important;
|
|
}
|
|
|
|
.add_flex {
|
|
padding: 5px 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.maintenance_name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_has_image_fill .o_kanban_image_fill_left {
|
|
flex: unset !important;
|
|
}
|
|
|
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom {
|
|
margin-top: 5px;
|
|
display: inline !important;
|
|
}
|
|
|
|
td.o_required_modifier {
|
|
display: table-cell !important;
|
|
}
|
|
|
|
.show_state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 28px;
|
|
bottom: 0;
|
|
right: 18px;
|
|
margin: auto;
|
|
//height: 34px;
|
|
height: unset !important;
|
|
align-items: center;
|
|
}
|
|
|
|
.show_state > div {
|
|
width: 20px;
|
|
height: 12px;
|
|
border: 1px solid #000
|
|
}
|
|
|
|
.show_state > div:nth-child(1) {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.show_state > div:nth-child(2) {
|
|
border-top: 1px solid black !important;
|
|
}
|
|
|
|
.oe_kanban_card.kanban_color_2 {
|
|
background-color: #FF4343 !important;
|
|
color: #fff;
|
|
}
|
|
|
|
.oe_kanban_card.kanban_color_1 {
|
|
background-color: #fff !important;
|
|
opacity: 0.7;
|
|
color: #777;
|
|
}
|
|
|
|
.oe_kanban_card.kanban_color_3 {
|
|
background-color: rgb(255, 150, 0) !important;
|
|
color: #fff;
|
|
}
|
|
|
|
.my-image div {
|
|
width: 122px !important;
|
|
height: 122px !important;
|
|
}
|
|
|
|
.my-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.color_1 {
|
|
background-color: #27FEA9;
|
|
}
|
|
|
|
.color_2 {
|
|
background-color: #FF4343;
|
|
}
|
|
|
|
.color_3 {
|
|
background-color: #808080;
|
|
}
|
|
|
|
.color_4 {
|
|
background-color: rgb(255, 150, 0);
|
|
}
|
|
|
|
.font_color_1 {
|
|
color: rgb(0, 183, 0);
|
|
}
|
|
|
|
.font_color_2 {
|
|
color: #FF4343;
|
|
}
|
|
|
|
.font_color_3 {
|
|
color: rgb(255, 150, 0);
|
|
}
|
|
|
|
.o_kanban_card_header_title {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.o_kanban_record_bottom {
|
|
font-family: '华文中宋';
|
|
//font-weight: bold;
|
|
}
|
|
|
|
.text-truncate {
|
|
overflow: unset !important;
|
|
text-overflow: unset !important;
|
|
//white-space: nowrap!important;
|
|
}
|
|
|
|
.o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector):not(.o_handle_cell):not(.o_list_button):not(.o_list_record_remove) {
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.o_status {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.czyg {
|
|
font-size: 12px;
|
|
margin-right: 10px;
|
|
color: #aaa;
|
|
}
|
|
|
|
.o_kanban_primary_left {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.o_list_view .o_list_table thead {
|
|
position: sticky;
|
|
top: 0;
|
|
//z-index: 100000;
|
|
}
|
|
|
|
//.o_list_view .o_list_table {
|
|
// height: 1799px !important;
|
|
//}
|
|
.table-responsive {
|
|
overflow: unset;
|
|
}
|
|
|
|
.o_form_view.o_xxl_form_view .o_form_sheet_bg > .o_form_statusbar {
|
|
position: sticky !important;
|
|
top: 0;
|
|
//z-index: 100000;
|
|
}
|
|
|
|
//-----------------------------------------------------------
|
|
|
|
//图文展示换行及对齐
|
|
.many2many_flex {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.many2many_flex > div {
|
|
width: 110px;
|
|
margin-right: 15px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .oe_kanban_color_0 {
|
|
position: relative;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] img[name="equipment_image"] {
|
|
width: 150px !important;
|
|
height: 150px !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_card_content button {
|
|
position: absolute;
|
|
//top: -52px;
|
|
//left: -55px;
|
|
width: 80px;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_primary > span:nth-of-type(1) {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 168px;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_primary > span:nth-of-type(2) {
|
|
margin-left: 18px;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_dashboard:not(.o_legacy_kanban_view) .o_kanban_record > div .o_kanban_manage_toggle_button {
|
|
top: 10px !important;
|
|
right: 17px !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_record_headings .ml8 {
|
|
margin-left: 0px !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_dashboard:not(.o_legacy_kanban_view) .o_kanban_record > div .o_kanban_card_content {
|
|
min-height: 0 !important;
|
|
height: 0 !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_dashboard:not(.o_legacy_kanban_view) .o_kanban_record > div .o_kanban_card_header + .container.o_kanban_card_content {
|
|
margin-top: -5px !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_primary_left {
|
|
right: 10px;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .show_state {
|
|
right: 10px !important;
|
|
top: 45px !important;
|
|
}
|
|
|
|
div[class="o_content o_component_with_search_panel"] .show_state span {
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
//div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > .row {
|
|
// position: absolute;
|
|
// top: 55px;
|
|
// right: 43.5%;
|
|
//}
|
|
//------------------------------------------
|
|
|
|
.test_model > .o_form_label {
|
|
margin-left: 4px !important;
|
|
//line-height: 0 !important;
|
|
}
|
|
|
|
@media screen and (min-width: 1200px) {
|
|
div[class="o_content o_component_with_search_panel"] .o_kanban_primary_right > .row {
|
|
right: 52%;
|
|
}
|
|
|
|
//div[class="o_content o_component_with_search_panel"] .o_kanban_card_content button {
|
|
//
|
|
// left: -95px;
|
|
//}
|
|
}
|
|
|
|
|
|
//.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom {
|
|
// display: flex !important;
|
|
// flex-direction: column;
|
|
//}
|
|
|
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom > div:nth-child(1) > span:nth-child(1) {
|
|
display: inline-block;
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
.o_kanban_renderer .o_kanban_record .o_kanban_record_bottom > div:nth-child(1) {
|
|
margin-top: -5px;
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.text-bg-warning {
|
|
background-color: #FED300 !important;
|
|
}
|
|
|
|
.test_model>div {
|
|
display: flex;
|
|
width: 40%;
|
|
}
|
|
|
|
.test_model>div .o_field_widget {
|
|
width: 40% !important;
|
|
}
|
|
|
|
.o_form_label {
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.bigger .o_horizontal_separator {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.o_horizontal_separator {
|
|
font-size: 1.5rem;
|
|
}
|
|
//
|
|
//.o_field_widget input[class='o_input'] {
|
|
//text-align: center
|
|
//}
|
|
|
|
div:has(.o_required_modifier) > label::before {
|
|
position: absolute;
|
|
left: 24px;
|
|
}
|
|
|
|
//.o_form_view .o_form_label {
|
|
// position: relative;
|
|
// width: 9rem;
|
|
// overflow: hidden;
|
|
// text-overflow: ellipsis;
|
|
// white-space: nowrap;
|
|
// padding-left: 1rem;
|
|
//}
|
|
//
|
|
//.o_form_view .o_form_label:hover {
|
|
// white-space: normal;
|
|
// overflow: visible;
|
|
//}
|
|
|
|
.o_form_view {
|
|
.o_form_sheet_bg .o_form_sheet {
|
|
//max-width: none !important;
|
|
width: auto !important;
|
|
max-width: 98% !important;
|
|
}
|
|
.o_FormRenderer_chatterContainer {
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
|
|
// 2023-11-16 hy 新增
|
|
.o_kanban_card_content .btn-group {
|
|
position: unset;
|
|
}
|
|
|
|
.o_kanban_card_content .btn-group button{
|
|
top: 100px;
|
|
left: 168px;
|
|
}
|
|
|
|
|
|
.o_kanban_primary_right {
|
|
position: absolute;
|
|
top: 40px;
|
|
left: 168px;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
box-sizing: border-box;
|
|
.row {
|
|
width: 50%;
|
|
margin: 0;
|
|
>div {
|
|
padding: 0;
|
|
width: unset;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
}
|
|
.oe_kanban_details li.o_text_overflow {
|
|
display: block;
|
|
}
|
|
.o_stock_kanban .o_kanban_card_content {
|
|
.row {
|
|
align-items: center;
|
|
|
|
.o_kanban_primary_left, .o_kanban_primary_right {
|
|
display: block;
|
|
}
|
|
|
|
.o_kanban_primary_right {
|
|
position: unset;
|
|
}
|
|
}
|
|
}
|
|
// 机床换刀申请表格宽度设置
|
|
.o_list_table_ungrouped {
|
|
min-width: 1089px;
|
|
}
|
|
// 加工能力\冷却方式 竖列展示改为横列展示
|
|
.processingMethod {
|
|
.o_cell.flex-grow-1.flex-sm-grow-0 {
|
|
width: 100%!important;
|
|
}
|
|
}
|
|
@media (min-width: 576px) {
|
|
.o_inner_group.processingMethod {
|
|
grid-template-columns: auto;
|
|
}
|
|
}
|
|
|
|
// 设置所有表格序号列padding为0
|
|
.o_form_view .o_notebook > .tab-content > .tab-pane > :first-child:not(.o_group) .o_field_x2many.o_field_x2many_list tr > :first-child, .o_form_view .o_notebook > .tab-content > .tab-pane > :first-child.o_invisible_modifier + .o_field_widget .o_field_x2many.o_field_x2many_list tr > :first-child {
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
// 设置剩余number类型数据表格列 left
|
|
.o_list_renderer .o_list_table thead .o_list_number_th {
|
|
text-align:left;
|
|
}
|
|
.o_list_renderer .o_list_table tbody > tr > td:not(.o_list_record_selector).o_list_number {
|
|
text-align: left;
|
|
}
|
|
.o_list_renderer .flex-row-reverse {
|
|
flex-direction: unset!important;
|
|
}
|
|
|
|
.o_list_renderer .flex-row-reverse > .text-end {
|
|
text-align: left!important;
|
|
}
|
|
|
|
// 设置modal弹窗样式
|
|
.modal.o_technical_modal {
|
|
.modal-lg {
|
|
@media (min-width: 992px) {
|
|
max-width: 1200px;
|
|
}
|
|
@media (min-width: 576px) {
|
|
.o_form_view .o_inner_group {
|
|
grid-template-columns: auto;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
// 更改表格底部按钮样式
|
|
.o_list_renderer .o_field_x2many_list_row_add a,.treeHeaderBtn,.o_x2m_control_panel .o_cp_buttons .btn{
|
|
display: inline-block;
|
|
margin: 5px 0;
|
|
font-size: 14px;
|
|
color: #71639e;
|
|
border: 1px solid #71639e;
|
|
padding: 0.2rem 0.6rem;
|
|
font-size: 1.08333333rem;
|
|
border-radius: 0.25rem;
|
|
transition: all .3s;
|
|
}
|
|
.o_list_renderer .o_field_x2many_list_row_add a:hover,.treeHeaderBtn:hover,.o_x2m_control_panel .o_cp_buttons .btn:hover{
|
|
background: #71639e;
|
|
color: #fff
|
|
}
|
|
|
|
// 修改时间输入框宽度
|
|
.o_datepicker_input.o_input.datetimepicker-input {
|
|
width: 200px;
|
|
}
|
|
|
|
|
|
.o_form_view .o_form_editable .o_row > .o_field_widget, .o_form_view .o_form_editable .o_row > .o_field_widget.o_field_float_time {
|
|
width: auto !important;
|
|
flex: unset;
|
|
}
|
|
.addRequired {
|
|
padding-left: calc(0.3rem + 2px)!important;
|
|
}
|
|
.addRequired:before {
|
|
content: '*';
|
|
color: red;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
.o_list_renderer .o_list_table tfoot .o_list_number {
|
|
text-align: left !important;
|
|
}
|
|
|
|
.o_field_widget.o_readonly_modifier.o_required_modifier.o_field_many2one[name=production_id] .o_form_uri {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
}
|
|
|
|
// 修改 【批量排程】【配送】 按钮UI
|
|
.btn-secondary {
|
|
color: #fff;
|
|
background-color: #4A4F59;
|
|
border-color: #4A4F59;
|
|
}
|
|
|
|
// 功能刀具组装单 弹窗样式
|
|
.o_horizontal_separator.mt-4.mb-3.text-uppercase.fw-bolder.small ~ div.col-lg-6 .o_inner_group.col-lg-6 {
|
|
width: 100%;
|
|
}
|
|
.o_horizontal_separator.mt-4.mb-3.text-uppercase.fw-bolder.small ~ div .o_inner_group .o_wrap_field.d-flex.d-sm-contents.flex-column{
|
|
display: flex!important;
|
|
flex-direction: row!important;
|
|
input {
|
|
border-bottom: 1px solid;
|
|
}
|
|
}
|
|
|
|
// 设置表格横向滚动
|
|
.o_list_renderer.o_renderer {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
// 设置表单页面label文本不换行
|
|
.o_form_view .o_group .o_wrap_label .o_form_label {
|
|
white-space: nowrap;
|
|
}
|
|
// 修复表格内容覆盖表头bug
|
|
.o_list_renderer .o_list_table tbody th {
|
|
position: unset;
|
|
}
|
|
|
|
// 修复搜索面板checkbox样式
|
|
.o_search_panel .form-check .form-check-label span {
|
|
position: relative;
|
|
} |