UNPKG

@thingjs-x4/xplugin-plugin

Version:

xplugin相关插件包,完成插件执行的相关辅助功能

201 lines (192 loc) 3.56 kB
html, body { height: 100%; width: 100%; padding: 0; margin: 0; border: 0; overflow: hidden; } #loading{ height: 200px; width: 200px; background-size: 100% 100%; background-image: url('../images/frame-loading.png'); } .xplugin { box-sizing: border-box; width: 100%; height: 100%; overflow: hidden; display: flex; border: 0; } #controlPanel { height: 100%; width: 315px; resize: horizontal; box-sizing: border-box; border: 0; border-right: 1px solid rgba(144, 147, 153, 0.48); background: #ffffff; z-index: 1; /* transition: all 0.5s ease; */ } .iframe { height: 100%; width: 100%; border: 0; } .iframeMark { width: 100%; height: 100%; position: absolute; top: 0; left: 0; display: none; } #scenePanel { height: 100%; flex: 1; box-sizing: border-box; border: 0; display: flex; justify-content: center; align-items: center; } #changeWidthLine { width: 5px; height: 100%; background-color: transparent; cursor: e-resize; border: 0; z-index: 1000; } .xplus-dialog { width: 400px; border-radius: 4px; box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3); font-family: PingFangSC, PingFangSC-Regular, sans-serif; font-weight: 400; position: absolute; color: #333333; background: #ffffff; top: 40px; left: 47px; padding: 20px; box-sizing: border-box; z-index: 2; display: none; } .xplus-dialog .dialogTitle { font-size: 14px; line-height: 20px; } .xplus-dialog .thingxInput { margin: 15px 0; font-size: 12px; line-height: 17px; display: flex; align-items: center; } .xplus-dialog .btns { display: flex; align-items: center; justify-content: right; font-size: 12px; font-family: PingFangSC, PingFangSC-Regular; font-weight: 400; } .xplus-dialog .btns .cancleBtn { width: 50px; height: 20px; background: #f0f2f5; border-radius: 4px; color: #4a4c50; line-height: 20px; text-align: center; margin-right: 10px; cursor: pointer; user-select: none; } .xplus-dialog .btns .saveBtn { width: 50px; height: 20px; background: #ff7a1e; border-radius: 4px; color: #ffffff; line-height: 20px; text-align: center; cursor: pointer; user-select: none; } .xplus-dialog input { margin-left: 5px; /* width: 268px; */ flex: 1; height: 24px; border: 1px solid rgba(151, 151, 151, 0.35); border-radius: 2px; padding: 0px 10px; } .plugin-preview { display: none; position: absolute; left: 315px; top: 50px; } .plugin-preview img { height: 200px; width: 200px; } .toolTips { position: fixed; z-index: 2000; top: 50px; left: 50%; transform: translateX(-50%); box-sizing: border-box; border-radius: 4px; border: 1px #ebeef5 solid; min-width: 380px; background-color: #edf2fc; color: #909399; transition: opacity 0.3s, transform 0.4s, top 0.4s; overflow: hidden; padding: 10px 15px 10px 30px; text-align: left; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif; font-weight: 400; opacity: 0; visibility: hidden; } .toolTips.error { background-color: #fef0f0; border-color: #fde2e2; color: #f56c6c; } .toolTips.warn { background-color: #fdf6ec; border-color: #faecd8; color: #e6a23c; } .noIframe { display: flex; justify-content: center; align-items: center; flex-direction: column; top: 200px; position: absolute; } .noIframe img { width: 300px; height: 300px; } .noIframe span { font-size: 18px; color: #4e4747; } #rightIframe { display: none; }