diff --git a/Step/wwwroot/assets/styles/base/card.less b/Step/wwwroot/assets/styles/base/card.less index cb4b6f7a..c9000fcf 100644 --- a/Step/wwwroot/assets/styles/base/card.less +++ b/Step/wwwroot/assets/styles/base/card.less @@ -2269,8 +2269,9 @@ table { table-layout: fixed; width: 100%; + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4); + border-radius: 2px; border-collapse: collapse; - border: solid 1px @color-label-grey; } thead { @@ -2279,7 +2280,7 @@ line-height: 1.29; color: @color-darkish-blue; display: block; - width: 1431px; + width: 100%; } thead tr th { @@ -2307,76 +2308,13 @@ width: auto; } - // th:nth-child(1), td:nth-child(1){ - // width:162px; - // max-width: 162px; - // text-align: center; - // } - // th:nth-child(2), td:nth-child(2){ - // width:139px; - // max-width: 139px; - // text-align: center; - // } - // th:nth-child(3), td:nth-child(3){ - // width:83px; - // max-width:83px; - // text-align: center; - // } - // th:nth-child(4), td:nth-child(4){ - // width:83px; - // max-width:83px; - // text-align: center; - // } - // th:nth-child(5), td:nth-child(5){ - // width:83px; - // max-width:83px; - // text-align: center; - // } - // th:nth-child(6), td:nth-child(6){ - // width:83px; - // max-width:83px; - // text-align: center; - // } - // th:nth-child(7), td:nth-child(7){ - // width:97px; - // max-width:97px; - // text-align: center; - // } - // th:nth-child(8), td:nth-child(8){ - // width:97px; - // max-width:97px; - // text-align: center; - // } - // th:nth-child(9), td:nth-child(9){ - // width:97px; - // max-width:97px; - // text-align: center; - // } - // th:nth-child(10), td:nth-child(10){ - // width:115px; - // max-width:115px; - // text-align: center; - // } - // th:nth-child(11), td:nth-child(11){ - // width:97px; - // max-width:97px; - // text-align: center; - // } - // th:nth-child(12), td:nth-child(12){ - // width:148px; - // max-width:148px; - // text-align: center; - // } - // th:nth-child(13), td:nth-child(13){ - // width:97px; - // max-width:97px; - // text-align: center; - // } th:last-child { display: flex; align-items: center; float: right; font-size: 23px; + width: 16px; + padding: 0px 18px; font-weight: bold; cursor: pointer; } @@ -2393,25 +2331,28 @@ tbody { display: block; - height: 552px; - width: 1420px; - overflow-y: auto; - padding-right: 10px; + height: 554px; + width: 1410px; + overflow-y: scroll; + padding-right: 20px; + + &.without-footer { + height: 620px + } - &::-webkit-scrollbar{ + &::-webkit-scrollbar { width: 16px; } - &::-webkit-scrollbar-track{ - margin-bottom: 4px; - margin-top: 4px; + &::-webkit-scrollbar-track { + margin: 20px 0px; background-color: #E5E5E5; border-radius: 15px; box-shadow: inset 0 1px 3px 0 #9F9F9F; } - &::-webkit-scrollbar-thumb{ + &::-webkit-scrollbar-thumb { width: 16px; background: #9F9F9F; border: 4px solid #E5E5E5; @@ -2446,6 +2387,7 @@ td:last-child { width: 16px; display: flex; + // padding: 0px 18px; } &.selected { @@ -2459,52 +2401,55 @@ tfoot { width: 100%; bottom: 0; - } - tr { - width: 100%; - display: table; - } - - tfoot tr td { - height: 64px; - width: 100%; - font-size: 18px; - color: @color-darkish-blue; - position: relative; - bottom: 0; - border-top: solid 2px @color-silver; - - td { - padding: 0; - text-align: center; + &.hidden{ + display: none; + visibility: hidden; } - div.group-label-button { - text-align: center; - margin: 8px 0 8px 0; + tr { + width: 100%; + display: table; - button { - width: 60px; - padding: 0px; - &.disabled { - opacity: .65; - cursor: default; - box-shadow: none !important; - pointer-events: none; + td { + height: 64px; + width: 100%; + font-size: 18px; + color: @color-darkish-blue; + position: relative; + bottom: 0; + border-top: solid 2px @color-silver; + padding: 0; + text-align: center; - i.fa { - color: #838383; + div.group-label-button { + text-align: center; + margin: 8px 0 8px 0; + + button { + width: 60px; + padding: 0px; + + &.disabled { + opacity: .65; + cursor: default; + box-shadow: none !important; + pointer-events: none; + + i.fa { + color: #838383; + } + } + } + + .freespace { + width: 60px; + display: inline-block; + margin: 0 8px; } } } - - .freespace { - width: 60px; - display: inline-block; - margin: 0 8px; - } } } diff --git a/Step/wwwroot/assets/styles/style.css b/Step/wwwroot/assets/styles/style.css index c3fff617..84c601dc 100644 --- a/Step/wwwroot/assets/styles/style.css +++ b/Step/wwwroot/assets/styles/style.css @@ -8766,8 +8766,9 @@ footer .container button.big:before { .card-report-production .reports-box-body-left .body-left-center .body-left-center-container table { table-layout: fixed; width: 100%; + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.4); + border-radius: 2px; border-collapse: collapse; - border: solid 1px #979797; } .card-report-production .reports-box-body-left .body-left-center .body-left-center-container thead { border-bottom: solid 2px #979797; @@ -8775,7 +8776,7 @@ footer .container button.big:before { line-height: 1.29; color: #002680; display: block; - width: 1431px; + width: 100%; } .card-report-production .reports-box-body-left .body-left-center .body-left-center-container thead tr th { height: 48px; @@ -8798,6 +8799,8 @@ footer .container button.big:before { align-items: center; float: right; font-size: 23px; + width: 16px; + padding: 0px 18px; font-weight: bold; cursor: pointer; } @@ -8812,17 +8815,19 @@ footer .container button.big:before { } .card-report-production .reports-box-body-left .body-left-center .body-left-center-container tbody { display: block; - height: 552px; - width: 1420px; - overflow-y: auto; - padding-right: 10px; + height: 554px; + width: 1410px; + overflow-y: scroll; + padding-right: 20px; +} +.card-report-production .reports-box-body-left .body-left-center .body-left-center-container tbody.without-footer { + height: 620px; } .card-report-production .reports-box-body-left .body-left-center .body-left-center-container tbody::-webkit-scrollbar { width: 16px; } .card-report-production .reports-box-body-left .body-left-center .body-left-center-container tbody::-webkit-scrollbar-track { - margin-bottom: 4px; - margin-top: 4px; + margin: 20px 0px; background-color: #E5E5E5; border-radius: 15px; box-shadow: inset 0 1px 3px 0 #9F9F9F; @@ -8865,7 +8870,11 @@ footer .container button.big:before { width: 100%; bottom: 0; } -.card-report-production .reports-box-body-left .body-left-center .body-left-center-container tr { +.card-report-production .reports-box-body-left .body-left-center .body-left-center-container tfoot.hidden { + display: none; + visibility: hidden; +} +.card-report-production .reports-box-body-left .body-left-center .body-left-center-container tfoot tr { width: 100%; display: table; } @@ -8877,8 +8886,6 @@ footer .container button.big:before { position: relative; bottom: 0; border-top: solid 2px #bbbcbc; -} -.card-report-production .reports-box-body-left .body-left-center .body-left-center-container tfoot tr td td { padding: 0; text-align: center; } diff --git a/Step/wwwroot/src/app_modules/machine/components/user-info.vue b/Step/wwwroot/src/app_modules/machine/components/user-info.vue index 6281a3ae..f3294eb8 100644 --- a/Step/wwwroot/src/app_modules/machine/components/user-info.vue +++ b/Step/wwwroot/src/app_modules/machine/components/user-info.vue @@ -1,12 +1,8 @@