xadmin.css 9.7 KB

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