_custom.less 26 KB

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