x-admin.css 19 KB

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