yapi/client/containers/Project/Interface/interface.scss

165 lines
3.8 KiB
SCSS
Raw Normal View History

2017-09-20 17:32:15 +08:00
@import '../../../styles/mixin.scss';
2017-09-19 20:04:18 +08:00
.left-menu{
min-height: 5rem;
// background: #FFF;
// .item-all-interface {
// background-color: red;
// }
// .ant-tabs-bar{
// border-bottom: none;
// margin-bottom: 0
// }
2017-09-20 17:32:15 +08:00
.ant-tag {
margin-right: .16rem;
}
2017-09-19 20:04:18 +08:00
.ant-tabs-nav{
width:100%;
2017-09-20 17:32:15 +08:00
background-color: $color-bg-gray;
2017-09-19 20:04:18 +08:00
}
.ant-tabs-tab{
min-width: 50%;
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab{
height: 39px;
2017-09-20 17:32:15 +08:00
background: #fff;
2017-09-19 20:04:18 +08:00
border-bottom: 0;
2017-09-20 17:32:15 +08:00
border-radius: 0;
2017-09-19 20:04:18 +08:00
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab:nth-of-type(2) {
border-left: 0;
}
2017-09-20 17:32:15 +08:00
// .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab:last-of-type {
// border-right: 0;
// }
2017-09-19 20:04:18 +08:00
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active{
height: 40px;
2017-09-20 17:32:15 +08:00
background-color: $color-bg-dark;
color: $color-white;
2017-09-19 20:04:18 +08:00
}
2017-08-21 12:05:18 +08:00
2017-09-19 20:04:18 +08:00
.ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-nav-container{
height: 40px;
}
.ant-tabs.ant-tabs-card > .ant-tabs-bar{
text-align: center;
// background: #ececec;
}
2017-08-16 10:56:42 +08:00
2017-09-19 20:04:18 +08:00
.ant-tabs-nav-wrap{
height: 40px;
line-height: 31px;
// border-bottom: 1px solid #d9d9d9;
}
.ant-input {
width: 100%;
}
.interface-filter{
2017-09-20 17:32:15 +08:00
padding: 12px 16px;
padding-right: 58px;
2017-09-19 20:04:18 +08:00
line-height: 32px;
2017-09-20 17:32:15 +08:00
background-color: $color-bg-dark;
2017-09-19 20:04:18 +08:00
position: relative;
}
.btn-filter {
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.interface-list{
.cat_switch_hidden{
.ant-tree-switcher{
visibility: hidden;
}
2017-08-21 12:05:18 +08:00
}
2017-09-19 20:04:18 +08:00
a{
color: #333
2017-08-16 10:56:42 +08:00
}
2017-09-19 20:04:18 +08:00
.btn-http{
height: 23px;
font-size: 10px;
margin-right: 7px;
padding: 0 5px;
width:auto !important;
2017-09-14 16:58:54 +08:00
}
2017-09-19 20:04:18 +08:00
.interface-item{
display: inline-block;
overflow: hidden;
top: 0px;
line-height: 100%;
2017-09-14 16:58:54 +08:00
}
2017-09-19 20:04:18 +08:00
.interface-item-nav{
line-height:25px;
2017-08-11 17:25:57 +08:00
}
.interface-list{
.cat_switch_hidden{
.ant-tree-switcher{
visibility: hidden;
}
}
2017-09-14 16:58:54 +08:00
2017-08-18 20:35:31 +08:00
a{
color: #333
}
2017-08-11 17:25:57 +08:00
.btn-http{
height: 23px;
font-size: 10px;
margin-right: 7px;
padding: 0 5px;
2017-08-29 11:30:57 +08:00
width:auto !important;
2017-08-11 17:25:57 +08:00
}
2017-08-16 18:04:16 +08:00
.interface-item{
display: inline-block;
overflow: hidden;
2017-09-06 14:00:37 +08:00
top: 0px;
line-height: 100%;
2017-09-19 17:59:36 +08:00
text-decoration: none;
2017-08-16 18:04:16 +08:00
}
2017-08-31 14:37:43 +08:00
.interface-item-nav{
line-height:25px;
}
2017-08-11 17:25:57 +08:00
2017-09-19 20:04:18 +08:00
.ant-tree-node-content-wrapper{
width: 100%
}
2017-08-18 20:35:31 +08:00
.interface-delete-icon{
2017-08-18 20:35:31 +08:00
position: relative;
2017-08-31 14:37:43 +08:00
right: 21px;
2017-09-06 14:00:37 +08:00
// top: 2px;
2017-08-31 14:37:43 +08:00
float: right;
line-height: 25px;
width: 30px;
2017-08-11 17:25:57 +08:00
}
2017-09-19 17:59:36 +08:00
.interface-delete-icon:hover {
color: #2395f1;
border-radius: 4px;
box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
}
2017-08-11 17:25:57 +08:00
}
}
2017-09-19 20:04:18 +08:00
}
2017-09-14 16:58:54 +08:00
2017-09-19 20:04:18 +08:00
.right-content{
margin:3px;
min-height: 5rem;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
background: #fff;
border-radius:5px;
.interface-content{
.ant-tabs-nav{
width:100%
}
.ant-tabs-nav-wrap{
text-align: left;
2017-08-11 17:25:57 +08:00
}
}
}