global.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. /**
  2. layui官网
  3. By 贤心
  4. */
  5. /* 布局 */
  6. .site-inline{font-size: 0;}
  7. .site-tree, .site-content{display: inline-block; *display:inline; *zoom:1; vertical-align: top; font-size: 14px;}
  8. .site-tree{width: 220px; min-height: 900px; padding: 5px 0 20px;}
  9. .site-content{width: 899px; min-height: 900px; padding: 20px 0 10px 20px;}
  10. /* 头部 */admin-side-toggle
  11. .header{height: 65px; border-bottom: 1px solid #404553; background-color: #393D49; color: #fff;}
  12. .logo{position: absolute; left: 0; top: 18px;}
  13. .logo img{width: 82px; height: 31px;}
  14. .header .layui-nav{position: absolute; right: 0; top: 0; padding: 0; background: none;}
  15. .header .layui-nav .layui-nav-item{margin: 0 20px; line-height: 66px;}
  16. .menu{position: absolute; right: 0; top: 0; line-height: 65px;}
  17. .menu a{display:inline-block; *display:inline; *zoom:1; vertical-align:top;}
  18. .menu a{position: relative; padding: 0 20px; margin: 0 20px; color: #c2c2c2; font-size: 14px;}
  19. .menu a:hover{color: #fff; transition: all .5s; -webkit-transition: all .5s}
  20. .menu a.this{color: #fff}
  21. .menu a.this::after{content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 5px; background-color: #5FB878;}
  22. .header-index{background-color: #080018; border: none;}
  23. .layui-layout-admin .header-demo{border-bottom-color: #1AA094; background-color: #fff;}
  24. .header-demo .logo{left: 40px;}
  25. .header-demo .layui-nav{top: 0;}
  26. .header-demo .layui-nav .layui-nav-item{margin: 0 10px; line-height: 65px;}
  27. .header-demo .layui-nav .layui-nav-item a{color: #999;}
  28. .header-demo .layui-nav .layui-this{background-color: #f2f2f2;}
  29. .header-demo .layui-nav .layui-nav-item a:hover,
  30. .header-demo .layui-nav .layui-this a{color: #000;}
  31. .header-demo .layui-nav .layui-this:after,
  32. .header-demo .layui-nav-bar{background-color: #393D49;}
  33. .header-demo .layui-nav .layui-this a{padding: 0 20px;}
  34. /* 底部 */
  35. .footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;}
  36. body .layui-layout-admin .footer-demo{height: auto; padding: 5px 0; line-height: 26px;}
  37. .footer a{padding: 0 5px;}
  38. /* 首页banner部分 */
  39. .site-banner{position: relative; height: 600px; text-align: center; overflow: hidden; background-color: #393D49;}
  40. .site-banner-bg
  41. ,.site-banner-main{position: absolute; left: 0; top: 0; width: 100%; height: 100%;}
  42. .site-banner-bg{background-position: center 0;}
  43. .site-zfj{padding-top: 25px; height: 220px;}
  44. .site-zfj i{position: absolute; left: 50%; top: 25px; width: 200px; height: 200px; margin-left: -100px; font-size: 200px; color: #c2c2c2;}
  45. @-webkit-keyframes site-zfj {
  46. 0% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
  47. 10% {opacity: 0.8; -webkit-transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
  48. 35% {opacity: 0.6; -webkit-transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
  49. 50% {opacity: 0.4; -webkit-transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
  50. 80% {opacity: 0.2; -webkit-transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
  51. 90% {opacity: 0.1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
  52. 100% {opacity: 1; -webkit-transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);}
  53. }
  54. @keyframes site-zfj {
  55. 0% {opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1);}
  56. 10% {opacity: 0.8; transform: translate3d(-100px, 0px, 0) rotate(10deg) scale(0.7);}
  57. 35% {opacity: 0.6; transform: translate3d(100px, 0px, 0) rotate(30deg) scale(0.4);}
  58. 50% {opacity: 0.4; transform: translate3d(0, 0, 0) rotate(360deg) scale(0);}
  59. 80% {opacity: 0.2; transform: translate3d(0, 0, 0) rotate(720deg) scale(1);}
  60. 90% {opacity: 0.1; transform: translate3d(0, 0, 0) rotate(3600deg) scale(6);}
  61. 100% {opacity: 1; transform: translate3d(0, 0, 0) rotate(3600deg) scale(1);}
  62. }
  63. @-webkit-keyframes site-desc {
  64. 0% { -webkit-transform: scale(1.1);}
  65. 100% {opacity: 1; -webkit-transform: scale(1);}
  66. }
  67. @keyframes site-desc {
  68. 0% { transform: scale(1.1);}
  69. 100% {transform: scale(1);}
  70. }
  71. .layui-anim-scaleSpring{-webkit-animation-name: layui-scale-spring; animation-name: layui-scale-spring}
  72. .site-zfj-anim i{-webkit-animation-name: site-zfj; animation-name: site-zfj; -webkit-animation-duration: 5s; animation-duration: 5s; -webkit-animation-timing-function: linear; animation-timing-function: linear;}
  73. .site-desc{position: relative; height: 70px; margin-top: 25px; background: url(../images/layui/desc.png) center no-repeat;}
  74. .site-desc-anim{-webkit-animation-name: site-desc; animation-name: site-desc;}
  75. .site-desc cite{position: absolute; bottom: -40px; left: 0; width: 100%; color: #c2c2c2; font-style: normal;}
  76. .site-download{margin-top: 80px; font-size: 0;}
  77. .site-download a{position: relative; padding: 0 45px 0 90px; height: 60px; line-height: 60px; border: 1px solid #464B5B; font-size: 24px; color: #ccc; transition: all .5s; -webkit-transition: all .5s;}
  78. .site-download a:hover{border: 1px solid #778097; color: #fff; border-radius: 30px; }
  79. .site-download a cite{position: absolute; left: 45px; font-size: 30px;}
  80. .site-version{position: relative; margin-top: 15px; color: #ccc; font-size: 12px;}
  81. .site-version span{padding: 0 3px;}
  82. .site-version *{font-style: normal;}
  83. .site-version a{color: #e2e2e2; text-decoration: underline;}
  84. .site-banner-other{position: absolute; left: 0; bottom: 32px; width: 100%; text-align: center;}
  85. .site-banner-other iframe{border: none;}
  86. .site-idea{margin: 50px 0; font-size: 0; text-align: center; font-weight: 300;}
  87. .site-idea li{display: inline-block; vertical-align: top; *display: inline; *zoom:1; font-size: 14px; }
  88. .site-idea li{width: 298px; height: 150px; padding: 30px; line-height: 24px; margin-left: 30px; border: 1px solid #d2d2d2; text-align: left;}
  89. .site-idea li:first-child{margin-left: 0}
  90. .site-idea .layui-field-title{border-color: #d2d2d2}
  91. .site-idea .layui-field-title legend{margin: 0 20px 20px 0; padding: 0 20px; text-align: center;}
  92. /* 辅助 */
  93. .site-tips{margin-bottom: 10px; padding: 15px; border-left: 5px solid #0078AD; background-color: #f2f2f2;}
  94. body .site-tips p{margin: 0;}
  95. /* 目录 */
  96. .site-dir{display: none;}
  97. .site-dir li{line-height: 26px; margin-left: 20px; overflow: visible; list-style-type: disc;}
  98. .site-dir li a{display: block;}
  99. .site-dir li a:active{color: #01AAED;}
  100. .site-dir li a.layui-this{color: #01AAED;}
  101. body .layui-layer-dir{box-shadow: none; border: 1px solid #d2d2d2;}
  102. body .layui-layer-dir .layui-layer-content{padding: 10px; max-height: 280px; overflow: auto;}
  103. .site-dir a em{padding-left: 5px; font-size: 12px; color: #c2c2c2; font-style: normal;}
  104. /* 文档 */
  105. .site-tree{border-right: 1px solid #eee; }
  106. .site-tree .layui-tree{line-height: 32px;}
  107. .site-tree .layui-tree li i{position: relative; font-size: 22px; color: #000}
  108. .site-tree .layui-tree li a cite{padding: 0 8px;}
  109. .site-tree .layui-tree .site-tree-noicon a cite{padding-left: 15px;}
  110. .site-tree .layui-tree li a em{font-size: 12px; color: #bbb; padding-right: 5px; font-style: normal;}
  111. .site-tree .layui-tree li h2{line-height: 36px; border-left: 5px solid #009E94; margin: 15px 0 5px; padding: 0 10px; background-color: #f2f2f2;}
  112. .site-tree .layui-tree li ul{margin-left: 27px; line-height: 28px;}
  113. .site-tree .layui-tree li ul a,
  114. .site-tree .layui-tree li ul a i{color: #777;}
  115. .site-tree .layui-tree li ul a:hover{color: #333;}
  116. .site-tree .layui-tree li ul li{margin-left: 25px; overflow: visible; list-style-type: disc; /*list-style-position: inside;*/}
  117. .site-tree .layui-tree li ul li cite,
  118. .site-tree .layui-tree .site-tree-noicon ul li cite{padding-left: 0;}
  119. .site-tree .layui-tree .layui-this a{color: #01AAED;}
  120. .site-tree .layui-tree .layui-this .layui-icon{color: #01AAED;}
  121. .site-fix .site-tree{position: fixed; top: 0; bottom: 0; z-index: 666; min-height: 0; overflow: auto; background-color: #fff;}
  122. .site-fix .site-content{margin-left: 220px;}
  123. .site-fix-footer .site-tree{margin-bottom: 120px;}
  124. .site-title{ margin: 30px 0 20px;}
  125. .site-title fieldset{border: none; padding: 0; border-top: 1px solid #eee;}
  126. .site-title fieldset legend{margin-left: 20px; padding: 0 10px; font-size: 22px; font-weight: 300;}
  127. .site-text a{color: #01AAED;}
  128. .site-h1{margin-bottom: 20px; line-height: 60px; padding-bottom: 10px; color: #393D49; border-bottom: 1px solid #eee; font-size: 28px; font-weight: 300;}
  129. .site-h1 .layui-icon{position: relative; top: 5px; font-size: 50px; margin-right: 10px;}
  130. .site-text{position:relative;}
  131. .site-text p{margin-bottom: 10px; line-height:22px;}
  132. .site-text em{padding: 0 3px; font-weight: 500; font-style: italic; color: #666;}
  133. .site-text code{margin:0 5px; padding: 3px 10px; border: 1px solid #e2e2e2; background-color: #fbfbfb; color: #666; border-radius: 2px;}
  134. .site-table{width: 100%; margin: 10px 0;}
  135. .site-table thead{background-color:#f2f2f2; }
  136. .site-table th,
  137. .site-table td{padding: 6px 15px; min-height: 20px; line-height: 20px; border:1px solid #ddd; font-size: 14px; font-weight: 400;}
  138. .site-table tr:nth-child(even){background: #fbfbfb;}
  139. .site-block{padding: 20px; border: 1px solid #eee;}
  140. .site-block .layui-form{margin-right: 200px;}
  141. /* 演示 */
  142. body .layui-layout-admin .site-demo{bottom: 82px; padding: 0;z-index:-1;}
  143. body .site-demo-nav .layui-nav-item{line-height: 40px}
  144. .layui-nav-item .layui-icon{position: relative; /*font-size: 20px;*/}
  145. .layui-nav-item a cite{padding: 0 10px;}
  146. .site-demo .layui-main{margin: 15px; line-height: 22px;}
  147. .site-demo-editor{position: absolute; top: 0; bottom: 0; left: 0; width: 50%; }
  148. .site-demo-area{position: absolute; top: 0; bottom: 90px; width: 100%;}
  149. .site-demo-editor textarea{position: absolute; width: 100%; height: 100%; padding: 15px; border: none; resize: none; /*background-color: #F7FBFF;*/ background-color: #272822; color: #CFBFAF; font-family: Courier New; font-size: 12px; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
  150. .site-demo-btn{position: absolute; bottom: 100px; right: 20px;}
  151. .site-demo-zanzhu{position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; text-align: center; background-color: #e2e2e2; overflow: hidden;}
  152. .site-demo-zanzhu>*{position: relative; z-index: 1;}
  153. .site-demo-zanzhu:before{content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 120px; margin: -10px 0px 0px -60px; text-align: center; color: rgb(170, 170, 170); font-size: 18px; font-weight: 300; }
  154. .site-demo-result{position: absolute; right: 0; top: 0; bottom: 0; width: 50%;}
  155. .site-demo-result iframe{position: absolute; width: 100%; height: 100%;}
  156. .site-demo-button{margin-bottom: 30px;}
  157. .site-demo-button div{margin: 20px 30px 10px;}
  158. .site-demo-button .layui-btn{margin-bottom: 10px;}
  159. .site-demo-laytpl{text-align: center;}
  160. .site-demo-laytpl textarea,
  161. .site-demo-laytpl div span{width: 40%; padding: 15px; margin: 0 15px;}
  162. .site-demo-laytpl textarea{height: 300px; border: none; background-color: #3F3F3F; color: #E3CEAB; font-family: Courier New; resize: none;}
  163. .site-demo-laytpl div span{display: inline-block; text-align: center; background: #101010; color: #fff;}
  164. .site-demo-tplres{margin: 10px 0; text-align: center}
  165. .site-demo-tplres .site-demo-tplh2,
  166. .site-demo-tplres .site-demo-tplview{display: inline-block; width: 50%;}
  167. .site-demo-tplres h2{padding: 15px; background: #e2e2e2;}
  168. .site-demo-tplres h3{font-weight: 700;}
  169. .site-demo-tplres div{padding: 14px; border: 1px solid #e2e2e2; text-align: left;}
  170. .site-demo-upload,
  171. .site-demo-upload img{width: 200px; height: 200px; border-radius: 100%;}
  172. .site-demo-upload{position: relative; background: #e2e2e2;}
  173. .site-demo-upload .site-demo-upbar{position: absolute; top: 50%; left: 50%; margin: -18px 0 0 -56px;}
  174. .site-demo-upload .layui-upload-button{background-color: rgba(0,0,0,.2); color: rgba(255,255,255,1);}
  175. .site-demo-util{position: relative; width: 300px;}
  176. .site-demo-util img{width: 300px; border-radius: 100%;}
  177. .site-demo-util span{position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #333; cursor: pointer;}
  178. @-webkit-keyframes demo-fengjie {
  179. 0% {-webkit-filter: blur(0); opacity: 1; background: #fff; height: 300px; border-radius: 100%;}
  180. 80% {-webkit-filter: blur(50px); opacity: 0.95;}
  181. 100% {-webkit-filter: blur(20px); opacity: 0; background: #fff;}
  182. }
  183. @keyframes demo-fengjie {
  184. 0% {filter: blur(0); opacity: 1; background: #fff; height: 300px; border-radius: 100%;}
  185. 80% {filter: blur(50px); opacity: 0.95;}
  186. 100% {filter: blur(20px); opacity: 0; background: #fff;}
  187. }
  188. .site-demo-fengjie{-webkit-animation-name: demo-fengjie; animation-name: demo-fengjie; -webkit-animation-duration: 5s; animation-duration: 5s;}
  189. .layui-layout-admin .site-demo-body{top: 117px;}
  190. .site-demo-title{position: fixed; left: 200px; right: 0; top: 76px;}
  191. .site-demo-code{position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: none; padding: 10px; resize: none; font-size: 12px; background-color: #F7FBFF; color: #881280; font-family: Courier New;}
  192. .site-demo-body .layui-elem-quote a{color: #01AAED;}
  193. .site-demo-body .layui-elem-quote a:hover{color: #FF5722;}
  194. /* 其它 */
  195. #trans-tooltip,
  196. #tip-arrow-bottom,
  197. #tip-arrow-top{display: none !important;}
  198. /* 独立组件 */
  199. .alone{width:730px; margin:200px auto;}
  200. .alone ul{margin-left:1px; font-size:0;}
  201. .alone li{display:inline-block; width:181px; font-size: 16px; text-align:center; line-height:80px; margin:0 1px 1px 0; background-color:#393D49; color:#fff;}
  202. .alone li:hover{opacity:0.8;}
  203. .alone li a{display:block; color:#fff;}
  204. /* 自定义css */
  205. .admin-header-item-mobile{
  206. position: absolute; right: 0px; height: 70px;line-height: 70px;
  207. padding: 0 20px; text-align: center; top:0;
  208. display: none;
  209. }
  210. .admin-nav-tree .layui-nav-child a {
  211. padding-left: 30px;
  212. }
  213. .admin{
  214. border: 0;
  215. margin: 0;
  216. box-shadow:none;
  217. }
  218. .admin-nav-card{
  219. margin-top: 5px;
  220. }
  221. .admin-nav-card .layui-icon{
  222. position: relative;
  223. }
  224. .admin-nav-card .layui-tab-item iframe{
  225. width: 100%;
  226. border: 0;
  227. height: 100%;
  228. }
  229. .admin-nav-card>.layui-tab-title{
  230. border-bottom: 1px solid #1AA094;
  231. }
  232. .admin-nav-card .layui-tab-title cite{
  233. font-style: normal;
  234. padding-left: 5px;
  235. }
  236. .admin-nav-card>.layui-tab-title .layui-this{
  237. color: white;
  238. background-color: #1AA094;
  239. }
  240. .admin-nav-card>.layui-tab-title .layui-this:after{
  241. border-bottom: 0;
  242. }
  243. .admin-header-user img{
  244. width: 40px; height: 40px; border-radius: 100%;
  245. /*position: relative;
  246. top: 15px;*/
  247. }
  248. .admin-header-user .layui-nav-more{
  249. top:33px;
  250. }
  251. .admin-header-user .layui-nav-mored{
  252. top: 26px;
  253. }
  254. /*lock*/
  255. .admin-header-lock{
  256. width: 320px; height: 150px; padding: 20px; position: relative; text-align: center;
  257. }
  258. .admin-header-lock-img{
  259. width: 60px; height: 60px; margin: 0 auto;
  260. }
  261. .admin-header-lock-img img{
  262. width: 60px; height: 60px; border-radius: 100%;
  263. }
  264. .admin-header-lock-name{
  265. color: #009688;margin: 8px 0 15px 0;
  266. }
  267. .admin-header-lock-input{
  268. width: 150px; color: #FFFFFF; height: 30px; border: 0;background-color: #009688; padding: 0 7px; border-radius: 2px;
  269. }
  270. /*table*/
  271. .site-table tbody tr td {text-align: center;}
  272. .site-table tbody tr td .layui-btn+.layui-btn{margin-left: 0px;}
  273. .admin-table-page {position: fixed;z-index: 19940201;bottom: 0;width: 100%;background-color: #eee;border-bottom: 1px solid #ddd;left: 0px;}
  274. .admin-table-page .page{padding-left:20px;}
  275. .admin-table-page .page .layui-laypage {margin: 6px 0 0 0;}
  276. /**/
  277. .admin-main {margin: 15px;}
  278. .admin-side-toggle,.admin-side-full{
  279. position: absolute; cursor: pointer;
  280. z-index: 19940201;
  281. left: 200px;
  282. color: white;
  283. text-align: center;
  284. width: 30px;
  285. height: 30px;
  286. background-color: #1AA094;
  287. line-height: 30px;
  288. top: 25%;
  289. }
  290. .admin-side-toggle:hover{
  291. background-color: #5FB878;
  292. }
  293. .admin-side-full{
  294. left: 240px;
  295. }
  296. .admin-login-box{
  297. width: 185px; height: 70px; position: relative;
  298. }
  299. .beg-navbar .layui-nav-child dd a{
  300. padding-left: 30px;
  301. }
  302. .admin-contextmenu{
  303. position: absolute;line-height: 36px;padding: 5px 0;
  304. border: 1px solid #d2d2d2;background-color: white;z-index: 19940201;border-radius: 2px;white-space: nowrap;top:30px;
  305. /*width: 100px;height: 200px; */
  306. }
  307. .admin-contextmenu ul li{
  308. padding: 0 15px;
  309. }
  310. .admin-contextmenu ul li:hover{
  311. background-color: #eee;
  312. cursor: pointer;
  313. }
  314. /* 适配多设备 */
  315. @media screen and (max-width: 750px) {
  316. .layui-main{width: auto; margin: 0 10px;}
  317. .logo,
  318. .header-demo .logo{left: 10px;}
  319. .site-nav-layim{display: none !important;}
  320. .header .layui-nav .layui-nav-item{margin: 0;}
  321. .header .layui-nav .layui-nav-item a{padding: 0 15px;}
  322. .site-banner{height: 300px;}
  323. .site-banner-bg{background-size: cover;}
  324. .site-zfj{height: 100px; padding-top: 5px;}
  325. .site-zfj i{top: 10px; width: 100px; height: 100px; margin-left: -50px; font-size: 100px;}
  326. .site-desc{background-size: 70%; margin: 0;}
  327. .site-desc cite{display: none;}
  328. .site-download{margin-top: 0; }
  329. .site-download a{height: 40px; line-height: 40px; padding: 0 25px 0 60px; border: 1px solid #778097; border-radius: 30px; color: #fff; font-size: 16px;}
  330. .site-download a cite{left: 20px;}
  331. .site-banner-other{bottom: 15px;}
  332. .site-idea{margin: 20px 0;}
  333. .site-idea li{margin: 0 0 20px 0; width: 100%; height: auto; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}
  334. .site-hengfu img{max-width: 100%}
  335. .layui-layer-dir{display: none;}
  336. .site-tree{position: fixed; top: 0; bottom: 0; min-height: 0; overflow: auto; z-index: 1000; left: -260px; background-color: #fff; transition: all .3s; -webkit-transition: all .3s;}
  337. .site-content{width: 100%; padding: 0; overflow: auto;}
  338. .site-content img{max-width: 100%;}
  339. .site-tree-mobile{display: block!important; position: fixed; z-index: 100000; bottom: 15px; left: 15px; width: 50px; height: 50px; line-height: 50px; border-radius: 2px; text-align: center; background-color: rgba(0,0,0,.7); color: #fff;}
  340. .site-home .site-tree-mobile{display: none!important;}
  341. .site-mobile .site-tree-mobile{display: none !important;}
  342. .site-mobile .site-tree{left: 0;}
  343. .site-mobile .site-mobile-shade{content: ''; position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0,0,0,.8); z-index: 9999;}
  344. .site-tree-mobile i{font-size: 20px;}
  345. .layui-code-view{-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
  346. .layui-layout-admin .layui-side{position: fixed; top: 0; left: -260px; transition: all .3s; -webkit-transition: all .3s; z-index: 10000;}
  347. .layui-body{position: static; bottom: 0; left: 0;}
  348. .site-mobile .layui-side{left: 0;}
  349. body .layui-layout-admin .footer-demo{position: static;}
  350. .site-demo-area,
  351. .site-demo-editor,
  352. .site-demo-result,
  353. .site-demo-editor textarea,
  354. .site-demo-result iframe{position: static; width: 100%;}
  355. .site-demo-editor textarea{height: 350px;}
  356. .site-demo-zanzhu{display: none;}
  357. .site-demo-btn{bottom: auto; top: 370px;}
  358. .site-demo-result iframe{height: 500px;}
  359. .site-demo-laytpl textarea, .site-demo-laytpl div span{margin: 0;}
  360. .site-demo-tplres .site-demo-tplh2, .site-demo-tplres .site-demo-tplview{width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
  361. .site-demo-title{position: static; left: 0;}
  362. body .layui-layout-admin .site-demo{}
  363. .site-demo-code{position: static; height: 350px;}
  364. .admin-side-toggle ,.admin-header-item{display: none;}
  365. .admin-header-item-mobile{ display: block; }
  366. }