global.scss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. @charset "UTF-8";
  2. @import "base";
  3. // @import "popup";
  4. body{
  5. background: #2b2c30;
  6. @media #{$desktop} {
  7. background: url('../../assets/bg.jpg') center top no-repeat;
  8. }
  9. .el-button{
  10. padding: 8px 20px;
  11. }
  12. }
  13. .pub-scroll-box{
  14. &::-webkit-scrollbar {
  15. width: 8px;
  16. height: 6px;
  17. }
  18. &::-webkit-scrollbar-thumb {
  19. border-radius: 3px;
  20. -moz-border-radius: 3px;
  21. -webkit-border-radius: 3px;
  22. background-color: rgba($color: #8d8a8a, $alpha: 0.2);
  23. }
  24. &::-webkit-scrollbar-track {
  25. background-color: transparent;
  26. }
  27. }
  28. .pub-modal-mask{
  29. position: fixed;
  30. left: 0;
  31. right: 0;
  32. top: 0;
  33. bottom: 0;
  34. z-index: 999;
  35. background-color: rgba($color: #000000, $alpha: .7);
  36. text-align: center;
  37. &::after{
  38. content: '';
  39. display: inline-block;
  40. height: 100%;
  41. vertical-align: middle;
  42. }
  43. }
  44. .vb > .vb-dragger {
  45. z-index: 5;
  46. width: 8px;
  47. right: 0;
  48. min-width: 10px!important;
  49. }
  50. .vb > .vb-dragger > .vb-dragger-styler {
  51. -webkit-backface-visibility: hidden;
  52. backface-visibility: hidden;
  53. -webkit-transform: rotate3d(0,0,0,0);
  54. transform: rotate3d(0,0,0,0);
  55. -webkit-transition:
  56. background-color 100ms ease-out,
  57. margin 100ms ease-out,
  58. height 100ms ease-out;
  59. transition:
  60. background-color 100ms ease-out,
  61. margin 100ms ease-out,
  62. height 100ms ease-out;
  63. background-color: rgba(48, 121, 244,.1);
  64. // margin: 5px 0 5px 0;
  65. border-radius: 20px;
  66. // height: calc(100% - 10px);
  67. height: 100%;
  68. display: block;
  69. }
  70. .vb.vb-scrolling-phantom > .vb-dragger > .vb-dragger-styler {
  71. background-color: rgba(48, 121, 244,.3);
  72. }
  73. .vb > .vb-dragger:hover > .vb-dragger-styler {
  74. background-color: rgba(48, 121, 244,.5);
  75. margin: 0px;
  76. height: 100%;
  77. }
  78. .vb.vb-dragging > .vb-dragger > .vb-dragger-styler {
  79. background-color: rgba(48, 121, 244,.5);
  80. margin: 0px;
  81. height: 100%;
  82. }
  83. .vb.vb-dragging-phantom > .vb-dragger > .vb-dragger-styler {
  84. background-color: rgba(48, 121, 244,.5);
  85. }
  86. body, html{
  87. height: 100%;
  88. }
  89. #app{
  90. height: 100%;
  91. -webkit-overflow-scrolling: touch;
  92. }
  93. .box{
  94. position: relative;
  95. background-color: #eee;
  96. height: 100%;
  97. overflow: hidden;
  98. }
  99. .mee-chat-logo{
  100. position: absolute;
  101. background: url('../../assets/mee-logo.png') no-repeat;
  102. width: 84px;
  103. height: 96px;
  104. left: 50%;
  105. margin-left: -42px;
  106. top: 20px;
  107. }
  108. // 弹窗样式
  109. .msgbox-fade-enter-active {
  110. animation: msgbox-fade-in .3s;
  111. }
  112. .msgbox-fade-leave-active {
  113. animation: msgbox-fade-out .3s;
  114. }
  115. @keyframes msgbox-fade-in {
  116. 0% {
  117. transform: translate3d(0, -20px, 0);
  118. opacity: 0;
  119. }
  120. 100% {
  121. transform: translate3d(0, 0, 0);
  122. opacity: 1;
  123. }
  124. }
  125. @keyframes msgbox-fade-out {
  126. 0% {
  127. transform: translate3d(0, 0, 0);
  128. opacity: 1;
  129. }
  130. 100% {
  131. transform: translate3d(0, -20px, 0);
  132. opacity: 0;
  133. }
  134. }
  135. @keyframes fade-in {
  136. 0% {
  137. opacity: 0;
  138. }
  139. 100% {
  140. opacity: 1;
  141. }
  142. }
  143. @keyframes fade-out {
  144. 0% {
  145. opacity: 1;
  146. }
  147. 100% {
  148. opacity: 0;
  149. }
  150. }
  151. .pub-wrapper{
  152. position: fixed;
  153. left: 0;
  154. top: 0;
  155. right: 0;
  156. bottom: 0;
  157. z-index: 888;
  158. text-align: center;
  159. &:after{
  160. content: "";
  161. display: inline-block;
  162. height: 100%;
  163. width: 0;
  164. vertical-align: middle;
  165. }
  166. .pub-mask{
  167. position: fixed;
  168. left: 0;
  169. top: 0;
  170. width: 100%;
  171. height: 100%;
  172. opacity: .5;
  173. background: #000;
  174. z-index: 1014;
  175. }
  176. }
  177. .pub-modal{
  178. display: inline-block;
  179. vertical-align: middle;
  180. background-color: #ffffff;
  181. min-width: 330px;
  182. position: relative;
  183. z-index: 1015;
  184. padding: 0 18px 18px;
  185. box-sizing: border-box;
  186. .modal-hd{
  187. .title{
  188. font-size: 14px;
  189. color: #333333;
  190. text-align: center;
  191. height: 30px;
  192. line-height: 30px;
  193. padding-top: 10px;
  194. }
  195. i{
  196. position: absolute;
  197. right: 6px;
  198. top: 6px;
  199. font-size: 20px;
  200. cursor: pointer;
  201. }
  202. }
  203. }
  204. // 头像
  205. .avatar_bg0{background:#f5882b}
  206. .avatar_bg1{background:#cc90e2}
  207. .avatar_bg2{background:#80d066}
  208. .avatar_bg3{background:#6fb1e4}
  209. .avatar_bg4{background:#f98bae}
  210. .avatar_bg5{background:#ecd074}
  211. .avatar_bg6{background:#e57979}
  212. .avatar_bg7{background:#fba76f}
  213. .avatar_bg8{background:#73cdd0}
  214. .avatar_bg9{background:#fb60c4}
  215. .user-avatar{
  216. width: 40px;
  217. height: 40px;
  218. line-height: 40px;
  219. text-align: center;
  220. border-radius: 2px;
  221. cursor: pointer;
  222. &::before{
  223. content: attr(data-name);
  224. color: #ffffff;
  225. font-size: 14px;
  226. }
  227. &:hover{
  228. opacity: .8;
  229. }
  230. }
  231. @keyframes rotate {
  232. from {
  233. transform: rotate(0deg);
  234. }
  235. to {
  236. transform: rotate(360deg);
  237. }
  238. }