/*
 * JSON 编辑器工具页样式
 * ============================================================================
 * 版权所有 (C) 西安尊云信息科技有限公司，并保留所有权利。
 * 网站地址: http://www.zunyunkeji.com
 * ----------------------------------------------------------------------------
 * 许可声明：未经许可不得将本软件的整体或任何部分用于商业用途及再发布。
 * ============================================================================
 * Author: 缘境 (yvsm@zunyunkeji.com) QQ:316430983 微信：yvsm316
 */

.je-shell{position:relative;}
.je-top{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    flex-wrap:wrap;margin:0 0 12px;
}
.je-top__right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.je-mode-tip{font-size:12px;color:#888;line-height:1.4;}
.je-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px;}

.je-editor{
    height:560px;border:1px solid #e6e6e6;background:#fff;min-height:360px;
}
.je-editor .jsoneditor{
    border:0;border-radius:0;
}
.je-editor .jsoneditor-menu{
    background:#16baaa;border-bottom:1px solid #14a99a;
}
.je-editor .jsoneditor-menu > button,
.je-editor .jsoneditor-menu > .jsoneditor-modes > button{
    background-color:transparent;
}
.je-editor .jsoneditor-menu a.jsoneditor-poweredBy{
    color:rgba(255,255,255,.75)!important;
}
.je-editor .jsoneditor-navigation-bar{
    background:#f7f8fa;border-bottom:1px solid #eee;color:#666;font-size:12px;
}
.je-editor .jsoneditor-tree,
.je-editor .jsoneditor-text-errors,
.je-editor .ace-jsoneditor{
    font-family:Consolas,Monaco,"Courier New",monospace;
}
.je-editor .jsoneditor-statusbar{
    background:#f7f8fa;border-top:1px solid #eee;color:#888;font-size:12px;
}
.je-editor .jsoneditor-frame,
.je-editor .jsoneditor-text{
    background:#fff;
}
.je-editor div.jsoneditor-tree button.jsoneditor-button:focus{
    background-color:rgba(22,186,170,.12);
    outline:1px solid #16baaa;
}

/* 全屏 */
.je-shell.is-fullscreen{
    position:fixed;inset:0;z-index:10000;margin:0;padding:16px;
    background:#f2f3f5;box-sizing:border-box;overflow:auto;
}
.je-shell.is-fullscreen .je-editor{
    height:calc(100vh - 150px);
}
body.je-fs-lock{overflow:hidden;}

@media (max-width:800px){
    .je-editor{height:420px;}
    .je-mode-tip{display:none;}
    .je-shell.is-fullscreen .je-editor{height:calc(100vh - 190px);}
}
