@import '../../styles/mixin.scss'; .add-interface-box { -webkit-box-flex: 1; min-height: 5rem; font-size: .14rem; overflow-x: hidden; overflow-y: auto; font-size: .12rem; .content { max-width: 11.7rem; min-width: 11.7rem; border-radius: 4px; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2); background: #FFF; padding: 10px 20px 0 20px; margin: 0 auto; .ant-tabs { padding: 0 0 50px 0; } .ant-tabs-content { padding: 0 0 50px 0; } .border { zoom: 1; overflow: hidden; } .ant-card-body { padding: 0; } .ant-tabs-nav { float: left; } .req-title { margin: 40px 0 0 30px; color: #666; font-weight: normal; } .mock { float: right; margin: 0 15px 0 0; } table { width: 100%; margin: 20px 0 0 40px; th { padding:0 10px; } td { padding: 11px 0; } .select { height: 32px; } .h3 { font-size: .12rem; margin: 0 10px 0 15px; width: 100px; display: inline-block; text-align: right; } .url { width: 16%; } } .close { font-size: .25rem; color: #C44; display: block; margin: 0 0 0 10px; cursor: pointer; } /* .req-header.css */ .req-header { display: -webkit-box; line-height: 32px; margin: 12px 0 0 58px; .req-h3 { line-height: 32px; font-weight: normal; } ul { -webkit-box-flex: 1; margin: 0 0 0 24px; li { display: -webkit-box; margin: 0 0 16px 0; } .title { margin: 0 10px 0 20px; display: block; } .req-content { width: 220px; } } } .req-save, .res-save { margin: 0 0 0 167px; } /* .req-params.css */ .req-params { display: -webkit-box; margin: 22px 0 0 92px; width: 562px; height: 200px; .req-h3 { font-weight: normal; margin: 0 0 0 8px; } } .res-params-box { display: inline-block; width: 530px; float: left; margin: 30px 0 0 50px; /* .req-save.css */ .res-params { display: -webkit-box; line-height: 32px; padding: 20px 0 0 0; border-top: 1px #EEE solid; margin: 20px 0 0 0; ul { -webkit-box-flex: 1; margin: 0 0 0 24px; li { display: -webkit-box; } .required { margin: 0 10px 0 20px; } .title { margin: 0 10px; display: block; } } } } /* Result.css */ .result { display: inline-block; line-height: 32px; margin: 29px 0 0 20px; width: 500px; float: left; textarea { width: 100%; border: 1px #CCC solid; height: 300px; } pre { padding: 10px; box-sizing: border-box; width: 100%; height: 330px; overflow-x: hidden; overflow-y: auto; line-height: 1.2; } .ant-tabs { -webkit-box-flex: 1; } .ant-card-head { cursor: not-allowed; } } .dynamic-delete-button { margin: 0 0 0 10px; color: #CCC; } } .ant-affix, .save-button { padding: 20px 0; background: #f1f3f6; margin: 10px 0 0 0; button { margin: 0 auto; display: block; } } /* .mock-url-box.css */ .mock-url-box { clear: both; padding: 10px 0 0 0; margin: 14px 0 0 96px; zoom: 1; overflow: hidden; display: none; .title { float: left; line-height: 35px; } p { width: 47.3%; height: 35px; line-height: 35px; border: 1px #DDD solid; display: inline-block; margin: 0 10px 0 8px; padding: 0 0 0 10px; float: left; border-radius: 4px; } .host { margin: 10px 0 0 80px; } #mock-clipboard { margin: 3px 0 0 0; } } .show-mock { display: block; } .loading { display: none; width: 100%; height: 100px; position: fixed; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); background-size: 30%; z-index: 10000; } .is-loading { display: block; } .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active, .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab { font-size: .12rem; margin-top: 3px; } } #container { max-width: 800px; margin: 0 auto; } body { .w-e-text { p, h1, h2, h3, h4, h5, table, pre { line-height: auto; margin: 0; font-size: .12rem; color: #777; font-family: 'Microsoft Yahei'; font-weight: normal; } } .w-e-toolbar { // display: none; height: 1px; overflow: hidden; border: none; } .w-e-text { padding: 15px; } } #toolbar-container { border: 1px solid #EEE; background-color: #fff; } #toolbar-container:after { display: table; content: ''; clear: both; } #editor-toolbar { float: left; } #btn-container { float: right; text-align: right; } #editor-text { border: 1px solid #EEE; border-top: 0; height: 300px; background-color: #fff; } #req-cover { padding: 0 20px; border: 1px #DDD solid; border-radius: 4px; -webkit-box-flex: 1; margin: 0 0 0 12px; } #res-cover { background-color: #FFF; height: 330px; padding: 0 20px; -webkit-box-flex: 1; }