xadmin.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. @charset "utf-8";
  2. @import url(../lib/layui/css/layui.css);
  3. *{
  4. margin: 0px;
  5. padding: 0px;
  6. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  7. }
  8. a{
  9. text-decoration: none;
  10. }
  11. html{
  12. width: 100%;
  13. height: 100%;
  14. overflow-x:hidden;
  15. overflow-y:auto;
  16. }
  17. body{
  18. width: 100%;
  19. min-height: 100%;
  20. }
  21. .login-bg{
  22. /*background: #eeeeee url() 0 0 no-repeat;*/
  23. background:url(../images/bg.png) no-repeat center;
  24. background-size: cover;
  25. overflow: hidden;
  26. }
  27. .login{
  28. margin: 120px auto 0 auto;
  29. min-height: 420px;
  30. max-width: 420px;
  31. padding: 40px;
  32. background-color: #ffffff;
  33. margin-left: auto;
  34. margin-right: auto;
  35. border-radius: 4px;
  36. /* overflow-x: hidden; */
  37. box-sizing: border-box;
  38. }
  39. .login a.logo{
  40. display: block;
  41. height: 58px;
  42. width: 167px;
  43. margin: 0 auto 30px auto;
  44. background-size: 167px 42px;
  45. }
  46. .login .message {
  47. margin: 10px 0 0 -58px;
  48. padding: 18px 10px 18px 60px;
  49. background: #189F92;
  50. position: relative;
  51. color: #fff;
  52. font-size: 16px;
  53. }
  54. .login #darkbannerwrap {
  55. background: url(../images/aiwrap.png);
  56. width: 18px;
  57. height: 10px;
  58. margin: 0 0 20px -58px;
  59. position: relative;
  60. }
  61. .login input[type=text],
  62. .login input[type=file],
  63. .login input[type=password],
  64. .login input[type=email], select {
  65. border: 1px solid #DCDEE0;
  66. vertical-align: middle;
  67. border-radius: 3px;
  68. height: 50px;
  69. padding: 0px 16px;
  70. font-size: 14px;
  71. color: #555555;
  72. outline:none;
  73. width:100%;
  74. box-sizing: border-box;
  75. }
  76. .login input[type=text]:focus,
  77. .login input[type=file]:focus,
  78. .login input[type=password]:focus,
  79. .login input[type=email]:focus, select:focus {
  80. border: 1px solid #27A9E3;
  81. }
  82. .login input[type=submit],
  83. .login input[type=button]{
  84. display: inline-block;
  85. vertical-align: middle;
  86. padding: 12px 24px;
  87. margin: 0px;
  88. font-size: 18px;
  89. line-height: 24px;
  90. text-align: center;
  91. white-space: nowrap;
  92. vertical-align: middle;
  93. cursor: pointer;
  94. color: #ffffff;
  95. background-color: #189F92;
  96. border-radius: 3px;
  97. border: none;
  98. -webkit-appearance: none;
  99. outline:none;
  100. width:100%;
  101. }
  102. .login hr {
  103. background: #fff url() 0 0 no-repeat;
  104. }
  105. .login hr.hr15 {
  106. height: 15px;
  107. border: none;
  108. margin: 0px;
  109. padding: 0px;
  110. width: 100%;
  111. }
  112. .login hr.hr20 {
  113. height: 20px;
  114. border: none;
  115. margin: 0px;
  116. padding: 0px;
  117. width: 100%;
  118. }
  119. .x-body{
  120. padding: 20px;
  121. }
  122. .x-nav{
  123. padding: 0 20px;
  124. position: relative;
  125. z-index: 99;
  126. border-bottom: 1px solid #e5e5e5;
  127. line-height: 39px;
  128. height: 39px;
  129. overflow: hidden;
  130. }
  131. xblock{
  132. display: block;
  133. margin-bottom: 10px;
  134. padding: 5px;
  135. line-height: 22px;
  136. /* border-left: 5px solid #009688; */
  137. border-radius: 0 2px 2px 0;
  138. background-color: #f2f2f2;
  139. }
  140. .x-right{
  141. float: right;
  142. }
  143. .x-so{
  144. /*text-align: center;*/
  145. /*background: #f2f2f2 url() 0 0 no-repeat;*/
  146. margin-bottom: 20px;
  147. }
  148. .x-so input.layui-input{
  149. width: 150px;
  150. }
  151. .x-so .layui-form-label{
  152. display: inline-block;
  153. }
  154. .x-so input.layui-input,.x-so input.layui-btn{
  155. display: inline-block;
  156. }
  157. .x-red{
  158. color: red;
  159. }
  160. .x-a{
  161. color: #1AA093;
  162. }
  163. .x-a:hover{
  164. color: #127F74;
  165. }
  166. .x-sort{
  167. height: 30px;
  168. }
  169. .x-show{
  170. cursor: pointer;
  171. }
  172. .layui-form-switch{
  173. margin-top: 0px;
  174. }
  175. .layui-input:focus, .layui-textarea:focus {
  176. border-color: #189f92!important;
  177. }
  178. .page{
  179. margin-top: 20px;
  180. text-align: center;
  181. }
  182. .page a{
  183. display: inline-block;
  184. background: #fff url() 0 0 no-repeat;
  185. color: #888;
  186. padding: 10px;
  187. min-width: 15px;
  188. border: 1px solid #E2E2E2;
  189. }
  190. .page span{
  191. display: inline-block;
  192. padding: 10px;
  193. min-width: 15px;
  194. border: 1px solid #E2E2E2;
  195. }
  196. .page span.current{
  197. display: inline-block;
  198. background: #009688 url() 0 0 no-repeat;
  199. color: #fff;
  200. padding: 10px;
  201. min-width: 15px;
  202. border: 1px solid #009688;
  203. }
  204. .page .pagination li{
  205. display: inline-block;
  206. margin-right: 5px;
  207. text-align: center;
  208. }
  209. .page .pagination li.active span{
  210. background: #009688 url() 0 0 no-repeat;
  211. color: #fff;
  212. border: 1px solid #009688;
  213. }
  214. /*登录样式*/
  215. /*头部*/
  216. .container{
  217. width: 100%;
  218. height: 45px;
  219. background-color: #222;
  220. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  221. }
  222. .container .logo a{
  223. float: left;
  224. color: #fff;
  225. font-size: 18px;
  226. padding-left: 20px;
  227. line-height: 45px;
  228. width: 200px;
  229. }
  230. .container .right{
  231. background-color:rgba(0,0,0,0);
  232. float: right;
  233. }
  234. .container .left_open{
  235. height: 45px;
  236. float: left;
  237. }
  238. .container .left_open i{
  239. display: block;
  240. background: rgba(255,255,255,0.1) url() 0 0 no-repeat;
  241. color: #fff;
  242. width: 32px;
  243. height: 32px;
  244. line-height: 32px;
  245. border-radius: 3px;
  246. text-align: center;
  247. margin-top: 7px;
  248. cursor: pointer;
  249. }
  250. .container .left_open i:hover{
  251. background: rgba(255,255,255,0.3) url() 0 0 no-repeat;
  252. }
  253. .container .left{
  254. background-color:rgba(0,0,0,0);
  255. float: left;
  256. }
  257. .container .layui-nav-item{
  258. line-height: 45px;
  259. }
  260. .container .layui-nav-more{
  261. top: 20px;
  262. }
  263. .container .layui-nav-child{
  264. top: 50px;
  265. }
  266. .container .layui-nav-child i{
  267. margin-right: 10px;
  268. }
  269. .layui-nav .layui-nav-item a{
  270. color: #fff;
  271. cursor: pointer;
  272. }
  273. .layui-nav .layui-nav-child a{
  274. color: #333;
  275. cursor: pointer;
  276. }
  277. .left-nav{
  278. position: absolute;
  279. top: 46px;
  280. bottom: 42px;
  281. left: 0;
  282. z-index: 2;
  283. padding-top: 10px;
  284. background-color: #EEEEEE;
  285. width: 220px;
  286. max-width: 220px;
  287. overflow: auto;
  288. overflow-x:hidden;
  289. border-right: 1px solid #e5e5e5;
  290. /*width: 0px;*/
  291. }
  292. .left-nav #nav li{
  293. border-bottom: 1px solid #e5e5e5;
  294. }
  295. .left-nav #nav li:hover > a{
  296. /*color: blue;*/
  297. }
  298. .left-nav #nav .current{
  299. background-color: rgba(0, 0, 0, 0.3);
  300. }
  301. .left-nav #nav li a{
  302. font-size: 14px;
  303. padding: 10px 15px 10px 20px;
  304. display: block;
  305. cursor: pointer;
  306. }
  307. .left-nav #nav li a cite{
  308. font-size: 14px;
  309. }
  310. .left-nav #nav li .sub-menu{
  311. display: none;
  312. }
  313. .left-nav #nav li .opened{
  314. display: block;
  315. }
  316. .left-nav #nav li .opened:hover{
  317. /*background: #fff url() 0 0 no-repeat;*/
  318. }
  319. .left-nav #nav li .opened .current{
  320. }
  321. .left-nav #nav li .sub-menu li:hover{
  322. /*color: blue;*/
  323. /*background: #fff url() 0 0 no-repeat;*/
  324. }
  325. .left-nav #nav li .sub-menu li a{
  326. padding: 12px 15px 12px 30px;
  327. font-size: 14px;
  328. cursor: pointer;
  329. }
  330. .left-nav #nav li .sub-menu li .sub-menu li a{
  331. padding-left: 45px;
  332. }
  333. .left-nav #nav li .sub-menu li a:hover{
  334. color: #148cf1;
  335. }
  336. .left-nav #nav li .sub-menu li a i{
  337. font-size: 12px;
  338. }
  339. .left-nav #nav li a i{
  340. padding-right: 10px;
  341. line-height: 14px;
  342. }
  343. .left-nav #nav li .nav_right{
  344. float: right;
  345. font-size: 16px;
  346. }
  347. .x-slide_left {
  348. width: 17px;
  349. height: 61px;
  350. background: url(../images/icon.png) 0 0 no-repeat;
  351. position: absolute;
  352. top: 200px;
  353. left: 221px;
  354. cursor: pointer;
  355. z-index: 3;
  356. }
  357. .page-content{
  358. position: absolute;
  359. top: 46px;
  360. right: 0;
  361. bottom: 42px;
  362. left: 221px;
  363. overflow: hidden;
  364. z-index: 1;
  365. }
  366. .page-content-bg{
  367. position: absolute;
  368. top: 46px;
  369. right: 0;
  370. bottom: 42px;
  371. left: 221px;
  372. background: rgba(0,0,0,0.5); url() 0 0 no-repeat;
  373. overflow: hidden;
  374. z-index: 100;
  375. display: none;
  376. }
  377. .page-content .tab{
  378. height: 100%;
  379. width: 100%;
  380. background: #EFEEF0 url() 0 0 no-repeat;
  381. margin: 0px;
  382. }
  383. .page-content .layui-tab-title{
  384. /*padding-top: 5px;*/
  385. height: 35px;
  386. background: #EFEEF0 url() 0 0 no-repeat;
  387. position: relative;
  388. z-index: 100;
  389. }
  390. .page-content .layui-tab-title li.home i{
  391. padding-right: 5px;
  392. }
  393. .page-content .layui-tab-title li.home .layui-tab-close{
  394. display: none;
  395. }
  396. .page-content .layui-tab-title li{
  397. line-height: 35px;
  398. }
  399. .page-content .layui-tab-title .layui-this:after{
  400. height: 36px;
  401. }
  402. .page-content .layui-tab-title li .layui-tab-close{
  403. border-radius: 50%;
  404. }
  405. .page-content .layui-tab-title .layui-this{
  406. background: #fff url() 0 0 no-repeat;
  407. }
  408. .page-content .layui-tab-bar{
  409. height:34px;
  410. line-height: 35px;
  411. }
  412. .page-content .layui-tab-content{
  413. position: absolute;
  414. top: 36px;
  415. bottom: 0px;
  416. width: 100%;
  417. background: #fff url() 0 0 no-repeat;
  418. padding: 0px;
  419. overflow: hidden;
  420. }
  421. .page-content .layui-tab-content .layui-tab-item{
  422. width: 100%;
  423. height: 100%;
  424. }
  425. .page-content .layui-tab-content .layui-tab-item iframe{
  426. width: 100%;
  427. height: 100%;
  428. }
  429. .x-admin-carousel,.layui-carousel,.x-admin-carousel>[carousel-item]>* {
  430. background-color:#fff
  431. }
  432. .x-admin-backlog .x-admin-backlog-body {
  433. display:block;
  434. padding:10px 15px;
  435. background-color:#f8f8f8;
  436. color:#999;
  437. border-radius:2px;
  438. transition:all .3s;
  439. -webkit-transition:all .3s
  440. }
  441. .x-admin-backlog-body h3 {
  442. padding-bottom:10px;
  443. font-size:12px
  444. }
  445. .x-admin-backlog-body p cite {
  446. font-style:normal;
  447. font-size:30px;
  448. font-weight:300;
  449. color:#009688
  450. }
  451. .x-admin-backlog-body:hover {
  452. background-color:#CFCFCF;
  453. color:#888
  454. }
  455. .welcome-footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;}
  456. body .layui-layout-admin .footer-demo{height: auto; padding: 15px 0; line-height: 26px;}
  457. .welcome-footer a{padding: 0 5px;}
  458. table th, table td {
  459. word-break: break-all;
  460. }
  461. .footer{
  462. position: fixed;
  463. bottom: 0px;
  464. width: 100%;
  465. background-color: #222;
  466. border-top: 1px solid rgba(255, 255, 255, 0.2);
  467. line-height: 41px;
  468. color: #fff;
  469. /*padding-left: 10px;*/
  470. }
  471. .footer .copyright{
  472. margin-left: 10px;
  473. }
  474. @media screen and (max-width: 768px){
  475. .fast-add{
  476. display: none;
  477. }
  478. .layui-nav .to-index{
  479. display: none;
  480. }
  481. .container .logo a{
  482. width: 140px;
  483. }
  484. .container .left_open {
  485. /*float: right;*/
  486. }
  487. .left-nav{
  488. left: -221px;
  489. }
  490. .page-content{
  491. left: 0px;
  492. }
  493. .page-content .layui-tab-content .layui-tab-item{
  494. -webkit-overflow-scrolling: touch;
  495. overflow-y: scroll;
  496. }
  497. .x-so input.layui-input{
  498. width: 100%;
  499. margin: 10px;
  500. }
  501. }