diff --git a/css/file_io/fileio.css b/css/file_io/fileio.css index 72e5d314..84f7b9b7 100644 --- a/css/file_io/fileio.css +++ b/css/file_io/fileio.css @@ -9,4 +9,8 @@ #vp_fileioPage .vp-fileio-body { padding: 5px; margin-top: 10px; +} + +.vp-option-table { + } \ No newline at end of file diff --git a/css/file_io/udf.css b/css/file_io/udf.css index 061ff199..50e47069 100644 --- a/css/file_io/udf.css +++ b/css/file_io/udf.css @@ -1,5 +1,6 @@ /* udf editor - CodeMirror */ #vp-wrapper .vp-udf-page .CodeMirror { border: 1px solid silver; } +#vp-wrapper .vp-udf-page .CodeMirror.CodeMirror-focused { border: 1px solid var(--hightlight-color); } #vp-wrapper .vp-udf-page .CodeMirror-empty { outline: 1px solid #c22; } #vp-wrapper .vp-udf-page .CodeMirror-empty.CodeMirror-focused { outline: none; } #vp-wrapper .vp-udf-page .CodeMirror pre.CodeMirror-placeholder { color: #999; } @@ -7,7 +8,7 @@ #vp-wrapper .vp-udf-page .CodeMirror-scroll { min-height: 80px; max-height: 250px;} /* udf option header */ -.vp-option-header { +/* .vp-option-header { padding-bottom: 3px; } .vp-option-header label { @@ -18,10 +19,10 @@ } .vp-option-header button { width: 70px; -} +} */ /* udf list table */ -#vp_udfList tr:not(:first-child):hover, +/* #vp_udfList tr:not(:first-child):hover, #vp_udfList tr.selected { color: var(--font-hightlight); background-color: #F5F5F5; @@ -39,10 +40,10 @@ text-overflow: ellipsis; width: 100%; overflow: hidden; -} +} */ /* code td 긴 문자열 생략 */ -.vp-udf-code, +/* .vp-udf-code, .vp-udf-code pre { text-overflow: ellipsis; overflow: hidden; @@ -53,15 +54,15 @@ background: #ffffff00; border: 0px; -} +} */ /* 새로고침 버튼 */ -#vp_udfRefresh { +/* #vp_udfRefresh { padding: 5px; } #vp_udfRefresh:hover { cursor: pointer; -} +} */ /* 삭제 버튼 */ .vp-del-col { @@ -243,6 +244,9 @@ border: 0.25px solid var(--border-gray-color); box-sizing: border-box; } +.vp-sn-item-header.selected { + background: #F5F5F5; +} .vp-sn-item-header .vp-sn-indicator { display: inline-block; cursor: pointer; @@ -255,18 +259,17 @@ .vp-sn-item-header .vp-sn-indicator.open { background-image: url(../../resource/chevron_big_down.svg) !important; } -.vp-sn-item-title { +#vp_udfPage .vp-sn-item-header input.vp-sn-item-title { width: calc(100% - 80px); outline: none; - border: 0.5px solid white !important; + background: transparent; + border: 0.5px solid transparent; } -.vp-sn-item.selected .vp-sn-item-title { - background: #F5F5F5; +#vp_udfPage .vp-sn-item-header.selected input.vp-sn-item-title { color: var(--font-hightlight); } -.vp-sn-item-title:focus { +#vp_udfPage .vp-sn-item-header input.vp-sn-item-title:focus { transition: 0.7s; - border: 1px solid #FFCF73; border: 0.5px solid var(--hightlight-color) !important; } .vp-sn-imported-item { diff --git a/resource/snippets/run.svg b/resource/snippets/run.svg new file mode 100644 index 00000000..8739260b --- /dev/null +++ b/resource/snippets/run.svg @@ -0,0 +1,6 @@ + diff --git a/src/api_block/blockContainer.js b/src/api_block/blockContainer.js index 7775c383..154200f6 100644 --- a/src/api_block/blockContainer.js +++ b/src/api_block/blockContainer.js @@ -1835,6 +1835,7 @@ define([ if (Object.keys(loaded).includes('initOption')) { loaded.initOption(function(funcJS) { that.appsMenu = new popupPage(funcJS, 'vp_appsCode'); + funcJS.wrapSelector = that.appsMenu.wrapSelector; // library page $(vpCommon.wrapSelector(vpCommon.formatString("#{0}", vpConst.OPTION_GREEN_ROOM), vpCommon.formatString(".{0}", vpConst.API_OPTION_PAGE))).each(function() { that.appsMenu.open({ diff --git a/src/api_block/init.js b/src/api_block/init.js index 6af645af..58a6b067 100644 --- a/src/api_block/init.js +++ b/src/api_block/init.js @@ -713,7 +713,7 @@ define([ */ $(document).on("fileReadSelected.fileNavigation", function(e) { // 선택 파일 확장자가 노트 세이브 파일인 경우만 동작 - if (e.path.substring(e.path.lastIndexOf(".") + 1) === vpConst.VP_NOTE_EXTENSION) { + if (e.file.substring(e.file.lastIndexOf(".") + 1) === vpConst.VP_NOTE_EXTENSION) { openNotePageAction_newVersion(); } }); @@ -723,7 +723,7 @@ define([ */ $(document).on("fileSaveSelected.fileNavigation", function(e) { // 선택 파일 확장자가 노트 세이브 파일인 경우만 동작 - if (e.path.substring(e.path.lastIndexOf(".") + 1) === vpConst.VP_NOTE_EXTENSION) { + if (e.file.substring(e.file.lastIndexOf(".") + 1) === vpConst.VP_NOTE_EXTENSION) { var selectedPath = $(vpCommon.wrapSelector(vpCommon.formatString("#{0}", vpConst.VP_NOTE_REAL_FILE_PATH))).val(); var saveFileName = selectedPath.substring(selectedPath.lastIndexOf("/") + 1); // FIXME: 여기부분 수정해야 함 diff --git a/src/common/vpPopupPage.js b/src/common/vpPopupPage.js index 04a6f65c..9e6bc313 100644 --- a/src/common/vpPopupPage.js +++ b/src/common/vpPopupPage.js @@ -67,12 +67,15 @@ define([ page.appendLine(''); // body end // button box - page.appendFormatLine('