xadmin.css 8.4 KB

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