_custom.less 28 KB

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