console.custom.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080
  1. @import "console.config.less";
  2. .notdata {
  3. padding: 15px;
  4. display: block;
  5. font-size: 13px;
  6. text-align: center;
  7. line-height: 22px;
  8. border-radius: @borderRadius;
  9. letter-spacing: 6px;
  10. border: 1px solid @borderColor;
  11. background-color: #f2f2f2;
  12. }
  13. .notselect {
  14. user-select: none;
  15. -ms-user-select: none;
  16. -moz-user-select: none;
  17. -webkit-user-select: none
  18. }
  19. .transition {
  20. transition: all .2s linear;
  21. -o-transition: all .2s linear;
  22. -moz-transition: all .2s linear;
  23. -webkit-transition: all .2s linear;
  24. }
  25. .overhide {
  26. overflow: hidden !important;
  27. }
  28. .absolute {
  29. position: absolute !important
  30. }
  31. .relative {
  32. position: relative !important
  33. }
  34. .block {
  35. display: block !important
  36. }
  37. .pointer {
  38. cursor: pointer !important
  39. }
  40. .nowrap {
  41. white-space: nowrap !important
  42. }
  43. .shadow {
  44. box-shadow: @maxShadow;
  45. }
  46. .shadow-mini {
  47. box-shadow: @minShadow;
  48. }
  49. .shadow-none {
  50. box-shadow: none !important;
  51. }
  52. .help-block {
  53. color: #999;
  54. font-size: 12px
  55. }
  56. .table-block {
  57. width: 100%;
  58. display: table !important;
  59. box-sizing: border-box;
  60. }
  61. .inline-block {
  62. display: inline-block !important
  63. }
  64. .think-box-shadow {
  65. padding: 20px !important;
  66. background: #fff !important;
  67. box-shadow: @maxShadow;
  68. border-radius: @borderRadius;
  69. > form.layui-card {
  70. box-shadow: none;
  71. }
  72. }
  73. .pull- {
  74. &left {
  75. float: left !important
  76. }
  77. &right {
  78. float: right !important
  79. }
  80. }
  81. .full- {
  82. &width {
  83. width: 100% !important
  84. }
  85. &height {
  86. height: 100% !important
  87. }
  88. }
  89. .color- {
  90. &red {
  91. color: #e44 !important
  92. }
  93. &blue {
  94. color: #29f !important
  95. }
  96. &desc {
  97. color: #999 !important
  98. }
  99. &text {
  100. color: #333 !important
  101. }
  102. &green {
  103. color: #090 !important
  104. }
  105. }
  106. .sub-span- {
  107. &red span {
  108. color: #e44 !important
  109. }
  110. &blue span {
  111. color: #29f !important
  112. }
  113. &desc span {
  114. color: #999 !important
  115. }
  116. &text span {
  117. color: #333 !important
  118. }
  119. &green span {
  120. color: #090 !important
  121. }
  122. }
  123. .sub-strong- {
  124. &s10 b {
  125. font-size: 10px;
  126. }
  127. &s12 b {
  128. font-size: 12px;
  129. }
  130. &s14 b {
  131. font-size: 14px;
  132. }
  133. &red b {
  134. color: #ec494e !important
  135. }
  136. &blue b {
  137. color: #2494f2 !important
  138. }
  139. &desc b {
  140. color: #999 !important
  141. }
  142. &text b {
  143. color: #333 !important
  144. }
  145. &green b {
  146. color: #090 !important
  147. }
  148. }
  149. .text- {
  150. &top {
  151. vertical-align: top !important
  152. }
  153. &left {
  154. text-align: left !important
  155. }
  156. &right {
  157. text-align: right !important
  158. }
  159. &center {
  160. text-align: center !important
  161. }
  162. &middle {
  163. vertical-align: middle !important
  164. }
  165. &bottom {
  166. vertical-align: bottom !important
  167. }
  168. }
  169. .think-bg- {
  170. &white {
  171. background: white !important
  172. }
  173. &blue {
  174. background: linear-gradient(-125deg, #57bdbf, #2f9de2) !important
  175. }
  176. &orig {
  177. background: linear-gradient(-141deg, #ecca1b, #f39526) !important
  178. }
  179. &red {
  180. background: linear-gradient(-125deg, #ff7d7d, #fb2c95) !important
  181. }
  182. &violet {
  183. background: linear-gradient(-113deg, #c543d8, #925cc3) !important
  184. }
  185. }
  186. /* 分隔线条 */
  187. .hr-line- {
  188. &dashed {
  189. color: #fff;
  190. height: 1px;
  191. margin: 15px 0;
  192. background-color: #fff;
  193. border-top: 1px dashed #e7eaec
  194. }
  195. &solid {
  196. margin-top: 15px;
  197. margin-bottom: 15px;
  198. border-bottom: 1px solid #e7eaec;
  199. background-color: rgba(0, 0, 0, 0)
  200. }
  201. }
  202. .input-right-icon {
  203. top: 0;
  204. right: 0;
  205. width: 30px;
  206. height: 38px;
  207. display: inline-block;
  208. position: absolute;
  209. text-align: center;
  210. line-height: 38px;
  211. }
  212. /** 加载进度 */
  213. .pace-inactive {
  214. display: none
  215. }
  216. .pace-progress {
  217. top: 0;
  218. right: 100%;
  219. width: 100%;
  220. height: 2px;
  221. z-index: 2000;
  222. position: fixed;
  223. background: #22df80
  224. }
  225. .uploadimage {
  226. width: 77px;
  227. height: 77px;
  228. cursor: pointer;
  229. position: relative;
  230. display: inline-block;
  231. border: 1px dashed #e2e2e2;
  232. background: url('../img/upimg.png') no-repeat center center;
  233. background-size: cover;
  234. span.layui-icon {
  235. right: 0;
  236. color: #fff;
  237. width: 20px;
  238. height: 20px;
  239. display: none;
  240. position: absolute;
  241. text-align: center;
  242. line-height: 22px;
  243. background: rgba(0, 0, 0, .5)
  244. }
  245. &:hover span.layui-icon {
  246. display: inline-block;
  247. }
  248. }
  249. .uploadimagemtl {
  250. margin-right: 8px;
  251. a {
  252. color: #fff;
  253. width: 20px;
  254. height: 20px;
  255. float: right;
  256. display: none;
  257. text-align: center;
  258. line-height: 22px;
  259. background: rgba(0, 0, 0, .5)
  260. }
  261. &:hover a {
  262. cursor: pointer;
  263. display: inline-block;
  264. &:hover {
  265. color: #fff;
  266. text-decoration: none
  267. }
  268. }
  269. }
  270. [data-tips-image] {
  271. cursor: zoom-in !important
  272. }
  273. [data-lazy-src] {
  274. overflow: hidden;
  275. position: relative;
  276. background-size: cover;
  277. background-position: center center;
  278. }
  279. .portal-block-container {
  280. font-size: 14px;
  281. margin-bottom: 10px;
  282. letter-spacing: 1px;
  283. .portal-block {
  284. &-icon {
  285. top: 45%;
  286. right: 8%;
  287. font-size: 65px;
  288. position: absolute;
  289. color: rgba(255, 255, 255, 0.4);
  290. }
  291. &-item {
  292. color: #fff;
  293. padding: 15px 25px;
  294. position: relative;
  295. line-height: 3em;
  296. border-radius: @borderRadius;
  297. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
  298. > div:nth-child(2) {
  299. font-size: 46px;
  300. line-height: 46px;
  301. }
  302. }
  303. }
  304. }
  305. /* 通用分页 */
  306. .pagination-container {
  307. margin-top: 20px;
  308. line-height: 30px;
  309. padding-top: 5px;
  310. padding-bottom: 5px;
  311. span {
  312. color: #666;
  313. font-size: 9pt
  314. }
  315. ul {
  316. float: right;
  317. height: 30px;
  318. margin: 0;
  319. padding: 0;
  320. display: inline-block;
  321. li {
  322. z-index: 1;
  323. height: 30px;
  324. line-height: 30px;
  325. display: inline-block;
  326. a, span {
  327. color: #333;
  328. width: 30px;
  329. height: 30px;
  330. border: 1px solid @borderColor;
  331. overflow: hidden;
  332. font-size: 12px;
  333. text-align: center;
  334. line-height: 30px;
  335. margin-right: 3px;
  336. display: inline-block;
  337. box-sizing: border-box;
  338. }
  339. span {
  340. cursor: default;
  341. background: #DCDCDC;
  342. }
  343. a:hover {
  344. border-color: #009688;
  345. }
  346. &.active {
  347. z-index: 2;
  348. span {
  349. color: #fff;
  350. border-color: #009688;
  351. background: #009688 !important
  352. }
  353. }
  354. &.disabled {
  355. span {
  356. font-size: 16px;
  357. font-weight: 700;
  358. line-height: 22px;
  359. }
  360. }
  361. &:last-child, &:first-child {
  362. a, span {
  363. font-size: 16px;
  364. font-weight: 700;
  365. line-height: 28px;
  366. }
  367. }
  368. }
  369. }
  370. }
  371. .border {
  372. &-0 {
  373. border: 0 !important
  374. }
  375. &-line {
  376. border: 1px solid @borderColor;
  377. }
  378. &-bottom-line {
  379. border-bottom: 1px solid @borderColor;
  380. }
  381. &-top-0 {
  382. border-top: 0 !important;
  383. }
  384. &-left-0 {
  385. border-left: 0 !important;
  386. }
  387. &-right-0 {
  388. border-right: 0 !important;
  389. }
  390. &-bottom-0 {
  391. border-bottom: 0 !important;
  392. }
  393. &-radius {
  394. border-radius: 50% !important;
  395. &-0 {
  396. border-radius: 0 !important
  397. }
  398. &-5 {
  399. border-radius: 5px !important;
  400. }
  401. &-6 {
  402. border-radius: 6px !important;
  403. }
  404. &-left-0 {
  405. border-top-left-radius: 0 !important;
  406. border-bottom-left-radius: 0 !important
  407. }
  408. &-right-0 {
  409. border-top-right-radius: 0 !important;
  410. border-bottom-right-radius: 0 !important
  411. }
  412. }
  413. }
  414. .font- {
  415. &s10 {
  416. font-size: 10px !important
  417. }
  418. &s11 {
  419. font-size: 11px !important
  420. }
  421. &s12 {
  422. font-size: 12px !important
  423. }
  424. &s13 {
  425. font-size: 13px !important
  426. }
  427. &s14 {
  428. font-size: 14px !important
  429. }
  430. &s15 {
  431. font-size: 15px !important
  432. }
  433. &s16 {
  434. font-size: 16px !important
  435. }
  436. &s18 {
  437. font-size: 18px !important
  438. }
  439. &s20 {
  440. font-size: 20px !important
  441. }
  442. &s30 {
  443. font-size: 30px !important
  444. }
  445. &s40 {
  446. font-size: 40px !important
  447. }
  448. &w1 {
  449. font-weight: 100 !important;
  450. }
  451. &w2 {
  452. font-weight: 200 !important;
  453. }
  454. &w3 {
  455. font-weight: 300 !important;
  456. }
  457. &w4 {
  458. font-weight: 400 !important;
  459. }
  460. &w5 {
  461. font-weight: 500 !important;
  462. }
  463. &w6 {
  464. font-weight: 600 !important;
  465. }
  466. &w7 {
  467. font-weight: 700 !important;
  468. }
  469. &w8 {
  470. font-weight: 800 !important;
  471. }
  472. &w9 {
  473. font-weight: 900 !important;
  474. }
  475. }
  476. .padding {
  477. &-0 {
  478. padding: 0 !important
  479. }
  480. &-5 {
  481. padding: 5px !important
  482. }
  483. &-10 {
  484. padding: 10px !important
  485. }
  486. &-15 {
  487. padding: 15px !important
  488. }
  489. &-20 {
  490. padding: 20px !important
  491. }
  492. &-25 {
  493. padding: 25px !important
  494. }
  495. &-30 {
  496. padding: 30px !important
  497. }
  498. &-40 {
  499. padding: 40px !important
  500. }
  501. &-col {
  502. &-0 {
  503. padding-left: 0 !important;
  504. padding-right: 0 !important;
  505. }
  506. &-5 {
  507. padding-left: 5px !important;
  508. padding-right: 5px !important;
  509. }
  510. &-10 {
  511. padding-left: 10px !important;
  512. padding-right: 10px !important;
  513. }
  514. &-15 {
  515. padding-left: 15px !important;
  516. padding-right: 15px !important;
  517. }
  518. &-20 {
  519. padding-left: 20px !important;
  520. padding-right: 20px !important;
  521. }
  522. &-25 {
  523. padding-left: 25px !important;
  524. padding-right: 25px !important;
  525. }
  526. &-30 {
  527. padding-left: 30px !important;
  528. padding-right: 30px !important;
  529. }
  530. &-40 {
  531. padding-left: 40px !important;
  532. padding-right: 40px !important;
  533. }
  534. }
  535. &-row {
  536. &-0 {
  537. padding-top: 0 !important;
  538. padding-bottom: 0 !important;
  539. }
  540. &-5 {
  541. padding-top: 5px !important;
  542. padding-bottom: 5px !important;
  543. }
  544. &-10 {
  545. padding-top: 10px !important;
  546. padding-bottom: 10px !important;
  547. }
  548. &-15 {
  549. padding-top: 15px !important;
  550. padding-bottom: 15px !important;
  551. }
  552. &-20 {
  553. padding-top: 20px !important;
  554. padding-bottom: 20px !important;
  555. }
  556. &-25 {
  557. padding-top: 25px !important;
  558. padding-bottom: 25px !important;
  559. }
  560. &-30 {
  561. padding-top: 30px !important;
  562. padding-bottom: 30px !important;
  563. }
  564. &-40 {
  565. padding-top: 40px !important;
  566. padding-bottom: 40px !important;
  567. }
  568. }
  569. &-top {
  570. &-0 {
  571. padding-top: 0 !important
  572. }
  573. &-5 {
  574. padding-top: 5px !important
  575. }
  576. &-10 {
  577. padding-top: 10px !important
  578. }
  579. &-15 {
  580. padding-top: 15px !important
  581. }
  582. &-20 {
  583. padding-top: 20px !important
  584. }
  585. &-30 {
  586. padding-top: 30px !important
  587. }
  588. &-40 {
  589. padding-top: 40px !important
  590. }
  591. }
  592. &-left {
  593. &-0 {
  594. padding-left: 0 !important
  595. }
  596. &-5 {
  597. padding-left: 5px !important
  598. }
  599. &-10 {
  600. padding-left: 10px !important
  601. }
  602. &-15 {
  603. padding-left: 15px !important
  604. }
  605. &-20 {
  606. padding-left: 20px !important
  607. }
  608. &-30 {
  609. padding-left: 30px !important
  610. }
  611. &-40 {
  612. padding-left: 40px !important
  613. }
  614. }
  615. &-right {
  616. &-0 {
  617. padding-right: 0 !important
  618. }
  619. &-5 {
  620. padding-right: 5px !important
  621. }
  622. &-10 {
  623. padding-right: 10px !important
  624. }
  625. &-15 {
  626. padding-right: 15px !important
  627. }
  628. &-20 {
  629. padding-right: 20px !important
  630. }
  631. &-30 {
  632. padding-right: 30px !important
  633. }
  634. &-40 {
  635. padding-right: 40px !important
  636. }
  637. }
  638. &-bottom {
  639. &-0 {
  640. padding-bottom: 0 !important
  641. }
  642. &-5 {
  643. padding-bottom: 5px !important
  644. }
  645. &-10 {
  646. padding-bottom: 10px !important
  647. }
  648. &-15 {
  649. padding-bottom: 15px !important
  650. }
  651. &-20 {
  652. padding-bottom: 20px !important
  653. }
  654. &-30 {
  655. padding-bottom: 30px !important
  656. }
  657. &-40 {
  658. padding-bottom: 40px !important
  659. }
  660. }
  661. }
  662. .margin {
  663. &-0 {
  664. margin: 0 !important
  665. }
  666. &-5 {
  667. margin: 5px !important
  668. }
  669. &-10 {
  670. margin: 10px !important
  671. }
  672. &-15 {
  673. margin: 15px !important
  674. }
  675. &-20 {
  676. margin: 20px !important
  677. }
  678. &-25 {
  679. margin: 25px !important
  680. }
  681. &-30 {
  682. margin: 30px !important
  683. }
  684. &-40 {
  685. margin: 40px !important
  686. }
  687. &-col {
  688. &-0 {
  689. margin-left: 0 !important;
  690. margin-right: 0 !important;
  691. }
  692. &-5 {
  693. margin-left: 5px !important;
  694. margin-right: 5px !important;
  695. }
  696. &-10 {
  697. margin-left: 10px !important;
  698. margin-right: 10px !important;
  699. }
  700. &-15 {
  701. margin-left: 15px !important;
  702. margin-right: 15px !important;
  703. }
  704. &-20 {
  705. margin-left: 20px !important;
  706. margin-right: 20px !important;
  707. }
  708. &-25 {
  709. margin-left: 25px !important;
  710. margin-right: 25px !important;
  711. }
  712. &-30 {
  713. margin-left: 30px !important;
  714. margin-right: 30px !important;
  715. }
  716. &-40 {
  717. margin-left: 40px !important;
  718. margin-right: 40px !important;
  719. }
  720. }
  721. &-row {
  722. &-0 {
  723. margin-top: 0 !important;
  724. margin-bottom: 0 !important;
  725. }
  726. &-5 {
  727. margin-top: 5px !important;
  728. margin-bottom: 5px !important;
  729. }
  730. &-10 {
  731. margin-top: 10px !important;
  732. margin-bottom: 10px !important;
  733. }
  734. &-15 {
  735. margin-top: 15px !important;
  736. margin-bottom: 15px !important;
  737. }
  738. &-20 {
  739. margin-top: 20px !important;
  740. margin-bottom: 20px !important;
  741. }
  742. &-25 {
  743. margin-top: 25px !important;
  744. margin-bottom: 25px !important;
  745. }
  746. &-30 {
  747. margin-top: 30px !important;
  748. margin-bottom: 30px !important;
  749. }
  750. &-40 {
  751. margin-top: 40px !important;
  752. margin-bottom: 40px !important;
  753. }
  754. }
  755. &-top {
  756. &-0 {
  757. margin-top: 0 !important
  758. }
  759. &-5 {
  760. margin-top: 5px !important
  761. }
  762. &-10 {
  763. margin-top: 10px !important
  764. }
  765. &-15 {
  766. margin-top: 15px !important
  767. }
  768. &-20 {
  769. margin-top: 20px !important
  770. }
  771. &-25 {
  772. margin-top: 25px !important
  773. }
  774. &-30 {
  775. margin-top: 30px !important
  776. }
  777. &-40 {
  778. margin-top: 40px !important;
  779. }
  780. }
  781. &-left {
  782. &-0 {
  783. margin-left: 0 !important
  784. }
  785. &-5 {
  786. margin-left: 5px !important
  787. }
  788. &-10 {
  789. margin-left: 10px !important
  790. }
  791. &-15 {
  792. margin-left: 15px !important
  793. }
  794. &-20 {
  795. margin-left: 20px !important
  796. }
  797. &-25 {
  798. margin-left: 25px !important
  799. }
  800. &-30 {
  801. margin-left: 30px !important
  802. }
  803. &-40 {
  804. margin-left: 40px !important
  805. }
  806. }
  807. &-right {
  808. &-0 {
  809. margin-right: 0 !important
  810. }
  811. &-5 {
  812. margin-right: 5px !important
  813. }
  814. &-10 {
  815. margin-right: 10px !important
  816. }
  817. &-15 {
  818. margin-right: 15px !important
  819. }
  820. &-20 {
  821. margin-right: 20px !important
  822. }
  823. &-25 {
  824. margin-right: 25px !important
  825. }
  826. &-30 {
  827. margin-right: 30px !important
  828. }
  829. &-40 {
  830. margin-right: 40px !important
  831. }
  832. }
  833. &-bottom {
  834. &-0 {
  835. margin-bottom: 0 !important
  836. }
  837. &-5 {
  838. margin-bottom: 5px !important
  839. }
  840. &-10 {
  841. margin-bottom: 10px !important
  842. }
  843. &-15 {
  844. margin-bottom: 15px !important
  845. }
  846. &-20 {
  847. margin-bottom: 20px !important
  848. }
  849. &-25 {
  850. margin-bottom: 25px !important
  851. }
  852. &-30 {
  853. margin-bottom: 30px !important
  854. }
  855. &-40 {
  856. margin-bottom: 40px !important
  857. }
  858. }
  859. }