xadmin.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. @charset "utf-8";
  2. @import url(../lib/layui/css/layui.css);
  3. *{
  4. margin: 0px;
  5. padding: 0px;
  6. font-family: "microsoft yahei","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-size: cover;
  24. overflow: hidden;
  25. }
  26. .form-wrap{background:#f8f8f8; margin-top:15px;}
  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 0;
  48. padding: 18px 10px 18px 60px;
  49. background: #0dc316;
  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. padding-left:6px;
  136. padding-right:15px;
  137. line-height: 22px;
  138. /* border-left: 5px solid #15c142; */
  139. border-radius: 0 2px 2px 0;
  140. background-color: #f2f2f2;
  141. }
  142. .x-right{
  143. float: right;
  144. }
  145. .x-so{
  146. /*text-align: center;*/
  147. /*background: #f2f2f2 url() 0 0 no-repeat;*/
  148. margin-bottom: 20px;
  149. }
  150. .x-so input.layui-input{
  151. width: 150px;
  152. }
  153. .x-so .layui-form-label{
  154. display: inline-block;
  155. }
  156. .x-so input.layui-input,.x-so input.layui-btn{
  157. display: inline-block;
  158. }
  159. .x-red{
  160. color: red;
  161. }
  162. .x-a{
  163. color: #099641;
  164. }
  165. .x-a:hover{
  166. color: #077e37;
  167. }
  168. .x-sort{
  169. height: 30px;
  170. }
  171. .x-show{
  172. cursor: pointer;
  173. }
  174. .layui-form-switch{
  175. margin-top: 0px;
  176. }
  177. .layui-input:focus, .layui-textarea:focus {
  178. border-color: #15c142!important;
  179. }
  180. .page{
  181. margin-top: 20px;
  182. text-align: center;
  183. }
  184. .page a{
  185. display: inline-block;
  186. background: #f5f5f5;
  187. color: #888;
  188. padding: 10px 13px;
  189. min-width: 15px;
  190. transition:background-color ease .5s;
  191. font-family:"microsoft yahei";
  192. border-radius:3px;
  193. }
  194. .page span{
  195. display: inline-block;
  196. padding: 10px 10px;
  197. min-width: 15px;
  198. }
  199. .page span.current{
  200. display: inline-block;
  201. background: #15c142 url() 0 0 no-repeat;
  202. color: #fff;
  203. padding: 10px 13px;
  204. min-width: 15px;
  205. border-radius:3px;
  206. }
  207. .page .pagination li{
  208. display: inline-block;
  209. margin-right: 5px;
  210. text-align: center;
  211. }
  212. .page .pagination li.active span{
  213. background: #15c142 url() 0 0 no-repeat;
  214. color: #fff;
  215. }
  216. /*登录样式*/
  217. /*头部*/
  218. .container{
  219. width: 100%;
  220. height: 55px;
  221. background-color:#111;
  222. border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  223. }
  224. .container .logo a{
  225. float: left;
  226. color: #fff;
  227. font-size: 18px;
  228. padding-left: 20px;
  229. line-height: 50px;
  230. width: 200px;
  231. transition:background-color ease .3s
  232. }
  233. .container .right{
  234. background-color:rgba(0,0,0,0);
  235. float: right;
  236. transition:background-color ease .3s
  237. }
  238. .container .left_open{
  239. height: 55px;
  240. float: left;
  241. }
  242. .container .left_open i{
  243. display: block;
  244. background: rgba(255,255,255,0.1) url() 0 0 no-repeat;
  245. color: #fff;
  246. width: 32px;
  247. height: 32px;
  248. line-height: 32px;
  249. border-radius: 3px;
  250. text-align: center;
  251. margin-top: 10px;
  252. cursor: pointer;
  253. transition:background-color ease .3s
  254. }
  255. .container .left_open i:hover{
  256. background: rgba(255,255,255,0.3) url() 0 0 no-repeat;
  257. }
  258. .container .left{
  259. background-color:rgba(0,0,0,0);
  260. float: left;
  261. }
  262. .container .layui-nav-item{
  263. line-height: 50px;
  264. }
  265. .container .layui-nav-more{
  266. top: 25px;
  267. }
  268. .container .layui-nav-child{
  269. top: 50px;
  270. }
  271. .container .layui-nav-child i{
  272. margin-right: 10px;
  273. }
  274. .layui-nav .layui-nav-item a{
  275. color: #ccc;
  276. cursor: pointer;
  277. }
  278. .layui-nav .layui-nav-item >a:hover{
  279. color: #fff;
  280. cursor: pointer;
  281. }
  282. .layui-nav .layui-nav-child a{
  283. color: #333;
  284. cursor: pointer;
  285. }
  286. .left-nav{
  287. position: absolute;
  288. top: 51px;
  289. bottom: 0px;
  290. left: 0;
  291. z-index: 2;
  292. padding-top: 10px;
  293. background-color: #222324;
  294. width: 220px;
  295. max-width: 220px;
  296. overflow: hidden;
  297. border-right: 1px solid #131e26;
  298. /*width: 0px;*/
  299. }
  300. .left-nav #nav > li{
  301. line-height:30px;
  302. border-left:4px solid #222324;
  303. transition:background-color ease .3s
  304. }
  305. .left-nav #nav > li:hover {
  306. background:#181818;
  307. border-left:4px solid #42b8f1;
  308. }
  309. .left-nav #nav > li.open {
  310. border-left:4px solid #42b8f1;
  311. background:#181818;
  312. }
  313. .left-nav #nav li a:hover {
  314. color: white;
  315. }
  316. .left-nav #nav .current{
  317. background:#41b8f0;
  318. }
  319. .left-nav #nav li a{
  320. font-size: 14px;
  321. padding: 12px 15px 12px 20px;
  322. display: block;
  323. cursor: pointer;
  324. color:#efefef;
  325. transition:background-color ease .3s;
  326. }
  327. .left-nav #nav li a cite{
  328. font-size: 14px;
  329. }
  330. .left-nav #nav li .sub-menu{
  331. display: none;
  332. }
  333. .left-nav #nav li .opened{
  334. display: block;
  335. background:#454648;
  336. }
  337. .left-nav #nav li .opened:hover{
  338. /*background: #fff url() 0 0 no-repeat;*/
  339. }
  340. .left-nav #nav li .opened .current{
  341. }
  342. .left-nav #nav li .sub-menu li{
  343. background:#181818;
  344. transition:background-color ease .3s
  345. /*color: blue;*/
  346. /*background: #fff url() 0 0 no-repeat;*/
  347. }
  348. .left-nav #nav li .sub-menu li:hover{
  349. background:#303235;
  350. /*color: blue;*/
  351. /*background: #fff url() 0 0 no-repeat;*/
  352. }
  353. .left-nav #nav li .sub-menu li a{
  354. padding: 10px 15px 10px 30px;
  355. font-size: 14px;
  356. cursor: pointer;
  357. color:#8e8e8e;
  358. }
  359. .left-nav #nav li .sub-menu li .sub-menu li a{
  360. padding-left: 45px;
  361. }
  362. /*点击当前菜单显示效果*/
  363. .menu-current {
  364. background:#282b33!important;
  365. }
  366. .menu-current > a{
  367. color:#fff!important;
  368. }
  369. .left-nav #nav li .sub-menu li a:hover{
  370. color: #fff;
  371. }
  372. .left-nav #nav li .sub-menu li a i{
  373. font-size: 12px;
  374. }
  375. .left-nav #nav li a i{
  376. padding-right: 10px;
  377. padding-top:8px;
  378. line-height: 14px;
  379. }
  380. .left-nav #nav li .nav_right{
  381. float: right;
  382. font-size: 16px;
  383. }
  384. .page a:hover{ color:#fff; background:#969696; }
  385. .x-slide_left {
  386. width: 17px;
  387. height: 61px;
  388. background: url(../images/icon.png) 0 0 no-repeat;
  389. position: absolute;
  390. top: 200px;
  391. left: 221px;
  392. cursor: pointer;
  393. z-index: 3;
  394. }
  395. .page-content{
  396. position: absolute;
  397. top: 51px;
  398. right: 0;
  399. bottom: 0px;
  400. left: 221px;
  401. overflow: hidden;
  402. z-index: 1;
  403. }
  404. .page-content-bg{
  405. position: absolute;
  406. top: 46px;
  407. right: 0;
  408. bottom: 42px;
  409. left: 221px;
  410. background: rgba(0,0,0,0.5); url() 0 0 no-repeat;
  411. overflow: hidden;
  412. z-index: 100;
  413. display: none;
  414. }
  415. .page-content .tab{
  416. height: 100%;
  417. width: 100%;
  418. background: #EFEEF0 url() 0 0 no-repeat;
  419. margin: 0px;
  420. }
  421. .page-content .layui-tab-title{
  422. /*padding-top: 5px;*/
  423. height: 35px;
  424. background: #EFEEF0 url() 0 0 no-repeat;
  425. position: relative;
  426. z-index: 100;
  427. }
  428. .page-content .layui-tab-title li.home i{
  429. padding-right: 5px;
  430. }
  431. .page-content .layui-tab-title li.home .layui-tab-close{
  432. display: none;
  433. }
  434. .page-content .layui-tab-title li{
  435. line-height: 35px;
  436. }
  437. .page-content .layui-tab-title .layui-this:after{
  438. height: 36px;
  439. }
  440. .page-content .layui-tab-title li .layui-tab-close{
  441. border-radius: 50%;
  442. }
  443. .page-content .layui-tab-title .layui-this{
  444. background: #fff url() 0 0 no-repeat;
  445. }
  446. .page-content .layui-tab-bar{
  447. height:34px;
  448. line-height: 35px;
  449. }
  450. .page-content .layui-tab-content{
  451. position: absolute;
  452. top: 36px;
  453. bottom: 0px;
  454. width: 100%;
  455. background: #fff url() 0 0 no-repeat;
  456. padding: 0px;
  457. overflow: hidden;
  458. }
  459. .page-content .layui-tab-content .layui-tab-item{
  460. width: 100%;
  461. height: 100%;
  462. }
  463. .page-content .layui-tab-content .layui-tab-item iframe{
  464. width: 100%;
  465. height: 100%;
  466. }
  467. .x-admin-carousel,.layui-carousel,.x-admin-carousel>[carousel-item]>* {
  468. background-color:#fff
  469. }
  470. .x-admin-backlog .x-admin-backlog-body {
  471. display:block;
  472. padding:10px 15px;
  473. background-color:#f8f8f8;
  474. color:#999;
  475. border-radius:2px;
  476. transition:all .3s;
  477. -webkit-transition:all .3s
  478. }
  479. .x-admin-backlog-body h3 {
  480. padding-bottom:10px;
  481. font-size:12px
  482. }
  483. .x-admin-backlog-body p cite {
  484. font-style:normal;
  485. font-size:30px;
  486. font-weight:300;
  487. color:#169f1d;
  488. }
  489. .x-admin-backlog-body:hover {
  490. background-color:#CFCFCF;
  491. color:#888
  492. }
  493. .welcome-footer{padding: 30px 0; line-height: 30px; text-align: center; background-color: #eee; color: #666; font-weight: 300;}
  494. body .layui-layout-admin .footer-demo{height: auto; padding: 15px 0; line-height: 26px;}
  495. .welcome-footer a{padding: 0 5px;}
  496. table th, table td {
  497. word-break: break-all;
  498. }
  499. .footer{
  500. position: fixed;
  501. bottom: 0px;
  502. width: 100%;
  503. background-color: #323436;
  504. text-align:center;
  505. font-size:12px;
  506. border-top: 1px solid rgba(0, 0, 0, 0.1);
  507. line-height: 41px;
  508. color: #666;
  509. /*padding-left: 10px;*/
  510. }
  511. .footer .copyright{
  512. margin-left: 10px;
  513. }
  514. @media screen and (max-width: 768px){
  515. .fast-add{
  516. display: none;
  517. }
  518. .layui-nav .to-index{
  519. display: none;
  520. }
  521. .container .logo a{
  522. width: 140px;
  523. }
  524. .container .left_open {
  525. /*float: right;*/
  526. }
  527. .left-nav{
  528. left: -221px;
  529. }
  530. .page-content{
  531. left: 0px;
  532. }
  533. .page-content .layui-tab-content .layui-tab-item{
  534. -webkit-overflow-scrolling: touch;
  535. overflow-y: scroll;
  536. }
  537. .x-so input.layui-input{
  538. width: 100%;
  539. margin: 10px;
  540. }
  541. }