_custom.less 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722
  1. @charset "UTF-8";
  2. @import "_config.less";
  3. // +----------------------------------------------------------------------
  4. // | ThinkAdmin
  5. // +----------------------------------------------------------------------
  6. // | 版权所有 2014~2021 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  7. // +----------------------------------------------------------------------
  8. // | 官方网站: https://thinkadmin.top
  9. // +----------------------------------------------------------------------
  10. // | 开源协议 ( https://mit-license.org )
  11. // +----------------------------------------------------------------------
  12. // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
  13. // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
  14. // +----------------------------------------------------------------------
  15. .fixed {
  16. position: fixed !important;
  17. }
  18. .absolute {
  19. position: absolute !important
  20. }
  21. .relative {
  22. position: relative !important
  23. }
  24. .headimg {
  25. width: 32px;
  26. height: 32px;
  27. display: inline-block;
  28. overflow: hidden;
  29. text-align: center;
  30. margin-right: 5px;
  31. margin-bottom: 5px;
  32. border-radius: 50%;
  33. vertical-align: middle;
  34. background-size: cover;
  35. background-repeat: no-repeat;
  36. background-position: center center;
  37. &-no {
  38. border: none;
  39. box-shadow: none;
  40. border-radius: 2px;
  41. }
  42. &-xs {
  43. width: 26px;
  44. height: 26px;
  45. }
  46. &-sm {
  47. width: 36px;
  48. height: 36px;
  49. }
  50. &-md {
  51. width: 52px;
  52. height: 52px;
  53. }
  54. &-lg {
  55. width: 82px;
  56. height: 82px;
  57. }
  58. > img {
  59. width: 110%;
  60. height: 110%;
  61. max-width: 110%;
  62. max-height: 110%;
  63. margin: -5% 0 0 -5%;
  64. }
  65. & + * {
  66. vertical-align: middle;
  67. }
  68. }
  69. .notdata {
  70. padding: 15px;
  71. display: block;
  72. font-size: 13px;
  73. text-align: center;
  74. line-height: 22px;
  75. border-radius: @BoxBorderRadius;
  76. letter-spacing: 1px;
  77. background-color: #f2f2f2;
  78. border: 1px solid @InputBorderNormalColor;
  79. }
  80. .notselect {
  81. user-select: none;
  82. -ms-user-select: none;
  83. -moz-user-select: none;
  84. -webkit-user-select: none
  85. }
  86. .transition {
  87. #defaTransition();
  88. }
  89. .overhide {
  90. overflow: hidden !important;
  91. }
  92. .overauto {
  93. overflow: auto !important;
  94. }
  95. .pointer {
  96. cursor: pointer !important
  97. }
  98. .nowrap {
  99. white-space: nowrap !important
  100. }
  101. .shadow {
  102. box-shadow: @ShadowMaxOuter;
  103. }
  104. .shadow-none {
  105. box-shadow: none !important;
  106. }
  107. .shadow-mini {
  108. box-shadow: @ShadowMaxOuter;
  109. }
  110. .shadow-inset {
  111. box-shadow: @ShadowMaxInset;
  112. }
  113. .block {
  114. display: block !important
  115. }
  116. .help-block {
  117. color: #999;
  118. font-size: 12px
  119. }
  120. .help-label {
  121. color: #999 !important;
  122. b {
  123. margin-right: 5px;
  124. color: #090 !important;
  125. }
  126. }
  127. .inline-block {
  128. display: inline-block !important
  129. }
  130. /*! 搜索表单样式 */
  131. .form-search {
  132. .layui-btn {
  133. height: 32px;
  134. padding: 0 10px;
  135. font-size: 13px;
  136. line-height: 32px;
  137. .layui-icon {
  138. font-size: 15px
  139. }
  140. }
  141. .layui-form-item {
  142. &:last-child {
  143. border: none
  144. }
  145. white-space: nowrap;
  146. margin-right: 8px;
  147. border: 1px solid @InputBorderNormalColor;
  148. .layui-form-label {
  149. width: auto !important;
  150. border: none;
  151. height: 30px;
  152. padding: 0 8px;
  153. line-height: 32px;
  154. border-right: 1px solid @InputBorderNormalColor;
  155. }
  156. .layui-input-inline {
  157. width: 150px;
  158. margin: 0 !important;
  159. display: inline-block !important;
  160. input, select {
  161. width: 100%;
  162. height: 30px;
  163. padding: 0 8px;
  164. line-height: 32px;
  165. border-width: 0;
  166. }
  167. }
  168. .layui-form-select {
  169. dl {
  170. top: 32px;
  171. padding: 0;
  172. border-width: 0;
  173. box-shadow: @ShadowMaxOuter;
  174. border-top-left-radius: 0;
  175. border-top-right-radius: 0;
  176. }
  177. }
  178. }
  179. }
  180. /* 表单验证异常提示 */
  181. .label-required {
  182. &-prev:before {
  183. color: red;
  184. width: 0.5em;
  185. content: '*';
  186. margin: -2px 0 0 -0.55em;
  187. display: inline-block;
  188. position: absolute;
  189. font-size: 14px;
  190. text-align: left;
  191. font-weight: bold;
  192. line-height: 1.6em;
  193. }
  194. &:after, &-next:after {
  195. top: 6px;
  196. right: 5px;
  197. color: red;
  198. content: '*';
  199. position: absolute;
  200. margin-left: 4px;
  201. font-weight: 700;
  202. line-height: 1.8em
  203. }
  204. &-null:before {
  205. content: none !important
  206. }
  207. }
  208. /** 手机盒子及微信菜单 */
  209. .mobile-preview {
  210. width: 317px;
  211. height: 580px;
  212. position: relative;
  213. background: url(../img/wechat/mobile_head.png) no-repeat 0 0;
  214. border-radius: @BoxBorderRadius;
  215. .mobile-header {
  216. color: #fff;
  217. width: auto;
  218. margin: 0 30px;
  219. overflow: hidden;
  220. font-size: 15px;
  221. padding-top: 30px;
  222. text-align: center;
  223. white-space: nowrap;
  224. text-overflow: ellipsis;
  225. word-wrap: normal;
  226. user-select: none;
  227. -moz-user-select: none;
  228. -webkit-user-select: none;
  229. pointer-events: none;
  230. -webkit-pointer-events: none;
  231. }
  232. .mobile-body {
  233. top: 60px;
  234. left: 0;
  235. right: 0;
  236. bottom: 0;
  237. position: absolute;
  238. background: #F5F5F5;
  239. border: 1px solid #666;
  240. border-radius: 0 0 @BoxBorderRadius @BoxBorderRadius;
  241. iframe {
  242. width: 100%;
  243. height: 100%;
  244. border: none;
  245. }
  246. }
  247. .mobile-footer {
  248. left: 1px;
  249. right: 1px;
  250. bottom: 1px;
  251. position: absolute;
  252. padding-left: 44px;
  253. border-top: 1px solid rgb(208, 208, 208);
  254. background: url(../img/wechat/mobile_foot.png) no-repeat 0 0;
  255. border-radius: 0 0 @BoxBorderRadius @BoxBorderRadius;
  256. li {
  257. float: left;
  258. width: 33.33%;
  259. position: relative;
  260. text-align: center;
  261. line-height: 50px;
  262. a {
  263. width: auto;
  264. color: #616161;
  265. display: block;
  266. overflow: hidden;
  267. word-wrap: normal;
  268. white-space: nowrap;
  269. text-overflow: ellipsis;
  270. text-decoration: none;
  271. &:after {
  272. top: -1px;
  273. left: 0;
  274. right: 0;
  275. bottom: 0;
  276. border: 1px solid rgb(208, 208, 208);
  277. margin: 0 0 0 -1px;
  278. z-index: 10;
  279. content: '';
  280. display: block;
  281. position: absolute;
  282. }
  283. &.active:after {
  284. border: 1px solid #44b549;
  285. box-shadow: 0 0 3px #44b549;
  286. z-index: 11;
  287. }
  288. &:hover {
  289. background: rgba(0, 0, 0, .02)
  290. }
  291. }
  292. > .close {
  293. top: 1px;
  294. right: 1px;
  295. width: 18px;
  296. height: 18px;
  297. display: none;
  298. cursor: pointer;
  299. position: absolute;
  300. z-index: 13;
  301. text-align: center;
  302. line-height: 18px;
  303. }
  304. &:hover > .close {
  305. display: inline-block;
  306. background: none !important;
  307. &:hover {
  308. color: #C33 !important;
  309. }
  310. }
  311. }
  312. .icon {
  313. &-add, &-sub {
  314. display: inline-block;
  315. vertical-align: middle;
  316. &::before {
  317. content: none;
  318. }
  319. }
  320. &-add {
  321. width: 14px;
  322. height: 14px;
  323. background: url(../img/wechat/index.png) 0 0 no-repeat
  324. }
  325. &-sub {
  326. width: 7px;
  327. height: 7px;
  328. margin-right: 2px;
  329. background: url(../img/wechat/index.png) 0 -3pc no-repeat
  330. }
  331. }
  332. .sub-menu {
  333. width: 100%;
  334. bottom: 60px;
  335. display: block;
  336. position: absolute;
  337. margin-bottom: -1px;
  338. background-color: #fafafa;
  339. ul li {
  340. width: 100%;
  341. padding: 0;
  342. > .close {
  343. top: 0;
  344. }
  345. a:after {
  346. margin: -1px 0 1px 0;
  347. }
  348. }
  349. }
  350. .arrow {
  351. left: 50%;
  352. position: absolute;
  353. margin-left: -6px;
  354. }
  355. .arrow_in,
  356. .arrow_out {
  357. width: 0;
  358. height: 0;
  359. z-index: 10;
  360. border: 6px dashed transparent;
  361. display: inline-block;
  362. border-top-style: solid;
  363. border-bottom-width: 0;
  364. }
  365. .arrow_in {
  366. bottom: -4px;
  367. z-index: 11;
  368. border-top-color: #fafafa
  369. }
  370. .arrow_out {
  371. bottom: -5px;
  372. z-index: 10;
  373. border-top-color: #d0d0d0
  374. }
  375. }
  376. }
  377. /*! 重置 Iframe 页面样式 */
  378. .iframe-pagination {
  379. padding: 20px;
  380. &:not(.not-footer):after {
  381. content: '';
  382. height: 30px;
  383. display: block;
  384. }
  385. .pagination-container {
  386. left: 0;
  387. right: 0;
  388. bottom: 0;
  389. padding: 5px 20px;
  390. position: fixed;
  391. background: #fff;
  392. border-top: 1px solid #ddd;
  393. }
  394. }
  395. @think-elips: {
  396. display: -webkit-box;
  397. overflow: hidden;
  398. line-height: 1.4em;
  399. text-overflow: ellipsis;
  400. -webkit-box-orient: vertical;
  401. }
  402. .think-elips {
  403. &-1 {
  404. @think-elips();
  405. line-clamp: 1;
  406. -webkit-line-clamp: 1;
  407. }
  408. &-2 {
  409. @think-elips();
  410. line-clamp: 2;
  411. -webkit-line-clamp: 2;
  412. }
  413. &-3 {
  414. @think-elips();
  415. line-clamp: 3;
  416. -webkit-line-clamp: 3;
  417. }
  418. &-4 {
  419. @think-elips();
  420. line-clamp: 4;
  421. -webkit-line-clamp: 4;
  422. }
  423. &-5 {
  424. @think-elips();
  425. line-clamp: 5;
  426. -webkit-line-clamp: 5;
  427. }
  428. }
  429. .think-box-shadow {
  430. padding: 20px !important;
  431. background: #fff !important;
  432. box-shadow: @ShadowMaxOuter;
  433. border-radius: @BoxBorderRadius;
  434. > .layui-card {
  435. box-shadow: none;
  436. }
  437. }
  438. .think-box-notify {
  439. display: block;
  440. padding: 16px 20px;
  441. font-size: 14px;
  442. background: #FFF;
  443. line-height: 1em;
  444. margin-bottom: 10px;
  445. box-shadow: @ShadowMaxOuter;
  446. border-radius: @BoxBorderRadius;
  447. > .layui-card {
  448. box-shadow: none;
  449. }
  450. }
  451. .think-page-loader {
  452. top: 0;
  453. left: 0;
  454. right: 0;
  455. bottom: 0;
  456. z-index: 9999999;
  457. position: fixed;
  458. text-align: center;
  459. background-color: @LoadBackColor;
  460. .loader {
  461. top: 50%;
  462. width: 50px;
  463. height: 50px;
  464. margin: -35px 0 0 -35px;
  465. z-index: 999999;
  466. display: inline-block;
  467. position: fixed;
  468. background-color: @LoadBackColor;
  469. }
  470. .loader:before {
  471. top: 59px;
  472. left: 0;
  473. width: 50px;
  474. height: 7px;
  475. opacity: 0.1;
  476. content: "";
  477. position: absolute;
  478. border-radius: 50%;
  479. background-color: #000;
  480. animation: shadow .5s linear infinite;
  481. }
  482. .loader:after {
  483. top: 0;
  484. left: 0;
  485. width: 50px;
  486. height: 50px;
  487. content: "";
  488. position: absolute;
  489. border-radius: 3px;
  490. background-color: #5FB878;
  491. animation: loading .5s linear infinite;
  492. }
  493. }
  494. .input-right-icon {
  495. top: 1px;
  496. right: 1px;
  497. color: #098;
  498. width: 36px;
  499. height: 36px;
  500. display: inline-block;
  501. position: absolute;
  502. background: #E9E9E9;
  503. text-align: center;
  504. line-height: 38px;
  505. &:hover {
  506. color: #009080;
  507. background: #E0E0E0;
  508. }
  509. }
  510. [data-tips-image] {
  511. cursor: zoom-in !important
  512. }
  513. [data-lazy-src] {
  514. overflow: hidden;
  515. position: relative;
  516. background-size: cover;
  517. background-position: center center;
  518. }
  519. .pace-inactive {
  520. display: none
  521. }
  522. .pace-progress {
  523. top: 0;
  524. right: 100%;
  525. width: 100%;
  526. height: 2px;
  527. z-index: 2000;
  528. position: fixed;
  529. background: #22df80
  530. }
  531. .uploadimage {
  532. width: 76px;
  533. height: 76px;
  534. cursor: pointer;
  535. display: inline-block;
  536. position: relative;
  537. overflow: hidden;
  538. margin-right: 10px;
  539. border-radius: 3px;
  540. box-shadow: @ShadowMinOuter;
  541. background: url('../img/upimg.png') no-repeat center center;
  542. background-size: cover;
  543. span.layui-icon {
  544. color: #fff;
  545. width: 20px;
  546. height: 20px;
  547. display: none;
  548. position: absolute;
  549. text-align: center;
  550. line-height: 22px;
  551. box-shadow: @ShadowMinOuter;
  552. background: rgba(0, 0, 0, .8);
  553. }
  554. span.layui-icon:first-child {
  555. right: 0;
  556. border-top-right-radius: 3px;
  557. border-bottom-right-radius: 3px;
  558. }
  559. span.layui-icon:last-child {
  560. right: 21px;
  561. border-top-left-radius: 3px;
  562. border-bottom-left-radius: 3px;
  563. }
  564. &:hover span.layui-icon {
  565. display: inline-block;
  566. }
  567. }
  568. .uploadimagemtl {
  569. > div {
  570. right: 0;
  571. display: none;
  572. position: absolute;
  573. text-align: right;
  574. a {
  575. color: #EEE;
  576. width: 20px;
  577. height: 20px;
  578. display: inline-block;
  579. margin-left: 1px;
  580. box-shadow: @ShadowMinOuter;
  581. text-align: center;
  582. line-height: 20px;
  583. background: rgba(0, 0, 0, 0.8);
  584. &:first-child {
  585. border-top-left-radius: 3px;
  586. border-bottom-left-radius: 3px;
  587. }
  588. &:last-child {
  589. border-top-right-radius: 3px;
  590. border-bottom-right-radius: 3px;
  591. }
  592. }
  593. }
  594. &:hover > div {
  595. cursor: pointer;
  596. display: inline-block;
  597. a:hover {
  598. color: #FFF;
  599. text-decoration: none
  600. }
  601. }
  602. }
  603. .upload-image-smbox,
  604. .upload-image-mdbox,
  605. .upload-image-lgbox {
  606. .uploadimage a {
  607. width: 30px;
  608. height: 30px;
  609. line-height: 30px;
  610. }
  611. }
  612. .upload-image-smbox .uploadimage {
  613. width: 120px;
  614. height: 120px;
  615. }
  616. .upload-image-mdbox .uploadimage {
  617. width: 180px;
  618. height: 180px;
  619. }
  620. .upload-image-lgbox .uploadimage {
  621. width: 240px;
  622. height: 240px;
  623. }
  624. .submit-button-loading {
  625. cursor: default;
  626. position: relative;
  627. transform: scale(1);
  628. text-align: center;
  629. &::after {
  630. left: 50%;
  631. position: absolute;
  632. margin-left: -8px;
  633. content: "\e63d";
  634. font-family: layui-icon !important;
  635. font-size: 16px;
  636. font-style: normal;
  637. -webkit-font-smoothing: antialiased;
  638. -moz-osx-font-smoothing: grayscale;
  639. animation-name: layui-rotate;
  640. -webkit-animation-name: layui-rotate;
  641. -webkit-animation-duration: 1s;
  642. animation-duration: 1s;
  643. animation-timing-function: linear;
  644. -webkit-animation-timing-function: linear;
  645. animation-iteration-count: infinite;
  646. -webkit-animation-iteration-count: infinite;
  647. }
  648. }
  649. .portal-block-container {
  650. font-size: 14px;
  651. margin-bottom: 10px;
  652. letter-spacing: 1px;
  653. .portal-block {
  654. &-icon {
  655. top: 45%;
  656. right: 8%;
  657. font-size: 65px;
  658. position: absolute;
  659. color: rgba(255, 255, 255, 0.4);
  660. }
  661. &-item {
  662. color: #fff;
  663. padding: 15px 25px;
  664. position: relative;
  665. line-height: 3em;
  666. border-radius: @BoxBorderRadius;
  667. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .2);
  668. > div:nth-child(2) {
  669. font-size: 46px;
  670. line-height: 46px;
  671. }
  672. }
  673. }
  674. }
  675. label.think-radio,
  676. label.think-checkbox {
  677. cursor: pointer;
  678. display: inline-block;
  679. margin: 8px 10px 8px 6px;
  680. }
  681. .think-radio,
  682. .think-checkbox {
  683. .notselect();
  684. margin-top: 10px;
  685. font-weight: 400;
  686. line-height: 16px;
  687. input[type=radio],
  688. input[type=checkbox] {
  689. width: 18px;
  690. height: 18px;
  691. cursor: pointer;
  692. border: 1px solid @RadioBorderNormalColor;
  693. position: relative;
  694. background: #fff;
  695. margin-right: 5px;
  696. vertical-align: bottom;
  697. display: inline-block !important;
  698. box-sizing: border-box !important;
  699. appearance: none;
  700. -webkit-appearance: none;
  701. &:checked {
  702. border-color: #009688;
  703. &:after {
  704. display: block;
  705. position: relative;
  706. animation-duration: .3s;
  707. animation-fill-mode: both;
  708. animation-name: layui-fadein;
  709. -webkit-animation-duration: .3s;
  710. -webkit-animation-fill-mode: both;
  711. -webkit-animation-name: layui-fadein;
  712. }
  713. }
  714. }
  715. input[type=radio] {
  716. border-radius: 1em;
  717. &:checked:after {
  718. top: 4px;
  719. left: 4px;
  720. width: 8px;
  721. height: 8px;
  722. cursor: pointer;
  723. content: '';
  724. background: #009688;
  725. border-radius: 1em;
  726. }
  727. }
  728. input[type=checkbox] {
  729. border-radius: 1px;
  730. &:checked:after {
  731. color: #009688;
  732. cursor: pointer;
  733. padding: 2px;
  734. content: "\e605";
  735. font-size: 12px;
  736. font-style: normal;
  737. font-weight: 700;
  738. font-family: layui-icon !important;
  739. -webkit-font-smoothing: antialiased;
  740. -moz-osx-font-smoothing: grayscale
  741. }
  742. }
  743. }
  744. .pagination-container {
  745. margin-top: 20px;
  746. line-height: 30px;
  747. padding-top: 5px;
  748. padding-bottom: 5px;
  749. span {
  750. color: #666;
  751. font-size: 9pt
  752. }
  753. select {
  754. border: 1px solid #DDD;
  755. }
  756. ul {
  757. float: right;
  758. height: 30px;
  759. margin: 0;
  760. padding: 0;
  761. display: inline-block;
  762. li {
  763. z-index: 1;
  764. height: 30px;
  765. line-height: 30px;
  766. display: inline-block;
  767. a, span {
  768. color: #333;
  769. width: 30px;
  770. height: 30px;
  771. border: 1px solid @BoxBorderColor;
  772. overflow: hidden;
  773. font-size: 12px;
  774. text-align: center;
  775. line-height: 30px;
  776. margin-right: 3px;
  777. display: inline-block;
  778. box-sizing: border-box;
  779. }
  780. span {
  781. cursor: default;
  782. background: #DCDCDC;
  783. }
  784. a:hover {
  785. border-color: #009688;
  786. }
  787. &.active {
  788. z-index: 2;
  789. span {
  790. color: #fff;
  791. border-color: #009688;
  792. background: #009688 !important
  793. }
  794. }
  795. &.disabled {
  796. span {
  797. font-size: 16px;
  798. font-weight: 700;
  799. line-height: 22px;
  800. }
  801. }
  802. &:last-child, &:first-child {
  803. a, span {
  804. font-size: 16px;
  805. font-weight: 700;
  806. line-height: 28px;
  807. }
  808. }
  809. }
  810. }
  811. }
  812. .hr-line- {
  813. &dashed {
  814. color: #fff;
  815. height: 1px;
  816. margin: 15px 0;
  817. background-color: #fff;
  818. border-top: 1px dashed #e7eaec;
  819. }
  820. &solid {
  821. margin-top: 15px;
  822. margin-bottom: 15px;
  823. border-bottom: 1px solid #e7eaec;
  824. background-color: rgba(0, 0, 0, 0);
  825. }
  826. }
  827. .pull- {
  828. &left {
  829. float: left !important
  830. }
  831. &right {
  832. float: right !important
  833. }
  834. }
  835. .full- {
  836. &width {
  837. width: 100% !important
  838. }
  839. &height {
  840. height: 100% !important
  841. }
  842. }
  843. .color- {
  844. &red {
  845. color: #e44 !important
  846. }
  847. &blue {
  848. color: #29f !important
  849. }
  850. &desc {
  851. color: #999 !important
  852. }
  853. &text {
  854. color: #333 !important
  855. }
  856. &green {
  857. color: #090 !important
  858. }
  859. }
  860. .sub-span- {
  861. &red span {
  862. color: #e44 !important
  863. }
  864. &blue span {
  865. color: #29f !important
  866. }
  867. &desc span {
  868. color: #999 !important
  869. }
  870. &text span {
  871. color: #333 !important
  872. }
  873. &green span {
  874. color: #090 !important
  875. }
  876. }
  877. .sub-strong- {
  878. &s10 b {
  879. font-size: 10px;
  880. }
  881. &s12 b {
  882. font-size: 12px;
  883. }
  884. &s14 b {
  885. font-size: 14px;
  886. }
  887. &red b {
  888. color: #ec494e !important
  889. }
  890. &blue b {
  891. color: #2494f2 !important
  892. }
  893. &desc b {
  894. color: #999 !important
  895. }
  896. &text b {
  897. color: #333 !important
  898. }
  899. &green b {
  900. color: #090 !important
  901. }
  902. }
  903. .think-bg- {
  904. &red {
  905. color: #FFF;
  906. background: linear-gradient(-125deg, #ff7d7d, #fb2c95) !important
  907. }
  908. &gray {
  909. color: #333;
  910. background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important
  911. }
  912. &blue {
  913. color: #FFF;
  914. background: linear-gradient(-125deg, #57bdbf, #2f9de2) !important
  915. }
  916. &orig {
  917. color: #FFF;
  918. background: linear-gradient(-141deg, #ecca1b, #f39526) !important
  919. }
  920. &violet {
  921. color: #FFF;
  922. background: linear-gradient(-113deg, #c543d8, #925cc3) !important
  923. }
  924. &white {
  925. color: #333;
  926. background: white !important
  927. }
  928. }
  929. .text- {
  930. &top {
  931. vertical-align: top !important
  932. }
  933. &left {
  934. text-align: left !important
  935. }
  936. &right {
  937. text-align: right !important
  938. }
  939. &center {
  940. text-align: center !important
  941. }
  942. &middle {
  943. vertical-align: middle !important
  944. }
  945. &bottom {
  946. vertical-align: bottom !important
  947. }
  948. }
  949. .font- {
  950. &s10 {
  951. font-size: 10px !important
  952. }
  953. &s11 {
  954. font-size: 11px !important
  955. }
  956. &s12 {
  957. font-size: 12px !important
  958. }
  959. &s13 {
  960. font-size: 13px !important
  961. }
  962. &s14 {
  963. font-size: 14px !important
  964. }
  965. &s15 {
  966. font-size: 15px !important
  967. }
  968. &s16 {
  969. font-size: 16px !important
  970. }
  971. &s18 {
  972. font-size: 18px !important
  973. }
  974. &s20 {
  975. font-size: 20px !important
  976. }
  977. &s30 {
  978. font-size: 30px !important
  979. }
  980. &s40 {
  981. font-size: 40px !important
  982. }
  983. &w1 {
  984. font-weight: 100 !important;
  985. }
  986. &w2 {
  987. font-weight: 200 !important;
  988. }
  989. &w3 {
  990. font-weight: 300 !important;
  991. }
  992. &w4 {
  993. font-weight: 400 !important;
  994. }
  995. &w5 {
  996. font-weight: 500 !important;
  997. }
  998. &w6 {
  999. font-weight: 600 !important;
  1000. }
  1001. &w7 {
  1002. font-weight: 700 !important;
  1003. }
  1004. &w8 {
  1005. font-weight: 800 !important;
  1006. }
  1007. &w9 {
  1008. font-weight: 900 !important;
  1009. }
  1010. }
  1011. .border {
  1012. &-0 {
  1013. border: 0 !important
  1014. }
  1015. &-line {
  1016. border: 1px solid @BoxBorderColor;
  1017. }
  1018. &-bottom-line {
  1019. border-bottom: 1px solid @BoxBorderColor;
  1020. }
  1021. &-top-0 {
  1022. border-top: 0 !important;
  1023. }
  1024. &-left-0 {
  1025. border-left: 0 !important;
  1026. }
  1027. &-right-0 {
  1028. border-right: 0 !important;
  1029. }
  1030. &-bottom-0 {
  1031. border-bottom: 0 !important;
  1032. }
  1033. &-radius {
  1034. border-radius: 50% !important;
  1035. &-0 {
  1036. border-radius: 0 !important
  1037. }
  1038. &-5 {
  1039. border-radius: 5px !important;
  1040. }
  1041. &-6 {
  1042. border-radius: 6px !important;
  1043. }
  1044. &-left-0 {
  1045. border-top-left-radius: 0 !important;
  1046. border-bottom-left-radius: 0 !important
  1047. }
  1048. &-right-0 {
  1049. border-top-right-radius: 0 !important;
  1050. border-bottom-right-radius: 0 !important
  1051. }
  1052. }
  1053. }
  1054. .margin {
  1055. &-0 {
  1056. margin: 0 !important
  1057. }
  1058. &-5 {
  1059. margin: 5px !important
  1060. }
  1061. &-10 {
  1062. margin: 10px !important
  1063. }
  1064. &-15 {
  1065. margin: 15px !important
  1066. }
  1067. &-20 {
  1068. margin: 20px !important
  1069. }
  1070. &-25 {
  1071. margin: 25px !important
  1072. }
  1073. &-30 {
  1074. margin: 30px !important
  1075. }
  1076. &-40 {
  1077. margin: 40px !important
  1078. }
  1079. &-row {
  1080. &-0 {
  1081. margin-left: 0 !important;
  1082. margin-right: 0 !important;
  1083. }
  1084. &-5 {
  1085. margin-left: 5px !important;
  1086. margin-right: 5px !important;
  1087. }
  1088. &-10 {
  1089. margin-left: 10px !important;
  1090. margin-right: 10px !important;
  1091. }
  1092. &-15 {
  1093. margin-left: 15px !important;
  1094. margin-right: 15px !important;
  1095. }
  1096. &-20 {
  1097. margin-left: 20px !important;
  1098. margin-right: 20px !important;
  1099. }
  1100. &-25 {
  1101. margin-left: 25px !important;
  1102. margin-right: 25px !important;
  1103. }
  1104. &-30 {
  1105. margin-left: 30px !important;
  1106. margin-right: 30px !important;
  1107. }
  1108. &-40 {
  1109. margin-left: 40px !important;
  1110. margin-right: 40px !important;
  1111. }
  1112. }
  1113. &-top {
  1114. &-0 {
  1115. margin-top: 0 !important
  1116. }
  1117. &-5 {
  1118. margin-top: 5px !important
  1119. }
  1120. &-10 {
  1121. margin-top: 10px !important
  1122. }
  1123. &-15 {
  1124. margin-top: 15px !important
  1125. }
  1126. &-20 {
  1127. margin-top: 20px !important
  1128. }
  1129. &-25 {
  1130. margin-top: 25px !important
  1131. }
  1132. &-30 {
  1133. margin-top: 30px !important
  1134. }
  1135. &-40 {
  1136. margin-top: 40px !important;
  1137. }
  1138. }
  1139. &-left {
  1140. &-0 {
  1141. margin-left: 0 !important
  1142. }
  1143. &-5 {
  1144. margin-left: 5px !important
  1145. }
  1146. &-10 {
  1147. margin-left: 10px !important
  1148. }
  1149. &-15 {
  1150. margin-left: 15px !important
  1151. }
  1152. &-20 {
  1153. margin-left: 20px !important
  1154. }
  1155. &-25 {
  1156. margin-left: 25px !important
  1157. }
  1158. &-30 {
  1159. margin-left: 30px !important
  1160. }
  1161. &-40 {
  1162. margin-left: 40px !important
  1163. }
  1164. }
  1165. &-right {
  1166. &-0 {
  1167. margin-right: 0 !important
  1168. }
  1169. &-5 {
  1170. margin-right: 5px !important
  1171. }
  1172. &-10 {
  1173. margin-right: 10px !important
  1174. }
  1175. &-15 {
  1176. margin-right: 15px !important
  1177. }
  1178. &-20 {
  1179. margin-right: 20px !important
  1180. }
  1181. &-25 {
  1182. margin-right: 25px !important
  1183. }
  1184. &-30 {
  1185. margin-right: 30px !important
  1186. }
  1187. &-40 {
  1188. margin-right: 40px !important
  1189. }
  1190. }
  1191. &-bottom {
  1192. &-0 {
  1193. margin-bottom: 0 !important
  1194. }
  1195. &-5 {
  1196. margin-bottom: 5px !important
  1197. }
  1198. &-10 {
  1199. margin-bottom: 10px !important
  1200. }
  1201. &-15 {
  1202. margin-bottom: 15px !important
  1203. }
  1204. &-20 {
  1205. margin-bottom: 20px !important
  1206. }
  1207. &-25 {
  1208. margin-bottom: 25px !important
  1209. }
  1210. &-30 {
  1211. margin-bottom: 30px !important
  1212. }
  1213. &-40 {
  1214. margin-bottom: 40px !important
  1215. }
  1216. }
  1217. }
  1218. .padding {
  1219. &-0 {
  1220. padding: 0 !important
  1221. }
  1222. &-5 {
  1223. padding: 5px !important
  1224. }
  1225. &-10 {
  1226. padding: 10px !important
  1227. }
  1228. &-15 {
  1229. padding: 15px !important
  1230. }
  1231. &-20 {
  1232. padding: 20px !important
  1233. }
  1234. &-25 {
  1235. padding: 25px !important
  1236. }
  1237. &-30 {
  1238. padding: 30px !important
  1239. }
  1240. &-40 {
  1241. padding: 40px !important
  1242. }
  1243. &-row {
  1244. &-0 {
  1245. padding-left: 0 !important;
  1246. padding-right: 0 !important;
  1247. }
  1248. &-5 {
  1249. padding-left: 5px !important;
  1250. padding-right: 5px !important;
  1251. }
  1252. &-10 {
  1253. padding-left: 10px !important;
  1254. padding-right: 10px !important;
  1255. }
  1256. &-15 {
  1257. padding-left: 15px !important;
  1258. padding-right: 15px !important;
  1259. }
  1260. &-20 {
  1261. padding-left: 20px !important;
  1262. padding-right: 20px !important;
  1263. }
  1264. &-25 {
  1265. padding-left: 25px !important;
  1266. padding-right: 25px !important;
  1267. }
  1268. &-30 {
  1269. padding-left: 30px !important;
  1270. padding-right: 30px !important;
  1271. }
  1272. &-40 {
  1273. padding-left: 40px !important;
  1274. padding-right: 40px !important;
  1275. }
  1276. }
  1277. &-top {
  1278. &-0 {
  1279. padding-top: 0 !important
  1280. }
  1281. &-5 {
  1282. padding-top: 5px !important
  1283. }
  1284. &-10 {
  1285. padding-top: 10px !important
  1286. }
  1287. &-15 {
  1288. padding-top: 15px !important
  1289. }
  1290. &-20 {
  1291. padding-top: 20px !important
  1292. }
  1293. &-30 {
  1294. padding-top: 30px !important
  1295. }
  1296. &-40 {
  1297. padding-top: 40px !important
  1298. }
  1299. }
  1300. &-left {
  1301. &-0 {
  1302. padding-left: 0 !important
  1303. }
  1304. &-5 {
  1305. padding-left: 5px !important
  1306. }
  1307. &-10 {
  1308. padding-left: 10px !important
  1309. }
  1310. &-15 {
  1311. padding-left: 15px !important
  1312. }
  1313. &-20 {
  1314. padding-left: 20px !important
  1315. }
  1316. &-30 {
  1317. padding-left: 30px !important
  1318. }
  1319. &-40 {
  1320. padding-left: 40px !important
  1321. }
  1322. }
  1323. &-right {
  1324. &-0 {
  1325. padding-right: 0 !important
  1326. }
  1327. &-5 {
  1328. padding-right: 5px !important
  1329. }
  1330. &-10 {
  1331. padding-right: 10px !important
  1332. }
  1333. &-15 {
  1334. padding-right: 15px !important
  1335. }
  1336. &-20 {
  1337. padding-right: 20px !important
  1338. }
  1339. &-30 {
  1340. padding-right: 30px !important
  1341. }
  1342. &-40 {
  1343. padding-right: 40px !important
  1344. }
  1345. }
  1346. &-bottom {
  1347. &-0 {
  1348. padding-bottom: 0 !important
  1349. }
  1350. &-5 {
  1351. padding-bottom: 5px !important
  1352. }
  1353. &-10 {
  1354. padding-bottom: 10px !important
  1355. }
  1356. &-15 {
  1357. padding-bottom: 15px !important
  1358. }
  1359. &-20 {
  1360. padding-bottom: 20px !important
  1361. }
  1362. &-30 {
  1363. padding-bottom: 30px !important
  1364. }
  1365. &-40 {
  1366. padding-bottom: 40px !important
  1367. }
  1368. }
  1369. }
  1370. @keyframes loading {
  1371. 17% {
  1372. border-bottom-right-radius: 3px;
  1373. }
  1374. 25% {
  1375. transform: translateY(9px) rotate(22.5deg);
  1376. }
  1377. 50% {
  1378. border-bottom-right-radius: 40px;
  1379. transform: translateY(18px) scale(1, 0.9) rotate(45deg);
  1380. }
  1381. 75% {
  1382. transform: translateY(9px) rotate(67.5deg);
  1383. }
  1384. 100% {
  1385. transform: translateY(0) rotate(90deg);
  1386. }
  1387. }
  1388. @-webkit-keyframes loading {
  1389. 17% {
  1390. border-bottom-right-radius: 3px;
  1391. }
  1392. 25% {
  1393. transform: translateY(9px) rotate(22.5deg);
  1394. }
  1395. 50% {
  1396. transform: translateY(18px) scale(1, 0.9) rotate(45deg);
  1397. border-bottom-right-radius: 40px;
  1398. }
  1399. 75% {
  1400. transform: translateY(9px) rotate(67.5deg);
  1401. }
  1402. 100% {
  1403. transform: translateY(0) rotate(90deg);
  1404. }
  1405. }
  1406. @keyframes shadow {
  1407. 0%,
  1408. 100% {
  1409. transform: scale(1, 1);
  1410. }
  1411. 50% {
  1412. transform: scale(1.2, 1);
  1413. }
  1414. }
  1415. @-webkit-keyframes shadow {
  1416. 0%,
  1417. 100% {
  1418. transform: scale(1, 1);
  1419. }
  1420. 50% {
  1421. transform: scale(1.2, 1);
  1422. }
  1423. }