Files
pad-hl-hcx-new/common/style/layout.css
2023-05-22 11:28:32 +08:00

320 lines
5.7 KiB
CSS

/** 平板尺寸960*600 **/
page {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-page-body {
background-color: #f6f6f6 !important;
min-height: 100% !important;
height: 100% !important;
}
uni-button:after {
border: none;
}
uni-button{
font-size: 16px;
}
.content{
width: 100%;
height: 100%;
background-color: #f5f5f5;
}
.search-confirm-wrap {
width: calc(100% - 30px);
background-color: #fff;
margin: 15px auto;
border-radius: 12px;
padding-bottom: 15px;
}
.search-wrap{
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
padding: 0 15px;
}
.search-item{
display: flex;
justify-content: space-between;
width: 32%;
margin-top: 15px;
}
.search-item:nth-child(3n+2) {
margin-left: 2%;
margin-right: 2%;
}
.search-item_2 {
display: flex;
justify-content: flex-end;
width: 64%;
margin-top: 15px;
margin-left: 4%;
}
.flexend {
justify-content: flex-end;
}
.search-item-btns {
justify-content: flex-end;
}
.search-label{
width: 80px;
height: 35px;
font-size: 16px;
line-height: 35px;
color: #323232;
text-align: justify;
text-align-last: justify;
}
.search-label::after {
display: inline-block;
content: '';
width: 100%;
height: 0;
visibility: hidden;
}
.filter_input_wraper {
width: calc(100% - 85px);
height: 35px;
line-height: 35px;
}
.search-input{
width: calc(100% - 10px);
height: 35px;
line-height: 35px;
font-size: 14px;
color: #606266;
border: 1px solid #d1d1d1;
border-radius: 4px;
text-indent: 10px;
}
.search-input-l {
width: 100%;
height: 35px;
line-height: 35px;
font-size: 14px;
color: #606266;
border: 1px solid #d1d1d1;
border-radius: 4px;
text-indent: 10px;
}
.search-input-l .uni-input-input {
padding-right: 10px;
}
.search-input-l .uni-input-input:disabled {
background-color: #e1e1e1;
}
.confirm-button-wrap{
display: flex;
justify-content: flex-end;
width: 100%;
height: 35px;
line-height: 35px;
margin-top: 15px;
padding: 0 15px;
}
.confirm-button{
margin-left: 15px !important;
margin-right: 0 !important;
background-color: #D7592F;
color: #fff;
line-height: 35px;
}
.confirm-button_disabled {
background-color: #c9c9c9;
}
.grid-wrap{
width: 100%;
height: calc(100% - 187px); /** 42+ 15*5+ 35*2 */
padding: 0 15px 15px 15px;
overflow-y: scroll;
}
.grid-wrap .grid-table{
width: 100%;
border-collapse: separate;
border-spacing: 0;
border: 1px #e1e1e1;
text-align: center;
}
.grid-wrap .grid-table thead tr th{
font-size: 15px;
line-height: 18px;
padding: 5px 5px;
background-color: #e1e1e1;
}
.grid-wrap .grid-table thead tr th:first-child{
border-top-left-radius: 12px;
}
.grid-wrap .grid-table thead tr th:last-child{
border-top-right-radius: 12px;
}
.grid-wrap .grid-table th, .grid-table td {
color: #464646;
background-color: #fff;
border-right: 1px solid #e1e1e1;
border-bottom: 1px solid #e1e1e1;
}
.grid-wrap .grid-table th:first-child, .grid-table td:first-child{
border-left: 1px solid #e1e1e1;
}
.grid-wrap .grid-table td {
/* height: 35px; */
line-height: 18px;
font-size: 15px;
padding: 5px 5px;
}
.slide_new {
width: 100%;
height: 100%;
overflow-y: auto;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.zd_wrapper .grid-table {
table-layout: fixed;
width: auto;
min-width: 100%;
}
.zd_wrapper .grid-table td, .zd_wrapper .grid-table th {
box-sizing: border-box;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
.zd_wrapper .grid-table td:first-child, .zd_wrapper .grid-table th:first-child{
position: -webkit-sticky;
position: sticky;
left: 0;
z-index: 50;
}
.zd_wrapper .grid-table thead tr th {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 49;
}
.status-wrap {
width: 100%;
height: 35px;
display: flex;
align-items: center;
margin-bottom: 15px;
}
.status-item {
display: flex;
align-items: center;
margin-left: 10px;
}
.status-icon {
width: 20px;
height: 20px;
border-radius: 4px;
margin-right: 10px;
}
.status-txt {
font-size: 16px;
line-height: 35px;
color: #323232;
}
.bg-gray {
background-color: #c9c9c9;
}
.bg-green {
background-color: #6CBE8B;
}
.bg-yellow {
background-color: #E9B451;
}
.bg-red {
background-color: #ff6a00;
}
.bg-none {
display: none;
}
.material-wrap {
width: calc(100% - 30px);
height: calc(100% - 152px);/** 42+15*5+35 */
margin: 15px auto;
padding: 15px 15px 0 15px;
background-color: #fff;
border-radius: 12px;
}
.material-item-wrap {
width: 100%;
height: calc(100% - 50px);
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-content: flex-start;
align-items: flex-start;
overflow-y: auto;
}
.material-item {
position: relative;
z-index: 1;
width: 9.1%;
margin-right: 1%;
margin-bottom: 15px;
padding: 15px 5px 5px 5px;
border-radius: 6px;
}
.material-item:nth-child(10n) {
margin-right: 0;
}
.material-title {
font-size: 15px;
line-height: 24px;
height: 24px;
text-align: center;
color: #fff;
word-break: break-all;
overflow: hidden;
}
.material-spec {
font-size: 15px;
line-height: 18px;
height: 36px;
text-align: center;
color: #fff;
word-break: break-all;
margin-top: 5px;
overflow: hidden;
}
.badge__content {
position: absolute;
top: -5px;
left: 0;
z-index: 2;
background-color: #6798ef;
color: #fff;
display: inline-block;
font-size: 12px;
height: 18px;
line-height: 18px;
padding: 0 6px;
text-align: center;
white-space: nowrap;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
.icon_unchecked {
color: #fff;
width: 24px;
height: 24px;
background-color: #fff;
font-size: 20px;
line-height: 24px;
text-align: center;
border: 1px solid #bbb;
}
.icon_checked {
color: #ff6a00;
border: 1px solid #ff6a00;
}
.bgr{
border-color: #ff6a00;
}