73 lines
2.3 KiB
SCSS
73 lines
2.3 KiB
SCSS
.list_width{
|
|
width: 400px !important;
|
|
max-width: 400px !important;
|
|
}
|
|
.list_ids_width{
|
|
width: 600px !important;
|
|
max-width: 600px !important;
|
|
min-width: 400px !important;
|
|
white-space: normal !important;
|
|
word-break: break-all !important;
|
|
word-wrap: break-word !important;
|
|
}
|
|
.o_m2o_mutil_line {
|
|
white-space: normal !important;
|
|
word-break: break-all !important;
|
|
word-wrap: break-word !important;
|
|
}
|
|
.o_list_view .o_list_table thead th[data-name="is_party"] {
|
|
color: #D32F2F !important;
|
|
}
|
|
.o_list_view .o_list_table thead th[data-name="is_class"] {
|
|
color: #1565C0 !important;
|
|
}
|
|
.o_list_view .o_list_table thead th[data-name="is_boss"] {
|
|
color: #4B5563 !important;
|
|
}
|
|
|
|
/* ===== view_issue_library_tree4 的议题名称(name)超过 20 字自动换行 =====
|
|
20 个汉字约 320px(16px/字),加单元格内边距后锁 500px,
|
|
20 字以内一行,21 字以上自动折到下一行。*/
|
|
.o_issue_library_name_wrap {
|
|
/*锁列宽:保证 20 字单行显示、超过则换行*/
|
|
max-width: 500px !important;
|
|
width: 500px !important;
|
|
min-width: 500px !important;
|
|
}
|
|
|
|
/*对单元格及所有子元素强制换行 + 剥离 chip 容器外观*/
|
|
.o_issue_library_name_wrap,
|
|
.o_issue_library_name_wrap *,
|
|
.o_issue_library_name_wrap .o_field_widget,
|
|
.o_issue_library_name_wrap .o_field_char,
|
|
.o_issue_library_name_wrap a,
|
|
.o_issue_library_name_wrap span,
|
|
.o_issue_library_name_wrap input {
|
|
white-space: normal !important;
|
|
word-break: break-word !important;
|
|
overflow-wrap: break-word !important;
|
|
overflow: visible !important;
|
|
text-overflow: clip !important;
|
|
/*去除任何 chip/容器外观的兜底样式(背景/边框/圆角/阴影/内外边距)*/
|
|
background: transparent !important;
|
|
background-color: transparent !important;
|
|
border: 0 !important;
|
|
border-color: transparent !important;
|
|
border-style: none !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
outline: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/*若被包裹在 <a> 内,把 <a> 改成 display:contents 避免出现块状容器*/
|
|
.o_issue_library_name_wrap a {
|
|
display: contents !important;
|
|
}
|
|
|
|
/*td 自身保持合适行高,避免被任意内容撑高*/
|
|
.o_issue_library_name_wrap {
|
|
line-height: normal !important;
|
|
vertical-align: middle;
|
|
} |