public.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /*公共样式*/
  2. .childrenBody{ padding:10px;}
  3. .layui-table-view{ margin:0 !important;}
  4. .magb0{margin-bottom:0 !important;}
  5. .magt0{ margin-top:0 !important;}
  6. .magt3{ margin-top:3px !important;}
  7. .magt10{ margin-top:10px !important;}
  8. .magb15{ margin-bottom:15px !important;}
  9. .magt30{ margin-top:30px !important;}
  10. .layui-left{text-align:left;}
  11. .layui-block{ width:100% !important;}
  12. .layui-center{text-align:center;}
  13. .layui-right{text-align:right;}
  14. .layui-elem-quote.title{ padding:10px 15px; margin-bottom:0;}
  15. .layui-bg-white{ background-color:#fff !important;}
  16. .border{ border:1px solid #e6e6e6 !important; padding:10px; border-top:none;}
  17. .main_btn .layui-btn{ margin:2px 5px 2px 0;}
  18. .layui-timeline-axis{ left:-4px;}
  19. .layui-elem-quote{ word-break: break-all;}
  20. .icons li,.icons li:hover,.loginBody .seraph,.loginBody .seraph:hover,.loginBody .layui-form-item.layui-input-focus label,.loginBody .layui-form-item label,.loginBody .layui-form-item.layui-input-focus input,.loginBody .layui-form-item input{transition: all 0.3s ease-in-out;-webkit-transition: all 0.3s ease-in-out;}
  21. .icons li:hover i,.icons li i{transition: font-size 0.3s ease-in-out;-webkit-transition: font-size 0.3s ease-in-out;}
  22. .loginBody .layui-input-focus .layui-input::-webkit-input-placeholder{transition: color 0.2s linear 0.2s;-webkit-transition: color 0.2s linear 0.2s;}
  23. .loginBody .layui-input-focus .layui-input::-moz-placeholder{transition: color 0.2s linear 0.2s;}
  24. .loginBody .layui-input-focus .layui-input:-ms-input-placeholder{transition: color 0.2s linear 0.2s;}
  25. .loginBody .layui-input-focus .layui-input::placeholder{transition: color 0.2s linear 0.2s;-webkit-transition: color 0.2s linear 0.2s;}
  26. /*后台首页*/
  27. .panel_box{ margin-bottom:5px;}
  28. .panel{ text-align:center; height:90px;}
  29. .panel_box a{display:block; border-radius:5px; overflow:hidden; height:80px; background-color:#f2f2f2 !important; }
  30. .panel_icon{ width:40%; display: inline-block; line-height:80px; float:left; position:relative; height:100%;}
  31. .panel_icon i{ font-size:40px !important; color:#fff; display: inline-block;}
  32. .panel_word{ width:60%; display: inline-block; float:right; margin:13px 0 14px; }
  33. .panel_word span{ font-size:25px; display:block; height:34px; }
  34. .panel .loginTime{ font-size:15px; color:#1E9FFF; line-height:17px;}
  35. .panel em{ font-style:normal;}
  36. .history_box{ min-height:500px; height:500px; overflow-y:scroll; padding:10px !important;}
  37. .history_box .layui-timeline .layui-timeline-item:last-child{ padding-bottom:0;}
  38. @media screen and (max-width:1200px) {
  39. .history_box { height: auto !important; overflow-y: inherit; }
  40. }
  41. /*修改密码*/
  42. .pwdTips{ min-height:auto; margin:40px 0 15px 110px;}
  43. /*个人资料*/
  44. form input.layui-input[disabled]{ background:#f2f2f2; color:#595963!important; }
  45. .user_right{ text-align: center; }
  46. .user_right p{ margin:10px 0 25px; font-size: 12px; text-align: center; color: #FF5722;}
  47. .user_right img#userFace{ width:200px; height:200px; margin-top:20px; cursor:pointer; box-shadow:0 0 50px #44576b; }
  48. .userAddress.layui-form-item .layui-input-inline{ width:23%; }
  49. .userAddress.layui-form-item .layui-input-inline:last-child{ margin-right:0; }
  50. /*下拉多选*/
  51. .layui-form-item select[multiple]+.layui-form-select dd{ padding:0;}
  52. .layui-form-item select[multiple]+.layui-form-select .layui-form-checkbox[lay-skin=primary]{ margin:0 !important; display:block; line-height:36px !important; position:relative; padding-left:26px;}
  53. .layui-form-item select[multiple]+.layui-form-select .layui-form-checkbox[lay-skin=primary] span{line-height:36px !important; float:none;}
  54. .layui-form-item select[multiple]+.layui-form-select .layui-form-checkbox[lay-skin=primary] i{ position:absolute; left:10px; top:0; margin-top:9px;}
  55. .multiSelect{ line-height:normal; height:auto; padding:4px 10px; overflow:hidden;min-height:38px; margin-top:-38px; left:0; z-index:99;position:relative;background:none;}
  56. .multiSelect a{ padding:2px 5px; background:#908e8e; border-radius:2px; color:#fff; display:block; line-height:20px; height:20px; margin:2px 5px 2px 0; float:left;}
  57. .multiSelect a span{ float:left;}
  58. .multiSelect a i{ float:left; display:block; margin:2px 0 0 2px; border-radius:2px; width:8px; height:8px; background:url(../images/close.png) no-repeat center; background-size:65%; padding:4px;}
  59. .multiSelect a i:hover{ background-color:#545556;}
  60. /*404页面*/
  61. .noFind{ text-align:center; padding-top:2%;}
  62. .noFind i{ line-height:1em; font-size:12em !important; color: #393D50; display:block;}
  63. .ufo{ text-align:center; height:100%; position:relative;}
  64. .noFind .page_icon,.noFind .ufo_icon{ opacity:1; position:absolute; left:50%; transform:translateX(-50%); -ms-transform:translateX(-50%); -moz-transform:translateX(-50%); -webkit-transform:translateX(-50%); -o-transform:translateX(-50%);}
  65. .noFind .page_icon{ top:300px; animation:pageGo 0.3s ease-in 0.3s forwards; -webkit-animation:pageGo 0.3s ease-in 0.3s forwards; -o-animation:pageGo 0.3s ease-in 0.3s forwards; -moz-animation:pageGo 0.3s ease-in 0.3s forwards;}
  66. .noFind .ufo_icon{ top:100px; animation:ufo 1s ease-in 0.6s forwards; -webkit-animation:ufo 1s ease-in 0.6s forwards; -o-animation:ufo 1s ease-in 0.6s forwards; -moz-animation:ufo 1s ease-in 0.6s forwards;}
  67. .page404{ margin-top:10%; opacity:0; font-size:0; animation:page404 0.5s ease-in 1.7s forwards; -webkit-animation:page404 0.5s ease-in 1.7s forwards; -o-animation:page404 0.5s ease-in 1.7s forwards; -moz-animation:page404 0.5s ease-in 1.7s forwards;}
  68. .page404 p{ font-size: 20px; font-weight: 300; color: #999;}
  69. /*页面被吸走*/
  70. @keyframes pageGo{from{font-size: 12em; top:300px;} to{font-size:0; opacity:0; top: 100px;}}
  71. @-moz-keyframes pageGo{from{font-size: 12em; top:300px;} to{font-size:0; opacity:0; top:100px}}
  72. @-webkit-keyframes pageGo{from{font-size: 12em; top:300px;} to{font-size:0; opacity:0; top:100px}}
  73. @-o-keyframes pageGo{from{font-size: 12em; top:300px;} to{font-size:0; opacity:0; top:100px}}
  74. /*ufo飞走*/
  75. @keyframes ufo{0%{font-size: 14em; top:100px;} 20%{font-size: 12em; top:50px;} 100%{font-size:0; opacity:0; top:-100px; left:80%;}}
  76. @-moz-keyframes ufo{0%{font-size: 14em; top:100px;} 20%{font-size: 12em; top:50px;} 100%{font-size:0; opacity:0; top:-100px; left:80%;}}
  77. @-webkit-keyframes ufo{0%{font-size: 14em; top:100px;} 20%{font-size: 12em; top:50px;} 100%{font-size:0; opacity:0; top:-100px; left:80%;}}
  78. @-o-keyframes ufo{0%{font-size: 14em; top:100px;} 20%{font-size: 12em; top:50px;} 100%{font-size:0; opacity:0; top:-100px; left:80%;}}
  79. /*404显示*/
  80. @keyframes page404{from{opacity:0; font-size:2em;} to{opacity:1;font-size:2em;}}
  81. @-moz-keyframes page404{from{opacity:0; font-size:2em;} to{opacity:1;font-size:2em;}}
  82. @-webkit-keyframes page404{from{opacity:0; font-size:2em;} to{opacity:1;font-size:2em;}}
  83. @-o-keyframes page404{from{opacity:0; font-size:2em;} to{opacity:1;font-size:2em;}}
  84. /*图标管理*/
  85. .iconsLength{ margin:0 5px;}
  86. .icons li{ margin:5px 0; text-align:center; height:120px; cursor:pointer;}
  87. .icons li i{ display:block; font-size:35px; margin:10px 0; line-height:60px; height:60px;}
  88. .icons li:hover{ background:rgba(13,10,49,.9); border-radius:5px; color:#fff;}
  89. .icons li:hover i{ font-size:50px;}
  90. #copyText{ width:0;height:0; opacity:0; position:absolute; left:-9999px; top:-9999px;}
  91. /*开发文档*/
  92. h2.method{ font-size:18px; line-height:45px; padding-left:5px;}
  93. /*登录*/
  94. .loginHtml,.loginBody{ height:100%;}
  95. .loginBody{ background:url("../images/login_bg.jpg") no-repeat center/100% 100%;}
  96. .loginBody form.layui-form{ padding:0 20px; width:300px; height:335px; position:absolute; left:50%; top:50%; margin:-150px 0 0 -150px; -webkit-box-sizing:border-box;-moz-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; background:#fff;-webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; box-shadow:0 0 50px #009688;}
  97. .login_face{ margin:-55px auto 20px; width:100px; height:100px; -webkit-border-radius:50%; -moz-border-radius:50%; border-radius:50%; border:5px solid #fff; overflow:hidden;box-shadow:0 0 30px #009688;}
  98. .login_face img{ width:100%;}
  99. .loginBody .layui-form-item{ position:relative;}
  100. .layui-w-btn {background:#4ca2ef}
  101. /*position:absolute;*/
  102. .loginBody .layui-form-item label{color:#757575; left:10px; top:9px; line-height:20px; background:#fff; padding:0 5px; font-size:14px; cursor:text;}
  103. .loginBody .layui-form-item.layui-input-focus label{ top:-10px; font-size:12px; color:#ff6700;}
  104. .loginBody .layui-form-item.layui-input-active label{ top:-10px; font-size:12px;}
  105. .loginBody .layui-input::-webkit-input-placeholder{color:#fff;}
  106. .loginBody .layui-input::-moz-placeholder{color:#fff;}
  107. .loginBody .layui-input:-ms-input-placeholder{color:#fff;}
  108. .loginBody .layui-input::placeholder{color:#fff;}
  109. .loginBody .layui-form-item.layui-input-focus input{ border-color:#ff6700 !important;}
  110. .loginBody .layui-input-focus .layui-input::-webkit-input-placeholder{color:#757575;}
  111. .loginBody .layui-input-focus .layui-input::-moz-placeholder{color:#757575;}
  112. .loginBody .layui-input-focus .layui-input:-ms-input-placeholder{color:#757575;}
  113. .loginBody .layui-input-focus .layui-input::placeholder{color:#757575;}
  114. .loginBody .seraph{ font-size:30px; text-align:center;}
  115. .loginBody .seraph.icon-qq:hover{ color:#0288d1;}
  116. .loginBody .seraph.icon-wechat:hover{ color:#00d20d;}
  117. .loginBody .seraph.icon-sina:hover{ color:#d32f2f;}
  118. .imgCode{ position:relative;}
  119. #imgCode img{ position:absolute; top:6px; right:1px; cursor:pointer;width:32%;}
  120. /*用户等级*/
  121. .layui-table-view .layui-table span.seraph{ font-size:25px !important;}
  122. .vip1{ color:#994a2b;}
  123. .vip2{ color:#899396;}
  124. .vip3{ color:#bd6a08;}
  125. .vip4{ color:#a3b8c4;}
  126. .vip5{ color:#63c3ea;}
  127. .vip6{ color:#b563ed;}
  128. .vip7{ color:#ff9831;}
  129. .vip8{ color:#A757A8;}
  130. .vip9{ color:#0ff;}
  131. .vip10{ color:#f00;}
  132. /*新闻添加*/
  133. .layui-elem-quote .layui-inline{ margin:3px 0;}
  134. .category .layui-form-checkbox{ margin:5px 0;}
  135. .border .layui-form-item{ margin-bottom:10px;}
  136. .border .layui-form-label{ width:50px;}
  137. .border .layui-form-label i{ position:absolute; top:10px; left:3px;}
  138. .border .layui-input-block{ margin-left:80px;}
  139. .thumbBox{ height:151px; overflow:hidden; border:1px solid #e6e6e6; border-radius:2px; cursor:pointer; position:relative; text-align:center; line-height:153px;}
  140. .thumbImg{ max-width:100%; max-height:100%; border:none;}
  141. .thumbBox:after{ position:absolute; width:100%; height:100%;line-height:153px; z-index:-1; text-align:center; font-size:20px; content:"缩略图"; left:0; top:0; color:#9F9F9F;}
  142. /*图片管理*/
  143. #Images li{ width:19%; margin:0.5% 0.5%; float: left; overflow:hidden;}
  144. #Images li img{ width:100%; cursor:pointer; }
  145. #Images li .operate{ display: block; height: 40px; width:100%; background:#f4f5f9; }
  146. #Images li .operate .check{ float:left; margin-left:11px; height:18px; padding:11px 0; width:74%; position:relative;}
  147. #Images li .operate .check .layui-form-checkbox[lay-skin=primary]{ width:100%;}
  148. #Images li .operate .check .layui-form-checkbox[lay-skin=primary] span{ padding:0 5px 0 25px; width:100%; box-sizing:border-box;}
  149. #Images li .operate .check .layui-form-checkbox[lay-skin=primary] i{position:absolute; left:0; top:0;}
  150. #Images li .operate .img_del{ float:right; margin:9px 11px 0 0; font-size: 22px !important; cursor:pointer; }
  151. #Images li .operate .img_del:hover{ color:#f00; }
  152. @media screen and (max-width:1050px){#Images li{ width:24%;}}
  153. @media screen and (max-width: 750px){#Images li{ width:49%;}}
  154. @media screen and (max-width:432px){#Images li{ width:99%;}}
  155. /*系统日志*/
  156. .layui-btn-green{ background-color:#5FB878 !important;}
  157. /*友情链接*/
  158. .linkLogo{ width:80px; height:40px; overflow:hidden; border:1px solid #e6e6e6; border-radius:2px; cursor:pointer; margin:0 auto; position:relative; text-align:center; line-height:42px;}
  159. .linkLogoImg{ max-width:90%; max-height:90%;}
  160. .linkLogo:after{ position:absolute; width:100%; height:100%;line-height:42px; z-index:-1; text-align:center; font-size:12px; content:"上传LOGO"; left:0; top:0; color:#9F9F9F;}
  161. .linksAdd .layui-form-label{ width:60px; padding-left:0;}
  162. .linksAdd .layui-input-block{ margin-left:75px;}
  163. .linksAdd .layui-input-block input{ padding:0 5px;}
  164. /*响应式*/
  165. @media screen and (max-width:450px) {
  166. #userFaceBtn{ height: 30px;line-height: 30px; padding: 0 10px; font-size: 12px;}
  167. .user_right img#userFace{ width:100px; height:100px; margin-top:0;}
  168. .layui-col-xs12 .layui-form-label{ width:60px; padding-left:0;}
  169. .layui-col-xs12 .layui-input-block,.layui-col-xs12 .layui-input-inline{ margin-left:75px;}
  170. .layui-col-xs12 .layui-input-inline{ left:0 !important; width:auto !important;}
  171. .noFind{ padding-top:0;}
  172. *[pc]{ display:none;}
  173. }