global.scss 4.5 KB

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