yapi/client/containers/AddInterface/AddInterface.scss
2017-07-19 15:12:10 +08:00

165 lines
2.7 KiB
SCSS

.add-interface-box {
-webkit-box-flex: 1;
font-size: .14rem;
overflow-x: hidden;
overflow-y: auto;
.content {
max-width: 11rem;
margin: 0 auto;
background: #FFF;
padding: 10px 20px;
.save {
float: right;
margin: 0 0 10px 0;
}
table {
width: 100%;
border-top: 1px #EEE solid;
th {
padding:0 10px;
}
td {
padding: 10px 0;
}
.select {
height: 32px;
}
.h3 {
font-size: .14rem;
margin: 0 10px 0 15px;
}
.url {
margin: 0 0 0 15px;
width: 57.8%;
}
}
.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: 10px 0 0 0;
border-top: 1px #EEE solid;
padding: 15px 0 0 0;
.req-h3 {
line-height: 32px;
}
ul {
-webkit-box-flex: 1;
margin: 0 0 0 24px;
li {
display: -webkit-box;
margin: 0 0 10px 0;
}
.title {
margin: 0 10px 0 20px;
display: block;
}
.req-content {
width: 220px;
}
}
}
.req-save, .res-save {
margin: 5px 0 0 107px;
}
/* .req-params.css */
.req-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;
margin: 0 0 10px 0;
}
.required {
margin: 0 10px 0 20px;
}
.title {
margin: 0 10px;
display: block;
}
}
}
/* .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 {
display: -webkit-box;
line-height: 32px;
padding: 20px 0 0 0;
border-top: 1px #EEE solid;
margin: 20px 0 0 0;
.ant-tabs {
-webkit-box-flex: 1;
}
textarea {
width: 100%;
border: 1px #DDD solid;
border-radius: 3px;
padding: 10px;
font-size: .14rem;
height: 150px;
}
}
}
}