2017-07-26 22:09:13 +08:00
|
|
|
@import '../../styles/mixin.scss';
|
|
|
|
|
2017-07-18 12:53:53 +08:00
|
|
|
.add-interface-box {
|
2017-07-31 18:20:43 +08:00
|
|
|
@include row-width-limit;
|
|
|
|
margin: 0 auto;
|
2017-07-18 12:53:53 +08:00
|
|
|
-webkit-box-flex: 1;
|
2017-07-27 16:29:28 +08:00
|
|
|
min-height: 5rem;
|
2017-07-18 12:53:53 +08:00
|
|
|
font-size: .14rem;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-07-27 20:06:49 +08:00
|
|
|
font-size: .12rem;
|
2017-07-18 12:53:53 +08:00
|
|
|
|
|
|
|
.content {
|
2017-07-26 14:54:14 +08:00
|
|
|
border-radius: 4px;
|
2017-07-28 10:55:38 +08:00
|
|
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
|
2017-07-18 12:53:53 +08:00
|
|
|
background: #FFF;
|
2017-07-28 16:16:53 +08:00
|
|
|
padding: 10px 20px 0 20px;
|
2017-07-28 10:55:38 +08:00
|
|
|
margin: 0 auto;
|
2017-08-01 15:34:01 +08:00
|
|
|
width: 1172px;
|
|
|
|
box-sizing: border-box;
|
2017-07-31 18:20:43 +08:00
|
|
|
|
2017-07-28 12:06:11 +08:00
|
|
|
.ant-tabs {
|
|
|
|
padding: 0 0 50px 0;
|
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-27 20:06:49 +08:00
|
|
|
.ant-tabs-content {
|
|
|
|
padding: 0 0 50px 0;
|
|
|
|
}
|
2017-07-31 18:20:43 +08:00
|
|
|
|
2017-07-27 20:06:49 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2017-07-26 12:31:42 +08:00
|
|
|
.mock {
|
|
|
|
float: right;
|
|
|
|
margin: 0 15px 0 0;
|
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-18 12:53:53 +08:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2017-07-27 20:06:49 +08:00
|
|
|
margin: 20px 0 0 40px;
|
2017-07-18 12:53:53 +08:00
|
|
|
|
|
|
|
th {
|
|
|
|
padding:0 10px;
|
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-18 12:53:53 +08:00
|
|
|
td {
|
2017-07-28 16:16:53 +08:00
|
|
|
padding: 11px 0;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.select {
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h3 {
|
2017-07-27 20:06:49 +08:00
|
|
|
font-size: .12rem;
|
2017-07-18 12:53:53 +08:00
|
|
|
margin: 0 10px 0 15px;
|
2017-07-27 20:06:49 +08:00
|
|
|
width: 100px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: right;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.url {
|
2017-07-27 20:06:49 +08:00
|
|
|
width: 16%;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.close {
|
|
|
|
font-size: .25rem;
|
|
|
|
color: #C44;
|
|
|
|
display: block;
|
|
|
|
margin: 0 0 0 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-18 12:53:53 +08:00
|
|
|
/* .req-header.css */
|
|
|
|
.req-header {
|
|
|
|
display: -webkit-box;
|
|
|
|
line-height: 32px;
|
2017-07-28 16:16:53 +08:00
|
|
|
margin: 12px 0 0 58px;
|
2017-07-18 12:53:53 +08:00
|
|
|
|
|
|
|
.req-h3 {
|
|
|
|
line-height: 32px;
|
2017-07-27 20:06:49 +08:00
|
|
|
font-weight: normal;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
-webkit-box-flex: 1;
|
|
|
|
margin: 0 0 0 24px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: -webkit-box;
|
2017-07-28 16:16:53 +08:00
|
|
|
margin: 0 0 16px 0;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin: 0 10px 0 20px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.req-content {
|
|
|
|
width: 220px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.req-save, .res-save {
|
2017-07-28 16:16:53 +08:00
|
|
|
margin: 0 0 0 167px;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-18 12:53:53 +08:00
|
|
|
/* .req-params.css */
|
|
|
|
.req-params {
|
|
|
|
display: -webkit-box;
|
2017-07-28 16:16:53 +08:00
|
|
|
margin: 22px 0 0 92px;
|
2017-07-28 13:50:58 +08:00
|
|
|
width: 562px;
|
2017-07-27 20:35:19 +08:00
|
|
|
height: 200px;
|
2017-07-27 20:06:49 +08:00
|
|
|
.req-h3 {
|
|
|
|
font-weight: normal;
|
2017-07-28 13:50:58 +08:00
|
|
|
margin: 0 0 0 8px;
|
2017-07-27 20:06:49 +08:00
|
|
|
}
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-26 12:31:42 +08:00
|
|
|
.res-params-box {
|
|
|
|
display: inline-block;
|
|
|
|
width: 530px;
|
|
|
|
float: left;
|
2017-07-27 20:06:49 +08:00
|
|
|
margin: 30px 0 0 50px;
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-26 12:31:42 +08:00
|
|
|
/* .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;
|
|
|
|
}
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-26 12:31:42 +08:00
|
|
|
/* Result.css */
|
2017-07-18 12:53:53 +08:00
|
|
|
.result {
|
2017-07-26 12:31:42 +08:00
|
|
|
display: inline-block;
|
2017-07-18 12:53:53 +08:00
|
|
|
line-height: 32px;
|
2017-07-27 20:06:49 +08:00
|
|
|
margin: 29px 0 0 20px;
|
2017-07-26 12:31:42 +08:00
|
|
|
width: 500px;
|
|
|
|
float: left;
|
2017-07-18 12:53:53 +08:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
2017-07-20 14:48:29 +08:00
|
|
|
border: 1px #CCC solid;
|
2017-07-24 19:43:13 +08:00
|
|
|
height: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 10px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2017-07-27 20:35:19 +08:00
|
|
|
height: 330px;
|
2017-07-24 19:43:13 +08:00
|
|
|
overflow-x: hidden;
|
2017-07-26 14:54:14 +08:00
|
|
|
overflow-y: auto;
|
2017-07-24 19:43:13 +08:00
|
|
|
line-height: 1.2;
|
2017-07-20 14:48:29 +08:00
|
|
|
}
|
2017-07-26 14:54:14 +08:00
|
|
|
|
2017-07-20 14:48:29 +08:00
|
|
|
.ant-tabs {
|
|
|
|
-webkit-box-flex: 1;
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
2017-07-28 16:16:53 +08:00
|
|
|
|
|
|
|
.ant-card-head {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
2017-07-24 19:43:13 +08:00
|
|
|
|
|
|
|
.dynamic-delete-button {
|
|
|
|
margin: 0 0 0 10px;
|
|
|
|
color: #CCC;
|
|
|
|
}
|
2017-07-18 12:53:53 +08:00
|
|
|
}
|
2017-07-26 22:09:13 +08:00
|
|
|
|
2017-07-28 16:16:53 +08:00
|
|
|
.ant-affix, .save-button {
|
|
|
|
padding: 20px 0;
|
2017-07-31 11:07:47 +08:00
|
|
|
background: #f1f3f6;
|
2017-07-31 11:11:23 +08:00
|
|
|
margin: 10px 0 0 0;
|
2017-07-28 16:16:53 +08:00
|
|
|
button {
|
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-26 16:25:34 +08:00
|
|
|
/* .mock-url-box.css */
|
|
|
|
.mock-url-box {
|
|
|
|
clear: both;
|
|
|
|
padding: 10px 0 0 0;
|
2017-07-28 16:16:53 +08:00
|
|
|
margin: 14px 0 0 96px;
|
2017-07-27 21:10:22 +08:00
|
|
|
zoom: 1;
|
|
|
|
overflow: hidden;
|
2017-07-28 12:06:11 +08:00
|
|
|
display: none;
|
2017-07-27 21:10:22 +08:00
|
|
|
.title {
|
|
|
|
float: left;
|
|
|
|
line-height: 35px;
|
|
|
|
}
|
2017-07-26 16:25:34 +08:00
|
|
|
p {
|
2017-07-28 13:50:58 +08:00
|
|
|
width: 47.3%;
|
2017-07-26 16:25:34 +08:00
|
|
|
height: 35px;
|
|
|
|
line-height: 35px;
|
|
|
|
border: 1px #DDD solid;
|
|
|
|
display: inline-block;
|
2017-07-27 20:06:49 +08:00
|
|
|
margin: 0 10px 0 8px;
|
2017-07-26 16:25:34 +08:00
|
|
|
padding: 0 0 0 10px;
|
2017-07-27 21:10:22 +08:00
|
|
|
float: left;
|
2017-07-28 13:50:58 +08:00
|
|
|
border-radius: 4px;
|
2017-07-26 16:25:34 +08:00
|
|
|
}
|
2017-07-27 20:06:49 +08:00
|
|
|
.host {
|
|
|
|
margin: 10px 0 0 80px;
|
|
|
|
}
|
2017-07-27 21:10:22 +08:00
|
|
|
#mock-clipboard {
|
|
|
|
margin: 3px 0 0 0;
|
2017-07-31 19:43:08 +08:00
|
|
|
background: #108ee9;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px 20px;
|
|
|
|
border: none;
|
|
|
|
color: #FFF;
|
2017-07-27 21:10:22 +08:00
|
|
|
}
|
2017-07-26 16:25:34 +08:00
|
|
|
}
|
2017-07-24 10:59:17 +08:00
|
|
|
|
2017-07-28 12:06:11 +08:00
|
|
|
.show-mock {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-07-24 10:59:17 +08:00
|
|
|
.loading {
|
|
|
|
display: none;
|
|
|
|
width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2017-08-01 15:10:39 +08:00
|
|
|
left: 0;
|
2017-07-24 10:59:17 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
background-size: 30%;
|
|
|
|
z-index: 10000;
|
2017-08-01 15:10:39 +08:00
|
|
|
.loading-css {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-align: center;
|
|
|
|
-webkit-box-pack: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2017-07-24 10:59:17 +08:00
|
|
|
}
|
|
|
|
.is-loading {
|
|
|
|
display: block;
|
|
|
|
}
|
2017-07-28 13:50:58 +08:00
|
|
|
.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;
|
|
|
|
}
|
2017-07-20 14:48:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#container {
|
|
|
|
max-width: 800px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
.w-e-text {
|
|
|
|
p, h1, h2, h3, h4, h5, table, pre {
|
|
|
|
line-height: auto;
|
|
|
|
margin: 0;
|
2017-07-27 20:06:49 +08:00
|
|
|
font-size: .12rem;
|
2017-07-20 14:48:29 +08:00
|
|
|
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;
|
2017-07-27 20:35:19 +08:00
|
|
|
border: 1px #DDD solid;
|
2017-07-28 13:50:58 +08:00
|
|
|
border-radius: 4px;
|
2017-07-20 14:48:29 +08:00
|
|
|
-webkit-box-flex: 1;
|
2017-07-28 13:50:58 +08:00
|
|
|
margin: 0 0 0 12px;
|
2017-07-20 14:48:29 +08:00
|
|
|
}
|
|
|
|
#res-cover {
|
|
|
|
background-color: #FFF;
|
|
|
|
height: 330px;
|
|
|
|
padding: 0 20px;
|
|
|
|
-webkit-box-flex: 1;
|
2017-07-26 14:54:14 +08:00
|
|
|
}
|