yapi/client/containers/User/index.scss

236 lines
4.4 KiB
SCSS
Raw Normal View History

2017-07-26 22:09:13 +08:00
@import '../../styles/mixin.scss';
2017-07-27 14:35:27 +08:00
.g-doc {
2017-07-31 18:20:43 +08:00
margin: 0 auto .24rem;
2017-07-27 14:35:27 +08:00
}
2017-07-14 19:47:12 +08:00
/* .user-box.css */
.user-box {
2017-07-26 22:09:13 +08:00
@include row-width-limit;
2017-07-31 18:20:43 +08:00
padding: 0;
2017-07-14 19:47:12 +08:00
display: -webkit-box;
-webkit-box-flex: 1;
2017-07-31 18:20:43 +08:00
margin: 0 auto;
2017-08-09 20:09:59 +08:00
margin-top: 24px;
2017-07-14 19:47:12 +08:00
.user-list {
2017-07-20 16:44:41 +08:00
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
background: #FFF;
2017-07-27 19:08:40 +08:00
border-radius:4px;
min-height: 5rem;
2017-07-19 13:58:12 +08:00
.search{
2017-07-27 12:01:56 +08:00
padding: 5px;
background-color: #eee;
2017-07-14 19:47:12 +08:00
}
2017-07-20 16:44:41 +08:00
ul{border:none}
2017-07-27 12:01:56 +08:00
.ant-menu-item{
2017-08-24 11:00:10 +08:00
font-size: 18px;
2017-07-27 12:01:56 +08:00
}
2017-07-14 19:47:12 +08:00
}
2017-07-26 16:37:51 +08:00
.user-name{
2017-07-27 19:08:40 +08:00
padding: .24rem;
2017-07-26 16:37:51 +08:00
background-color: #34495e;
color: white;
2017-08-24 11:00:10 +08:00
font-size: 18px;
2017-07-27 19:08:40 +08:00
border-top-left-radius: 4px;
border-top-right-radius: 4px;
2017-07-26 16:37:51 +08:00
span{
2017-07-27 15:50:04 +08:00
margin-right: 5px;
2017-07-26 16:37:51 +08:00
}
}
.router-content{
min-height:calc(100% - 2.47rem);
}
2017-07-14 19:47:12 +08:00
.user-table {
-webkit-box-flex: 1;
2017-07-26 16:37:51 +08:00
padding: 24px;
2017-09-20 18:45:47 +08:00
background: #fff;
min-height: 5rem;
2017-07-14 19:47:12 +08:00
.ant-table-wrapper table {
2017-07-26 11:17:07 +08:00
// font-size: .14rem;
2017-07-14 19:47:12 +08:00
2017-07-26 11:17:07 +08:00
a {
2017-09-20 12:18:46 +08:00
// font-size: 13px;
2017-07-14 19:47:12 +08:00
}
}
2017-07-26 11:17:07 +08:00
2017-07-14 19:47:12 +08:00
}
2017-07-17 11:01:05 +08:00
.user-profile {
-webkit-box-flex: 1;
2017-09-20 18:45:47 +08:00
background: #fff;
min-height: 5rem;
2017-08-24 11:00:10 +08:00
position: relative;
.edit-buttons{
.edit-button{
text-align: center;
margin-right:10px;
}
}
2017-08-24 11:00:10 +08:00
.bacToPer{
position: absolute;
2017-08-24 13:55:08 +08:00
right: 8px;
top: 8px;
2017-08-24 11:00:10 +08:00
z-index: 3;
}
.user-item-body{
2017-08-24 19:27:48 +08:00
width: 95%;
2017-08-24 13:55:08 +08:00
margin: 0px auto;
2017-08-24 11:00:10 +08:00
padding: 32px;
position: relative;
2017-08-24 13:55:08 +08:00
// box-shadow: 0 4px 6px rgba(50, 50, 93, 0.3), 0 1px 3px rgba(0, 0, 0, 0.01);
2017-08-24 15:39:22 +08:00
h3{
font-size: 20px;
font-weight: 500;
margin-bottom: 16px;
}
2017-08-24 11:00:10 +08:00
.user-item-mask-top{
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
background: black;
z-index: 2;
opacity: .7;
}
.user-item-mask{
position: absolute;
top: 0px;
left: 0px;
height: 0px;
width: 100%;
height: 100%;
overflow: hidden;
background-color: rgba(0,0,0,0.70);
}
.user-item{
position: relative;
z-index: 3;
padding: 8px 0px;
2017-09-20 18:45:47 +08:00
2017-08-24 11:00:10 +08:00
.maoboli{
2017-08-24 15:39:22 +08:00
// background-color: rgba(225,225,225,0.16);
2017-08-24 11:00:10 +08:00
position: absolute;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
}
2017-09-20 18:45:47 +08:00
2017-08-24 11:00:10 +08:00
}
}
2017-07-17 11:01:05 +08:00
.user-item {
min-height:35px;
line-height:35px;
margin: 5px;
2017-07-27 12:01:56 +08:00
margin-left: 0px;
2017-08-24 11:00:10 +08:00
font-size: 14px;
2017-07-27 12:01:56 +08:00
#old_password,#password,#verify_pass{
margin-top: 20px;
}
#old_password{
margin-top: 0px;
}
2017-07-27 15:17:46 +08:00
.ant-col-12{
.ant-input{
2017-07-27 18:19:17 +08:00
width: 60%;
2017-07-27 19:08:40 +08:00
margin-right: 16px;
2017-07-27 15:17:46 +08:00
}
}
2017-07-26 11:17:07 +08:00
.ant-col-4{
2017-08-24 15:39:22 +08:00
color: rgba(71, 86, 99, .8);
font-weight: 500;
2017-07-27 19:08:40 +08:00
padding: 0px 16px;
2017-07-26 11:17:07 +08:00
text-indent: .7em;
margin-right: 30px;
2017-07-27 20:28:29 +08:00
white-space: nowrap;
2017-08-24 15:39:22 +08:00
text-align: right;
2017-08-24 19:27:48 +08:00
width: 130px;
2017-07-26 11:17:07 +08:00
}
.text{
padding-right: 16px;
2017-07-26 11:17:07 +08:00
}
2017-07-17 11:01:05 +08:00
.text-button{
color: #657289;
cursor: pointer
}
}
}
2017-07-27 19:08:40 +08:00
.user-nav {
border-bottom-left-radius: .04rem;
border-bottom-right-radius: .04rem;
}
2017-08-11 12:19:31 +08:00
.avatar-uploader{
border: none;
2017-08-24 13:55:08 +08:00
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.31), 0 1px 3px rgba(0, 0, 0, 0.08);
2017-08-11 12:19:31 +08:00
}
2017-08-09 20:09:59 +08:00
.avatar-uploader,
2017-08-11 20:21:56 +08:00
.avatar-uploader-trigger{
width: 100px;
height: 100px;
2017-08-11 12:19:31 +08:00
overflow: hidden;
2017-08-11 20:21:56 +08:00
border-radius: 50px;
}
.avatar{
width: 100px;
2017-08-24 11:00:10 +08:00
min-height: 100px;
2017-08-17 16:55:52 +08:00
}
.avatarImg{
width: 100px;
border-radius: 50px;
2017-08-17 20:08:10 +08:00
overflow: hidden;
height: 100px;
2017-08-24 11:00:10 +08:00
background-color: white;
2017-08-24 13:55:08 +08:00
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.31), 0 1px 3px rgba(0, 0, 0, 0.08);
2017-08-24 19:27:48 +08:00
margin-left: 60px;
2017-08-17 20:08:10 +08:00
img{
width: 100%;
}
2017-08-09 20:09:59 +08:00
}
.avatar-uploader {
display: block;
cursor: pointer;
2017-08-24 11:00:10 +08:00
height: 100px;
2017-08-09 20:09:59 +08:00
}
2017-08-11 17:49:47 +08:00
.ant-upload-list{
display: none;
}
2017-08-24 11:00:10 +08:00
.avatar-box{
width: 100px;
2017-08-24 13:55:08 +08:00
position: relative;
2017-08-24 19:27:48 +08:00
margin-left: 60px;
2017-08-24 11:00:10 +08:00
}
.avatarCon{
2017-08-24 15:39:22 +08:00
// background: gray;
2017-08-24 11:00:10 +08:00
padding: 16px 0px;
width: 100%;
overflow: hidden;
position: relative;
2017-09-20 18:45:47 +08:00
2017-08-24 11:00:10 +08:00
}
2017-09-20 18:45:47 +08:00
2017-08-09 20:09:59 +08:00
.avatar-uploader-trigger {
display: table-cell;
vertical-align: middle;
font-size: 28px;
color: #999;
}
2017-08-11 12:19:31 +08:00
.avatarChange{
display: block;
2017-08-24 11:00:10 +08:00
width: 300px;
2017-08-11 12:19:31 +08:00
text-align: center;
2017-08-24 11:00:10 +08:00
padding: 8px;
margin-left: -100px;
color: #ececec;
2017-08-24 13:55:08 +08:00
position: absolute;
top: 0px;
2017-08-11 12:19:31 +08:00
}
2017-08-24 11:00:10 +08:00
2017-07-26 22:09:13 +08:00
}