_custom.less 28 KB

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