123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345 |
- @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;
- }
- }
- body, html{
- height: 100%;
- }
- #app{
- height: 100%;
- -webkit-overflow-scrolling: touch;
- }
- .box{
- position: relative;
- background-color: #eee;
- height: 100%;
- overflow: hidden;
- }
- a{
- &:hover{
- text-decoration: none;
- }
- }
- .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;
- }
- }
- }
- .msg-item.you{
- .pub-pop-toolbar{
- left: 0;
- right: auto;
- &:before{
- left: 10px;
- }
- }
- }
- .pub-pop-toolbar {
- position: absolute;
- top: -46px;
- right: 0;
- background: rgba(0, 0, 0,0.85);
- border-radius: 5px;
- box-shadow: 1px 1px 50px rgba(212, 180, 180, 0.3);
- z-index: 11;
- user-select: none;
- text-align: center;
- height: 34px;
- line-height: 34px;
- display: flex;
- color: #FFF;
- &.ext-username{
- top: -60px;
- }
- &:before{
- content: "";
- position: absolute;
- bottom: -12px;
- right: 10px;
- @include triangle-down(6px,rgba(0, 0, 0,0.85));
- }
- &.ext-session{
- right: auto;
- background: #FFF;
- color: #333333;
- display: block;
- height: auto;
- text-align: left;
- overflow: hidden;
- box-shadow: 0px 1px 5px 1px #4f4f4f;
- &::before{
- display: none;
- }
- li{
- padding: 0 10px;
- border-top: 1px solid #f5f5f5;
- &:hover{
- background: #f5f5f5;
- }
- &:first-child{
- border: 0;
- }
- }
- }
- li {
- cursor: pointer;
- font-size: 14px;
- position: relative;
- padding: 0 10px;
- white-space: nowrap;
- &:before{
- content: "";
- position: absolute;
- top: 50%;
- left: 0;
- margin-top: -10px;
- width: 1px;
- height: 20px;
- background: rgba(255,255,255,0.5);
- }
- &:first-child{
- &:before{
- display: none;
- }
- }
- &.split-line{
- display: none;
- }
- &:hover {
- opacity: 0.8;
- }
- }
- }
- .pub-loading{
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 999;
- background: url(../../assets/loading.gif) center 36% /100px no-repeat;
- }
-
- .router-link-exact-active,.router-link-active{
- text-decoration: none;
- &:hover,&:active,&:visited{
- text-decoration: none;
- }
- }
- // 头像
- .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);
- }
- }
- .hidden{
- visibility: hidden;
- }
- .el-loading-mask{
- background-color: rgba(0,0,0,.3);
- .el-loading-spinner{
- &:before{
- content: "";
- display: inline-block;
- width: 30px;
- height: 30px;
- background: url(../../assets/msg-loading-icon.png) center/100% no-repeat;
- animation: rotate .8s ease .2s infinite;
- }
- svg{
- display: none;
- }
- }
- }
|