@inceptiongt/json-schema-editor-visual-new
Version:
jsonschema-draft07 editor
188 lines (145 loc) • 3.49 kB
CSS
@charset "utf-8";
/* 设置滚动条的样式 */
::-webkit-scrollbar {
width: 6px;
}
/* 外层轨道 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset006pxrgba(255,0,0,0.3);
background: rgba(255, 255, 255, 0.1);
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius: 4px;
background: rgba(0,0,0,0.2);
-webkit-box-shadow: inset006pxrgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(0,0,0,0.2);
}
.json-schema-react-editor {
font-size: 14px;
}
.json-schema-react-editor .array-item-type {
text-align: left
}
.json-schema-react-editor .add-btn {
margin: 8px;
}
.json-schema-react-editor .pretty-editor{
border: 1px solid #d9d9d9;
border-radius: 4px;
height: 800px;
}
.json-schema-react-editor .import-json-button{
margin: 5px;
}
.json-schema-react-editor .certain-category-search .ant-select-selection--single {
height: 32px;
}
.json-schema-react-editor .certain-category-search .ant-select-search__field__wrap {
display: unset;
}
.json-schema-react-editor .option-formStyle{
/* padding-left: 25px; */
padding-Top: 8px
}
.json-schema-react-editor .required-icon {
font-size: 1em;
color: red;
font-weight: bold;
padding-left: 5px
}
.json-schema-react-editor .object-style {
/* border-left: 2px dotted gray; */
/* padding-left: 8px; */
padding-top: 6px;
/* margin-left: 20px; */
margin-top: 8px;
}
.json-schema-react-editor .col-item-type{
text-align: center
}
.json-schema-react-editor .down-style {
cursor: pointer;
}
.json-schema-react-editor .col-item-desc{
text-align: center
}
.json-schema-react-editor .col-item-mock{
text-align: center;
padding-right: 6px;
}
.json-schema-react-editor .col-item-setting{
padding-left: 6px;
cursor: pointer;
}
.json-schema-react-editor .plus {
color: #2395f1
}
.json-schema-react-editor .close {
color: #ff561b
}
.json-schema-react-editor .array-type {
margin-top: 8px;
}
.json-schema-react-editor .delete-item {
padding-right: 8px;
}
.json-schema-react-editor .object-style .name-item .ant-input-group-addon {
background-color: unset;
border: unset;
}
.json-schema-react-editor .object-style .name-item .ant-input-group > .ant-input:first-child, .ant-input-group-addon:first-child {
border-bottom-right-radius: 4px;
border-top-right-radius: 4px;
}
.json-schema-react-editor .icon-object {
color: #0d1b3ea6;
font-weight: 400;
font-size: 10px;
}
.json-schema-react-editor .down-style-col{
width: 10px;
}
.json-schema-react-editor .wrapper{
padding-left: 8px;
}
/* .schema-content {
margin-left: 20px;
} */
.json-schema-react-editor .adv-set {
padding-right: 8px;
color: #00a854;
}
.json-schema-react-editor .type-select-style {
width: 90%
}
.json-schema-react-editor-import-modal .ant-tabs-nav .ant-tabs-tab{
height: auto
}
.json-schema-react-editor-adv-modal .other-row {
margin-bottom: 16px;
}
.json-schema-react-editor-adv-modal .other-label {
text-align: right;
padding-right: 8px;
}
.json-schema-react-editor-adv-modal .default-setting {
font-size: 16px;
font-weight: 400;
margin-bottom: 16px;
border-left: 3px solid #2395f1;
padding-left: 8px;
}
.json-schema-react-editor-adv-modal .ant-modal-body{
min-height: 400px;
}
.json-schema-react-editor-adv-modal .ant-modal-body .ace_editor {
min-height: 350px;
}
.json-schema-react-editor-adv-modal-select .format-items-title {
color: #999;
position: absolute;
right: 16px;
}