app.scss 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080
  1. @charset "utf-8";
  2. @mixin transition($transition) {
  3. -webkit-transition: $transition;
  4. -moz-transition: $transition;
  5. -o-transition: $transition;
  6. transition: $transition;
  7. }
  8. ::-moz-selection {
  9. background: #009688;
  10. color: #FFF;
  11. }
  12. ::selection {
  13. background: #159b76;
  14. color: #FFF;
  15. }
  16. ::-webkit-scrollbar {
  17. width: 6px;
  18. height: 6px;
  19. }
  20. ::-webkit-scrollbar-thumb {
  21. border-radius: 10px;
  22. background-color: #bdbdbd;
  23. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  24. }
  25. html,
  26. body,
  27. .tpl-g {
  28. height: 100%;
  29. }
  30. body {
  31. background-color: #f2f2f2;
  32. font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  33. }
  34. ul,
  35. li {
  36. list-style: none;
  37. padding: 0;
  38. margin: 0;
  39. }
  40. a {
  41. &:focus {
  42. outline: none;
  43. }
  44. }
  45. .icon {
  46. width: 1em;
  47. height: 1em;
  48. vertical-align: -0.15em;
  49. fill: currentColor;
  50. overflow: hidden;
  51. }
  52. .tpl-header {
  53. z-index: 1000;
  54. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  55. position: fixed;
  56. top: 0;
  57. width: 100%;
  58. transition: all 0.4s ease-in-out;
  59. padding-left: 160px;
  60. -webkit-touch-callout: none;
  61. -webkit-user-select: none;
  62. -moz-user-select: none;
  63. -ms-user-select: none;
  64. user-select: none;
  65. }
  66. .tpl-header-logo {
  67. width: 240px;
  68. height: 57px;
  69. display: table;
  70. text-align: center;
  71. position: relative;
  72. z-index: 1300;
  73. a {
  74. display: table-cell;
  75. vertical-align: middle;
  76. }
  77. img {
  78. width: 170px;
  79. }
  80. }
  81. .tpl-header-fluid {
  82. height: 50px;
  83. padding-left: 20px;
  84. padding-right: 20px;
  85. background: #fff;
  86. }
  87. .tpl-header-button {
  88. float: left;
  89. color: #333;
  90. margin: 0 0 0 -20px;
  91. border: 0;
  92. border-radius: 0;
  93. padding: 0 22px;
  94. line-height: 50px;
  95. background: #fff;
  96. cursor: pointer;
  97. &:hover {
  98. background: #fff;
  99. color: #999;
  100. outline: none;
  101. }
  102. }
  103. .tpl-header-navbar {
  104. color: #fff;
  105. li {
  106. float: left;
  107. }
  108. a {
  109. line-height: 50px;
  110. display: block;
  111. padding: 0 16px;
  112. position: relative;
  113. color: #333;
  114. -webkit-transition: all .3s;
  115. transition: all .3s;
  116. &:hover {
  117. background: rgba(0, 0, 0, .025);
  118. }
  119. .item-feed-badge {
  120. position: absolute;
  121. top: 8px;
  122. left: 25px;
  123. padding: .25em .42em;
  124. }
  125. }
  126. }
  127. ul {
  128. &.tpl-dropdown-content {
  129. padding: 10px;
  130. margin-top: 0;
  131. width: 300px;
  132. border-radius: 0;
  133. background: #fff;
  134. border: 1px solid #ddd;
  135. li {
  136. float: none;
  137. }
  138. .tpl-dropdown-menu-notifications-title {
  139. font-size: 12px;
  140. float: left;
  141. color: rgba(255, 255, 255, 0.7);
  142. color: #616161;
  143. }
  144. .tpl-dropdown-menu-notifications-time {
  145. float: right;
  146. text-align: right;
  147. color: rgba(255, 255, 255, 0.7);
  148. font-size: 11px;
  149. width: 50px;
  150. margin-left: 10px;
  151. }
  152. .tpl-dropdown-menu-notifications {
  153. &:last-child {
  154. .tpl-dropdown-menu-notifications-item {
  155. text-align: center;
  156. border: none;
  157. font-size: 12px;
  158. i {
  159. margin-left: -6px;
  160. }
  161. }
  162. }
  163. }
  164. .tpl-dropdown-menu-messages {
  165. &:last-child {
  166. .tpl-dropdown-menu-messages-item {
  167. text-align: center;
  168. border: none;
  169. font-size: 12px;
  170. i {
  171. margin-left: -6px;
  172. }
  173. }
  174. }
  175. }
  176. .tpl-dropdown-menu-messages-item {
  177. .menu-messages-content {
  178. .menu-messages-content-time {
  179. color: #96a5aa;
  180. }
  181. }
  182. &:hover {
  183. background-color: #f5f5f5;
  184. }
  185. }
  186. }
  187. }
  188. ul.tpl-dropdown-content:before,
  189. ul.tpl-dropdown-content:after {
  190. display: none;
  191. }
  192. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item,
  193. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item {
  194. padding: 12px;
  195. line-height: 20px;
  196. border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  197. border-bottom: 1px solid #eee;
  198. color: #999;
  199. }
  200. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  201. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover,
  202. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:focus,
  203. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:focus {
  204. background-color: #465154;
  205. color: #fff;
  206. }
  207. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico,
  208. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico {
  209. line-height: initial;
  210. float: left;
  211. width: 35px;
  212. height: 35px;
  213. border-radius: 50%;
  214. margin-right: 10px;
  215. margin-top: 6px;
  216. overflow: hidden;
  217. }
  218. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico img,
  219. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico img {
  220. width: 100%;
  221. height: auto;
  222. vertical-align: middle;
  223. }
  224. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-time,
  225. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-time {
  226. float: right;
  227. text-align: right;
  228. color: rgba(255, 255, 255, 0.7);
  229. font-size: 11px;
  230. width: 40px;
  231. margin-left: 10px;
  232. }
  233. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content,
  234. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content {
  235. display: block;
  236. font-size: 13px;
  237. margin-left: 45px;
  238. margin-right: 50px;
  239. }
  240. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content .menu-messages-content-time,
  241. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
  242. margin-top: 3px;
  243. color: rgba(255, 255, 255, 0.7);
  244. font-size: 11px;
  245. }
  246. .am-dimmer {
  247. z-index: 1200;
  248. }
  249. .am-modal {
  250. z-index: 1300;
  251. }
  252. .am-datepicker-dropdown {
  253. z-index: 1400;
  254. }
  255. // 左侧菜单栏
  256. .left-sidebar {
  257. transition: all 0.4s ease-in-out;
  258. height: 100%;
  259. position: fixed;
  260. z-index: 10;
  261. top: 0;
  262. left: 0;
  263. // 一级菜单
  264. .sidebar-nav {
  265. width: 160px;
  266. background-color: #20222a;
  267. -webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
  268. box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
  269. .sidebar-nav-heading {
  270. padding: 15px 17px;
  271. font-size: 15px;
  272. font-weight: 500;
  273. color: #fff;
  274. }
  275. .sidebar-nav-heading-info {
  276. font-size: 12px;
  277. color: #868e8e;
  278. padding-left: 10px;
  279. }
  280. .sidebar-nav-link-logo {
  281. margin-right: 10px;
  282. width: 20px;
  283. font-size: 16px;
  284. display: inline-block;
  285. }
  286. .sidebar-nav-link {
  287. padding: 6px 0;
  288. a {
  289. display: block;
  290. color: rgba(255, 255, 255, .7);
  291. padding: 0 15px;
  292. border-left: 3px solid transparent;
  293. font-size: 14px;
  294. cursor: pointer;
  295. height: 42px;
  296. line-height: 42px;
  297. -webkit-transition: .1s cubic-bezier(.145, .045, .355, 1);
  298. transition: .1s cubic-bezier(.145, .045, .355, 1);
  299. &.active {
  300. cursor: pointer;
  301. color: #fff;
  302. background: #1686ef;
  303. .sidebar-nav-link-logo {
  304. color: #fff !important;
  305. }
  306. }
  307. &:hover {
  308. color: #fff;
  309. border-left: #1686ef 3px solid;
  310. }
  311. }
  312. }
  313. }
  314. // 二级菜单
  315. .left-sidebar-second {
  316. width: 120px;
  317. min-height: 100%;
  318. background: #fff;
  319. padding-top: 50px;
  320. a {
  321. display: block;
  322. color: #333;
  323. font-size: 1.3rem;
  324. &:hover {
  325. background: #f5f5f5;
  326. }
  327. }
  328. ul {
  329. margin: 0;
  330. }
  331. .sidebar-second-title {
  332. height: 60px;
  333. line-height: 60px;
  334. padding-left: 2.2rem;
  335. font-size: 1.4rem;
  336. }
  337. .sidebar-second-item {
  338. a {
  339. min-height: 40px;
  340. line-height: 40px;
  341. padding-left: 2.3rem;
  342. &.active {
  343. background: #f5f5f5;
  344. }
  345. }
  346. // 三级菜单
  347. .sidebar-third-item {
  348. & > a {
  349. &.active {
  350. background: none;
  351. .icon-caret {
  352. transform: rotate(90deg);
  353. }
  354. & + .sidebar-third-nav-sub {
  355. display: block;
  356. }
  357. }
  358. }
  359. a {
  360. position: relative;
  361. .iconfont.icon-caret {
  362. position: absolute;
  363. left: .8rem;
  364. display: inline-block;
  365. transition: all 0.3s ease-in-out;
  366. font-size: 1.2rem;
  367. }
  368. }
  369. .sidebar-third-nav-sub {
  370. a {
  371. padding-left: 2.5rem;
  372. }
  373. display: none;
  374. }
  375. }
  376. }
  377. }
  378. &.xs-active {
  379. left: 0;
  380. }
  381. }
  382. .tpl-content-wrapper {
  383. transition: all 0.4s ease-in-out;
  384. position: relative;
  385. margin-left: 280px;
  386. margin-top: 50px;
  387. padding-bottom: 20px;
  388. &.no-sidebar-second {
  389. margin-left: 160px;
  390. }
  391. &.xs-active {
  392. margin-left: 240px;
  393. }
  394. &.active {
  395. margin-left: 0;
  396. }
  397. }
  398. .page-header {
  399. background: #424b4f;
  400. margin-top: 0;
  401. margin-bottom: 0;
  402. padding: 40px 0;
  403. border-bottom: 0;
  404. }
  405. .container-fluid {
  406. margin-top: 0;
  407. margin-bottom: 0;
  408. border-bottom: 0;
  409. padding-left: 20px;
  410. padding-right: 20px;
  411. }
  412. .row {
  413. margin-right: -10px;
  414. margin-left: -10px;
  415. }
  416. .page-header-description {
  417. margin-top: 4px;
  418. margin-bottom: 0;
  419. font-size: 14px;
  420. color: #666;
  421. }
  422. .page-header-heading {
  423. font-size: 20px;
  424. font-weight: 400;
  425. color: #666;
  426. .page-header-heading-ico {
  427. font-size: 28px;
  428. position: relative;
  429. top: 3px;
  430. }
  431. small {
  432. font-weight: normal;
  433. line-height: 1;
  434. color: #b3b3b3;
  435. }
  436. }
  437. .widget {
  438. width: 100%;
  439. min-height: 148px;
  440. border-radius: 0;
  441. position: relative;
  442. padding: 10px 20px 13px;
  443. background-color: #fff;
  444. color: #333;
  445. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  446. }
  447. .widget-body {
  448. padding: 0 15px;
  449. width: 100%;
  450. }
  451. .widget-head {
  452. width: 100%;
  453. padding: 12px 20px;
  454. border-bottom: 1px solid #eef1f5;
  455. margin-top: 10px;
  456. margin-bottom: 20px;
  457. &:not(:first-child) {
  458. margin-top: 40px;
  459. }
  460. .widget-title {
  461. position: relative;
  462. font-size: 1.5rem;
  463. &::before {
  464. content: '';
  465. position: absolute;
  466. width: 4px;
  467. height: 14px;
  468. background: #00aeff;
  469. top: 6px;
  470. left: -12px;
  471. }
  472. }
  473. }
  474. .widget-fluctuation-period-text {
  475. display: inline-block;
  476. font-size: 16px;
  477. line-height: 20px;
  478. margin-bottom: 9px;
  479. color: #838fa1;
  480. }
  481. .row-content {
  482. padding: 15px;
  483. }
  484. .widget-fluctuation-description-text {
  485. margin-top: 4px;
  486. display: block;
  487. font-size: 12px;
  488. line-height: 13px;
  489. color: #c5cacd;
  490. }
  491. .widget-fluctuation-description-amount {
  492. display: block;
  493. font-size: 20px;
  494. line-height: 22px;
  495. }
  496. .widget-card-header {
  497. position: relative;
  498. z-index: 35;
  499. display: block;
  500. font-size: 14px;
  501. text-transform: uppercase;
  502. margin-bottom: 8px;
  503. padding-top: 18px;
  504. color: #fff;
  505. }
  506. .widget-body-md {
  507. height: 200px;
  508. }
  509. .widget-body-lg {
  510. min-height: 330px;
  511. }
  512. .widget-margin-bottom-lg {
  513. margin-bottom: 20px;
  514. }
  515. .tpl-table-black-operation {
  516. > a {
  517. display: inline-block;
  518. padding: 5px 6px;
  519. font-size: 12px;
  520. line-height: 12px;
  521. border: 1px solid #36c6d3;
  522. color: #36c6d3;
  523. vertical-align: middle;
  524. &:hover {
  525. background: #36c6d3;
  526. color: #fff;
  527. }
  528. &.tpl-table-black-operation-del {
  529. border: 1px solid #e7505a;
  530. color: #e7505a;
  531. &:hover {
  532. background: #e7505a;
  533. color: #fff;
  534. }
  535. }
  536. &.tpl-table-black-operation-green {
  537. border: 1px solid #5eb95e;
  538. color: #5eb95e;
  539. &:hover {
  540. background: #5eb95e;
  541. color: #fff;
  542. }
  543. }
  544. &.tpl-table-black-operation-default {
  545. color: #7f838a;
  546. background: #fff;
  547. //padding: 6px 8px;
  548. border: solid 1px #c7c7c7;
  549. border-radius: 2px;
  550. line-height: 13px;
  551. box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  552. i.iconfont {
  553. font-size: 12px;
  554. }
  555. }
  556. &.tpl-table-black-operation-default:hover {
  557. color: #fff;
  558. background-color: #1BBC9D;
  559. border-color: #16A086;
  560. }
  561. }
  562. }
  563. .tpl-switch {
  564. input[type="checkbox"] {
  565. position: absolute;
  566. opacity: 0;
  567. width: 50px;
  568. height: 20px;
  569. }
  570. input[type="checkbox"].ios-switch {
  571. & + div {
  572. vertical-align: middle;
  573. width: 40px;
  574. height: 20px;
  575. border-radius: 999px;
  576. background-color: rgba(0, 0, 0, 0.1);
  577. -webkit-transition-duration: .4s;
  578. -webkit-transition-property: background-color, box-shadow;
  579. margin-top: 6px;
  580. & > div {
  581. float: left;
  582. width: 18px;
  583. height: 18px;
  584. border-radius: inherit;
  585. background: #ffffff;
  586. -webkit-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
  587. -webkit-transition-duration: 0.4s;
  588. -webkit-transition-property: transform, background-color, box-shadow;
  589. -moz-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
  590. -moz-transition-duration: 0.4s;
  591. -moz-transition-property: transform, background-color;
  592. pointer-events: none;
  593. margin-top: 1px;
  594. margin-left: 1px;
  595. }
  596. }
  597. &:checked {
  598. & + div {
  599. width: 40px;
  600. background-position: 0 0;
  601. background-color: #36c6d3;
  602. & > div {
  603. -webkit-transform: translate3d(20px, 0, 0);
  604. -moz-transform: translate3d(20px, 0, 0);
  605. background-color: #ffffff;
  606. }
  607. }
  608. }
  609. }
  610. input[type="checkbox"].tinyswitch {
  611. &.ios-switch {
  612. & + div {
  613. width: 34px;
  614. height: 18px;
  615. & > div {
  616. width: 16px;
  617. height: 16px;
  618. margin-top: 1px;
  619. }
  620. }
  621. &:checked {
  622. & + div {
  623. & > div {
  624. -webkit-transform: translate3d(16px, 0, 0);
  625. -moz-transform: translate3d(16px, 0, 0);
  626. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px #0850ac;
  627. }
  628. }
  629. }
  630. }
  631. }
  632. input[type="checkbox"].bigswitch {
  633. &.ios-switch {
  634. & + div {
  635. width: 50px;
  636. height: 25px;
  637. & > div {
  638. width: 23px;
  639. height: 23px;
  640. margin-top: 1px;
  641. }
  642. }
  643. &:checked {
  644. & + div {
  645. & > div {
  646. -webkit-transform: translate3d(25px, 0, 0);
  647. -moz-transform: translate3d(16px, 0, 0);
  648. }
  649. }
  650. }
  651. }
  652. }
  653. input[type="checkbox"].green {
  654. &.ios-switch {
  655. &:checked {
  656. & + div {
  657. background-color: #00e359;
  658. border: 1px solid #00a23f;
  659. box-shadow: inset 0 0 0 10px #00e359;
  660. & > div {
  661. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px #00a23f;
  662. }
  663. }
  664. }
  665. }
  666. }
  667. }
  668. .tpl-page-state {
  669. width: 100%;
  670. }
  671. .tpl-page-state-title {
  672. font-size: 40px;
  673. font-weight: bold;
  674. color: #838fa1;
  675. }
  676. .tpl-page-state-content {
  677. padding: 10px 0;
  678. }
  679. .tpl-login {
  680. width: 100%;
  681. }
  682. .tpl-login-logo {
  683. max-width: 159px;
  684. height: 205px;
  685. margin: 0 auto 20px auto;
  686. }
  687. .tpl-login-title {
  688. width: 100%;
  689. font-size: 24px;
  690. color: #697882;
  691. strong {
  692. color: #39bae4;
  693. }
  694. }
  695. .tpl-login-content {
  696. margin: 12% auto 0;
  697. width: 500px;
  698. padding: 40px 40px 25px;
  699. background-color: #fff;
  700. border-radius: 4px;
  701. }
  702. .tpl-login-remember-me {
  703. color: #b3b3b3;
  704. font-size: 14px;
  705. label {
  706. position: relative;
  707. top: -2px;
  708. }
  709. }
  710. .tpl-login-content-info {
  711. color: #b3b3b3;
  712. font-size: 14px;
  713. }
  714. .cl-p {
  715. padding: 0 !important;
  716. }
  717. .tpl-table-line-img {
  718. max-width: 100px;
  719. padding: 2px;
  720. border: 1px solid #ddd;
  721. }
  722. .tpl-table-list-select {
  723. text-align: right;
  724. }
  725. .fc-button-group,
  726. .fc button {
  727. display: block;
  728. }
  729. .tpl-header-search-box:hover,
  730. .tpl-header-search-box:active .tpl-error-title {
  731. color: #848c90;
  732. }
  733. .tpl-error-title-info {
  734. line-height: 30px;
  735. font-size: 21px;
  736. margin-top: 20px;
  737. text-align: center;
  738. color: #dce2ec;
  739. }
  740. .tpl-error-btn {
  741. background: #03a9f3;
  742. border: 1px solid #03a9f3;
  743. border-radius: 30px;
  744. padding: 6px 20px 8px;
  745. }
  746. .tpl-error-content {
  747. margin-top: 20px;
  748. margin-bottom: 20px;
  749. font-size: 16px;
  750. text-align: center;
  751. color: #96a2b4;
  752. }
  753. .tpl-calendar-box {
  754. background: #fff;
  755. border-radius: 4px;
  756. padding: 20px;
  757. .fc-event {
  758. border-radius: 0;
  759. background: #03a9f3;
  760. border: 1px solid #14b0f6;
  761. }
  762. .fc-axis {
  763. color: #868e8e;
  764. }
  765. .fc-unthemed {
  766. .fc-today {
  767. background: #eee;
  768. }
  769. }
  770. .fc-more {
  771. color: #868e8e;
  772. }
  773. .fc {
  774. th {
  775. color: #868e8e;
  776. font-weight: normal;
  777. font-size: 14px;
  778. padding: 6px 0;
  779. &.fc-widget-header {
  780. background: #32c5d2 !important;
  781. color: #ffffff;
  782. font-size: 14px;
  783. line-height: 20px;
  784. padding: 7px 0;
  785. text-transform: uppercase;
  786. border: none !important;
  787. a {
  788. color: #fff;
  789. }
  790. }
  791. }
  792. }
  793. .fc-center {
  794. h2 {
  795. color: #868e8e;
  796. }
  797. }
  798. .fc-state-default {
  799. background: #fff;
  800. font-size: 14px;
  801. color: #868e8e;
  802. }
  803. .fc-day-number {
  804. color: #868e8e;
  805. padding-right: 6px;
  806. }
  807. }
  808. .tpl-calendar-box .fc th,
  809. .tpl-calendar-box .fc td,
  810. .tpl-calendar-box .fc hr,
  811. .tpl-calendar-box .fc thead,
  812. .tpl-calendar-box .fc tbody,
  813. .tpl-calendar-box .fc-row {
  814. border-color: #eee !important;
  815. }
  816. .tpl-pagination .am-disabled a,
  817. .tpl-pagination li a {
  818. color: #23abf0;
  819. border-radius: 3px;
  820. padding: 6px 12px;
  821. }
  822. .tpl-pagination {
  823. .am-active {
  824. a {
  825. background: #23abf0;
  826. color: #fff;
  827. border: 1px solid #23abf0;
  828. padding: 6px 12px;
  829. }
  830. }
  831. }
  832. .tpl-login-btn {
  833. background-color: #32c5d2;
  834. border: none;
  835. padding: 10px 16px;
  836. font-size: 14px;
  837. line-height: 14px;
  838. outline: none;
  839. }
  840. .tpl-login-btn:hover,
  841. .tpl-login-btn:active {
  842. background: #22b2e1;
  843. color: #fff;
  844. }
  845. .tpl-form-line-form,
  846. .tpl-form-border-form {
  847. }
  848. .tpl-form-border-form input[type=number]:focus,
  849. .tpl-form-border-form input[type=search]:focus,
  850. .tpl-form-border-form input[type=text]:focus,
  851. .tpl-form-border-form input[type=password]:focus,
  852. .tpl-form-border-form input[type=datetime]:focus,
  853. .tpl-form-border-form input[type=datetime-local]:focus,
  854. .tpl-form-border-form input[type=date]:focus,
  855. .tpl-form-border-form input[type=month]:focus,
  856. .tpl-form-border-form input[type=time]:focus,
  857. .tpl-form-border-form input[type=week]:focus,
  858. .tpl-form-border-form input[type=email]:focus,
  859. .tpl-form-border-form input[type=url]:focus,
  860. .tpl-form-border-form input[type=tel]:focus,
  861. .tpl-form-border-form input[type=color]:focus,
  862. .tpl-form-border-form select:focus,
  863. .tpl-form-border-form textarea:focus,
  864. .am-form-field:focus {
  865. -webkit-box-shadow: none;
  866. box-shadow: none;
  867. }
  868. .tpl-form-border-form input[type=number],
  869. .tpl-form-border-form input[type=search],
  870. .tpl-form-border-form input[type=text],
  871. .tpl-form-border-form input[type=password],
  872. .tpl-form-border-form input[type=datetime],
  873. .tpl-form-border-form input[type=datetime-local],
  874. .tpl-form-border-form input[type=date],
  875. .tpl-form-border-form input[type=month],
  876. .tpl-form-border-form input[type=time],
  877. .tpl-form-border-form input[type=week],
  878. .tpl-form-border-form input[type=email],
  879. .tpl-form-border-form input[type=url],
  880. .tpl-form-border-form input[type=tel],
  881. .tpl-form-border-form input[type=color],
  882. .tpl-form-border-form select,
  883. .tpl-form-border-form textarea,
  884. .am-form-field {
  885. display: block;
  886. width: 100%;
  887. line-height: 1.42857;
  888. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  889. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  890. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  891. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  892. background: 0 0;
  893. border: 1px solid #c2cad8;
  894. text-indent: .5em;
  895. border-radius: 0;
  896. color: #555;
  897. box-shadow: none;
  898. padding-left: 0;
  899. padding-right: 0;
  900. font-size: 14px;
  901. }
  902. .tpl-form-border-form .am-checkbox,
  903. .tpl-form-border-form .am-checkbox-inline,
  904. .tpl-form-border-form .am-form-label,
  905. .tpl-form-border-form .am-radio,
  906. .tpl-form-border-form .am-radio-inline {
  907. margin-top: 0;
  908. margin-bottom: 0;
  909. }
  910. .tpl-form-border-form {
  911. .am-form-group {
  912. &:after {
  913. clear: both;
  914. }
  915. }
  916. .am-form-label {
  917. padding-top: 5px;
  918. font-size: 16px;
  919. color: #888;
  920. font-weight: inherit;
  921. text-align: right;
  922. .tpl-form-line-small-title {
  923. color: #999;
  924. font-size: 12px;
  925. }
  926. }
  927. }
  928. .tpl-form-border-form .am-form-group:after,
  929. .tpl-form-border-form .am-form-group:before {
  930. content: " ";
  931. display: table;
  932. }
  933. .tpl-form-line-form input[type=number]:focus,
  934. .tpl-form-line-form input[type=search]:focus,
  935. .tpl-form-line-form input[type=text]:focus,
  936. .tpl-form-line-form input[type=password]:focus,
  937. .tpl-form-line-form input[type=datetime]:focus,
  938. .tpl-form-line-form input[type=datetime-local]:focus,
  939. .tpl-form-line-form input[type=date]:focus,
  940. .tpl-form-line-form input[type=month]:focus,
  941. .tpl-form-line-form input[type=time]:focus,
  942. .tpl-form-line-form input[type=week]:focus,
  943. .tpl-form-line-form input[type=email]:focus,
  944. .tpl-form-line-form input[type=url]:focus,
  945. .tpl-form-line-form input[type=tel]:focus,
  946. .tpl-form-line-form input[type=color]:focus,
  947. .tpl-form-line-form select:focus,
  948. .tpl-form-line-form textarea:focus,
  949. .am-form-field:focus {
  950. -webkit-box-shadow: none;
  951. box-shadow: none;
  952. }
  953. .tpl-form-line-form input[type=number],
  954. .tpl-form-line-form input[type=search],
  955. .tpl-form-line-form input[type=text],
  956. .tpl-form-line-form input[type=password],
  957. .tpl-form-line-form input[type=datetime],
  958. .tpl-form-line-form input[type=datetime-local],
  959. .tpl-form-line-form input[type=date],
  960. .tpl-form-line-form input[type=month],
  961. .tpl-form-line-form input[type=time],
  962. .tpl-form-line-form input[type=week],
  963. .tpl-form-line-form input[type=email],
  964. .tpl-form-line-form input[type=url],
  965. .tpl-form-line-form input[type=tel],
  966. .tpl-form-line-form input[type=color],
  967. .tpl-form-line-form select,
  968. .tpl-form-line-form textarea,
  969. .am-form-field {
  970. display: block;
  971. width: 100%;
  972. padding: 6px 5px;
  973. line-height: 1.42857;
  974. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  975. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  976. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  977. border: 0;
  978. border-bottom: 1px solid #c2cad8;
  979. color: #555;
  980. box-shadow: none;
  981. font-size: 14px;
  982. }
  983. .am-form {
  984. input[type=text][readonly] {
  985. background: #f7f7f7 !important;
  986. cursor: text;
  987. }
  988. }
  989. .am-checkbox, .am-checkbox-inline, .am-radio, .am-radio-inline {
  990. user-select: none;
  991. }
  992. .am-ucheck-checkbox:checked + .am-ucheck-icons,
  993. .am-ucheck-radio:checked + .am-ucheck-icons {
  994. color: #5bb9ff;
  995. }
  996. .tpl-form-line-form {
  997. .am-checkbox,
  998. .am-checkbox-inline,
  999. .am-radio,
  1000. .am-radio-inline {
  1001. margin-right: 10px;
  1002. padding-top: .8rem;
  1003. }
  1004. .am-checkbox-inline + .am-checkbox-inline,
  1005. .am-radio-inline + .am-radio-inline {
  1006. margin-left: 0;
  1007. }
  1008. .am-checkbox .am-ucheck-icons,
  1009. .am-checkbox-inline .am-ucheck-icons,
  1010. .am-form-label .am-ucheck-icons,
  1011. .am-radio .am-ucheck-icons,
  1012. .am-radio-inline .am-ucheck-icons {
  1013. line-height: 40px;
  1014. }
  1015. .am-form-group {
  1016. &:after {
  1017. clear: both;
  1018. }
  1019. .am-form--static {
  1020. padding-top: .8rem;
  1021. font-size: 1.35rem;
  1022. color: #656565;
  1023. }
  1024. }
  1025. .am-form-label {
  1026. margin: 0;
  1027. padding-top: .8rem;
  1028. font-size: 1.34rem;
  1029. color: #656565;
  1030. font-weight: inherit;
  1031. text-align: right;
  1032. .tpl-form-line-small-title {
  1033. color: #8c8c8c;
  1034. font-size: 12px;
  1035. }
  1036. }
  1037. .am-form-error {
  1038. .am-form-label {
  1039. color: #dd514c;
  1040. }
  1041. }
  1042. }
  1043. .tpl-form-line-form .am-form-group:after,
  1044. .tpl-form-line-form .am-form-group:before {
  1045. content: " ";
  1046. display: table;
  1047. }
  1048. .tpl-amendment-echarts {
  1049. left: -17px;
  1050. }
  1051. .tpl-user-card {
  1052. border: 1px solid #3598dc;
  1053. border-top: 2px solid #3598dc;
  1054. background: #3598dc;
  1055. color: #ffffff;
  1056. border-radius: 4px;
  1057. }
  1058. .tpl-user-card-title {
  1059. font-size: 26px;
  1060. font-weight: 300;
  1061. margin-top: 25px;
  1062. margin-bottom: 10px;
  1063. }
  1064. .achievement-subheading {
  1065. font-size: 12px;
  1066. margin-top: 0;
  1067. margin-bottom: 15px;
  1068. }
  1069. .achievement-image {
  1070. border-radius: 50%;
  1071. margin-bottom: 22px;
  1072. }
  1073. .achievement-description {
  1074. margin: 0;
  1075. font-size: 12px;
  1076. }
  1077. .tpl-table-black {
  1078. color: #6d7279;
  1079. thead {
  1080. & > tr {
  1081. & > th {
  1082. font-size: 1.3rem;
  1083. padding: 6px;
  1084. }
  1085. }
  1086. }
  1087. tbody {
  1088. & > tr {
  1089. & > td {
  1090. font-size: 1.3rem;
  1091. padding: 7px 6px;
  1092. }
  1093. }
  1094. }
  1095. tfoot {
  1096. & > tr {
  1097. & > th {
  1098. font-size: 14px;
  1099. padding: 6px 0;
  1100. }
  1101. }
  1102. }
  1103. }
  1104. .am-progress {
  1105. height: 12px;
  1106. }
  1107. .am-progress-title {
  1108. font-size: 14px;
  1109. margin-bottom: 8px;
  1110. }
  1111. .widget-fluctuation-tpl-btn {
  1112. margin-top: 6px;
  1113. display: block;
  1114. color: #fff;
  1115. font-size: 12px;
  1116. padding: 8px 14px;
  1117. outline: none;
  1118. background-color: #e7505a;
  1119. border: 1px solid #e7505a;
  1120. &:hover {
  1121. background: transparent;
  1122. color: #e7505a;
  1123. }
  1124. }
  1125. .text-success {
  1126. color: #5eb95e;
  1127. }
  1128. .widget-function {
  1129. a {
  1130. color: #838fa1;
  1131. &:hover {
  1132. color: #a7bdcd;
  1133. }
  1134. }
  1135. }
  1136. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  1137. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover {
  1138. background-color: #f5f5f5;
  1139. }
  1140. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .tpl-dropdown-menu-notifications-time,
  1141. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .tpl-dropdown-menu-notifications-time {
  1142. color: #999;
  1143. }
  1144. .tpl-header {
  1145. &.active {
  1146. padding-left: 0;
  1147. }
  1148. }
  1149. .tpl-header-logo {
  1150. background: #fff;
  1151. border-bottom: 1px solid #eee;
  1152. }
  1153. .widget-color-green {
  1154. border: 1px solid #32c5d2;
  1155. border-top: 2px solid #32c5d2;
  1156. background: #32c5d2;
  1157. color: #ffffff;
  1158. .widget-fluctuation-period-text {
  1159. color: #fff;
  1160. }
  1161. .widget-head {
  1162. border-bottom: 1px solid #2bb8c4;
  1163. }
  1164. .widget-fluctuation-description-text {
  1165. color: #bbe7f6;
  1166. }
  1167. .widget-function {
  1168. a {
  1169. color: #42bde5;
  1170. &:hover {
  1171. color: #fff;
  1172. }
  1173. }
  1174. }
  1175. }
  1176. @media screen and (max-width: 1024px) {
  1177. .left-sidebar {
  1178. left: -320px;
  1179. top: 50px;
  1180. }
  1181. .tpl-content-wrapper {
  1182. margin-left: 0 !important;
  1183. }
  1184. .tpl-sidebar-user-panel {
  1185. border-top: 1px solid #eee;
  1186. }
  1187. .tpl-header {
  1188. padding-left: 0;
  1189. }
  1190. }
  1191. @media screen and (min-width: 641px) {
  1192. [class*=am-u-] {
  1193. padding-left: 10px;
  1194. padding-right: 10px;
  1195. }
  1196. }
  1197. @media screen and (max-width: 641px) {
  1198. .tpl-error-title,
  1199. .tpl-login-title {
  1200. font-size: 20px;
  1201. }
  1202. .tpl-login-content {
  1203. width: 86%;
  1204. padding: 22px 30px 25px;
  1205. }
  1206. .tpl-header-search {
  1207. display: none;
  1208. }
  1209. ul.tpl-dropdown-content {
  1210. position: fixed;
  1211. width: 100%;
  1212. left: 0;
  1213. top: 112px;
  1214. right: 0;
  1215. }
  1216. }
  1217. /* table */
  1218. .am-table {
  1219. border-collapse: collapse;
  1220. font-size: 1.4rem;
  1221. & > thead {
  1222. & > tr {
  1223. & > th {
  1224. vertical-align: middle;
  1225. }
  1226. }
  1227. }
  1228. .item-title {
  1229. max-width: 300px;
  1230. overflow: hidden;
  1231. text-overflow: ellipsis;
  1232. display: -webkit-box;
  1233. -webkit-box-orient: vertical;
  1234. -webkit-line-clamp: 2;
  1235. text-align: left !important;
  1236. margin: 0;
  1237. white-space: normal;
  1238. }
  1239. p {
  1240. margin: 0;
  1241. }
  1242. }
  1243. .am-btn-toolbar {
  1244. .am-btn-group {
  1245. & > .am-btn {
  1246. border-radius: 2px !important;
  1247. margin-right: 1rem;
  1248. margin-bottom: .5rem;
  1249. }
  1250. }
  1251. }
  1252. /* 工具栏 */
  1253. .page_toolbar {
  1254. .am-form-group {
  1255. max-width: 300px;
  1256. margin-left: .5rem;
  1257. margin-bottom: 1.1rem;
  1258. .am-form-field, .am-btn {
  1259. border-radius: 2px;
  1260. outline: 0;
  1261. }
  1262. span, .am-selected-list {
  1263. font-size: 1.4rem;
  1264. }
  1265. }
  1266. .am-input-group {
  1267. .am-form-field {
  1268. border-bottom-right-radius: 0;
  1269. border-top-right-radius: 0;
  1270. }
  1271. .am-input-group-btn .am-btn {
  1272. background: #fff;
  1273. border-bottom-left-radius: 0;
  1274. border-top-left-radius: 0;
  1275. &:hover {
  1276. color: #2589ff;
  1277. }
  1278. }
  1279. }
  1280. }
  1281. /* 后台首页 */
  1282. .page-home {
  1283. .widget {
  1284. padding: 10px 20px 25px;
  1285. .widget-head {
  1286. margin-top: 0;
  1287. margin-bottom: 10px;
  1288. border-bottom: none;
  1289. }
  1290. .widget-body {
  1291. padding: 0;
  1292. }
  1293. }
  1294. // 实时概况
  1295. .widget-outline {
  1296. flex-basis: 50%;
  1297. height: 117px;
  1298. padding: 20px;
  1299. margin-bottom: 20px;
  1300. box-sizing: border-box;
  1301. .outline-left {
  1302. margin-right: 30px;
  1303. img {
  1304. width: 58px;
  1305. height: 58px;
  1306. }
  1307. }
  1308. .outline-right {
  1309. flex-basis: 50%;
  1310. }
  1311. }
  1312. // 近七日交易走势
  1313. .widget-echarts {
  1314. height: 400px;
  1315. width: 100%;
  1316. }
  1317. // 商城统计
  1318. .widget-card {
  1319. min-height: 174px;
  1320. color: #ffffff;
  1321. padding: 12px 17px 12px 22px;
  1322. margin-bottom: 20px;
  1323. &.card__blue {
  1324. background: linear-gradient(-125deg, #57bdbf, #2f9de2);
  1325. }
  1326. &.card__red {
  1327. background: linear-gradient(-125deg, #ff7d7d, #fb2c95);
  1328. }
  1329. &.card__violet {
  1330. background: linear-gradient(-113deg, #c543d8, #925cc3);
  1331. }
  1332. &.card__primary {
  1333. background: linear-gradient(-141deg, #ecca1b, #f39526);
  1334. }
  1335. .card-header {
  1336. position: relative;
  1337. display: block;
  1338. padding-top: 18px;
  1339. color: #fff;
  1340. font-size: 1.4rem;
  1341. text-transform: uppercase;
  1342. margin-bottom: 8px;
  1343. }
  1344. .card-icon {
  1345. position: absolute;
  1346. right: 30px;
  1347. top: 24px;
  1348. font-size: 70px;
  1349. color: rgba(255, 255, 255, 0.12);
  1350. }
  1351. .card-description {
  1352. position: relative;
  1353. display: block;
  1354. font-size: 1.2rem;
  1355. line-height: 1.2rem;
  1356. padding-top: 8px;
  1357. color: rgba(255, 255, 255, 0.88);
  1358. }
  1359. .card-value {
  1360. position: relative;
  1361. font-weight: 300;
  1362. display: block;
  1363. color: #fff;
  1364. font-size: 46px;
  1365. line-height: 46px;
  1366. margin-bottom: 8px;
  1367. }
  1368. }
  1369. }
  1370. /* 帮助页面 */
  1371. .page-help {
  1372. font-size: 1.3rem;
  1373. .help-item {
  1374. padding: .8rem 2rem;
  1375. p {
  1376. margin: 0;
  1377. img {
  1378. max-width: 100%;
  1379. }
  1380. }
  1381. }
  1382. }
  1383. /* 全局样式 */
  1384. p {
  1385. margin: 0;
  1386. }
  1387. .hide {
  1388. display: none;
  1389. }
  1390. .tpl-content-wrapper {
  1391. .iconfont {
  1392. font-size: unset;
  1393. }
  1394. }
  1395. .am-link-muted {
  1396. color: #7b7b7b;
  1397. }
  1398. .f-12 {
  1399. font-size: 12px;
  1400. }
  1401. .am-scrollable-horizontal {
  1402. overflow-y: scroll;
  1403. }
  1404. .operation-select {
  1405. .am-dropdown-toggle.am-btn-sm {
  1406. font-size: 1.2rem;
  1407. padding: 5px 1em;
  1408. line-height: 12px;
  1409. color: #7f838a;
  1410. background: #fff;
  1411. border: solid 1px #c7c7c7;
  1412. border-radius: 2px;
  1413. box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
  1414. }
  1415. &.am-active {
  1416. .am-dropdown-toggle.am-btn-sm {
  1417. color: #fff;
  1418. background-color: #1BBC9D;
  1419. border-color: #16A086;
  1420. }
  1421. }
  1422. }
  1423. // am-selected组件 必选提示
  1424. .am-selected-hint {
  1425. line-height: 1;
  1426. font-size: 1.2rem;
  1427. }
  1428. // 手型鼠标
  1429. .x-cur-p {
  1430. cursor: pointer;
  1431. user-select: none;
  1432. }
  1433. .x-text-delete {
  1434. text-decoration: line-through;
  1435. }
  1436. // 函数
  1437. /* 文字颜色 */
  1438. .x-color-red {
  1439. color: #f00 !important;
  1440. }
  1441. .x-color-green {
  1442. color: #4db14d !important;
  1443. }
  1444. .x-color-yellow {
  1445. color: #fcb500 !important;
  1446. }
  1447. .x-color-blue {
  1448. color: #259fdc !important;
  1449. }
  1450. .x-color-c-gray-5f {
  1451. color: #828282;
  1452. }
  1453. .x-color-999 {
  1454. color: #999 !important;
  1455. }
  1456. .x-color-555 {
  1457. color: #555555 !important;
  1458. }
  1459. .x-mt-10 {
  1460. margin-top: 10px !important;
  1461. }
  1462. .x-mb-10 {
  1463. margin-bottom: 10px !important;
  1464. }
  1465. .x-mb-20 {
  1466. margin-bottom: 20px !important;
  1467. }
  1468. .x-pl-0 {
  1469. padding-left: 0 !important;
  1470. }
  1471. .x-f-13 {
  1472. font-size: 1.3rem !important;;
  1473. }
  1474. .x-f-14 {
  1475. font-size: 1.4rem !important;;
  1476. }
  1477. .x-w-80 {
  1478. width: 80px !important;
  1479. }
  1480. // 文字超出2行隐藏显示省略号
  1481. .twolist-hidden {
  1482. display: -webkit-box;
  1483. word-break: break-all;
  1484. text-overflow: ellipsis;
  1485. overflow: hidden;
  1486. -webkit-box-orient: vertical;
  1487. -webkit-line-clamp: 2;
  1488. }
  1489. /* flex布局 */
  1490. .dis-flex {
  1491. display: -webkit-box;
  1492. display: -webkit-flex;
  1493. display: -ms-flexbox;
  1494. display: flex;
  1495. }
  1496. .flex-box {
  1497. flex: 1;
  1498. }
  1499. .flex-dir-row {
  1500. flex-direction: row;
  1501. }
  1502. .flex-dir-column {
  1503. -webkit-box-orient: vertical;
  1504. -webkit-flex-direction: column;
  1505. -ms-flex-direction: column;
  1506. flex-direction: column;
  1507. }
  1508. .flex-x-center {
  1509. -webkit-box-pack: center;
  1510. -webkit-justify-content: center;
  1511. -ms-flex-pack: center;
  1512. justify-content: center;
  1513. }
  1514. .flex-x-between {
  1515. -webkit-box-pack: justify;
  1516. -webkit-justify-content: space-between;
  1517. -ms-flex-pack: justify;
  1518. justify-content: space-between;
  1519. }
  1520. .flex-x-around {
  1521. justify-content: space-around;
  1522. }
  1523. .flex-x-end {
  1524. -webkit-box-pack: end;
  1525. -ms-flex-pack: end;
  1526. -webkit-justify-content: flex-end;
  1527. justify-content: flex-end;
  1528. }
  1529. .flex-y-center {
  1530. -webkit-box-align: center;
  1531. -webkit-align-items: center;
  1532. -ms-flex-align: center;
  1533. align-items: center;
  1534. }
  1535. // 提示信息
  1536. .tips {
  1537. .pre {
  1538. padding: 1rem;
  1539. background-color: #fbfdff;
  1540. border: 1px solid #dfeffd;
  1541. white-space: normal;
  1542. font-size: 1.22rem;
  1543. line-height: 1.6;
  1544. color: #259fdc;
  1545. p {
  1546. margin: .5rem 0;
  1547. }
  1548. a {
  1549. color: #00669a;
  1550. &:hover {
  1551. color: #000000;
  1552. }
  1553. }
  1554. }
  1555. }
  1556. /* input滑块 */
  1557. input[type=range] {
  1558. outline: none;
  1559. -webkit-appearance: none;
  1560. background: -webkit-linear-gradient(#61bd12, #61bd12) no-repeat, #ddd;
  1561. height: 3px;
  1562. border-radius: 5px;
  1563. }
  1564. input[type=range]::-webkit-slider-thumb {
  1565. -webkit-appearance: none;
  1566. position: relative;
  1567. height: 15px;
  1568. width: 15px;
  1569. border: 1px solid #d3d3d3;
  1570. border-radius: 50%;
  1571. background: #fff;
  1572. cursor: pointer;
  1573. }
  1574. /* input滑块显示值 */
  1575. .display-value {
  1576. display: inline-block;
  1577. margin-left: .8rem;
  1578. }
  1579. /*分页*/
  1580. .pagination {
  1581. display: inline-block;
  1582. padding-left: 0;
  1583. margin: 20px 0;
  1584. border-radius: 4px;
  1585. & > li {
  1586. display: inline;
  1587. }
  1588. }
  1589. .pagination > li > a,
  1590. .pagination > li > span {
  1591. position: relative;
  1592. float: left;
  1593. padding: 4px 12px;
  1594. line-height: 1.42857143;
  1595. color: #23abf0;
  1596. text-decoration: none;
  1597. background-color: #fff;
  1598. border: 1px solid #ddd;
  1599. border-radius: 3px;
  1600. margin: 0 2px;
  1601. }
  1602. .theme-black .pagination > li > a,
  1603. .theme-black .pagination > li > span {
  1604. color: #fff;
  1605. padding: 6px 12px;
  1606. background: #3f4649;
  1607. border: none;
  1608. }
  1609. .pagination > li:first-child > a,
  1610. .pagination > li:first-child > span {
  1611. margin-left: 0;
  1612. border-top-left-radius: 4px;
  1613. border-bottom-left-radius: 4px;
  1614. }
  1615. .pagination > li:last-child > a,
  1616. .pagination > li:last-child > span {
  1617. border-top-right-radius: 4px;
  1618. border-bottom-right-radius: 4px;
  1619. }
  1620. .pagination > li > a:hover,
  1621. .pagination > li > span:hover,
  1622. .pagination > li > a:focus,
  1623. .pagination > li > span:focus {
  1624. z-index: 2;
  1625. color: #23527c;
  1626. background-color: #eee;
  1627. border-color: #ddd;
  1628. }
  1629. .pagination > .active > a,
  1630. .pagination > .active > span,
  1631. .pagination > .active > a:hover,
  1632. .pagination > .active > span:hover,
  1633. .pagination > .active > a:focus,
  1634. .pagination > .active > span:focus {
  1635. z-index: 3;
  1636. color: #fff;
  1637. cursor: default;
  1638. background-color: #23abf0;
  1639. border-color: #23abf0;
  1640. }
  1641. .theme-black .pagination > .active > a,
  1642. .theme-black .pagination > .active > span,
  1643. .theme-black .pagination > .active > a:hover,
  1644. .theme-black .pagination > .active > span:hover,
  1645. .theme-black .pagination > .active > a:focus,
  1646. .theme-black .pagination > .active > span:focus {
  1647. z-index: 3;
  1648. color: #fff;
  1649. cursor: default;
  1650. background-color: #23abf0;
  1651. border-color: #23abf0;
  1652. }
  1653. .pagination > .disabled > span,
  1654. .pagination > .disabled > span:hover,
  1655. .pagination > .disabled > span:focus,
  1656. .pagination > .disabled > a,
  1657. .pagination > .disabled > a:hover,
  1658. .pagination > .disabled > a:focus {
  1659. color: #777;
  1660. cursor: not-allowed;
  1661. background-color: #fff;
  1662. border-color: #ddd;
  1663. }
  1664. .pagination-lg > li > a,
  1665. .pagination-lg > li > span {
  1666. padding: 10px 16px;
  1667. font-size: 18px;
  1668. line-height: 1.3333333;
  1669. }
  1670. .pagination-lg > li:first-child > a,
  1671. .pagination-lg > li:first-child > span {
  1672. border-top-left-radius: 6px;
  1673. border-bottom-left-radius: 6px;
  1674. }
  1675. .pagination-lg > li:last-child > a,
  1676. .pagination-lg > li:last-child > span {
  1677. border-top-right-radius: 6px;
  1678. border-bottom-right-radius: 6px;
  1679. }
  1680. .pagination-sm > li > a,
  1681. .pagination-sm > li > span {
  1682. padding: 5px 10px;
  1683. font-size: 12px;
  1684. line-height: 1.5;
  1685. }
  1686. .pagination-sm > li:first-child > a,
  1687. .pagination-sm > li:first-child > span {
  1688. border-top-left-radius: 3px;
  1689. border-bottom-left-radius: 3px;
  1690. }
  1691. .pagination-sm > li:last-child > a,
  1692. .pagination-sm > li:last-child > span {
  1693. border-top-right-radius: 3px;
  1694. border-bottom-right-radius: 3px;
  1695. }
  1696. .pagination-total {
  1697. height: 32px;
  1698. margin-top: 20px;
  1699. margin-bottom: 20px;
  1700. .am-vertical-align-middle {
  1701. font-size: 1.4rem;
  1702. }
  1703. }
  1704. /* 搜索表单*/
  1705. .toolbar-form {
  1706. // 日期选择
  1707. input[data-am-datepicker] {
  1708. width: 200px;
  1709. }
  1710. .am-selected {
  1711. .am-btn-default {
  1712. color: #444;
  1713. background: none;
  1714. border-color: #c2cad8;
  1715. }
  1716. }
  1717. }
  1718. /* 表单页面*/
  1719. .am-form {
  1720. .form-require {
  1721. &::after {
  1722. content: "*";
  1723. color: #f00;
  1724. line-height: 18px;
  1725. }
  1726. }
  1727. .form-tab-group {
  1728. display: none;
  1729. &.active {
  1730. display: block;
  1731. }
  1732. }
  1733. .am-form-file {
  1734. padding-top: .3rem;
  1735. .upload-file {
  1736. font-size: 1.22rem;
  1737. padding: .5rem .9rem;
  1738. }
  1739. }
  1740. input[type=color] {
  1741. -webkit-appearance: square-button;
  1742. width: 5rem;
  1743. height: 2.2rem;
  1744. background-color: buttonface;
  1745. cursor: pointer;
  1746. border: 1px solid rgb(220, 220, 220);
  1747. border-image: initial;
  1748. padding: 0 2px;
  1749. }
  1750. input[type=text][disabled] {
  1751. background-color: initial;
  1752. }
  1753. .am-form-success {
  1754. .am-form-file {
  1755. [class*=icon-] {
  1756. color: #fff;
  1757. }
  1758. }
  1759. }
  1760. // 表单组
  1761. .am-input-group {
  1762. .tpl-form-line-form input[type=number],
  1763. .tpl-form-line-form input[type=search],
  1764. .tpl-form-line-form input[type=text],
  1765. .tpl-form-line-form input[type=password],
  1766. .tpl-form-line-form input[type=datetime],
  1767. .tpl-form-line-form input[type=datetime-local],
  1768. .tpl-form-line-form input[type=date],
  1769. .tpl-form-line-form input[type=month],
  1770. .tpl-form-line-form input[type=time],
  1771. .tpl-form-line-form input[type=week],
  1772. .tpl-form-line-form input[type=email],
  1773. .tpl-form-line-form input[type=url],
  1774. .tpl-form-line-form input[type=tel],
  1775. .tpl-form-line-form input[type=color],
  1776. .tpl-form-line-form select,
  1777. .tpl-form-line-form textarea,
  1778. .am-form-field {
  1779. border: 1px solid #ccc;
  1780. height: 35px;
  1781. }
  1782. &.am-form-group {
  1783. margin-bottom: 0;
  1784. }
  1785. .am-input-group-label {
  1786. height: 35px;
  1787. line-height: 1;
  1788. background-color: #f5f7fa;
  1789. border: 1px solid #dcdfe6;
  1790. color: #909399;
  1791. font-size: 13px;
  1792. border-radius: 4px;
  1793. &.am-input-group-label__left {
  1794. border-top-right-radius: 0;
  1795. border-bottom-right-radius: 0;
  1796. border-right: none;
  1797. }
  1798. &.am-input-group-label__right {
  1799. border-top-left-radius: 0;
  1800. border-bottom-left-radius: 0;
  1801. border-left: none;
  1802. }
  1803. &.am-input-group-label__center {
  1804. border-radius: 0;
  1805. border-left: none;
  1806. border-right: none;
  1807. }
  1808. &.am-input-group-label__none {
  1809. background: none;
  1810. border: none;
  1811. border-radius: 0;
  1812. }
  1813. .am-checkbox-inline {
  1814. padding-top: 0;
  1815. font-size: 13px;
  1816. .am-ucheck-icons {
  1817. line-height: 1.2;
  1818. }
  1819. }
  1820. }
  1821. }
  1822. // 文件上传域
  1823. .am-form-file input[type=file] {
  1824. width: auto;
  1825. font-size: unset;
  1826. background: #000;
  1827. line-height: 110px;
  1828. }
  1829. }
  1830. .am-field-valid:focus,
  1831. .am-form-success .am-form-field:focus {
  1832. box-shadow: none !important;
  1833. -webkit-box-shadow: none !important;
  1834. }
  1835. .am-form-success {
  1836. label {
  1837. color: #656565 !important;
  1838. }
  1839. [class*=icon-] {
  1840. }
  1841. }
  1842. .am-field-valid {
  1843. & + .am-ucheck-icons {
  1844. color: #999;
  1845. }
  1846. }
  1847. .am-form small,
  1848. .help-block small {
  1849. color: #838fa1;
  1850. font-size: 1.2rem;
  1851. }
  1852. /* 图片上传*/
  1853. .uploader-list {
  1854. user-select: none;
  1855. .file-item {
  1856. float: left;
  1857. min-width: 110px;
  1858. position: relative;
  1859. margin: 20px 25px 0 0;
  1860. padding: 4px;
  1861. border: 1px solid #ddd;
  1862. background: #fff;
  1863. img {
  1864. height: 100px;
  1865. }
  1866. .error {
  1867. position: absolute;
  1868. top: 4px;
  1869. left: 4px;
  1870. right: 4px;
  1871. background: red;
  1872. color: white;
  1873. text-align: center;
  1874. height: 20px;
  1875. font-size: 1.3rem;
  1876. line-height: 23px;
  1877. }
  1878. &:hover {
  1879. .file-item-delete {
  1880. display: block;
  1881. }
  1882. }
  1883. .file-item-delete {
  1884. position: absolute;
  1885. top: -10px;
  1886. right: -10px;
  1887. cursor: pointer;
  1888. height: 22px;
  1889. width: 22px;
  1890. line-height: 22px;
  1891. background: rgba(153, 153, 153, 0.7);
  1892. border-radius: 50%;
  1893. text-align: center;
  1894. color: #fff !important;
  1895. display: none;
  1896. &:hover {
  1897. background: #000;
  1898. }
  1899. }
  1900. }
  1901. }
  1902. /* dad.css */
  1903. .dad-noSelect,
  1904. .dad-noSelect * {
  1905. -webkit-touch-callout: none;
  1906. -webkit-user-select: none;
  1907. -moz-user-select: none;
  1908. -ms-user-select: none;
  1909. user-select: none;
  1910. cursor: -webkit-grabbing !important;
  1911. cursor: -moz-grabbing !important;
  1912. }
  1913. .dad-container {
  1914. position: relative;
  1915. -webkit-touch-callout: none;
  1916. -webkit-user-select: none;
  1917. -moz-user-select: none;
  1918. -ms-user-select: none;
  1919. user-select: none;
  1920. &::after {
  1921. content: '';
  1922. clear: both !important;
  1923. display: block;
  1924. }
  1925. }
  1926. .dad-active {
  1927. .dad-draggable-area {
  1928. cursor: -webkit-grab;
  1929. cursor: -moz-grab;
  1930. }
  1931. }
  1932. .dad-draggable-area > *,
  1933. .dad-draggable-area img {
  1934. pointer-events: none;
  1935. }
  1936. .dads-children {
  1937. &.active {
  1938. pointer-events: none;
  1939. }
  1940. }
  1941. .dads-children-clone {
  1942. opacity: 1;
  1943. z-index: 9999;
  1944. pointer-events: none;
  1945. }
  1946. .dads-children-placeholder {
  1947. pointer-events: none;
  1948. overflow: hidden;
  1949. position: absolute !important;
  1950. box-sizing: border-box;
  1951. border: 4px dashed #639bf6;
  1952. margin: 5px;
  1953. text-align: center;
  1954. color: #639bf6;
  1955. font-weight: bold;
  1956. }
  1957. /* 运费规则页面*/
  1958. .add-region {
  1959. .iconfont {
  1960. vertical-align: middle;
  1961. }
  1962. }
  1963. .regional-table {
  1964. p {
  1965. margin: 0;
  1966. }
  1967. .operation {
  1968. text-align: right;
  1969. a {
  1970. margin: 0 3px;
  1971. }
  1972. }
  1973. td {
  1974. vertical-align: middle !important;
  1975. }
  1976. }
  1977. /* 运费规则--区域弹窗*/
  1978. /* 地域选择样式*/
  1979. .regional-choice {
  1980. display: none;
  1981. user-select: none;
  1982. }
  1983. .layui-layer {
  1984. z-index: 2000;
  1985. }
  1986. .layui-layer-content {
  1987. .regional-choice {
  1988. display: block !important;
  1989. }
  1990. }
  1991. .checkbtn {
  1992. a {
  1993. font-size: 1.4rem;
  1994. color: #333;
  1995. text-decoration: none;
  1996. cursor: pointer;
  1997. }
  1998. }
  1999. .fr {
  2000. float: right;
  2001. }
  2002. .clearfloat {
  2003. zoom: 1;
  2004. &:after {
  2005. display: block;
  2006. clear: both;
  2007. content: "";
  2008. visibility: hidden;
  2009. height: 0;
  2010. }
  2011. }
  2012. .place-div {
  2013. label {
  2014. font-weight: 400;
  2015. font-size: 1.4rem;
  2016. }
  2017. input[type=checkbox] {
  2018. margin-right: .3rem;
  2019. }
  2020. & > div {
  2021. width: 100%;
  2022. padding: 10px 30px;
  2023. }
  2024. .checkbtn {
  2025. background-color: #fbfbfb;
  2026. text-align: right;
  2027. img {
  2028. height: 10px;
  2029. margin-left: 3px;
  2030. }
  2031. .ri {
  2032. border-right: none;
  2033. }
  2034. a {
  2035. height: 30px;
  2036. line-height: 30px;
  2037. display: inline-block;
  2038. width: 60px;
  2039. text-align: center;
  2040. }
  2041. }
  2042. .smallplace {
  2043. .ratio {
  2044. color: red;
  2045. }
  2046. label {
  2047. padding-right: 10px;
  2048. text-align: left;
  2049. width: auto;
  2050. float: left;
  2051. cursor: pointer;
  2052. }
  2053. .citys {
  2054. width: auto;
  2055. background-color: #fff;
  2056. position: absolute;
  2057. top: 35px;
  2058. border: 1px solid #ccc;
  2059. z-index: 100;
  2060. visibility: hidden;
  2061. & > i {
  2062. &.jt {
  2063. width: 0;
  2064. height: 0;
  2065. border-left: 8px solid transparent;
  2066. border-right: 8px solid transparent;
  2067. border-bottom: 10px solid #ccc;
  2068. position: absolute;
  2069. top: -10px;
  2070. left: 20px;
  2071. i {
  2072. width: 0;
  2073. height: 0;
  2074. border-left: 8px solid transparent;
  2075. border-right: 8px solid transparent;
  2076. border-bottom: 10px solid #fff;
  2077. position: absolute;
  2078. top: 2px;
  2079. left: -8px;
  2080. }
  2081. }
  2082. }
  2083. .row-div {
  2084. min-width: 250px;
  2085. padding: 10px;
  2086. box-sizing: border-box;
  2087. label {
  2088. span {
  2089. max-width: 175px;
  2090. white-space: nowrap;
  2091. vertical-align: middle;
  2092. font-size: 1.4rem;
  2093. }
  2094. }
  2095. p {
  2096. }
  2097. }
  2098. }
  2099. .place-tooltips {
  2100. &:hover {
  2101. .citys {
  2102. visibility: visible;
  2103. }
  2104. }
  2105. }
  2106. p {
  2107. float: left;
  2108. width: auto;
  2109. margin: 2px 0;
  2110. }
  2111. & > div {
  2112. float: left;
  2113. width: 170px;
  2114. margin: 0;
  2115. padding-bottom: 10px;
  2116. padding-top: 5px;
  2117. position: relative;
  2118. }
  2119. }
  2120. }
  2121. .show-place-div {
  2122. margin-left: 85px;
  2123. font-size: 15px;
  2124. .smallplace {
  2125. label {
  2126. min-width: 105px;
  2127. width: auto;
  2128. }
  2129. input {
  2130. margin-left: 0;
  2131. }
  2132. .citys {
  2133. .row-div {
  2134. p {
  2135. margin: 5px 0 10px 0;
  2136. }
  2137. }
  2138. }
  2139. }
  2140. }
  2141. /* 添加商品页 */
  2142. /* 订单列表 */
  2143. .order-list {
  2144. .am-table {
  2145. tr {
  2146. border: 1px solid #ddd;
  2147. td {
  2148. font-size: 1.3rem;
  2149. border-right: 1px solid #ddd;
  2150. }
  2151. }
  2152. p {
  2153. margin: 0;
  2154. padding: 0.1rem 0;
  2155. }
  2156. .tpl-table-black-operation {
  2157. a {
  2158. display: block;
  2159. padding: 5px 6px;
  2160. margin: 10px 6px;
  2161. }
  2162. }
  2163. /* 分销商 */
  2164. .dealer {
  2165. font-size: 1.2rem;
  2166. .dealer-item span {
  2167. display: inline-block;
  2168. min-width: 6rem;
  2169. }
  2170. }
  2171. }
  2172. }
  2173. .order-list .am-table tr.order-empty,
  2174. .order-list .am-table tr.order-empty td {
  2175. border: none;
  2176. }
  2177. /* 商品详情 */
  2178. .goods-detail {
  2179. min-width: 320px;
  2180. & > div {
  2181. float: left;
  2182. }
  2183. .goods-image {
  2184. margin-right: 0.6rem;
  2185. img {
  2186. width: 72px;
  2187. height: 72px;
  2188. }
  2189. }
  2190. .goods-info {
  2191. width: 220px;
  2192. height: 72px;
  2193. p {
  2194. display: block;
  2195. white-space: normal;
  2196. margin: 0 0 0.3rem 0;
  2197. padding: 0 0.5rem;
  2198. font-size: 1.3rem;
  2199. text-align: left;
  2200. &.goods-title {
  2201. max-height: 40px;
  2202. overflow: hidden;
  2203. text-overflow: ellipsis;
  2204. display: -webkit-box;
  2205. -webkit-box-orient: vertical;
  2206. -webkit-line-clamp: 2;
  2207. text-align: left !important;
  2208. white-space: normal;
  2209. }
  2210. }
  2211. .goods-spec {
  2212. border: none;
  2213. font-size: 1.2rem;
  2214. }
  2215. }
  2216. }
  2217. /* 用户详情 */
  2218. .user-detail {
  2219. min-width: 180px;
  2220. .user-avatar {
  2221. float: left;
  2222. margin-right: 14px;
  2223. img {
  2224. width: 72px;
  2225. height: 72px;
  2226. }
  2227. }
  2228. .detail-info {
  2229. height: 72px;
  2230. float: left;
  2231. text-align: left;
  2232. max-width: 250px;
  2233. }
  2234. }
  2235. /* 订单详情 */
  2236. .widget__order-detail {
  2237. .order-detail-progress {
  2238. height: 26px;
  2239. line-height: 26px;
  2240. background: #f8f8f8;
  2241. border-radius: 13px;
  2242. font-size: 14px;
  2243. text-align: center;
  2244. position: relative;
  2245. margin-bottom: 70px;
  2246. &:before, &:after {
  2247. content: "";
  2248. position: absolute;
  2249. z-index: 2;
  2250. left: 0;
  2251. top: 0;
  2252. bottom: 0;
  2253. border-radius: 13px;
  2254. background: #54aff5;
  2255. }
  2256. &:after {
  2257. background: #8ccdff;
  2258. z-index: 1;
  2259. }
  2260. &.progress-1 {
  2261. &:before {
  2262. width: 0;
  2263. }
  2264. &:after {
  2265. width: 20%;
  2266. }
  2267. }
  2268. &.progress-2 {
  2269. &:before {
  2270. width: 20%;
  2271. }
  2272. &:after {
  2273. width: 40%;
  2274. }
  2275. }
  2276. &.progress-3 {
  2277. &:before {
  2278. width: 40%;
  2279. }
  2280. &:after {
  2281. width: 60%;
  2282. }
  2283. }
  2284. &.progress-4 {
  2285. &:before {
  2286. width: 60%;
  2287. }
  2288. &:after {
  2289. width: 80%;
  2290. }
  2291. }
  2292. &.progress-5 {
  2293. &:before {
  2294. width: 100%;
  2295. }
  2296. &:after {
  2297. width: 100%;
  2298. }
  2299. li {
  2300. &:nth-child(5) {
  2301. color: #fff;
  2302. }
  2303. }
  2304. }
  2305. li {
  2306. width: 20%;
  2307. float: left;
  2308. border-radius: 13px;
  2309. position: relative;
  2310. z-index: 3;
  2311. }
  2312. .tip {
  2313. font-size: 12px;
  2314. padding-top: 10px;
  2315. color: #8c8c8c;
  2316. }
  2317. &.progress-1 li:nth-child(1),
  2318. &.progress-2 li:nth-child(1),
  2319. &.progress-3 li:nth-child(1),
  2320. &.progress-4 li:nth-child(1),
  2321. &.progress-5 li:nth-child(1) {
  2322. color: #fff;
  2323. }
  2324. &.progress-2 li:nth-child(2),
  2325. &.progress-3 li:nth-child(2),
  2326. &.progress-4 li:nth-child(2),
  2327. &.progress-5 li:nth-child(2) {
  2328. color: #fff;
  2329. }
  2330. &.progress-3 li:nth-child(3),
  2331. &.progress-4 li:nth-child(3),
  2332. &.progress-5 li:nth-child(3) {
  2333. color: #fff;
  2334. }
  2335. &.progress-4 li:nth-child(4),
  2336. &.progress-5 li:nth-child(4) {
  2337. color: #fff;
  2338. }
  2339. }
  2340. .td__order-price {
  2341. width: 200px;
  2342. display: inline-block;
  2343. }
  2344. }
  2345. /* 文件库 */
  2346. .file-library {
  2347. .layui-layer-title {
  2348. background-color: #fff;
  2349. border-bottom: none;
  2350. font-size: 1.6rem;
  2351. font-weight: 500;
  2352. }
  2353. .layui-layer-content {
  2354. padding: 0 1rem;
  2355. user-select: none;
  2356. .file-group {
  2357. float: left;
  2358. width: 150px;
  2359. padding-top: 20px;
  2360. .nav-new {
  2361. overflow-y: auto;
  2362. max-height: 340px;
  2363. li {
  2364. position: relative;
  2365. margin: .3rem 0;
  2366. padding: .8rem 2.3rem;
  2367. a {
  2368. i.iconfont {
  2369. font-size: 1.4rem;
  2370. }
  2371. &.group-name {
  2372. color: #595961;
  2373. font-size: 1.3rem;
  2374. }
  2375. &.group-edit {
  2376. display: none;
  2377. position: absolute;
  2378. left: .6rem;
  2379. }
  2380. &.group-delete {
  2381. display: none;
  2382. position: absolute;
  2383. right: .6rem;
  2384. }
  2385. }
  2386. &:hover, &.active {
  2387. background: rgba(48, 145, 242, .1);
  2388. border-radius: 6px;
  2389. .group-name {
  2390. color: #0e90d2;
  2391. }
  2392. }
  2393. &:hover {
  2394. .group-edit, .group-delete {
  2395. display: inline;
  2396. }
  2397. }
  2398. }
  2399. }
  2400. a.group-add {
  2401. display: block;
  2402. margin-top: 1.8rem;
  2403. font-size: 1.2rem;
  2404. padding: 0 2.3rem;
  2405. }
  2406. }
  2407. .file-list {
  2408. float: left;
  2409. .v-box-header {
  2410. padding: 0 2rem 0 1rem;
  2411. margin-bottom: 10px;
  2412. .h-left {
  2413. .tpl-table-black-operation {
  2414. margin: 0 1rem;
  2415. a {
  2416. padding: 6px 10px;
  2417. }
  2418. }
  2419. .am-dropdown-toggle {
  2420. font-size: 1.2rem;
  2421. }
  2422. .am-dropdown-content a {
  2423. font-size: 1.3rem;
  2424. }
  2425. }
  2426. .h-rigth {
  2427. .upload-image .iconfont {
  2428. font-size: 1.2rem;
  2429. }
  2430. }
  2431. }
  2432. }
  2433. .v-box-body {
  2434. width: 660px;
  2435. ul.file-list-item {
  2436. overflow-y: auto;
  2437. height: 380px;
  2438. li {
  2439. position: relative;
  2440. cursor: pointer;
  2441. border-radius: 6px;
  2442. padding: 10px;
  2443. border: 1px solid rgba(0, 0, 0, .05);
  2444. float: left;
  2445. margin: 10px;
  2446. @include transition(All 0.2s ease-in-out);
  2447. &:hover {
  2448. border: 1px solid #16bce2;
  2449. }
  2450. .img-cover {
  2451. width: 120px;
  2452. height: 120px;
  2453. background: no-repeat center center / 100%;
  2454. }
  2455. p {
  2456. &.file-name {
  2457. margin: 5px 0 0 0;
  2458. width: 120px;
  2459. font-size: 1.3rem;
  2460. }
  2461. }
  2462. &.active .select-mask {
  2463. display: block;
  2464. }
  2465. .select-mask {
  2466. display: none;
  2467. position: absolute;
  2468. top: 0;
  2469. bottom: 0;
  2470. left: 0;
  2471. right: 0;
  2472. background: rgba(0, 0, 0, .5);
  2473. text-align: center;
  2474. border-radius: 6px;
  2475. img {
  2476. position: absolute;
  2477. top: 50px;
  2478. left: 45px;
  2479. }
  2480. }
  2481. }
  2482. }
  2483. ul.pagination {
  2484. margin: 0;
  2485. & > li > {
  2486. a, span {
  2487. padding: .3rem .9rem;
  2488. font-size: 1.3rem;
  2489. }
  2490. }
  2491. }
  2492. }
  2493. .v-box-footer {
  2494. }
  2495. }
  2496. }
  2497. /* 文件上传按钮 */
  2498. .webuploader-container {
  2499. position: relative;
  2500. }
  2501. .webuploader-element-invisible {
  2502. position: absolute !important;
  2503. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  2504. clip: rect(1px, 1px, 1px, 1px);
  2505. }
  2506. .webuploader-pick {
  2507. color: #2589ff;
  2508. background-color: #fff;
  2509. border-color: #2589ff;
  2510. font-size: 12px;
  2511. border-radius: 4px;
  2512. outline: 0;
  2513. font-weight: 400;
  2514. padding: .6em 1em;
  2515. outline: none !important;
  2516. }
  2517. .webuploader-pick-hover {
  2518. background: #2589ff;
  2519. color: #fff;
  2520. }
  2521. .webuploader-pick-disable {
  2522. opacity: 0.6;
  2523. pointer-events: none;
  2524. }
  2525. // select-data
  2526. body.select-data {
  2527. background: unset;
  2528. padding: 1rem;
  2529. }
  2530. // 小程序页面链接
  2531. .link-list {
  2532. padding-bottom: 1rem;
  2533. p {
  2534. margin: 0;
  2535. }
  2536. .link-item {
  2537. padding: .8rem 2rem;
  2538. border-bottom: 1px dashed #eee;
  2539. .row {
  2540. margin: .4rem 0;
  2541. font-size: 1.22rem;
  2542. &.page-name {
  2543. font-size: 1.4rem;
  2544. color: #259fdc;
  2545. }
  2546. }
  2547. }
  2548. }
  2549. /* tap切换 */
  2550. .am-tabs {
  2551. .am-tabs-nav {
  2552. border-bottom-color: #efefef;
  2553. li {
  2554. a {
  2555. background: none;
  2556. border: none;
  2557. margin: 0 10px;
  2558. padding: .7em 1em;
  2559. font-size: 1.4rem;
  2560. color: #555;
  2561. border-bottom: 2px solid transparent;
  2562. &:hover, &:focus {
  2563. color: #52abff;
  2564. }
  2565. }
  2566. &.am-active > a, a:hover, a:focus {
  2567. background: none;
  2568. border: none;
  2569. }
  2570. &.am-active > a {
  2571. border-bottom: 2px solid #52abff;
  2572. }
  2573. }
  2574. }
  2575. .am-tabs-bd {
  2576. border: none;
  2577. }
  2578. }
  2579. /* 分销海报设置 */
  2580. [v-cloak] {
  2581. display: none !important;
  2582. }
  2583. .poster-pannel {
  2584. .poster-preview {
  2585. width: 377px;
  2586. height: auto;
  2587. min-height: 500px;
  2588. margin: 0 auto;
  2589. border: 1px solid #ccc;
  2590. position: relative;
  2591. img {
  2592. display: block;
  2593. width: 100%;
  2594. height: auto;
  2595. }
  2596. .drag {
  2597. position: absolute;
  2598. cursor: pointer;
  2599. user-select: none;
  2600. white-space: nowrap;
  2601. top: 0;
  2602. &.pre-avatar {
  2603. width: 70px;
  2604. height: 70px;
  2605. &.circle img {
  2606. border-radius: 100%;
  2607. }
  2608. }
  2609. &.pre-nickName {
  2610. font-size: 14px;
  2611. line-height: 1;
  2612. span {
  2613. display: block;
  2614. }
  2615. }
  2616. &.pre-qrcode {
  2617. width: 100px;
  2618. height: 100px;
  2619. &.circle img {
  2620. border-radius: 100%;
  2621. }
  2622. }
  2623. }
  2624. }
  2625. .pannel__right {
  2626. min-width: 500px;
  2627. max-width: 800px;
  2628. input[type=color] {
  2629. display: inline-block;
  2630. -webkit-appearance: square-button;
  2631. width: 65px;
  2632. height: 30px;
  2633. background-color: #ffffff;
  2634. border: 1px solid #efefef;
  2635. padding: 0 4px;
  2636. margin: 1px 0;
  2637. cursor: pointer;
  2638. }
  2639. }
  2640. }
  2641. /* jstree 插件 */
  2642. .jstree {
  2643. font-size: 1.2rem;
  2644. &.jstree-default .jstree-clicked {
  2645. background: transparent;
  2646. box-shadow: none;
  2647. }
  2648. }
  2649. /* 多规格商品sku信息表格 */
  2650. .spec-sku-tabel {
  2651. input {
  2652. display: inline-block !important;
  2653. }
  2654. }
  2655. /**
  2656. * 文本格式化,超出范围,显示省略号
  2657. */
  2658. @mixin line-clamp($lines, $line-height: 1.3rem) {
  2659. text-overflow: ellipsis;
  2660. display: -webkit-box;
  2661. -webkit-box-orient: vertical;
  2662. -webkit-line-clamp: $lines; // number of lines to show
  2663. overflow: hidden;
  2664. line-height: $line-height;
  2665. max-height: $line-height * $lines;
  2666. }
  2667. /**
  2668. * 省市区三级联动菜单
  2669. */
  2670. .x-region-select {
  2671. margin-bottom: -1rem;
  2672. select {
  2673. display: inline-block;
  2674. width: auto;
  2675. padding-right: 2rem;
  2676. min-width: 10rem;
  2677. margin-right: 1rem;
  2678. margin-bottom: 1rem;
  2679. }
  2680. }
  2681. /* 数据统计 */
  2682. .page-statistics-data {
  2683. .widget {
  2684. padding: 10px 20px 25px;
  2685. .widget-head {
  2686. margin-top: 0;
  2687. margin-bottom: 10px;
  2688. border-bottom: none;
  2689. }
  2690. .widget-body {
  2691. padding: 0;
  2692. }
  2693. }
  2694. .widget-body-center {
  2695. width: auto;
  2696. max-width: 1700px;
  2697. margin: 0 auto;
  2698. }
  2699. // 数据概况
  2700. .widget-survey {
  2701. .widget-head {
  2702. padding: 15px 20px;
  2703. margin-bottom: 20px;
  2704. .widget-title {
  2705. position: absolute;
  2706. font-size: 1.5rem;
  2707. }
  2708. }
  2709. // 筛选条件
  2710. .widget-screen {
  2711. width: 530px;
  2712. margin: 0 auto;
  2713. padding-top: 10px;
  2714. .widget-screen_shortcut {
  2715. height: 34px;
  2716. line-height: 34px;
  2717. margin-left: 20px;
  2718. .shortcut-days {
  2719. font-size: 14px;
  2720. .shortcut-days_item {
  2721. padding: 0 5px;
  2722. a {
  2723. color: #303133;
  2724. &:hover {
  2725. color: #409EFF;
  2726. }
  2727. }
  2728. .shortcut-days_item.item-clear a {
  2729. color: #9c9c9c;
  2730. }
  2731. }
  2732. }
  2733. }
  2734. }
  2735. }
  2736. // 实时概况
  2737. .widget-outline {
  2738. width: 400px;
  2739. height: 117px;
  2740. padding: 20px;
  2741. margin: 0 auto 0 auto;
  2742. flex-basis: 50%;
  2743. .outline-left {
  2744. margin-right: 30px;
  2745. img {
  2746. width: 58px;
  2747. height: 58px;
  2748. }
  2749. }
  2750. .outline-right {
  2751. flex-basis: 50%;
  2752. }
  2753. .item-name {
  2754. color: rgb(102, 102, 102);
  2755. font-size: 1.3rem;
  2756. }
  2757. .item-value {
  2758. color: rgb(51, 51, 51);
  2759. font-size: 2.4rem;
  2760. }
  2761. }
  2762. // 七天交易走势
  2763. .widget-echarts {
  2764. height: 400px;
  2765. width: 100%;
  2766. }
  2767. // 排行榜
  2768. .widget-ranking {
  2769. table tr {
  2770. height: 47px;
  2771. }
  2772. .ranking-img img {
  2773. width: 32px;
  2774. height: 32px;
  2775. }
  2776. .ranking-item-title {
  2777. max-width: 350px;
  2778. }
  2779. }
  2780. }
  2781. .yxs-date-editor {
  2782. .el-range-separator {
  2783. box-sizing: unset;
  2784. }
  2785. }
  2786. // 日期选择
  2787. .yxs-date-editor2 {
  2788. width: 400px;
  2789. color: #606266;
  2790. border-radius: 4px;
  2791. border: 1px solid #DCDFE6;
  2792. padding: 3px 10px;
  2793. .yxs-date__icon {
  2794. font-size: 14px;
  2795. line-height: 24px;
  2796. color: #C0C4CC;
  2797. height: 100%;
  2798. width: 25px;
  2799. text-align: center;
  2800. }
  2801. .yxs-date__input {
  2802. font-size: 13px;
  2803. line-height: 1;
  2804. -webkit-appearance: none;
  2805. -moz-appearance: none;
  2806. border: none;
  2807. outline: 0;
  2808. padding: 0;
  2809. width: 39%;
  2810. color: #606266;
  2811. height: 100%;
  2812. margin: 0;
  2813. text-align: center;
  2814. display: inline-block;
  2815. vertical-align: unset !important;
  2816. }
  2817. .yxs-date__separator {
  2818. line-height: 24px;
  2819. font-size: 13px;
  2820. width: 5%;
  2821. color: #303133;
  2822. height: 100%;
  2823. margin: 0;
  2824. text-align: center;
  2825. display: inline-block;
  2826. }
  2827. }