forked from HANYANG/HANYANG_MES
449 lines
6.7 KiB
SCSS
449 lines
6.7 KiB
SCSS
// 공통
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
* {
|
|
font-family: "Pretendard";
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
li,
|
|
label,
|
|
input,
|
|
button,
|
|
a {
|
|
cursor: pointer;
|
|
}
|
|
|
|
ul,
|
|
li,
|
|
ol,
|
|
a {
|
|
list-style: none;
|
|
text-decoration: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
// 버튼 디자인
|
|
button {
|
|
display: inline-flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.point-btn {
|
|
border: solid 1px #828282;
|
|
background-color: #828282;
|
|
color: rgba(255, 255, 255, 0.973);
|
|
border-radius: 3px;
|
|
padding: 8px 30px !important;
|
|
|
|
text-wrap: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
.point-btn:hover {
|
|
color: #828282;
|
|
background-color: rgba(255, 255, 255, 0.973);
|
|
}
|
|
|
|
.basic-btn {
|
|
border: solid 2px transparent;
|
|
border-radius: 5px;
|
|
background-color: $blue-005;
|
|
color: white;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.basic-btn:hover {
|
|
background-color: white;
|
|
border: solid 2px $blue-005;
|
|
color: $blue-005;
|
|
}
|
|
.reverse-btn:hover {
|
|
background-color: $blue-005;
|
|
border: solid 2px transparent;
|
|
color: white;
|
|
}
|
|
|
|
.reverse-btn {
|
|
background-color: white;
|
|
border: solid 2px $blue-005;
|
|
color: $blue-005;
|
|
border-radius: 5px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.btn-danger {
|
|
height: 100%;
|
|
border: solid 2px red;
|
|
border-radius: 3px;
|
|
color: red;
|
|
background-color: white;
|
|
|
|
&:hover {
|
|
background-color: red;
|
|
color: white;
|
|
}
|
|
}
|
|
.close-btn {
|
|
border: solid 2px #cf5b5b;
|
|
color: white;
|
|
background-color: #cf5b5b;
|
|
|
|
border-radius: 3px;
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
color: #cf5b5b;
|
|
}
|
|
}
|
|
.run-btn {
|
|
border: solid 2px #5b73cf;
|
|
color: white;
|
|
background-color: #5b73cf;
|
|
|
|
border-radius: 3px;
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
color: #5b73cf;
|
|
}
|
|
}
|
|
.norun-btn {
|
|
border: solid 2px #f3da8f;
|
|
color: white;
|
|
background-color: #f3da8f;
|
|
|
|
border-radius: 3px;
|
|
|
|
&:hover {
|
|
background-color: white;
|
|
color: #f3da8f;
|
|
}
|
|
}
|
|
|
|
.disabled-btn {
|
|
background-color: rgba(255, 255, 255, 0.973);
|
|
color: #dddddd;
|
|
border-color: #e9e9e9;
|
|
cursor: default;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.973);
|
|
color: #dddddd;
|
|
border-color: #e9e9e9;
|
|
}
|
|
}
|
|
|
|
.tab-btn {
|
|
background-color: white;
|
|
color: black;
|
|
border: solid 1px $gray-004;
|
|
height: 30px;
|
|
width: 25%;
|
|
border-right: none;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $gray-004;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
.left-round{
|
|
border-radius: 50px 0px 0px 50px;
|
|
}
|
|
|
|
.right-round{
|
|
border-radius: 0px 50px 50px 0px;
|
|
border-right: solid 1px $gray-004;
|
|
}
|
|
|
|
// 전체 프레임
|
|
.have-image {
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.container {
|
|
height: calc(100vh - 48px);
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.container .main-part {
|
|
width: calc(100% - 280px);
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.breadcrumb {
|
|
.inner-container {
|
|
padding: 20px 15px;
|
|
|
|
a, i {
|
|
font-size: 15px;
|
|
}
|
|
|
|
a:nth-of-type(3) {
|
|
font-size: 20px;
|
|
color: #1F2859;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sub-container {
|
|
width: 49%;
|
|
height: calc(100% - 25px);
|
|
|
|
.button-box {
|
|
&.main-table {
|
|
display: flex;
|
|
}
|
|
|
|
&.sub-table {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tab-menu {
|
|
gap: 5px;
|
|
border-bottom: solid 2px #162788;
|
|
|
|
li {
|
|
border-left: solid 2px #162788;
|
|
border-right: solid 2px #162788;
|
|
border-top: solid 2px #162788;
|
|
border-radius: 5px 5px 0 0;
|
|
padding: 7px 12px;
|
|
background-color: white;
|
|
color: #162788;
|
|
|
|
min-width: 80px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
|
|
&:hover{
|
|
background-color: #162788;
|
|
color: white;
|
|
}
|
|
|
|
&.on {
|
|
background-color: #162788;
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
.tab-container {
|
|
height: 98%;
|
|
|
|
|
|
> div {
|
|
display: none;
|
|
height: calc(100vh - 320px);
|
|
|
|
.table-box:first-of-type, .tab-box:first-of-type {
|
|
width: 100%;
|
|
position: relative;
|
|
|
|
.table-title {
|
|
position: absolute;
|
|
top: -35px;
|
|
right: 0;
|
|
margin-bottom: 15px;
|
|
}
|
|
}
|
|
|
|
&.on {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
// item 탭메뉴
|
|
// .sub-container {
|
|
// width: 49%;
|
|
// height: calc(100% - 25px);
|
|
|
|
// .tab-menu {
|
|
// gap: 5px;
|
|
// margin-bottom: 10px;
|
|
// border-bottom: solid 2px $blue-005;
|
|
|
|
// li {
|
|
// border-left: solid 2px $blue-005;
|
|
// border-right: solid 2px $blue-005;
|
|
// border-top: solid 2px $blue-005;
|
|
// border-radius: 5px 5px 0px 0px;
|
|
// padding: 10px 12px;
|
|
// color: black;
|
|
// }
|
|
// .first-tab {
|
|
// background-color: $blue-005;
|
|
// color: white;
|
|
// }
|
|
// }
|
|
|
|
// .first-table-container {
|
|
// display: flex;
|
|
// height: calc(100% - 20px);
|
|
// }
|
|
// .second-table-container {
|
|
// display: none;
|
|
// height: calc(100% - 20px);
|
|
// }
|
|
// &.on {
|
|
// .first-tab {
|
|
// background-color: white;
|
|
// color: black;
|
|
// }
|
|
// .second-tab {
|
|
// background-color: $blue-005;
|
|
// color: white;
|
|
// }
|
|
// .first-table-container {
|
|
// display: none;
|
|
// }
|
|
// .second-table-container {
|
|
// display: flex;
|
|
// }
|
|
// }
|
|
// }
|
|
|
|
// 메인 프레임
|
|
.table-title {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: end;
|
|
height: 32px;
|
|
|
|
p {
|
|
font-size: 16px;
|
|
margin: 0;
|
|
text-wrap: nowrap;
|
|
}
|
|
}
|
|
|
|
.contents-container {
|
|
height: calc(100vh - 235px);
|
|
width: 100%;
|
|
|
|
&.full-height {
|
|
height: 100%;
|
|
}
|
|
|
|
.table-container {
|
|
width: 100%;
|
|
height: 98%;
|
|
margin: 10px 0 30px 0;
|
|
|
|
.inner-container {
|
|
width: calc(100% - 80px);
|
|
height: calc(100% - 24px);
|
|
border-radius: 5px;
|
|
border: 1px solid $gray-002;
|
|
padding: 24px 15px 0px 15px;
|
|
|
|
.sub-table {
|
|
.table-box {
|
|
width: 49%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.table-container {
|
|
height: 90%;
|
|
margin-top: 10px;
|
|
}
|
|
.inner-container {
|
|
margin: 0 25px;
|
|
padding: 0 15px;
|
|
> .flexrow,
|
|
> .flexcol {
|
|
height: calc(100% - 15px);
|
|
}
|
|
}
|
|
|
|
.table-box {
|
|
width: 100%;
|
|
height: 98%;
|
|
}
|
|
.sub-table, .inner-container{
|
|
|
|
&.flexrow {
|
|
width: 100%;
|
|
> .table-box {
|
|
width: 49%;
|
|
}
|
|
> .flexcol {
|
|
width: 49%;
|
|
}
|
|
}
|
|
}
|
|
.flexcol {
|
|
width: 100%;
|
|
height: 100%;
|
|
> .table-box {
|
|
width: 100%;
|
|
height: 49%;
|
|
}
|
|
> .flexrow {
|
|
height: 49%;
|
|
}
|
|
}
|
|
|
|
|
|
.tb-height-full {
|
|
height: calc(100vh - 320px);
|
|
}
|
|
|
|
.tb-height-half {
|
|
height: calc(50vh - 205px);
|
|
}
|
|
|
|
.tb-height-30 {
|
|
height: calc(100vh - 600px);
|
|
}
|
|
|
|
.label-tag{
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 25px;
|
|
width: 60px;
|
|
border-radius: 5px;
|
|
|
|
span{
|
|
width: 6px;
|
|
height: 100%;
|
|
margin-right: 9px;
|
|
}
|
|
}
|
|
|
|
.blue-back{
|
|
background-color: #d2e7ff;
|
|
}
|
|
.green-back{
|
|
background-color: #d2ffd5;
|
|
}
|
|
.orange-back{
|
|
background-color: #ffe0d2;
|
|
}
|
|
.gray-back{
|
|
background-color: #d9d9d9;
|
|
} |