weadmin.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689
  1. @charset "utf-8";
  2. @import "../../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. html {
  13. width: 100%;
  14. height: 100%;
  15. overflow-x: hidden;
  16. overflow-y: auto;
  17. }
  18. body {
  19. width: 100%;
  20. min-height: 100%;
  21. }
  22. .fr {
  23. float: right;
  24. }
  25. .font16{
  26. font-size: 16px;
  27. }
  28. .rightMenu {
  29. position: absolute;
  30. width: 120px;
  31. line-height: 24px;
  32. z-index: 999;
  33. background: #FFF;
  34. border: 1px solid #F2F2F2;
  35. border-bottom: none;
  36. border-radius: 3px;
  37. display: none;
  38. //cursor: hand;
  39. li {
  40. display: block;
  41. padding: 4px 10px;
  42. color: #CCC;
  43. border-bottom: 1px solid #F2F2F2;
  44. &:hover {
  45. background: #EEE;
  46. color: #666;
  47. }
  48. }
  49. }
  50. /**treeselect*/
  51. .layui-form-select .layui-tree {
  52. display: none;
  53. position: absolute;
  54. left: 0;
  55. top: 42px;
  56. padding: 5px 0;
  57. z-index: 999;
  58. min-width: 100%;
  59. border: 1px solid #d2d2d2;
  60. max-height: 300px;
  61. overflow-y: auto;
  62. background-color: #fff;
  63. border-radius: 2px;
  64. box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  65. box-sizing: border-box;
  66. }
  67. .layui-form-selected .layui-tree {
  68. display: block;
  69. }
  70. .weadmin-trailer {
  71. position: absolute;
  72. left: 0;
  73. top: 0;
  74. height: 100%;
  75. width: 100%;
  76. padding: 15px;
  77. display: flex;
  78. justify-content: center;
  79. flex-direction: column;
  80. text-align: center;
  81. box-sizing: border-box;
  82. font-size: 20px;
  83. font-weight: 300;
  84. color: #ccc;
  85. }
  86. .login-bg {
  87. /*background: #eeeeee 0 0 no-repeat;*/
  88. background: url(../images/bg.png) no-repeat center;
  89. background-size: cover;
  90. overflow: hidden;
  91. }
  92. .login {
  93. margin: 120px auto 0 auto;
  94. min-height: 420px;
  95. max-width: 420px;
  96. padding: 40px;
  97. background-color: #ffffff;
  98. margin-left: auto;
  99. margin-right: auto;
  100. border-radius: 4px;
  101. /* overflow-x: hidden; */
  102. box-sizing: border-box;
  103. a.logo {
  104. display: block;
  105. height: 58px;
  106. width: 167px;
  107. margin: 0 auto 30px auto;
  108. background-size: 167px 42px;
  109. }
  110. .message {
  111. margin: 10px 0 0 -58px;
  112. padding: 18px 10px 18px 60px;
  113. background: #189F92;
  114. position: relative;
  115. color: #fff;
  116. font-size: 16px;
  117. }
  118. #darkbannerwrap {
  119. background: url(../images/aiwrap.png);
  120. width: 18px;
  121. height: 10px;
  122. margin: 0 0 20px -58px;
  123. position: relative;
  124. }
  125. input[type=text],
  126. input[type=file],
  127. input[type=password],
  128. input[type=email],
  129. select {
  130. border: 1px solid #DCDEE0;
  131. vertical-align: middle;
  132. border-radius: 3px;
  133. height: 50px;
  134. padding: 0px 16px;
  135. font-size: 14px;
  136. color: #555555;
  137. outline: none;
  138. width: 100%;
  139. box-sizing: border-box;
  140. }
  141. input[type=text]:focus,
  142. input[type=file]:focus,
  143. input[type=password]:focus,
  144. input[type=email]:focus,
  145. select:focus {
  146. border: 1px solid #27A9E3;
  147. }
  148. input[type=submit],
  149. input[type=button] {
  150. display: inline-block;
  151. vertical-align: middle;
  152. padding: 12px 24px;
  153. margin: 0px;
  154. font-size: 18px;
  155. line-height: 24px;
  156. text-align: center;
  157. white-space: nowrap;
  158. vertical-align: middle;
  159. cursor: pointer;
  160. color: #ffffff;
  161. background-color: #189F92;
  162. border-radius: 3px;
  163. border: none;
  164. -webkit-appearance: none;
  165. outline: none;
  166. width: 100%;
  167. }
  168. hr {
  169. background: #fff 0 0 no-repeat;
  170. &.hr15 {
  171. height: 15px;
  172. border: none;
  173. margin: 0px;
  174. padding: 0px;
  175. width: 100%;
  176. }
  177. &.hr20 {
  178. height: 20px;
  179. border: none;
  180. margin: 0px;
  181. padding: 0px;
  182. width: 100%;
  183. }
  184. }
  185. }
  186. .weadmin-body {
  187. padding: 20px;
  188. }
  189. .weadmin-nav {
  190. padding: 0 20px;
  191. position: relative;
  192. z-index: 99;
  193. border-bottom: 1px solid #e5e5e5;
  194. line-height: 39px;
  195. height: 39px;
  196. overflow: hidden;
  197. }
  198. .weadmin-block {
  199. display: block;
  200. margin-bottom: 10px;
  201. padding: 5px;
  202. line-height: 22px;
  203. /* border-left: 5px solid #009688; */
  204. border-radius: 0 2px 2px 0;
  205. background-color: #f2f2f2;
  206. }
  207. .we-search {
  208. // text-align: center;
  209. margin-bottom: 20px;
  210. font-size: 16px;
  211. input.layui-input {
  212. width: 190px;
  213. }
  214. // .layui-form-label{
  215. // display: inline-block;
  216. // }
  217. // input.layui-input , input.layui-btn{
  218. // display: inline-block;
  219. // }
  220. }
  221. .we-red {
  222. color: red;
  223. }
  224. .page {
  225. margin-top: 20px;
  226. text-align: center;
  227. a {
  228. display: inline-block;
  229. background: #fff 0 0 no-repeat;
  230. color: #888;
  231. padding: 10px;
  232. min-width: 15px;
  233. border: 1px solid #E2E2E2;
  234. }
  235. span {
  236. display: inline-block;
  237. padding: 10px;
  238. min-width: 15px;
  239. border: 1px solid #E2E2E2;
  240. &.current {
  241. display: inline-block;
  242. background: #009688 0 0 no-repeat;
  243. color: #fff;
  244. padding: 10px;
  245. min-width: 15px;
  246. border: 1px solid #009688;
  247. }
  248. }
  249. .pagination li {
  250. display: inline-block;
  251. margin-right: 5px;
  252. text-align: center;
  253. &.active span {
  254. background: #009688 0 0 no-repeat;
  255. color: #fff;
  256. border: 1px solid #009688;
  257. }
  258. }
  259. }
  260. /*登录样式*/
  261. /*头部*/
  262. .container {
  263. width: 100%;
  264. height: 45px;
  265. background-color: #222;
  266. border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  267. .logo a {
  268. float: left;
  269. color: #fff;
  270. font-size: 18px;
  271. padding-left: 20px;
  272. line-height: 45px;
  273. width: 200px;
  274. }
  275. .right {
  276. background-color: rgba(0, 0, 0, 0);
  277. float: right;
  278. }
  279. .left_open {
  280. height: 45px;
  281. float: left;
  282. }
  283. .left_open i {
  284. display: block;
  285. background: rgba(255, 255, 255, 0.1) 0 0 no-repeat;
  286. color: #fff;
  287. width: 32px;
  288. height: 32px;
  289. line-height: 32px;
  290. border-radius: 3px;
  291. text-align: center;
  292. margin-top: 7px;
  293. cursor: pointer;
  294. &:hover {
  295. background: rgba(255, 255, 255, 0.3) 0 0 no-repeat;
  296. }
  297. }
  298. .left {
  299. background-color: rgba(0, 0, 0, 0);
  300. float: left;
  301. }
  302. .layui-nav-item {
  303. line-height: 45px;
  304. }
  305. .layui-nav-child {
  306. top: 50px;
  307. i {
  308. margin-right: 10px;
  309. }
  310. }
  311. }
  312. .layui-nav {
  313. .layui-nav-item a {
  314. color: #fff;
  315. }
  316. .layui-nav-child a {
  317. color: #333;
  318. }
  319. }
  320. .left-nav {
  321. position: absolute;
  322. top: 46px;
  323. bottom: 42px;
  324. left: 0;
  325. z-index: 2;
  326. padding-top: 10px;
  327. background-color: #EEEEEE;
  328. width: 220px;
  329. max-width: 220px;
  330. overflow: auto;
  331. overflow-x: hidden;
  332. border-right: 1px solid #e5e5e5;
  333. #nav {
  334. .current {
  335. background-color: rgba(0, 0, 0, 0.3);
  336. }
  337. li {
  338. border-bottom: 1px solid #e5e5e5;
  339. &:hover>a {
  340. /*color: blue;*/
  341. }
  342. a {
  343. font-size: 14px;
  344. padding: 10px 15px 10px 20px;
  345. display: block;
  346. cursor: pointer;
  347. cite {
  348. font-size: 14px;
  349. }
  350. }
  351. .opened {
  352. display: block;
  353. &:hover {
  354. /*background: #fff 0 0 no-repeat;*/
  355. }
  356. }
  357. .sub-menu {
  358. display: none;
  359. li {
  360. &:hover {
  361. /*color: blue;*/
  362. /*background: #fff 0 0 no-repeat;*/
  363. }
  364. a {
  365. padding: 12px 15px 12px 30px;
  366. font-size: 14px;
  367. cursor: pointer;
  368. i {
  369. font-size: 12px;
  370. }
  371. &:hover {
  372. color: #148cf1;
  373. }
  374. }
  375. .sub-menu li a {
  376. padding-left: 45px;
  377. }
  378. }
  379. }
  380. }
  381. }
  382. #nav li {
  383. .nav_right {
  384. float: right;
  385. font-size: 16px;
  386. transform: rotate(180deg);
  387. }
  388. a i {
  389. padding-right: 10px;
  390. line-height: 14px;
  391. }
  392. }
  393. }
  394. .x-slide_left {
  395. width: 17px;
  396. height: 61px;
  397. background: url(../images/icon.png) 0 0 no-repeat;
  398. position: absolute;
  399. top: 200px;
  400. left: 221px;
  401. cursor: pointer;
  402. z-index: 3;
  403. }
  404. .page-content {
  405. position: absolute;
  406. top: 46px;
  407. right: 0;
  408. bottom: 42px;
  409. left: 221px;
  410. overflow: hidden;
  411. z-index: 1;
  412. &-bg {
  413. position: absolute;
  414. top: 46px;
  415. right: 0;
  416. bottom: 42px;
  417. left: 221px;
  418. background: rgba(0, 0, 0, 0.5) 0 0 no-repeat;
  419. overflow: hidden;
  420. z-index: 100;
  421. display: none;
  422. }
  423. .tab {
  424. height: 100%;
  425. width: 100%;
  426. background: #EFEEF0 0 0 no-repeat;
  427. margin: 0px;
  428. }
  429. .layui-tab-title {
  430. /*padding-top: 5px;*/
  431. height: 35px;
  432. background: #EFEEF0 0 0 no-repeat;
  433. position: relative;
  434. z-index: 100;
  435. li {
  436. line-height: 35px;
  437. .layui-tab-close {
  438. border-radius: 50%;
  439. }
  440. }
  441. .layui-this:after {
  442. height: 36px;
  443. }
  444. .layui-this {
  445. background: #fff 0 0 no-repeat;
  446. }
  447. }
  448. .layui-tab-bar {
  449. height: 34px;
  450. line-height: 35px;
  451. }
  452. .layui-tab-content {
  453. position: absolute;
  454. top: 36px;
  455. bottom: 0px;
  456. width: 100%;
  457. background: #fff 0 0 no-repeat;
  458. padding: 0px;
  459. overflow: hidden;
  460. .layui-tab-item {
  461. width: 100%;
  462. height: 100%;
  463. iframe {
  464. width: 100%;
  465. height: 100%;
  466. }
  467. }
  468. }
  469. }
  470. .welcome-footer {
  471. padding: 30px 0;
  472. line-height: 30px;
  473. text-align: center;
  474. background-color: #eee;
  475. color: #666;
  476. font-weight: 300;
  477. }
  478. body .layui-layout-admin .footer-demo {
  479. height: auto;
  480. padding: 15px 0;
  481. line-height: 26px;
  482. }
  483. .welcome-footer a {
  484. padding: 0 5px;
  485. }
  486. table th,
  487. table td {
  488. word-break: break-all;
  489. }
  490. //底部新增样式
  491. .footer {
  492. position: fixed;
  493. bottom: 0px;
  494. width: 100%;
  495. background-color: #222;
  496. border-top: 1px solid rgba(255, 255, 255, 0.2);
  497. line-height: 41px;
  498. color: #fff;
  499. /*padding-left: 10px;*/
  500. .copyright {
  501. margin-left: 10px;
  502. }
  503. }
  504. //小屏幕时补充样式
  505. @media screen and (max-width: 768px) {
  506. .fast-add {
  507. display: none;
  508. }
  509. .layui-nav .to-index {
  510. display: none;
  511. }
  512. .container {
  513. .logo a {
  514. width: 140px;
  515. }
  516. .left_open {
  517. /*float: right;*/
  518. }
  519. }
  520. .left-nav {
  521. left: -221px;
  522. }
  523. .page-content {
  524. left: 0px;
  525. .layui-tab-content .layui-tab-item {
  526. -webkit-overflow-scrolling: touch;
  527. overflow-y: scroll;
  528. }
  529. }
  530. .we-search input.layui-input {
  531. width: 100%;
  532. margin: 10px;
  533. }
  534. }
  535. .we-changelog .layui-timeline-title {
  536. h3 {
  537. display: inline-block;
  538. }
  539. .layui-badge-rim {
  540. top: -2px;
  541. left: 10px;
  542. }
  543. }
  544. .weadmin-shortcut{
  545. height:185px!important;
  546. background-color:#fff;
  547. .layui-carousel,
  548. &>[carousel-item]>*{
  549. background-color:#fff
  550. }
  551. .layui-col-space10{
  552. margin:0;
  553. }
  554. li{
  555. text-align:center;
  556. a{
  557. display: block;
  558. }
  559. .layui-icon{
  560. display:inline-block;
  561. width:100%;
  562. height:120px;
  563. line-height:120px;
  564. text-align:center;
  565. border-radius:2px;
  566. font-size:30px;
  567. background-color:#F8F8F8;
  568. color:#333;
  569. transition:all .3s;
  570. -webkit-transition:all .3s;
  571. }
  572. &:hover .layui-icon{
  573. background-color:#f2f2f2;
  574. }
  575. cite{
  576. position:relative;
  577. top:2px;
  578. display:block;
  579. color:#333333;
  580. text-overflow:ellipsis;
  581. overflow:hidden;
  582. white-space:nowrap;
  583. font-size:16px;
  584. }
  585. p{
  586. font-size: 12px;
  587. line-height: 16px;
  588. color: #666666;
  589. margin-top: 5px;
  590. span{
  591. text-align: left;
  592. display: inline-block;
  593. }
  594. }
  595. }
  596. //切换指示器
  597. .layui-carousel-ind{
  598. position:absolute;
  599. top:-41px;
  600. text-align:right;
  601. ul{
  602. background:0 0;
  603. li{
  604. background-color:#e2e2e2;
  605. &:hover{
  606. background-color:#c2c2c2;
  607. }
  608. &.layui-this{
  609. background-color:#999;
  610. }
  611. }
  612. }
  613. }
  614. }
  615. .weadmin-text{
  616. p{
  617. margin-bottom: 10px;
  618. text-indent: 2em;
  619. }
  620. }
  621. .layui-card-header.layui-elem-quote{
  622. line-height: 22px;
  623. height: 22px;
  624. padding: 15px;
  625. }
  626. .weadmin-notice{
  627. height: 60px!important;
  628. a{
  629. display:block;
  630. text-align:center;
  631. line-height: 60px;
  632. }
  633. //切换指示器
  634. .layui-carousel-ind{
  635. position:absolute;
  636. top:-56px;
  637. text-align:right;
  638. ul{
  639. background:0 0;
  640. li{
  641. background-color:#e2e2e2;
  642. &:hover{
  643. background-color:#c2c2c2;
  644. }
  645. &.layui-this{
  646. background-color:#999;
  647. }
  648. }
  649. }
  650. }
  651. }