Skip to content

Commit

Permalink
Working on removing Material Design 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bbalganjjm committed Jun 24, 2024
1 parent fea2cce commit c35d2b8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/static/css/common.pub.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
margin-bottom: 10px;
line-height: 40px;
}
.view_context__ .button-panel button {
margin-left: 5px;
}

/* N.form */
.view_context__ ul.form__ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</ul>
</div>
</div>

<div class="button-panel">
<button id="btnSearch" data-opts='{ "color": "primary" }'>조회</button>
<button id="btnExcelImport">엑셀임포트</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</table>

<div class="button-panel">
<button id="btnOk">확인</button>
<button id="btnOk" data-opts='{ "color": "primary" }'>확인</button>
<button id="btnCancel">취소</button>
</div>

Expand Down
32 changes: 15 additions & 17 deletions src/main/resources/static/js/natural_js/natural.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,23 +394,21 @@
* - If it is not SPA(Single Page Application), please set it to "body".
*/
"container" : ".docs__ > .docs_contents__.visible__",
"global" : {
/**
* N.alert's OK button style
* - It is specified as an option of the Button(N.button) component.
*/
"okBtnStyle" : {
color : "primary",
size : "medium"
},
/**
* N.alert's Cancel button style
* - It is specified as an option of the Button(N.button) component.
*/
"cancelBtnStyle" : {
color : "primary_container",
size : "medium"
}
/**
* N.alert's OK button style
* - It is specified as an option of the Button(N.button) component.
*/
"okButtonOpts" : {
color : "primary",
size : "medium"
},
/**
* N.alert's Cancel button style
* - It is specified as an option of the Button(N.button) component.
*/
"cancelButtonOpts" : {
color : "primary_container",
size : "medium"
},
/**
* Global draggableOverflowCorrectionAddValues option
Expand Down

0 comments on commit c35d2b8

Please sign in to comment.