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

206 lines
4.3 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 18:21:01 +08:00
background-color: #ddd;
// 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;
2017-09-20 21:20:20 +08:00
padding-right: 110px;
2017-09-19 20:04:18 +08:00
line-height: 32px;
2017-09-20 18:21:01 +08:00
background-color: #ddd;
2017-09-19 20:04:18 +08:00
position: relative;
}
.btn-filter {
position: absolute;
2017-09-20 21:20:20 +08:00
right: 16px;
2017-09-19 20:04:18 +08:00
top: 50%;
transform: translateY(-50%);
}
2017-09-20 18:21:01 +08:00
.ant-tree li .ant-tree-node-content-wrapper {
2017-09-22 17:18:30 +08:00
width: calc(100% - 28px);
2017-09-20 18:21:01 +08:00
position: relative;
}
.interface-delete-icon{
position: relative;
right: 0;
float: right;
line-height: 25px;
width: 30px;
2017-09-20 20:32:20 +08:00
font-weight: bold;
2017-09-20 18:21:01 +08:00
}
2017-09-21 18:52:04 +08:00
.anticon-ellipsis {
transform: rotate(90deg);
}
2017-09-20 18:21:01 +08:00
.interface-delete-icon:hover {
color: #2395f1;
}
2017-09-19 20:04:18 +08:00
.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{
2017-09-22 17:18:30 +08:00
color: rgba(13, 27, 62, 0.65);
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-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-08-18 20:35:31 +08:00
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{
2017-09-21 18:44:39 +08:00
margin:3px;
min-height: 5rem;
background: #fff;
.interface-content{
.ant-tabs-nav{
width:100%;
// background-color: #ddd;
// color: $color-white;
2017-08-11 17:25:57 +08:00
}
2017-09-21 18:44:39 +08:00
.ant-tabs-nav-wrap{
text-align: left;
}
}
.interface-title {
2017-09-22 17:18:30 +08:00
clear: both;
2017-09-21 18:44:39 +08:00
font-weight: normal;
margin-top: .48rem;
margin-bottom: .16rem;
border-left: 3px solid #2395f1;
padding-left: 8px;
}
.container-radiogroup {
text-align: center;
margin-bottom: .16rem;
}
.panel-sub {
padding: .16rem;
}
.ant-radio-button-wrapper-checked {
color: #fff;
background-color: #2395f1;
&:hover {
color: #ddd;
}
}
2017-09-21 19:05:49 +08:00
.href {
color: #2395f1;
cursor: pointer;
}
2017-09-22 17:18:30 +08:00
.remark-editor {
background-color: #fff;
}
2017-09-22 17:49:15 +08:00
.remark {
table {
border-collapse: collapse;
}
th {
text-align: left;
}
th, td {
border: 1px solid #e9e9e9;
padding: 8px;
}
tr:nth-child(odd){background: rgba(236, 238, 241, 0.67);}
2017-09-22 17:18:30 +08:00
}
2017-08-11 17:25:57 +08:00
}