forked from HANYANG/HANYANG_MES
style: 비가동사유 버튼 너비 조정
This commit is contained in:
parent
1e97de071f
commit
b2ef750795
|
|
@ -150,6 +150,8 @@ button {
|
|||
border-right: none;
|
||||
cursor: pointer;
|
||||
|
||||
text-wrap: nowrap;
|
||||
|
||||
&:hover {
|
||||
background-color: $gray-004;
|
||||
color: white;
|
||||
|
|
|
|||
|
|
@ -44,8 +44,9 @@ form {
|
|||
font-weight: 600;
|
||||
|
||||
background-color: white;
|
||||
width: 140px;
|
||||
min-width: 140px;
|
||||
padding: 10px 14px;
|
||||
text-wrap: nowrap;
|
||||
|
||||
&:hover, &.on{
|
||||
background-color: $blue-001;
|
||||
|
|
@ -154,6 +155,7 @@ form {
|
|||
}
|
||||
.round-tab-box{
|
||||
width: calc(100% - 120px);
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ button {
|
|||
width: 25%;
|
||||
border-right: none;
|
||||
cursor: pointer;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
.tab-btn:hover {
|
||||
background-color: #c7c7c7;
|
||||
|
|
@ -396,58 +397,21 @@ header .status-menu ul li a {
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
background: white;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.container.on .side-nav {
|
||||
width: 88px;
|
||||
overflow-y: visible;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li span.fancytree-expander, .container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li span.fancytree-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li span.fancytree-custom-icon {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li ul {
|
||||
position: absolute;
|
||||
display: block;
|
||||
left: 56px;
|
||||
top: 0;
|
||||
width: 250px;
|
||||
background: #e9e9e9;
|
||||
z-index: 2;
|
||||
min-height: 52px;
|
||||
max-height: 294px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.container.on .side-nav .side-menu ul.fancytree-plain.fancytree-container > li ul li span.fancytree-title {
|
||||
color: black;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.container.on .side-nav .fold-btn-container {
|
||||
margin: 0 0 30px 0;
|
||||
padding-left: 0;
|
||||
padding-left: 25%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.container.on .side-nav .fold-btn-container .fold-btn {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.container.on .main-part {
|
||||
width: calc(100% - 88px);
|
||||
}
|
||||
|
|
@ -474,74 +438,60 @@ header .status-menu ul li a {
|
|||
border: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container > li > span {
|
||||
border-bottom: solid 1px #e9e9e9;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li {
|
||||
min-height: 72px;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span {
|
||||
height: 72px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span:hover span.fancytree-title, .side-nav .side-menu ul.fancytree-plain.fancytree-container li > span:active span.fancytree-title {
|
||||
color: #3c3c3c;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span > span {
|
||||
color: #3c3c3c;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span > span.fancytree-custom-icon {
|
||||
color: #98A7FA;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span.fancytree-node.fancytree-active span.fancytree-title {
|
||||
color: #3c3c3c;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li > span.fancytree-node.fancytree-active:hover span.fancytree-title, .side-nav .side-menu ul.fancytree-plain.fancytree-container li > span.fancytree-node.fancytree-active:active span.fancytree-title {
|
||||
color: #3c3c3c;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul li {
|
||||
min-height: 48px;
|
||||
border-bottom: 1px solid #E1E4F9;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul li > span {
|
||||
height: 48px;
|
||||
width: -moz-fit-content;
|
||||
width: fit-content;
|
||||
padding-left: 1.5em;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul li > span span.fancytree-title {
|
||||
font-size: 14px;
|
||||
color: #4A5ED2;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul li:hover {
|
||||
background-color: #E1E4F9;
|
||||
}
|
||||
|
||||
.side-nav .side-menu ul.fancytree-plain.fancytree-container li ul li:hover span.fancytree-title {
|
||||
color: #4A5ED2;
|
||||
}
|
||||
|
|
@ -556,39 +506,6 @@ header .status-menu ul li a {
|
|||
font-weight: 400;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.menu-icon.base-icon {
|
||||
background-image: url("../img/icon-shield.png");
|
||||
}
|
||||
|
||||
.menu-icon.filed-icon {
|
||||
background-image: url("../img/icon-industry.png");
|
||||
}
|
||||
|
||||
.menu-icon.production-icon {
|
||||
background-image: url("../img/icon-engineering.png");
|
||||
}
|
||||
|
||||
.menu-icon.system-icon {
|
||||
background-image: url("../img/icon-gear.png");
|
||||
}
|
||||
|
||||
.menu-icon.insp-icon {
|
||||
background-image: url("../img/icon-clipboard.svg");
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
|
||||
.menu-icon.facility-icon {
|
||||
background-image: url("../img/icon-cone.svg");
|
||||
}
|
||||
|
||||
.table-header {
|
||||
width: 100%;
|
||||
margin-top: 25px;
|
||||
|
|
@ -658,7 +575,7 @@ header .status-menu ul li a {
|
|||
.table-header .button-container {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.button-box {
|
||||
|
|
@ -672,7 +589,7 @@ header .status-menu ul li a {
|
|||
}
|
||||
|
||||
.table-container .button-box {
|
||||
justify-content: flex-end;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
|
|
@ -958,8 +875,9 @@ form[name=frmWorkData] > div.form-button-container .form-button-box button {
|
|||
font-size: 1.1em;
|
||||
font-weight: 600;
|
||||
background-color: white;
|
||||
width: 140px;
|
||||
min-width: 140px;
|
||||
padding: 10px 14px;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
form[name=frmWorkData] > div.form-button-container .form-button-box button:hover, form[name=frmWorkData] > div.form-button-container .form-button-box button.on {
|
||||
background-color: #4A5ED2;
|
||||
|
|
@ -1024,6 +942,7 @@ form[name=frmWorkData] > div.form-contents .detail-container .height-half {
|
|||
}
|
||||
form[name=frmWorkData] > div.form-contents .detail-container .round-tab-box {
|
||||
width: calc(100% - 120px);
|
||||
overflow: auto;
|
||||
}
|
||||
form[name=frmFacility] {
|
||||
width: 800px;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
<div class="input-box flexrow flexend flex-1">
|
||||
<label for="" style="width:80px;">비가동사유</label>
|
||||
<div class="round-tab-box">
|
||||
<div class="round-tab-box flexrow">
|
||||
<button v-for="(vals, idx) in Object.keys(STOP_CD)" @click="STOP_CD_val = vals" :class="{'left-round':idx===0, 'right-round':idx===Object.keys(STOP_CD).length-1}" type="button" class="tab-btn">{{ STOP_CD[vals] }}</button>
|
||||
<!-- STOP_CD 가져오기
|
||||
FOR문 으로 BTN만들기
|
||||
|
|
|
|||
|
|
@ -155,6 +155,8 @@ class FieldPop {
|
|||
|
||||
},
|
||||
|
||||
table : {},
|
||||
|
||||
isComponent : {
|
||||
isDefHst : false,
|
||||
isWorker : false,
|
||||
|
|
@ -332,9 +334,9 @@ class FieldPop {
|
|||
callTable(com, addData=false, updateData=false, btn=false ){
|
||||
|
||||
this.$nextTick(()=>{
|
||||
const table = new SimpleTable(this.tableField[com], this.getMode, this.putMode, this.formData);
|
||||
this.table = new SimpleTable(this.tableField[com], this.getMode, this.putMode, this.formData);
|
||||
|
||||
table.init(addData, updateData, btn);
|
||||
this.table.init(addData, updateData, btn);
|
||||
|
||||
})
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue