mini.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. @charset "UTF-8";
  2. @import "base";
  3. body, html{
  4. height: 100%;
  5. overflow: hidden;
  6. }
  7. #app{
  8. height: 100%;
  9. -webkit-overflow-scrolling: touch;
  10. }
  11. .vb > .vb-dragger {
  12. z-index: 5;
  13. width: 7px;
  14. right: 0;
  15. min-height: 10px!important;
  16. }
  17. .vb > .vb-dragger > .vb-dragger-styler {
  18. -webkit-backface-visibility: hidden;
  19. backface-visibility: hidden;
  20. -webkit-transform: rotate3d(0,0,0,0);
  21. transform: rotate3d(0,0,0,0);
  22. -webkit-transition:
  23. background-color 100ms ease-out,
  24. margin 100ms ease-out,
  25. height 100ms ease-out;
  26. transition:
  27. background-color 100ms ease-out,
  28. margin 100ms ease-out,
  29. height 100ms ease-out;
  30. background-color: rgba(48, 121, 244,.1);
  31. // margin: 5px 0 5px 0;
  32. border-radius: 20px;
  33. // height: calc(100% - 10px);
  34. height: 100%;
  35. display: block;
  36. }
  37. .vb.vb-scrolling-phantom > .vb-dragger > .vb-dragger-styler {
  38. background-color: rgba(48, 121, 244,.3);
  39. }
  40. .vb > .vb-dragger:hover > .vb-dragger-styler {
  41. background-color: rgba(48, 121, 244,.5);
  42. margin: 0px;
  43. height: 100%;
  44. }
  45. .vb.vb-dragging > .vb-dragger > .vb-dragger-styler {
  46. background-color: rgba(48, 121, 244,.5);
  47. margin: 0px;
  48. height: 100%;
  49. }
  50. .vb.vb-dragging-phantom > .vb-dragger > .vb-dragger-styler {
  51. background-color: rgba(48, 121, 244,.5);
  52. }
  53. .link{
  54. color: #005392;
  55. cursor: pointer;
  56. &:hover{
  57. text-decoration: underline;
  58. }
  59. }
  60. .msg-item.you{
  61. .pub-pop-toolbar{
  62. left: 0;
  63. right: auto;
  64. &:before{
  65. left: 10px;
  66. }
  67. }
  68. }
  69. .pub-pop-toolbar {
  70. position: absolute;
  71. top: -46px;
  72. right: 0;
  73. background: rgba(0, 0, 0,0.85);
  74. border-radius: 5px;
  75. box-shadow: 1px 1px 50px rgba(212, 180, 180, 0.3);
  76. z-index: 11;
  77. user-select: none;
  78. text-align: center;
  79. height: 34px;
  80. line-height: 34px;
  81. display: flex;
  82. &.ext-username{
  83. top: -60px;
  84. }
  85. &:before{
  86. content: "";
  87. position: absolute;
  88. bottom: -12px;
  89. right: 10px;
  90. @include triangle-down(6px,rgba(0, 0, 0,0.85));
  91. }
  92. &.ext-session{
  93. width: 100px;
  94. text-align: left;
  95. li{
  96. padding: 0 10px;
  97. }
  98. }
  99. li {
  100. cursor: pointer;
  101. font-size: 14px;
  102. color: #FFF;
  103. position: relative;
  104. padding: 0 10px;
  105. white-space: nowrap;
  106. &:before{
  107. content: "";
  108. position: absolute;
  109. top: 50%;
  110. left: 0;
  111. margin-top: -10px;
  112. width: 1px;
  113. height: 20px;
  114. background: rgba(255,255,255,0.5);
  115. }
  116. &:first-child{
  117. &:before{
  118. display: none;
  119. }
  120. }
  121. &.split-line{
  122. display: none;
  123. }
  124. &:hover {
  125. opacity: 0.8;
  126. }
  127. }
  128. }
  129. .avatar_bg0{background:#f5882b}
  130. .avatar_bg1{background:#cc90e2}
  131. .avatar_bg2{background:#80d066}
  132. .avatar_bg3{background:#6fb1e4}
  133. .avatar_bg4{background:#f98bae}
  134. .avatar_bg5{background:#ecd074}
  135. .avatar_bg6{background:#e57979}
  136. .avatar_bg7{background:#fba76f}
  137. .avatar_bg8{background:#73cdd0}
  138. .avatar_bg9{background:#fb60c4}
  139. .user-avatar{
  140. width: 40px;
  141. height: 40px;
  142. line-height: 40px;
  143. text-align: center;
  144. border-radius: 2px;
  145. cursor: pointer;
  146. &::before{
  147. content: attr(data-name);
  148. color: #ffffff;
  149. font-size: 14px;
  150. }
  151. &:hover{
  152. opacity: .8;
  153. }
  154. }
  155. .pub-scroll-box{
  156. &::-webkit-scrollbar {
  157. width: 8px;
  158. height: 6px;
  159. }
  160. &::-webkit-scrollbar-thumb {
  161. border-radius: 3px;
  162. -moz-border-radius: 3px;
  163. -webkit-border-radius: 3px;
  164. background-color: rgba($color: #8d8a8a, $alpha: 0.2);
  165. }
  166. &::-webkit-scrollbar-track {
  167. background-color: transparent;
  168. }
  169. }
  170. .pub-modal-mask{
  171. position: fixed;
  172. left: 0;
  173. right: 0;
  174. top: 0;
  175. bottom: 0;
  176. z-index: 999;
  177. background-color: rgba($color: #000000, $alpha: .7);
  178. text-align: center;
  179. &::after{
  180. content: '';
  181. display: inline-block;
  182. height: 100%;
  183. vertical-align: middle;
  184. }
  185. }
  186. .pub-wrapper{
  187. position: fixed;
  188. left: 0;
  189. top: 0;
  190. right: 0;
  191. bottom: 0;
  192. z-index: 888;
  193. text-align: center;
  194. &:after{
  195. content: "";
  196. display: inline-block;
  197. height: 100%;
  198. width: 0;
  199. vertical-align: middle;
  200. }
  201. .pub-mask{
  202. position: fixed;
  203. left: 0;
  204. top: 0;
  205. width: 100%;
  206. height: 100%;
  207. opacity: .5;
  208. background: #000;
  209. z-index: 1014;
  210. }
  211. }
  212. .pub-modal{
  213. display: inline-block;
  214. vertical-align: middle;
  215. background-color: #ffffff;
  216. min-width: 275px;
  217. position: relative;
  218. z-index: 1015;
  219. padding: 0 18px 18px;
  220. box-sizing: border-box;
  221. .modal-hd{
  222. .title{
  223. font-size: 14px;
  224. color: #333333;
  225. text-align: center;
  226. height: 30px;
  227. line-height: 30px;
  228. padding-top: 10px;
  229. }
  230. i{
  231. position: absolute;
  232. right: 6px;
  233. top: 6px;
  234. font-size: 20px;
  235. cursor: pointer;
  236. }
  237. }
  238. }
  239. .pub-loading{
  240. position: absolute;
  241. top: 0;
  242. right: 0;
  243. bottom: 0;
  244. left: 0;
  245. z-index: 10;
  246. background: url(../../assets/loading.gif) center 36% /100px no-repeat;
  247. }
  248. .router-link-exact-active,.router-link-active{
  249. text-decoration: none;
  250. &:hover,&:active,&:visited{
  251. text-decoration: none;
  252. }
  253. }
  254. // element-ui
  255. .el-message {
  256. min-width: 200px;
  257. max-width: 100%;
  258. }
  259. .el-message-box{
  260. max-width: 90%;
  261. }
  262. @keyframes rotate {
  263. from {
  264. transform: rotate(0deg);
  265. }
  266. to {
  267. transform: rotate(360deg);
  268. }
  269. }
  270. .el-loading-mask{
  271. background-color: rgba(0,0,0,.3);
  272. .el-loading-spinner{
  273. &:before{
  274. content: "";
  275. display: inline-block;
  276. width: 30px;
  277. height: 30px;
  278. background: url(../../assets/msg-loading-icon.png) center/100% no-repeat;
  279. animation: rotate .8s ease .2s infinite;
  280. }
  281. svg{
  282. display: none;
  283. }
  284. .el-loading-text{
  285. color: #86929e;
  286. }
  287. }
  288. }