ze-react-component-library
Version:
ZeroETP React Component Library
66 lines (63 loc) • 1.16 kB
text/less
@import "~antd/es/style/themes/default.less";
.ze-json-editor {
position: relative;
.jsoneditor-poweredBy {
display: none;
}
.jsoneditor-search {
right: 32px;
}
.ze-full-screen-btn,
.ze-json-editor-by-js {
position: absolute;
top: 4px;
line-height: 1.6;
color: rgba(white, 0.8);
font-size: 1.2em;
z-index: 2;
}
.ze-json-editor-by-js {
top: 6px;
right: 32px;
font-size: 14px;
border: 1px solid rgba(white, 0.8);
padding: 0 12px;
cursor: pointer;
&.tree {
right: 220px;
}
}
&.mode-changeable {
.jsoneditor-menu {
padding-left: 80px;
}
}
.ze-json-editor-mode-switcher {
position: absolute;
top: 2px;
left: 4px;
z-index: 1;
color: rgba(white, 0.8);
max-width: 80px;
.ant-select-arrow {
color: rgba(white, 0.5);
}
}
}
.ze-json-editor-js-modal {
.ant-modal-body {
height: 50vh;
display: flex;
flex-direction: column;
.ze-ts-editor {
> div {
height: 100%;
}
}
.ze-ts-editor,
#ze-ts-editor {
width: 100% ;
height: 100% ;
}
}
}