123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- .c-panel{
- position: relative;
- z-index: 1;
- width: 350px;
- height: 100%;
- background: #34363c;
- }
- .c-panel-header{
- position: relative;
- z-index: 2;
- width: 66px;
- height: 100%;
- float: left;
- background: #2d2f34;
- .avatar-wrap{
- width: 50px;
- height: 50px;
- border-radius: 3px;
- overflow: hidden;
- margin: 10px auto 20px;
- cursor: pointer;
- &:hover{
- opacity: 0.8;
- }
- img{
- width: 100%;
- display: block;
- overflow: hidden;
- }
- }
- .user-avatar{
- width: 50px;
- height: 50px;
- line-height: 50px;
- }
- }
- .panel-ctrls{
- li{
- color: #73849f;
- height: 50px;
- line-height: 50px;
- text-align: center;
- font-size: 20px;
- cursor: pointer;
- position: relative;
- &.current{
- color: #2982c7;
- background: #212328;
- cursor: default;
- &:after{
- content: "";
- position: absolute;
- left: 0;
- height: 10px;
- width: 2px;
- background: #2982c7;
- top: 50%;
- margin-top: -5px;
- }
- .mee-icon-chat{
- background: url('../../assets/chat-icon-active.png')
- }
- .friend-icon-chat{
- background: url('../../assets/friend-icon-active.png')
- }
- }
- }
- }
- .c-panel-nav{
- position: relative;
- z-index: 1;
- margin-left: 66px;
- height: 100%;
- width: 284px;
- @include webkitbox(2);
- a{
- text-decoration: none;
- }
- }
- .panel-searbar{
- position: relative;
- margin: 0 20px 20px;
- padding-top: 30px;
- @include webkitbox(1);
- .input-con{
- background: #2c2e34;
- color: #656b77;
- height: 30px;
- position: relative;
- @include flex(1);
- }
- input{
- font-size: 12px;
- color: #b1c0d8;
- line-height: 30px;
- background: none;
- margin: 0;
- border: none;
- outline: none;
- padding: 0 0 0 30px;
- display: block;
- width: 100%;
- box-sizing: border-box;
- }
- .el-icon-search{
- font-size: 20px;
- position: absolute;
- text-align: center;
- top: 0;
- left: 0;
- width: 30px;
- height: 30px;
- line-height: 30px;
- }
- .el-icon-plus{
- font-size: 16px;
- width: 30px;
- height: 30px;
- line-height: 30px;
- border-radius: 3px;
- background: #444750;
- color: #ffffff;
- text-align: center;
- margin-left: 10px;
- display: block;
- cursor: pointer;
- &:hover{
- opacity: 0.6;
- }
- }
- }
- .chat-list{
- overflow-y: auto;
- overflow-x: hidden;
- @include flex(1);
- }
- .mee-icon-chat{
- display: inline-block;
- vertical-align: middle;
- background: url('../../assets/chat-icon.png') center center no-repeat;
- width: 25px;
- height: 22px;
- }
- .friend-icon-chat{
- display: inline-block;
- vertical-align: middle;
- background: url('../../assets/friend-icon.png') center center no-repeat;
- width: 25px;
- height: 21px;
- }
- .group-recommand{
- height: 40px;
- line-height: 40px;
- padding: 6px 13px 20px 19px;
- color: #ffffff;
- cursor: pointer;
- border-bottom: 1px solid #3e4046;
- &:hover {
- background: #383b41;
- }
- &.current {
- background: #3f424c;
- cursor: default;
- }
- .group-icon{
- float: left;
- vertical-align: middle;
- height: 40px;
- width: 40px;
- border-radius: 4px;
- line-height: 40px;
- background: url('../../assets/group-icon.png') center center no-repeat;
- background-color: #2ca0f7;
- margin-right: 10px;
- }
- .title{
- margin-left: 50px;
- font-size: 14px;
- i{
- float: right;
- margin-top: 14px;
- }
- }
- }
- .ext{
- position: absolute;
- width: 24px;
- height: 24px;
- border-radius: 50%;
- background-color: #2398f1;
- line-height: 24px;
- font-size: 12px;
- text-align: center;
- color: #ffffff;
- right: 4px;
- top: 12px;
- }
- .panel-setting{
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- height: 60px;
- cursor: pointer;
- .panel-nav-icon{
- display: inline-block;
- background: url('../../assets/panel-nav-icon.png') center/20px 18px no-repeat;
- width: 100%;
- height: 100%;
- &.active,&:hover{
- background-color: #26282d;
- }
- }
- .menu{
- display: none;
- position: absolute;
- left: 66px;
- bottom: 0;
- z-index: 99;
- width: 160px;
- color: #7c8ca5;
- font-size: 14px;
- border-radius: 4px;
- overflow: hidden;
- user-select: none;
- &.active{
- display: block;
- }
- .item{
- cursor: pointer;
- height: 36px;
- line-height: 36px;
- background-color: #2f3137;
- padding-left: 14px;
- cursor: pointer;
- &:hover{
- background-color: #26282d;
- }
- }
- i{
- display: inline-block;
- vertical-align: middle;
- margin-right: 10px;
- width: 18px;
- height: 18px;
- }
- .icon-mute0{
- background: url('../../assets/icon-set-mute0.png') center /100% no-repeat;
- }
- .icon-mute1{
- background: url('../../assets/icon-set-mute1.png') center /100% no-repeat;
- }
- .icon-msg0{
- background: url('../../assets/icon-set-msg1.png') center /100% no-repeat;
- }
- .icon-msg1{
- background: url('../../assets/icon-set-msg0.png') center /100% no-repeat;
- }
- .icon-feedback{
- width: 16px;
- height: 14px;
- background: url('../../assets/icon-set-feedback.png') center /100% no-repeat;
- }
- .icon-lang{
- width: 17px;
- height: 17px;
- background: url('../../assets/icon-set-lang.png') center /100% no-repeat;
- }
- .icon-logout{
- width: 14px;
- height: 16px;
- background: url('../../assets/icon-set-logout.png') center /100% no-repeat;
- }
- .icon-psw{
- width: 14px;
- height: 16px;
- background: url('../../assets/icon-set-psw.png') center /100% no-repeat;
- }
- }
- }
|