h5.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .pub-title{
  2. position: fixed;
  3. left: 0;
  4. right: 0;
  5. top: 0;
  6. font-size: px2rem(36);
  7. line-height: px2rem(86);
  8. height: px2rem(86);
  9. background-color: #353439;
  10. text-align: center;
  11. color: #ffffff;
  12. z-index: 999;
  13. }
  14. .pub-modal-mask{
  15. position: fixed;
  16. left: 0;
  17. right: 0;
  18. top: 0;
  19. bottom: 0;
  20. z-index: 999;
  21. background-color: rgba($color: #000000, $alpha: .7);
  22. text-align: center;
  23. &::after{
  24. content: '';
  25. display: inline-block;
  26. height: 100%;
  27. vertical-align: middle;
  28. }
  29. }
  30. .pub-wrapper{
  31. position: fixed;
  32. left: 0;
  33. top: 0;
  34. right: 0;
  35. bottom: 0;
  36. z-index: 888;
  37. text-align: center;
  38. &:after{
  39. content: "";
  40. display: inline-block;
  41. height: 100%;
  42. width: 0;
  43. vertical-align: middle;
  44. }
  45. .pub-mask{
  46. position: fixed;
  47. left: 0;
  48. top: 0;
  49. width: 100%;
  50. height: 100%;
  51. opacity: .5;
  52. background: #000;
  53. z-index: 1014;
  54. }
  55. }
  56. .pub-modal{
  57. display: inline-block;
  58. vertical-align: middle;
  59. background-color: #ffffff;
  60. min-width: 330px;
  61. position: relative;
  62. z-index: 1015;
  63. padding: 0 18px 18px;
  64. box-sizing: border-box;
  65. .modal-hd{
  66. .title{
  67. font-size: 14px;
  68. color: #333333;
  69. text-align: center;
  70. height: 30px;
  71. line-height: 30px;
  72. padding-top: 10px;
  73. }
  74. i{
  75. position: absolute;
  76. right: 6px;
  77. top: 6px;
  78. font-size: 20px;
  79. cursor: pointer;
  80. }
  81. }
  82. }
  83. // 头像
  84. .avatar_bg0{background:#f5882b}
  85. .avatar_bg1{background:#cc90e2}
  86. .avatar_bg2{background:#80d066}
  87. .avatar_bg3{background:#6fb1e4}
  88. .avatar_bg4{background:#f98bae}
  89. .avatar_bg5{background:#ecd074}
  90. .avatar_bg6{background:#e57979}
  91. .avatar_bg7{background:#fba76f}
  92. .avatar_bg8{background:#73cdd0}
  93. .avatar_bg9{background:#fb60c4}
  94. .user-avatar{
  95. width: px2rem(90);
  96. height: px2rem(90);
  97. line-height: px2rem(90);
  98. text-align: center;
  99. border-radius: 2px;
  100. cursor: pointer;
  101. &::before{
  102. content: attr(data-name);
  103. color: #ffffff;
  104. font-size: px2rem(32);
  105. }
  106. &:hover{
  107. opacity: .8;
  108. }
  109. }
  110. // element-ui
  111. .el-message {
  112. min-width: 200px;
  113. max-width: 100%;
  114. }
  115. .el-message-box{
  116. max-width: 90%;
  117. }
  118. .border-bottom {
  119. position: relative;
  120. &::after{
  121. content: "";
  122. pointer-events: none;
  123. box-sizing: border-box;
  124. position: absolute;
  125. width: 200%;
  126. height: 200%;
  127. left: 0;
  128. top: 0;
  129. border-bottom:1px solid #d8d8d8;
  130. transform:scale(0.5);
  131. transform-origin: 0 0;
  132. }
  133. }