123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- .c-view {
- height: 100%;
- background: #eeeeee;
- //width: 716px;
- width: 100%;
- position: relative;
- }
- .box {
- @include webkitbox(2);
- }
- .box-hd {
- padding: 0 16px;
- border-bottom: 1px solid #d6d6d6;
- .title-wrap {
- position: relative;
- padding: 10px 0;
- font-size: 14px;
- color: #000;
- line-height: 40px;
- height: 40px;
- @include clearfix();
- &:before {
- content: "";
- display: inline-block;
- vertical-align: middle;
- margin-right: 10px;
- width: 2px;
- height: 12px;
- background: #299ef4;
- }
- span {
- float: right;
- color: #999999;
- cursor: pointer;
- }
- }
- }
- .box-bd {
- padding: 0 16px 16px;
- @include flex(1);
- overflow-y: auto;
- overflow-x: hidden;
- }
- .list-group {
- display: flex;
- flex-wrap: wrap;
- margin-right: -10%;
- }
- .group-item {
- margin: 30px 4% 0 0;
- width: 20%;
- cursor: pointer;
- position: relative;
- @include webkitbox(1);
- &.current {
- background: #3f424c;
- cursor: default;
- }
- .info {
- @include flex(1);
- position: relative;
- margin-left: 12px;
- }
- h3 {
- font-size: 12px;
- color: #333333;
- line-height: 20px;
- font-weight: 700;
- @include ellipsis;
- }
- p {
- font-size: 12px;
- color: #7c8ca5;
- margin: 10px 0 12px 0;
- padding-left: 20px;
- @include ellipsis;
- background: url("../../assets/recommend-group.png") 0 center no-repeat;
- }
- .avatar-wrap {
- position: relative;
- height: 50px;
- }
- .user-avatar {
- width: 50px;
- height: 50px;
- line-height: 50px;
- }
- img.user-avatar {
- display: block;
- }
- .el-button {
- padding: 0;
- border-radius: 2px;
- width: 48px;
- height: 20px;
- font-size: 12px;
- }
- .icon-auth {
- position: absolute;
- bottom: 0;
- right: 0;
- width: 14px;
- height: 13px;
- background: url("../../assets/icon-chat-auth.png");
- }
- }
- @media screen and (max-width: 900px) {
- .group-item {
- width: 28%;
- margin-right: 4%;
- }
- }
- //左侧边栏
- .c-panel-nav {
- .title-wrap {
- text-align: center;
- color: #fff;
- font-size: 12px;
- padding: 0;
- border-bottom: 1px solid #3e4046;
- &::before{
- display: none;
- }
- }
- .c-view,
- .box {
- background: transparent;
- }
- .box-hd {
- border-color: #3e4046;
- }
- .box-bd {
- padding: 0;
- }
- .list-group {
- margin-right: 0;
- }
- .group-item {
- width: 100%;
- padding: 10px 13px 10px 20px;
- margin: 0;
- h3 {
- color: #fff;
- font-weight: normal;
- }
- p {
- margin: 6px 0 0 0;
- }
- }
- .avatar-wrap {
- height: 40px;
- }
- .user-avatar {
- width: 40px;
- height: 40px;
- line-height: 40px;
- }
- .el-button {
- position: absolute;
- top: 10px;
- right: 0;
- }
- }
|