@charset "UTF-8"; @import "base"; // @import "popup"; body{ background: #2b2c30; @media #{$desktop} { background: url('../../assets/bg.jpg') center top no-repeat; } .el-button{ padding: 8px 20px; } } .pub-scroll-box{ &::-webkit-scrollbar { width: 8px; height: 6px; } &::-webkit-scrollbar-thumb { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: rgba($color: #8d8a8a, $alpha: 0.2); } &::-webkit-scrollbar-track { background-color: transparent; } } .pub-modal-mask{ position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 999; background-color: rgba($color: #000000, $alpha: .7); text-align: center; &::after{ content: ''; display: inline-block; height: 100%; vertical-align: middle; } } .vb > .vb-dragger { z-index: 5; width: 8px; right: 0; min-width: 10px!important; } .vb > .vb-dragger > .vb-dragger-styler { -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: rotate3d(0,0,0,0); transform: rotate3d(0,0,0,0); -webkit-transition: background-color 100ms ease-out, margin 100ms ease-out, height 100ms ease-out; transition: background-color 100ms ease-out, margin 100ms ease-out, height 100ms ease-out; background-color: rgba(48, 121, 244,.1); // margin: 5px 0 5px 0; border-radius: 20px; // height: calc(100% - 10px); height: 100%; display: block; } .vb.vb-scrolling-phantom > .vb-dragger > .vb-dragger-styler { background-color: rgba(48, 121, 244,.3); } .vb > .vb-dragger:hover > .vb-dragger-styler { background-color: rgba(48, 121, 244,.5); margin: 0px; height: 100%; } .vb.vb-dragging > .vb-dragger > .vb-dragger-styler { background-color: rgba(48, 121, 244,.5); margin: 0px; height: 100%; } .vb.vb-dragging-phantom > .vb-dragger > .vb-dragger-styler { background-color: rgba(48, 121, 244,.5); } body, html{ height: 100%; } #app{ height: 100%; -webkit-overflow-scrolling: touch; } .box{ position: relative; background-color: #eee; height: 100%; overflow: hidden; } .mee-chat-logo{ position: absolute; background: url('../../assets/mee-logo.png') no-repeat; width: 84px; height: 96px; left: 50%; margin-left: -42px; top: 20px; } // 弹窗样式 .msgbox-fade-enter-active { animation: msgbox-fade-in .3s; } .msgbox-fade-leave-active { animation: msgbox-fade-out .3s; } @keyframes msgbox-fade-in { 0% { transform: translate3d(0, -20px, 0); opacity: 0; } 100% { transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes msgbox-fade-out { 0% { transform: translate3d(0, 0, 0); opacity: 1; } 100% { transform: translate3d(0, -20px, 0); opacity: 0; } } @keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fade-out { 0% { opacity: 1; } 100% { opacity: 0; } } .pub-wrapper{ position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 888; text-align: center; &:after{ content: ""; display: inline-block; height: 100%; width: 0; vertical-align: middle; } .pub-mask{ position: fixed; left: 0; top: 0; width: 100%; height: 100%; opacity: .5; background: #000; z-index: 1014; } } .pub-modal{ display: inline-block; vertical-align: middle; background-color: #ffffff; min-width: 330px; position: relative; z-index: 1015; padding: 0 18px 18px; box-sizing: border-box; .modal-hd{ .title{ font-size: 14px; color: #333333; text-align: center; height: 30px; line-height: 30px; padding-top: 10px; } i{ position: absolute; right: 6px; top: 6px; font-size: 20px; cursor: pointer; } } } // 头像 .avatar_bg0{background:#f5882b} .avatar_bg1{background:#cc90e2} .avatar_bg2{background:#80d066} .avatar_bg3{background:#6fb1e4} .avatar_bg4{background:#f98bae} .avatar_bg5{background:#ecd074} .avatar_bg6{background:#e57979} .avatar_bg7{background:#fba76f} .avatar_bg8{background:#73cdd0} .avatar_bg9{background:#fb60c4} .user-avatar{ width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 2px; cursor: pointer; &::before{ content: attr(data-name); color: #ffffff; font-size: 14px; } &:hover{ opacity: .8; } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }