menu.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. .weixin-menu-setting{
  2. margin:0;
  3. position:relative;
  4. margin-bottom:10px;
  5. }
  6. .mobile-head-title{
  7. color: #fff;
  8. text-align: center;
  9. padding-top: 33px;
  10. font-size: 15px;
  11. width: auto;
  12. overflow: hidden;
  13. text-overflow: ellipsis;
  14. white-space: nowrap;
  15. word-wrap: normal;
  16. margin: 0 40px 0 70px;
  17. }
  18. .weixin-content,.no-weixin-content{
  19. position:absolute;
  20. left: 335px;
  21. top:0;
  22. right:0px;
  23. bottom:0;
  24. background-color: #f4f5f9;
  25. border: 1px solid #e7e7eb;
  26. padding:15px;
  27. }
  28. .no-weixin-content{
  29. border:#fff;
  30. background-color: #fff;
  31. vertical-align: middle;
  32. padding-top:200px;
  33. text-align: center;
  34. }
  35. .weixin-menu-title{
  36. border-bottom: 1px solid #e7e7eb;
  37. font-size: 16px;
  38. padding: 0 20px;
  39. line-height: 55px;
  40. margin-bottom: 20px;
  41. }
  42. .mobile-menu-preview{
  43. position: relative;
  44. width: 317px;
  45. height: 550px;
  46. background: transparent url(../../img/wx_mobile_header_bg.png) no-repeat 0 0;
  47. background-position: 0 0;
  48. border: 1px solid #e7e7eb;
  49. }
  50. .mobile-menu-preview .menu-list {
  51. position: absolute;
  52. height:50px;
  53. bottom: 0;
  54. left: 0;
  55. right: 0;
  56. border-top: 1px solid #e7e7eb;
  57. background: transparent url(../../img/wx_mobile_footer_bg.png) no-repeat 0 0;
  58. background-position: 0 0;
  59. background-repeat: no-repeat;
  60. padding-left: 43px;
  61. margin:0;
  62. }
  63. .menu-list .menu-item,.menu-list .add-item{
  64. line-height: 50px;
  65. position: relative;
  66. float: left;
  67. text-align: center;
  68. width: 33.33%;
  69. list-style: none;
  70. }
  71. .ui-sortable-placeholder{
  72. background-color:#fff;
  73. }
  74. .menu-item a,.add-item a{
  75. display: block;
  76. width: auto;
  77. overflow: hidden;
  78. text-overflow: ellipsis;
  79. white-space: nowrap;
  80. word-wrap: normal;
  81. color: #616161;
  82. text-decoration: none;
  83. }
  84. .menu-item.current a.menu-link{
  85. border: 1px solid #44b549;
  86. line-height: 48px;
  87. background-color: #fff;
  88. color: #44b549;
  89. }
  90. .menu-item .icon-menu-dot{
  91. background: url(../../img/wx_mobile_index.png) 0 0 no-repeat;
  92. width: 7px;
  93. height: 7px;
  94. vertical-align: middle;
  95. display: inline-block;
  96. margin-right: 2px;
  97. margin-top: -2px;
  98. bottom: 60px;
  99. background-color: #fafafa;
  100. border-top-width: 0;
  101. }
  102. .menu-item .menu-link,.add-item .menu-link{
  103. border-left-width: 0;
  104. border-left: 1px solid #e7e7eb;
  105. text-align: center;
  106. }
  107. .sub-menu-item a,.add-sub-item a{
  108. border: 1px solid #d0d0d0;
  109. position:relative;
  110. padding:0 0.5em;
  111. }
  112. .sub-menu-item.current a{
  113. border: 1px solid #44b549;
  114. background-color: #fff;
  115. color: #44b549;
  116. z-index: 1;
  117. }
  118. .sub-menu-list li a:hover{
  119. background:#f1f1f1;
  120. }
  121. .menu-item.current .menu-link{
  122. border: 1px solid #44b549;
  123. line-height: 48px;
  124. background-color: #fff;
  125. color: #44b549;
  126. }
  127. .sub-menu-box{
  128. position: absolute;
  129. bottom: 60px;
  130. left: 0;
  131. width: 100%;
  132. background-color: #fff;
  133. border-top: none;
  134. }
  135. .sub-menu-list{
  136. line-height: 50px;
  137. margin:0;padding:0;
  138. }
  139. .sub-menu-list li{
  140. line-height: 44px;
  141. margin: -1px -1px 0;
  142. list-style: none;
  143. }
  144. .sub-menu-box .arrow {
  145. position: absolute;
  146. left: 50%;
  147. margin-left: -6px;
  148. }
  149. .sub-menu-box .arrow-in {
  150. bottom: -5px;
  151. display: inline-block;
  152. width: 0;
  153. height: 0;
  154. border-width: 6px;
  155. border-style: dashed;
  156. border-color: transparent;
  157. border-bottom-width: 0;
  158. border-top-color: #fafafa;
  159. border-top-style: solid;
  160. }
  161. .sub-menu-box .arrow-out {
  162. bottom: -6px;
  163. display: inline-block;
  164. width: 0;
  165. height: 0;
  166. border-width: 6px;
  167. border-style: dashed;
  168. border-color: transparent;
  169. border-bottom-width: 0;
  170. border-top-color: #d0d0d0;
  171. border-top-style: solid;
  172. }
  173. .sub-menu-item.current{
  174. }
  175. .sub-menu-inner-add{
  176. display: block;
  177. border-top: 1px solid #e7e7eb;
  178. width: auto;
  179. overflow: hidden;
  180. text-overflow: ellipsis;
  181. white-space: nowrap;
  182. word-wrap: normal;
  183. cursor: pointer;
  184. }
  185. .weixin-icon{
  186. background: url(../../img/weixin_icon.png) 0 -4418px no-repeat;
  187. width: 16px;
  188. height: 16px;
  189. vertical-align: middle;
  190. display: inline-block;
  191. line-height: 100px;
  192. overflow: hidden;
  193. }
  194. .weixin-icon.add-gray {
  195. background-position: 0 0;
  196. }
  197. .weixin-icon.sort-gray {
  198. background: url(../../img/weixin_icon.png) 0 -32px no-repeat;
  199. background-position: 0 -32px;
  200. margin-top: -1px;
  201. display:none;
  202. width: 20px;
  203. }
  204. .weixin-icon.big-add-gray{
  205. background-position: -36px 0;
  206. width: 36px;
  207. height: 36px;
  208. vertical-align: middle;
  209. }
  210. .menu-item a.menu-link:hover{
  211. }
  212. .add-item.extra,.add-item.extra{
  213. float: none;
  214. width: auto;
  215. overflow: hidden;
  216. }
  217. table.btn-bar{width:100%;}
  218. table.btn-bar td{ text-align: center; }
  219. .item-info .item-head{
  220. position:relative;
  221. padding: 0;
  222. border-bottom: 1px solid #e7e7eb;
  223. }
  224. .item-info .item-delete{
  225. position:absolute;
  226. top:0;
  227. right:0;
  228. }
  229. table.weixin-form td{
  230. vertical-align:middle;
  231. height:24px;
  232. line-height: 24px;
  233. padding: 8px 0;
  234. }
  235. #menu-content{
  236. background-color: #fff;
  237. padding: 16px 20px;
  238. border: 1px solid #e7e7eb;
  239. }
  240. .menu-content-tips{
  241. color: #8d8d8d;
  242. padding-bottom: 10px;
  243. }
  244. .form-item dl{
  245. position:relative;
  246. margin:10px 0;
  247. }
  248. .form-item dl dt{
  249. width:6em;
  250. height: 30px;
  251. line-height: 30px;
  252. text-align: right;
  253. position:absolute;
  254. vertical-align: middle;
  255. top:0;
  256. left:0;
  257. bottom:0;
  258. display:block;
  259. }
  260. .form-item dl dd{
  261. position:relative;
  262. display:block;
  263. margin-left: 7em;
  264. }
  265. .form-item .input-box {
  266. display: inline-block;
  267. position: relative;
  268. height: 30px;
  269. line-height: 30px;
  270. vertical-align: middle;
  271. width: 278px;
  272. font-size: 14px;
  273. padding: 0 10px;
  274. border: 1px solid #e7e7eb;
  275. box-shadow: none;
  276. -moz-box-shadow: none;
  277. -webkit-box-shadow: none;
  278. border-radius: 0;
  279. -moz-border-radius: 0;
  280. -webkit-border-radius: 0;
  281. background-color: #fff;
  282. }
  283. .form-item .input-box input{
  284. width: 100%;
  285. background-color: transparent;
  286. border: 0;
  287. outline: 0;
  288. }
  289. .clickbox{
  290. text-align: center;
  291. margin:40px 0;
  292. }
  293. .create-click{
  294. display: inline-block;
  295. padding-top: 30px;
  296. position: relative;
  297. width:240px;
  298. height: 120px;
  299. border: 2px dotted #d9dadc;
  300. text-align: center;
  301. margin-bottom: 20px;
  302. margin-left: 50px;
  303. }
  304. .create-click a{
  305. display:block;
  306. }
  307. .create-click a strong{
  308. display:block;
  309. }
  310. .keytitle {
  311. position:absolute;
  312. width:100%;
  313. text-align:center;
  314. top:0px;
  315. height:35px;
  316. line-height:35px;
  317. background:#f4f5f9;
  318. }
  319. dl.is-item dd>label {margin-left:5px;}