_custom.less 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858
  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. margin-right: 5px;
  109. border-radius: 50%;
  110. #imageBgCover();
  111. &-no {
  112. border: none;
  113. box-shadow: none;
  114. border-radius: 2px;
  115. }
  116. &-xs {
  117. width: 26px;
  118. height: 26px;
  119. }
  120. &-sm {
  121. width: 36px;
  122. height: 36px;
  123. }
  124. &-md {
  125. width: 52px;
  126. height: 52px;
  127. }
  128. &-lg {
  129. width: 82px;
  130. height: 82px;
  131. }
  132. > img {
  133. width: 110%;
  134. height: 110%;
  135. max-width: 110%;
  136. max-height: 110%;
  137. margin: -5% 0 0 -5%;
  138. }
  139. & + * {
  140. vertical-align: middle;
  141. }
  142. }
  143. .notdata {
  144. padding: 15px;
  145. display: block;
  146. font-size: 13px;
  147. text-align: center;
  148. line-height: 22px;
  149. border-radius: @BoxBorderRadius;
  150. letter-spacing: 1px;
  151. background-color: #f2f2f2;
  152. border: 1px solid @InputBorderNormalColor;
  153. }
  154. .notselect {
  155. #NotSelect();
  156. }
  157. .transition {
  158. #defaTransition();
  159. }
  160. .overhide {
  161. overflow: hidden !important;
  162. }
  163. .overauto {
  164. overflow: auto !important;
  165. }
  166. .pointer {
  167. cursor: pointer !important
  168. }
  169. .nowrap {
  170. white-space: nowrap !important
  171. }
  172. .shadow {
  173. box-shadow: @ShadowOuterMax;
  174. }
  175. .shadow-none {
  176. box-shadow: none !important;
  177. }
  178. .shadow-mini {
  179. box-shadow: @ShadowOuterMax;
  180. }
  181. .shadow-inset {
  182. box-shadow: @ShadowInset;
  183. }
  184. .block {
  185. display: block !important
  186. }
  187. .inline-block {
  188. display: inline-block !important
  189. }
  190. .help-block {
  191. color: #999;
  192. font-size: 12px
  193. }
  194. .help-label {
  195. color: #999 !important;
  196. b {
  197. color: #090 !important;
  198. margin-right: 5px !important;
  199. }
  200. }
  201. .help-checks:not(td) {
  202. padding: 10px 0 10px 10px;
  203. min-height: unset;
  204. line-height: 34px;
  205. border-radius: @BoxBorderRadius;
  206. #flex();
  207. #flexWrap(wrap);
  208. &.layui-input {
  209. padding: 1px 0 1px 5px;
  210. }
  211. }
  212. .help-images:not(td) {
  213. padding: 10px 0 0 10px !important;
  214. min-height: unset;
  215. border-radius: @BoxBorderRadius;
  216. #flex();
  217. #flexWrap(wrap);
  218. .uploadimage {
  219. margin: 0 10px 10px 0;
  220. }
  221. }
  222. /*! 搜索表单样式 */
  223. .form-search {
  224. .layui-btn {
  225. height: 32px;
  226. padding: 0 10px;
  227. font-size: 13px;
  228. line-height: 32px;
  229. .layui-icon {
  230. font-size: 15px
  231. }
  232. }
  233. .layui-form-item {
  234. &:last-child {
  235. border: none
  236. }
  237. white-space: nowrap;
  238. margin-right: 8px;
  239. margin-bottom: 10px;
  240. border: 1px solid @InputBorderNormalColor;
  241. .layui-form-label {
  242. width: auto !important;
  243. border: none;
  244. height: 30px;
  245. padding: 0 8px;
  246. line-height: 32px;
  247. border-right: 1px solid @InputBorderNormalColor;
  248. }
  249. .layui-input-inline {
  250. width: 150px;
  251. margin: 0 !important;
  252. display: inline-block !important;
  253. input, select {
  254. width: 100%;
  255. height: 30px;
  256. padding: 0 8px;
  257. line-height: 32px;
  258. border-width: 0;
  259. }
  260. }
  261. .layui-form-select {
  262. dl {
  263. top: 31px;
  264. padding: 0;
  265. border-width: 0;
  266. box-shadow: @ShadowOuterMax;
  267. border-top-left-radius: 0;
  268. border-top-right-radius: 0;
  269. }
  270. }
  271. }
  272. & + .layui-table {
  273. margin-top: 0 !important;
  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: 18px 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. #imageBgCover();
  614. }
  615. .pace-inactive {
  616. display: none
  617. }
  618. .pace-progress {
  619. top: 0;
  620. right: 100%;
  621. width: 100%;
  622. height: 2px;
  623. z-index: 2000;
  624. position: fixed;
  625. background: #22df80
  626. }
  627. input:not(.layui-hide,[type=hidden]) {
  628. &, & + span {
  629. + .uploadimage {
  630. margin-top: 5px;
  631. }
  632. }
  633. }
  634. .uploadimage {
  635. width: 76px;
  636. height: 76px;
  637. cursor: pointer;
  638. display: inline-block;
  639. border-radius: 3px;
  640. #imageBgCover();
  641. background-image: url('../img/upimg.png');
  642. box-shadow: @ShadowOuterMin;
  643. &.uploadvideo {
  644. background-image: url('../img/upvideo.png');
  645. }
  646. span.layui-icon {
  647. color: #fff;
  648. width: 20px;
  649. height: 20px;
  650. display: none;
  651. position: absolute;
  652. text-align: center;
  653. line-height: 22px;
  654. box-shadow: @ShadowOuterMin;
  655. background: rgba(0, 0, 0, .8);
  656. }
  657. span.layui-icon:first-child {
  658. right: 0;
  659. border-top-right-radius: 3px;
  660. border-bottom-right-radius: 3px;
  661. }
  662. span.layui-icon:last-child {
  663. right: 21px;
  664. border-top-left-radius: 3px;
  665. border-bottom-left-radius: 3px;
  666. }
  667. &:hover span.layui-icon {
  668. display: inline-block;
  669. }
  670. }
  671. .uploadimagemtl {
  672. margin-right: 10px;
  673. > div {
  674. right: 0;
  675. display: none;
  676. position: absolute;
  677. text-align: right;
  678. a {
  679. color: #EEE;
  680. width: 20px;
  681. height: 20px;
  682. display: inline-block;
  683. margin-left: 1px;
  684. box-shadow: @ShadowOuterMin;
  685. text-align: center;
  686. line-height: 20px;
  687. background: rgba(0, 0, 0, 0.8);
  688. &:first-child {
  689. border-top-left-radius: 3px;
  690. border-bottom-left-radius: 3px;
  691. }
  692. &:last-child {
  693. border-top-right-radius: 3px;
  694. border-bottom-right-radius: 3px;
  695. }
  696. }
  697. }
  698. &:hover > div {
  699. cursor: pointer;
  700. display: inline-block;
  701. a:hover {
  702. color: #FFF;
  703. text-decoration: none
  704. }
  705. }
  706. }
  707. .upload-image-smbox,
  708. .upload-image-mdbox,
  709. .upload-image-lgbox {
  710. .uploadimage {
  711. margin-bottom: 10px;
  712. a {
  713. width: 30px;
  714. height: 30px;
  715. line-height: 30px;
  716. }
  717. }
  718. }
  719. .upload-image-smbox .uploadimage {
  720. width: 120px;
  721. height: 120px;
  722. }
  723. .upload-image-mdbox .uploadimage {
  724. width: 180px;
  725. height: 180px;
  726. }
  727. .upload-image-lgbox .uploadimage {
  728. width: 240px;
  729. height: 240px;
  730. }
  731. .submit-button-loading {
  732. cursor: default;
  733. position: relative;
  734. transform: scale(1);
  735. text-align: center;
  736. &::after {
  737. left: 50%;
  738. position: absolute;
  739. margin-left: -8px;
  740. #iconLayout(15px);
  741. content: "\e63d";
  742. animation-name: layui-rotate;
  743. -webkit-animation-name: layui-rotate;
  744. -webkit-animation-duration: 1s;
  745. animation-duration: 1s;
  746. animation-timing-function: linear;
  747. -webkit-animation-timing-function: linear;
  748. animation-iteration-count: infinite;
  749. -webkit-animation-iteration-count: infinite;
  750. }
  751. }
  752. .portal-block-container {
  753. font-size: 14px;
  754. margin-bottom: 10px;
  755. letter-spacing: 1px;
  756. .portal-block {
  757. &-icon {
  758. top: 45%;
  759. right: 8%;
  760. font-size: 65px;
  761. position: absolute;
  762. color: rgba(255, 255, 255, 0.4);
  763. }
  764. &-item {
  765. color: #fff;
  766. padding: 15px 25px;
  767. position: relative;
  768. line-height: 3em;
  769. box-shadow: @ShadowOuterMax;
  770. border-radius: @BoxBorderRadius;
  771. > div:nth-child(2) {
  772. font-size: 46px;
  773. line-height: 46px;
  774. }
  775. }
  776. }
  777. }
  778. label.think-radio,
  779. label.think-checkbox {
  780. cursor: pointer;
  781. display: inline-block;
  782. margin: 8px 10px 8px 6px;
  783. }
  784. .think-radio,
  785. .think-checkbox {
  786. .notselect();
  787. margin-top: 10px;
  788. font-weight: 400;
  789. line-height: 16px;
  790. input[type=radio],
  791. input[type=checkbox] {
  792. width: 18px;
  793. height: 18px;
  794. cursor: pointer;
  795. border: 1px solid @RadioBorderNormalColor;
  796. position: relative;
  797. background: #fff;
  798. margin-right: 5px;
  799. vertical-align: bottom;
  800. display: inline-block !important;
  801. box-sizing: border-box !important;
  802. appearance: none;
  803. -webkit-appearance: none;
  804. &:checked {
  805. border-color: #009688;
  806. &:after {
  807. display: block;
  808. position: relative;
  809. animation-duration: .3s;
  810. animation-fill-mode: both;
  811. animation-name: layui-fadein;
  812. -webkit-animation-duration: .3s;
  813. -webkit-animation-fill-mode: both;
  814. -webkit-animation-name: layui-fadein;
  815. }
  816. }
  817. }
  818. input[type=radio] {
  819. border-radius: 1em;
  820. &:checked:after {
  821. top: 4px;
  822. left: 4px;
  823. width: 8px;
  824. height: 8px;
  825. cursor: pointer;
  826. content: '';
  827. background: #009688;
  828. border-radius: 1em;
  829. }
  830. }
  831. input[type=checkbox] {
  832. border-radius: 1px;
  833. &:checked:after {
  834. color: #009688;
  835. cursor: pointer;
  836. padding: 2px;
  837. content: "\e605";
  838. #iconLayout(12px);
  839. font-weight: 700;
  840. }
  841. }
  842. }
  843. .pagination-container {
  844. margin-top: 20px;
  845. line-height: 30px;
  846. padding-top: 5px;
  847. padding-bottom: 5px;
  848. span {
  849. color: #666;
  850. font-size: 9pt
  851. }
  852. select {
  853. border: 1px solid #DDD;
  854. }
  855. ul {
  856. float: right;
  857. height: 30px;
  858. margin: 0;
  859. padding: 0;
  860. display: inline-block;
  861. li {
  862. z-index: 1;
  863. height: 30px;
  864. line-height: 30px;
  865. display: inline-block;
  866. a, span {
  867. color: #333;
  868. width: 30px;
  869. height: 30px;
  870. border: 1px solid @BoxBorderColor;
  871. overflow: hidden;
  872. font-size: 12px;
  873. text-align: center;
  874. line-height: 30px;
  875. margin-right: 3px;
  876. display: inline-block;
  877. box-sizing: border-box;
  878. }
  879. span {
  880. cursor: default;
  881. background: #DCDCDC;
  882. }
  883. a:hover {
  884. border-color: #009688;
  885. }
  886. &.active {
  887. z-index: 2;
  888. span {
  889. color: #fff;
  890. border-color: #009688;
  891. background: #009688 !important
  892. }
  893. }
  894. &.disabled {
  895. span {
  896. font-size: 16px;
  897. font-weight: 700;
  898. line-height: 22px;
  899. }
  900. }
  901. &:last-child, &:first-child {
  902. a, span {
  903. font-size: 16px;
  904. font-weight: 700;
  905. line-height: 28px;
  906. }
  907. }
  908. }
  909. }
  910. }
  911. .hr-line- {
  912. &dashed {
  913. color: #fff;
  914. height: 1px;
  915. margin: 15px 0;
  916. background-color: #fff;
  917. border-top: 1px dashed #e7eaec;
  918. }
  919. &solid {
  920. margin-top: 15px;
  921. margin-bottom: 15px;
  922. border-bottom: 1px solid #e7eaec;
  923. background-color: rgba(0, 0, 0, 0);
  924. }
  925. }
  926. .pull- {
  927. &left {
  928. float: left !important
  929. }
  930. &right {
  931. float: right !important
  932. }
  933. }
  934. .full- {
  935. &width {
  936. width: 100% !important
  937. }
  938. &height {
  939. height: 100% !important
  940. }
  941. }
  942. .color- {
  943. &red {
  944. color: #e44 !important
  945. }
  946. &blue {
  947. color: #29f !important
  948. }
  949. &desc {
  950. color: #999 !important
  951. }
  952. &text {
  953. color: #333 !important
  954. }
  955. &green {
  956. color: #090 !important
  957. }
  958. }
  959. .sub-span- {
  960. &red span {
  961. color: #e44 !important
  962. }
  963. &blue span {
  964. color: #29f !important
  965. }
  966. &desc span {
  967. color: #999 !important
  968. }
  969. &text span {
  970. color: #333 !important
  971. }
  972. &green span {
  973. color: #090 !important
  974. }
  975. }
  976. .sub-strong- {
  977. &s10 b {
  978. font-size: 10px;
  979. }
  980. &s12 b {
  981. font-size: 12px;
  982. }
  983. &s14 b {
  984. font-size: 14px;
  985. }
  986. &red b {
  987. color: #ec494e !important
  988. }
  989. &blue b {
  990. color: #2494f2 !important
  991. }
  992. &desc b {
  993. color: #999 !important
  994. }
  995. &text b {
  996. color: #333 !important
  997. }
  998. &green b {
  999. color: #090 !important
  1000. }
  1001. }
  1002. .think-bg- {
  1003. &red {
  1004. color: #FFF;
  1005. background: linear-gradient(-125deg, #ff7d7d, #fb2c95) !important
  1006. }
  1007. &none {
  1008. background: none !important;
  1009. }
  1010. &gray {
  1011. color: #333;
  1012. background: linear-gradient(-113deg, #EEEEEE, #EEEEEE) !important
  1013. }
  1014. &blue {
  1015. color: #FFF;
  1016. background: linear-gradient(-125deg, #57bdbf, #2f9de2) !important
  1017. }
  1018. &orig {
  1019. color: #FFF;
  1020. background: linear-gradient(-141deg, #ecca1b, #f39526) !important
  1021. }
  1022. &violet {
  1023. color: #FFF;
  1024. background: linear-gradient(-113deg, #c543d8, #925cc3) !important
  1025. }
  1026. &white {
  1027. color: #333;
  1028. background: white !important
  1029. }
  1030. }
  1031. .text- {
  1032. &top {
  1033. vertical-align: top !important
  1034. }
  1035. &left {
  1036. text-align: left !important
  1037. }
  1038. &right {
  1039. text-align: right !important
  1040. }
  1041. &center {
  1042. text-align: center !important
  1043. }
  1044. &middle {
  1045. vertical-align: middle !important
  1046. }
  1047. &bottom {
  1048. vertical-align: bottom !important
  1049. }
  1050. }
  1051. .font- {
  1052. &s10 {
  1053. font-size: 10px !important
  1054. }
  1055. &s11 {
  1056. font-size: 11px !important
  1057. }
  1058. &s12 {
  1059. font-size: 12px !important
  1060. }
  1061. &s13 {
  1062. font-size: 13px !important
  1063. }
  1064. &s14 {
  1065. font-size: 14px !important
  1066. }
  1067. &s15 {
  1068. font-size: 15px !important
  1069. }
  1070. &s16 {
  1071. font-size: 16px !important
  1072. }
  1073. &s18 {
  1074. font-size: 18px !important
  1075. }
  1076. &s20 {
  1077. font-size: 20px !important
  1078. }
  1079. &s30 {
  1080. font-size: 30px !important
  1081. }
  1082. &s40 {
  1083. font-size: 40px !important
  1084. }
  1085. &w1 {
  1086. font-weight: 100 !important;
  1087. }
  1088. &w2 {
  1089. font-weight: 200 !important;
  1090. }
  1091. &w3 {
  1092. font-weight: 300 !important;
  1093. }
  1094. &w4 {
  1095. font-weight: 400 !important;
  1096. }
  1097. &w5 {
  1098. font-weight: 500 !important;
  1099. }
  1100. &w6 {
  1101. font-weight: 600 !important;
  1102. }
  1103. &w7 {
  1104. font-weight: 700 !important;
  1105. }
  1106. &w8 {
  1107. font-weight: 800 !important;
  1108. }
  1109. &w9 {
  1110. font-weight: 900 !important;
  1111. }
  1112. }
  1113. .border {
  1114. &-0 {
  1115. border: 0 !important
  1116. }
  1117. &-line {
  1118. border: 1px solid @BoxBorderColor;
  1119. }
  1120. &-bottom-line {
  1121. border-bottom: 1px solid @BoxBorderColor;
  1122. }
  1123. &-top-0 {
  1124. border-top: 0 !important;
  1125. }
  1126. &-left-0 {
  1127. border-left: 0 !important;
  1128. }
  1129. &-right-0 {
  1130. border-right: 0 !important;
  1131. }
  1132. &-bottom-0 {
  1133. border-bottom: 0 !important;
  1134. }
  1135. &-radius {
  1136. border-radius: 50% !important;
  1137. &-0 {
  1138. border-radius: 0 !important
  1139. }
  1140. &-5 {
  1141. border-radius: 5px !important;
  1142. }
  1143. &-6 {
  1144. border-radius: 6px !important;
  1145. }
  1146. &-left-0 {
  1147. border-top-left-radius: 0 !important;
  1148. border-bottom-left-radius: 0 !important
  1149. }
  1150. &-right-0 {
  1151. border-top-right-radius: 0 !important;
  1152. border-bottom-right-radius: 0 !important
  1153. }
  1154. }
  1155. }
  1156. .margin {
  1157. &-0 {
  1158. margin: 0 !important
  1159. }
  1160. &-5 {
  1161. margin: 5px !important
  1162. }
  1163. &-10 {
  1164. margin: 10px !important
  1165. }
  1166. &-15 {
  1167. margin: 15px !important
  1168. }
  1169. &-20 {
  1170. margin: 20px !important
  1171. }
  1172. &-25 {
  1173. margin: 25px !important
  1174. }
  1175. &-30 {
  1176. margin: 30px !important
  1177. }
  1178. &-40 {
  1179. margin: 40px !important
  1180. }
  1181. &-row {
  1182. &-0 {
  1183. margin-left: 0 !important;
  1184. margin-right: 0 !important;
  1185. }
  1186. &-5 {
  1187. margin-left: 5px !important;
  1188. margin-right: 5px !important;
  1189. }
  1190. &-10 {
  1191. margin-left: 10px !important;
  1192. margin-right: 10px !important;
  1193. }
  1194. &-15 {
  1195. margin-left: 15px !important;
  1196. margin-right: 15px !important;
  1197. }
  1198. &-20 {
  1199. margin-left: 20px !important;
  1200. margin-right: 20px !important;
  1201. }
  1202. &-25 {
  1203. margin-left: 25px !important;
  1204. margin-right: 25px !important;
  1205. }
  1206. &-30 {
  1207. margin-left: 30px !important;
  1208. margin-right: 30px !important;
  1209. }
  1210. &-40 {
  1211. margin-left: 40px !important;
  1212. margin-right: 40px !important;
  1213. }
  1214. }
  1215. &-top {
  1216. &-0 {
  1217. margin-top: 0 !important
  1218. }
  1219. &-5 {
  1220. margin-top: 5px !important
  1221. }
  1222. &-10 {
  1223. margin-top: 10px !important
  1224. }
  1225. &-15 {
  1226. margin-top: 15px !important
  1227. }
  1228. &-20 {
  1229. margin-top: 20px !important
  1230. }
  1231. &-25 {
  1232. margin-top: 25px !important
  1233. }
  1234. &-30 {
  1235. margin-top: 30px !important
  1236. }
  1237. &-40 {
  1238. margin-top: 40px !important;
  1239. }
  1240. }
  1241. &-left {
  1242. &-0 {
  1243. margin-left: 0 !important
  1244. }
  1245. &-5 {
  1246. margin-left: 5px !important
  1247. }
  1248. &-10 {
  1249. margin-left: 10px !important
  1250. }
  1251. &-15 {
  1252. margin-left: 15px !important
  1253. }
  1254. &-20 {
  1255. margin-left: 20px !important
  1256. }
  1257. &-25 {
  1258. margin-left: 25px !important
  1259. }
  1260. &-30 {
  1261. margin-left: 30px !important
  1262. }
  1263. &-40 {
  1264. margin-left: 40px !important
  1265. }
  1266. }
  1267. &-right {
  1268. &-0 {
  1269. margin-right: 0 !important
  1270. }
  1271. &-5 {
  1272. margin-right: 5px !important
  1273. }
  1274. &-10 {
  1275. margin-right: 10px !important
  1276. }
  1277. &-15 {
  1278. margin-right: 15px !important
  1279. }
  1280. &-20 {
  1281. margin-right: 20px !important
  1282. }
  1283. &-25 {
  1284. margin-right: 25px !important
  1285. }
  1286. &-30 {
  1287. margin-right: 30px !important
  1288. }
  1289. &-40 {
  1290. margin-right: 40px !important
  1291. }
  1292. }
  1293. &-bottom {
  1294. &-0 {
  1295. margin-bottom: 0 !important
  1296. }
  1297. &-5 {
  1298. margin-bottom: 5px !important
  1299. }
  1300. &-10 {
  1301. margin-bottom: 10px !important
  1302. }
  1303. &-15 {
  1304. margin-bottom: 15px !important
  1305. }
  1306. &-20 {
  1307. margin-bottom: 20px !important
  1308. }
  1309. &-25 {
  1310. margin-bottom: 25px !important
  1311. }
  1312. &-30 {
  1313. margin-bottom: 30px !important
  1314. }
  1315. &-40 {
  1316. margin-bottom: 40px !important
  1317. }
  1318. }
  1319. }
  1320. .padding {
  1321. &-0 {
  1322. padding: 0 !important
  1323. }
  1324. &-5 {
  1325. padding: 5px !important
  1326. }
  1327. &-10 {
  1328. padding: 10px !important
  1329. }
  1330. &-15 {
  1331. padding: 15px !important
  1332. }
  1333. &-20 {
  1334. padding: 20px !important
  1335. }
  1336. &-25 {
  1337. padding: 25px !important
  1338. }
  1339. &-30 {
  1340. padding: 30px !important
  1341. }
  1342. &-40 {
  1343. padding: 40px !important
  1344. }
  1345. &-row {
  1346. &-0 {
  1347. padding-left: 0 !important;
  1348. padding-right: 0 !important;
  1349. }
  1350. &-5 {
  1351. padding-left: 5px !important;
  1352. padding-right: 5px !important;
  1353. }
  1354. &-10 {
  1355. padding-left: 10px !important;
  1356. padding-right: 10px !important;
  1357. }
  1358. &-15 {
  1359. padding-left: 15px !important;
  1360. padding-right: 15px !important;
  1361. }
  1362. &-20 {
  1363. padding-left: 20px !important;
  1364. padding-right: 20px !important;
  1365. }
  1366. &-25 {
  1367. padding-left: 25px !important;
  1368. padding-right: 25px !important;
  1369. }
  1370. &-30 {
  1371. padding-left: 30px !important;
  1372. padding-right: 30px !important;
  1373. }
  1374. &-40 {
  1375. padding-left: 40px !important;
  1376. padding-right: 40px !important;
  1377. }
  1378. }
  1379. &-top {
  1380. &-0 {
  1381. padding-top: 0 !important
  1382. }
  1383. &-5 {
  1384. padding-top: 5px !important
  1385. }
  1386. &-10 {
  1387. padding-top: 10px !important
  1388. }
  1389. &-15 {
  1390. padding-top: 15px !important
  1391. }
  1392. &-20 {
  1393. padding-top: 20px !important
  1394. }
  1395. &-30 {
  1396. padding-top: 30px !important
  1397. }
  1398. &-40 {
  1399. padding-top: 40px !important
  1400. }
  1401. }
  1402. &-left {
  1403. &-0 {
  1404. padding-left: 0 !important
  1405. }
  1406. &-5 {
  1407. padding-left: 5px !important
  1408. }
  1409. &-10 {
  1410. padding-left: 10px !important
  1411. }
  1412. &-15 {
  1413. padding-left: 15px !important
  1414. }
  1415. &-20 {
  1416. padding-left: 20px !important
  1417. }
  1418. &-30 {
  1419. padding-left: 30px !important
  1420. }
  1421. &-40 {
  1422. padding-left: 40px !important
  1423. }
  1424. }
  1425. &-right {
  1426. &-0 {
  1427. padding-right: 0 !important
  1428. }
  1429. &-5 {
  1430. padding-right: 5px !important
  1431. }
  1432. &-10 {
  1433. padding-right: 10px !important
  1434. }
  1435. &-15 {
  1436. padding-right: 15px !important
  1437. }
  1438. &-20 {
  1439. padding-right: 20px !important
  1440. }
  1441. &-30 {
  1442. padding-right: 30px !important
  1443. }
  1444. &-40 {
  1445. padding-right: 40px !important
  1446. }
  1447. }
  1448. &-bottom {
  1449. &-0 {
  1450. padding-bottom: 0 !important
  1451. }
  1452. &-5 {
  1453. padding-bottom: 5px !important
  1454. }
  1455. &-10 {
  1456. padding-bottom: 10px !important
  1457. }
  1458. &-15 {
  1459. padding-bottom: 15px !important
  1460. }
  1461. &-20 {
  1462. padding-bottom: 20px !important
  1463. }
  1464. &-30 {
  1465. padding-bottom: 30px !important
  1466. }
  1467. &-40 {
  1468. padding-bottom: 40px !important
  1469. }
  1470. }
  1471. }
  1472. @keyframes loading {
  1473. 17% {
  1474. border-bottom-right-radius: 3px;
  1475. }
  1476. 25% {
  1477. transform: translateY(9px) rotate(22.5deg);
  1478. }
  1479. 50% {
  1480. border-bottom-right-radius: 40px;
  1481. transform: translateY(18px) scale(1, 0.9) rotate(45deg);
  1482. }
  1483. 75% {
  1484. transform: translateY(9px) rotate(67.5deg);
  1485. }
  1486. 100% {
  1487. transform: translateY(0) rotate(90deg);
  1488. }
  1489. }
  1490. @-webkit-keyframes loading {
  1491. 17% {
  1492. border-bottom-right-radius: 3px;
  1493. }
  1494. 25% {
  1495. transform: translateY(9px) rotate(22.5deg);
  1496. }
  1497. 50% {
  1498. transform: translateY(18px) scale(1, 0.9) rotate(45deg);
  1499. border-bottom-right-radius: 40px;
  1500. }
  1501. 75% {
  1502. transform: translateY(9px) rotate(67.5deg);
  1503. }
  1504. 100% {
  1505. transform: translateY(0) rotate(90deg);
  1506. }
  1507. }
  1508. @keyframes shadow {
  1509. 0%,
  1510. 100% {
  1511. transform: scale(1, 1);
  1512. }
  1513. 50% {
  1514. transform: scale(1.2, 1);
  1515. }
  1516. }
  1517. @-webkit-keyframes shadow {
  1518. 0%,
  1519. 100% {
  1520. transform: scale(1, 1);
  1521. }
  1522. 50% {
  1523. transform: scale(1.2, 1);
  1524. }
  1525. }