_custom.less 26 KB

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