2
0
mirror of https://github.com/YMFE/yapi.git synced 2025-03-25 14:40:25 +08:00
2017-09-26 16:08:35 +08:00

134 lines
2.4 KiB
SCSS
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import '../../../../styles/mixin.scss';
.interface-edit{
padding: 24px;
.interface-edit-item{
margin-bottom: 16px;
}
.interface-edit-item.hide {
display: none;
}
.interface-edit-item-content{
margin-bottom: 16px;
.interface-edit-item-content-col{
padding:0 1px;
}
}
.interface-edit-del-icon{
margin-top: 10px;
margin-left: 5px;
cursor: pointer
}
.ant-select-selection__rendered{
line-height: 34px;
}
.interace-edit-desc{
height: 250px;
}
}
.table-interfacelist {
margin-top: .2rem;
white-space: nowrap;
table {
table-layout: fixed;
}
.path {
width: 100%;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
display: inline-block;
}
.colValue{
display: inline-block;
border-radius: 4px;
color: #00a854;
background: #cfefdf;
border-color: #cfefdf;
height: 23px;
line-height: 23px;
text-align: center;
font-size: 10px;
margin-right: 7px;
padding: 0 5px;
}
.ant-select-selection {
background-color: transparent;
border: none;
}
}
.toolTip .ant-tooltip-inner{
white-space: normal;
word-break: break-all;
}
// 容器左侧是header 右侧是body
.container-header-body {
display: flex;
padding-bottom: .36rem;
.header, .body {
flex: 1 0 300px;
.pretty-editor-header, .pretty-editor-body {
height: 100%;
}
.postman .pretty-editor-body {
min-height: 200px;
}
.ace_print-margin {
display: none;
}
}
.header {
max-width: 400px;
}
.container-title {
padding: .08rem 0;
}
.resizer {
flex: 0 0 21px;
position: relative;
&:after {
content: '';
display: block;
width: 1px;
height: 100%;
background-color: $color-text-dark;
opacity: .8;
position: absolute;
left: 10px;
}
}
// res body 无返回json时显示text信息
.res-body-text {
height: 100%;
border: 1px solid #d9d9d9;
border-radius: 4px;
padding: 8px;
}
}
.ant-spin-blur {
.res-code.success {
background-color: transparent;
}
.res-code.fail {
background-color: transparent;
}
}
.res-code {
padding: .08rem .28rem;
color: #fff;
margin-left: -.28rem;
margin-right: -.28rem;
transition: all .2s;
position: relative;
border-radius: 2px;
}
.res-code.success {
background-color: $color-antd-green;
}
.res-code.fail {
background-color: $color-antd-red;
}