新增主生产计划模块
This commit is contained in:
76
mrp_mps/static/src/components/line.scss
Normal file
76
mrp_mps/static/src/components/line.scss
Normal file
@@ -0,0 +1,76 @@
|
||||
.o_mrp_mps {
|
||||
|
||||
button {
|
||||
&.o_mrp_mps_procurement {
|
||||
background-color: $gray-200;
|
||||
border: none;
|
||||
}
|
||||
&.o_no_padding {
|
||||
padding: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
input:not(.form-check-input) {
|
||||
border-style: groove;
|
||||
height: 100%;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
thead th {
|
||||
@include o-position-sticky($top: 0px, $left: 0px);
|
||||
z-index: 10;
|
||||
border-top: none;
|
||||
&:first-child {
|
||||
z-index: 11;
|
||||
height: 1em;
|
||||
}
|
||||
}
|
||||
tbody th {
|
||||
@include o-position-sticky($left: 0px);
|
||||
&:first-child,&:nth-child(2) {
|
||||
z-index: 1;
|
||||
background-color: $gray-200;
|
||||
}
|
||||
}
|
||||
th {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.o_mps_inline {
|
||||
display: inline-flex;
|
||||
max-width: 38%;
|
||||
}
|
||||
}
|
||||
|
||||
tr {
|
||||
line-height: 1em;
|
||||
min-height: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
.btn {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
padding: 0em 0em;
|
||||
color: $black;
|
||||
}
|
||||
|
||||
.o_input {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
.o_mrp_mps_hover {
|
||||
background-color: #d6d8d9;
|
||||
|
||||
&.alert-success {
|
||||
background-color: darken(#dff0d8, 10%);
|
||||
}
|
||||
|
||||
&.alert-warning {
|
||||
background-color: darken(#fcf8e3, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user