console.mobile.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /** 手机盒子及微信菜单 */
  2. .mobile-preview {
  3. width: 317px;
  4. height: 580px;
  5. position: relative;
  6. background: url(../img/wechat/mobile_head.png) no-repeat 0 0;
  7. }
  8. .mobile-preview .mobile-header {
  9. color: #fff;
  10. width: auto;
  11. margin: 0 30px;
  12. overflow: hidden;
  13. font-size: 15px;
  14. padding-top: 30px;
  15. text-align: center;
  16. white-space: nowrap;
  17. text-overflow: ellipsis;
  18. word-wrap: normal;
  19. user-select: none;
  20. pointer-events: none;
  21. -moz-user-select: none;
  22. -webkit-user-select: none;
  23. -webkit-pointer-events: none;
  24. }
  25. .mobile-preview .mobile-body {
  26. top: 60px;
  27. left: 0;
  28. right: 0;
  29. bottom: 0;
  30. position: absolute;
  31. border: 1px solid #ccc;
  32. background: #f5f5f5;
  33. }
  34. .mobile-preview .mobile-body iframe {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. .mobile-preview .mobile-footer {
  39. left: 0;
  40. right: 0;
  41. bottom: 0;
  42. margin: 0;
  43. position: absolute;
  44. padding-left: 43px;
  45. border: 1px solid #ccc;
  46. list-style-type: none;
  47. background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
  48. }
  49. .mobile-preview .mobile-footer li {
  50. float: left;
  51. width: 33.33%;
  52. position: relative;
  53. text-align: center;
  54. line-height: 50px;
  55. }
  56. .mobile-preview .mobile-footer li a {
  57. width: auto;
  58. display: block;
  59. overflow: hidden;
  60. border: 1px solid hsla(0, 0%, 100%, 0);
  61. border-left: 1px solid #e7e7eb;
  62. margin-top: -1px;
  63. margin-bottom: -1px;
  64. color: #616161;
  65. white-space: nowrap;
  66. text-decoration: none;
  67. text-overflow: ellipsis;
  68. word-wrap: normal;
  69. }
  70. .mobile-preview .mobile-footer li a:hover {
  71. background: rgba(0, 0, 0, 0.02);
  72. }
  73. .mobile-preview .mobile-footer li a.active {
  74. border: 1px solid #44b549 !important;
  75. box-shadow: 0 0 1px #44b549;
  76. }
  77. .mobile-preview .mobile-footer li a span:before {
  78. width: 1px;
  79. height: 1px;
  80. content: '';
  81. display: inline-block;
  82. }
  83. .mobile-preview .mobile-footer li > .close {
  84. top: 1px;
  85. right: 1px;
  86. width: 18px;
  87. height: 18px;
  88. display: none;
  89. cursor: pointer;
  90. position: absolute;
  91. text-align: center;
  92. line-height: 18px;
  93. }
  94. .mobile-preview .mobile-footer li:hover > .close {
  95. display: inline-block;
  96. }
  97. .mobile-preview .mobile-footer li:hover > .close:hover {
  98. color: #fff !important;
  99. background: #999 !important;
  100. }
  101. .mobile-preview .mobile-footer .icon-add {
  102. width: 14px;
  103. height: 14px;
  104. border-bottom: none !important;
  105. background: url(../img/wechat/index.png) 0 0 no-repeat;
  106. }
  107. .mobile-preview .mobile-footer .icon-add,
  108. .mobile-preview .mobile-footer .icon-sub {
  109. display: inline-block;
  110. vertical-align: middle;
  111. }
  112. .mobile-preview .mobile-footer .icon-sub {
  113. width: 7px;
  114. height: 7px;
  115. margin-right: 2px;
  116. background: url(../img/wechat/index.png) 0 -3pc no-repeat;
  117. }
  118. .mobile-preview .mobile-footer .sub-menu {
  119. width: 100%;
  120. bottom: 60px;
  121. margin: -1px;
  122. display: block;
  123. position: absolute;
  124. border: 1px solid #d0d0d0;
  125. background-color: #fafafa;
  126. }
  127. .mobile-preview .mobile-footer .sub-menu ul,
  128. .mobile-preview .mobile-footer .sub-menu ul li {
  129. float: none;
  130. padding: 0;
  131. z-index: 11;
  132. display: block;
  133. width: 100%;
  134. }
  135. .mobile-preview .mobile-footer .sub-menu ul li a {
  136. padding: 0 5px;
  137. border: 1px solid hsla(0, 0%, 100%, 0);
  138. }
  139. .mobile-preview .mobile-footer .sub-menu ul li a.bottom-border {
  140. margin: -1px -1px 0;
  141. border-bottom: 1px solid #e7e7eb;
  142. }
  143. .mobile-preview .mobile-footer .sub-menu ul li:last-child a.bottom-border {
  144. border-bottom-color: #fff;
  145. }
  146. .mobile-preview .mobile-footer .arrow {
  147. left: 50%;
  148. position: absolute;
  149. margin-left: -6px;
  150. }
  151. .mobile-preview .mobile-footer .arrow_in,
  152. .mobile-preview .mobile-footer .arrow_out {
  153. width: 0;
  154. height: 0;
  155. z-index: 10;
  156. display: inline-block;
  157. border: 6px dashed transparent;
  158. border-bottom-width: 0;
  159. border-top-style: solid;
  160. }
  161. .mobile-preview .mobile-footer .arrow_in {
  162. z-index: 3;
  163. bottom: -5px;
  164. border-top-color: #fafafa;
  165. }
  166. .mobile-preview .mobile-footer .arrow_out {
  167. z-index: 2;
  168. bottom: -6px;
  169. border-top-color: #d0d0d0;
  170. }
  171. /*# sourceMappingURL=console.mobile.css.map */