0
0

weadmin.less 15 KB

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