xadmin.css 8.5 KB

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