yapi/client/containers/Project/Setting/Setting.scss

203 lines
3.8 KiB
SCSS
Raw Normal View History

2017-08-17 15:34:43 +08:00
.form-item {
margin-bottom: .16rem;
}
2017-08-17 22:19:58 +08:00
.breakline {
margin-top: .18rem;
margin-bottom: .18rem;
border: 0;
border-top: 1px solid #eeeeee;
}
.card-danger {
border-color: #ff561b;
border-radius: 4px;
.ant-card-body {
display: flex;
align-items: center;
2017-08-23 21:01:50 +08:00
padding: .24rem !important;
2017-08-17 22:19:58 +08:00
}
.card-danger-content {
flex: 1;
}
.card-danger-btn {
flex-grow: 0;
flex-shrink: 1;
}
}
2017-08-23 21:01:50 +08:00
.setting-project-member {
border: 1px solid #e9e9e9;
border-radius: 2px;
}
.setting-group {
2017-08-23 21:01:50 +08:00
margin-top: .48rem;
border-radius: 2px;
.ant-card-head {
background-color: #eee;
2017-08-24 18:06:38 +08:00
padding: 0 .08rem !important;
2017-08-24 15:20:40 +08:00
}
.ant-card-head-title {
font-size: .12rem;
float: inherit;
}
.ant-card-body {
2017-08-24 18:06:38 +08:00
padding: 0 !important;
}
.card-item {
padding: .1rem .15rem;
position: relative;
.item-img {
width: .2rem;
height: .2rem;
margin-right: .08rem;
2017-08-22 12:20:33 +08:00
vertical-align: middle;
}
.item-name {
position: absolute;
left: .43rem;
top: 50%;
transform: translateY(-50%);
}
.item-role {
position: absolute;
right: .15rem;
top: 50%;
transform: translateY(-50%);
}
}
.card-item + .card-item {
border-top: 1px solid #eee;
}
}
2017-08-23 10:36:24 +08:00
.project-setting {
.setting-logo {
text-align: right;
padding: .24rem;
cursor: pointer;
}
.setting-intro {
padding: .24rem;
height: 1.48rem;
display: flex;
align-items: center;
flex-wrap: wrap;
.ui-title {
font-size: .32rem;
font-weight: normal;
width: 100%;
}
.ui-desc {
font-size: .16rem;
}
}
.ui-logo {
width: 1rem;
height: 1rem;
border-radius: 50%;
2017-08-23 15:25:35 +08:00
font-size: .5rem;
2017-08-23 10:36:24 +08:00
color: #fff;
background-color: #2395f1;
line-height: 1rem;
box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
2017-08-23 17:23:54 +08:00
position: relative;
&:after {
opacity: 0;
content: '点击修改';
display: block;
transition: all .4s;
position: absolute;
left: 0;
top: 0;
border-radius: 50%;
font-size: .14rem;
color: #fff;
width: 100%;
height: 100%;
background-color: rgba(0,0,0, .25);
}
&:hover:after {
opacity: 1;
}
2017-08-23 10:36:24 +08:00
}
}
2017-08-23 15:25:35 +08:00
.change-project-container {
max-width: 320px;
.ant-popover-inner {
text-align: center;
}
.ant-popover-title {
padding: 8px .16rem;
height: auto;
}
.ant-radio-button-wrapper {
font-size: 16px;
border: none;
&:first-child {
border: none;
}
&:not(:first-child)::before {
display: none !important;
}
}
.ant-radio-button-wrapper-checked {
box-shadow: none;
color: #fff;
background-color: #2395f1;
border-radius: 4px;
}
2017-08-23 16:08:26 +08:00
.color {
// .ant-radio-button-wrapper {
// &:first-child {
// border: none;
// }
// }
.ant-radio-button-wrapper-checked {
border-radius: 0;
&:hover {
border: none;
box-shadow: none;
}
}
}
2017-08-23 15:25:35 +08:00
}
2017-08-23 21:01:50 +08:00
.danger-container {
margin-top: .48rem;
}
.btnwrap-changeproject {
text-align: center;
padding: .24rem 0;
margin: 0 -.24rem;
background: #fff;
background-image: linear-gradient(45deg, #d9d9d9 25%, transparent 0),linear-gradient(45deg, transparent 75%, #d9d9d9 0);
background-size: 4px 4px;
.btn-save {
background-color: #32325d;
font-size: .15rem;
font-weight: 200;
letter-spacing: 1px;
border: none;
line-height: .4rem;
height: .4rem;
padding: 0 .24rem;
margin-right: .24rem;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
transform: translateY(0);
transition: all .2s;
&:focus {
background-color: #43458b;
}
&:hover {
transform: translateY(-1px);
background-color: #43458b;
}
&:active {
transform: translateY(1px);
background-color: #32325d;
}
}
}