app.scss 60 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076
  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-f-13 {
  1469. font-size: 1.3rem !important;;
  1470. }
  1471. .x-f-14 {
  1472. font-size: 1.4rem !important;;
  1473. }
  1474. .x-w-80 {
  1475. width: 80px !important;
  1476. }
  1477. // 文字超出2行隐藏显示省略号
  1478. .twolist-hidden {
  1479. display: -webkit-box;
  1480. word-break: break-all;
  1481. text-overflow: ellipsis;
  1482. overflow: hidden;
  1483. -webkit-box-orient: vertical;
  1484. -webkit-line-clamp: 2;
  1485. }
  1486. /* flex布局 */
  1487. .dis-flex {
  1488. display: -webkit-box;
  1489. display: -webkit-flex;
  1490. display: -ms-flexbox;
  1491. display: flex;
  1492. }
  1493. .flex-box {
  1494. flex: 1;
  1495. }
  1496. .flex-dir-row {
  1497. flex-direction: row;
  1498. }
  1499. .flex-dir-column {
  1500. -webkit-box-orient: vertical;
  1501. -webkit-flex-direction: column;
  1502. -ms-flex-direction: column;
  1503. flex-direction: column;
  1504. }
  1505. .flex-x-center {
  1506. -webkit-box-pack: center;
  1507. -webkit-justify-content: center;
  1508. -ms-flex-pack: center;
  1509. justify-content: center;
  1510. }
  1511. .flex-x-between {
  1512. -webkit-box-pack: justify;
  1513. -webkit-justify-content: space-between;
  1514. -ms-flex-pack: justify;
  1515. justify-content: space-between;
  1516. }
  1517. .flex-x-around {
  1518. justify-content: space-around;
  1519. }
  1520. .flex-x-end {
  1521. -webkit-box-pack: end;
  1522. -ms-flex-pack: end;
  1523. -webkit-justify-content: flex-end;
  1524. justify-content: flex-end;
  1525. }
  1526. .flex-y-center {
  1527. -webkit-box-align: center;
  1528. -webkit-align-items: center;
  1529. -ms-flex-align: center;
  1530. align-items: center;
  1531. }
  1532. // 提示信息
  1533. .tips {
  1534. .pre {
  1535. padding: 1rem;
  1536. background-color: #fbfdff;
  1537. border: 1px solid #dfeffd;
  1538. white-space: normal;
  1539. font-size: 1.22rem;
  1540. line-height: 1.6;
  1541. color: #259fdc;
  1542. p {
  1543. margin: .5rem 0;
  1544. }
  1545. a {
  1546. color: #00669a;
  1547. &:hover {
  1548. color: #000000;
  1549. }
  1550. }
  1551. }
  1552. }
  1553. /* input滑块 */
  1554. input[type=range] {
  1555. outline: none;
  1556. -webkit-appearance: none;
  1557. background: -webkit-linear-gradient(#61bd12, #61bd12) no-repeat, #ddd;
  1558. height: 3px;
  1559. border-radius: 5px;
  1560. }
  1561. input[type=range]::-webkit-slider-thumb {
  1562. -webkit-appearance: none;
  1563. position: relative;
  1564. height: 15px;
  1565. width: 15px;
  1566. border: 1px solid #d3d3d3;
  1567. border-radius: 50%;
  1568. background: #fff;
  1569. cursor: pointer;
  1570. }
  1571. /* input滑块显示值 */
  1572. .display-value {
  1573. display: inline-block;
  1574. margin-left: .8rem;
  1575. }
  1576. /*分页*/
  1577. .pagination {
  1578. display: inline-block;
  1579. padding-left: 0;
  1580. margin: 20px 0;
  1581. border-radius: 4px;
  1582. & > li {
  1583. display: inline;
  1584. }
  1585. }
  1586. .pagination > li > a,
  1587. .pagination > li > span {
  1588. position: relative;
  1589. float: left;
  1590. padding: 4px 12px;
  1591. line-height: 1.42857143;
  1592. color: #23abf0;
  1593. text-decoration: none;
  1594. background-color: #fff;
  1595. border: 1px solid #ddd;
  1596. border-radius: 3px;
  1597. margin: 0 2px;
  1598. }
  1599. .theme-black .pagination > li > a,
  1600. .theme-black .pagination > li > span {
  1601. color: #fff;
  1602. padding: 6px 12px;
  1603. background: #3f4649;
  1604. border: none;
  1605. }
  1606. .pagination > li:first-child > a,
  1607. .pagination > li:first-child > span {
  1608. margin-left: 0;
  1609. border-top-left-radius: 4px;
  1610. border-bottom-left-radius: 4px;
  1611. }
  1612. .pagination > li:last-child > a,
  1613. .pagination > li:last-child > span {
  1614. border-top-right-radius: 4px;
  1615. border-bottom-right-radius: 4px;
  1616. }
  1617. .pagination > li > a:hover,
  1618. .pagination > li > span:hover,
  1619. .pagination > li > a:focus,
  1620. .pagination > li > span:focus {
  1621. z-index: 2;
  1622. color: #23527c;
  1623. background-color: #eee;
  1624. border-color: #ddd;
  1625. }
  1626. .pagination > .active > a,
  1627. .pagination > .active > span,
  1628. .pagination > .active > a:hover,
  1629. .pagination > .active > span:hover,
  1630. .pagination > .active > a:focus,
  1631. .pagination > .active > span:focus {
  1632. z-index: 3;
  1633. color: #fff;
  1634. cursor: default;
  1635. background-color: #23abf0;
  1636. border-color: #23abf0;
  1637. }
  1638. .theme-black .pagination > .active > a,
  1639. .theme-black .pagination > .active > span,
  1640. .theme-black .pagination > .active > a:hover,
  1641. .theme-black .pagination > .active > span:hover,
  1642. .theme-black .pagination > .active > a:focus,
  1643. .theme-black .pagination > .active > span:focus {
  1644. z-index: 3;
  1645. color: #fff;
  1646. cursor: default;
  1647. background-color: #23abf0;
  1648. border-color: #23abf0;
  1649. }
  1650. .pagination > .disabled > span,
  1651. .pagination > .disabled > span:hover,
  1652. .pagination > .disabled > span:focus,
  1653. .pagination > .disabled > a,
  1654. .pagination > .disabled > a:hover,
  1655. .pagination > .disabled > a:focus {
  1656. color: #777;
  1657. cursor: not-allowed;
  1658. background-color: #fff;
  1659. border-color: #ddd;
  1660. }
  1661. .pagination-lg > li > a,
  1662. .pagination-lg > li > span {
  1663. padding: 10px 16px;
  1664. font-size: 18px;
  1665. line-height: 1.3333333;
  1666. }
  1667. .pagination-lg > li:first-child > a,
  1668. .pagination-lg > li:first-child > span {
  1669. border-top-left-radius: 6px;
  1670. border-bottom-left-radius: 6px;
  1671. }
  1672. .pagination-lg > li:last-child > a,
  1673. .pagination-lg > li:last-child > span {
  1674. border-top-right-radius: 6px;
  1675. border-bottom-right-radius: 6px;
  1676. }
  1677. .pagination-sm > li > a,
  1678. .pagination-sm > li > span {
  1679. padding: 5px 10px;
  1680. font-size: 12px;
  1681. line-height: 1.5;
  1682. }
  1683. .pagination-sm > li:first-child > a,
  1684. .pagination-sm > li:first-child > span {
  1685. border-top-left-radius: 3px;
  1686. border-bottom-left-radius: 3px;
  1687. }
  1688. .pagination-sm > li:last-child > a,
  1689. .pagination-sm > li:last-child > span {
  1690. border-top-right-radius: 3px;
  1691. border-bottom-right-radius: 3px;
  1692. }
  1693. .pagination-total {
  1694. height: 32px;
  1695. margin-top: 20px;
  1696. margin-bottom: 20px;
  1697. .am-vertical-align-middle {
  1698. font-size: 1.4rem;
  1699. }
  1700. }
  1701. /* 搜索表单*/
  1702. .toolbar-form {
  1703. // 日期选择
  1704. input[data-am-datepicker] {
  1705. width: 200px;
  1706. }
  1707. .am-selected {
  1708. .am-btn-default {
  1709. color: #444;
  1710. background: none;
  1711. border-color: #c2cad8;
  1712. }
  1713. }
  1714. }
  1715. /* 表单页面*/
  1716. .am-form {
  1717. .form-require {
  1718. &::after {
  1719. content: "*";
  1720. color: #f00;
  1721. line-height: 18px;
  1722. }
  1723. }
  1724. .form-tab-group {
  1725. display: none;
  1726. &.active {
  1727. display: block;
  1728. }
  1729. }
  1730. .am-form-file {
  1731. padding-top: .3rem;
  1732. .upload-file {
  1733. font-size: 1.22rem;
  1734. padding: .5rem .9rem;
  1735. }
  1736. }
  1737. input[type=color] {
  1738. -webkit-appearance: square-button;
  1739. width: 5rem;
  1740. height: 2.2rem;
  1741. background-color: buttonface;
  1742. cursor: pointer;
  1743. border: 1px solid rgb(220, 220, 220);
  1744. border-image: initial;
  1745. padding: 0 2px;
  1746. }
  1747. input[type=text][disabled] {
  1748. background-color: initial;
  1749. }
  1750. .am-form-success {
  1751. .am-form-file {
  1752. [class*=icon-] {
  1753. color: #fff;
  1754. }
  1755. }
  1756. }
  1757. // 表单组
  1758. .am-input-group {
  1759. .tpl-form-line-form input[type=number],
  1760. .tpl-form-line-form input[type=search],
  1761. .tpl-form-line-form input[type=text],
  1762. .tpl-form-line-form input[type=password],
  1763. .tpl-form-line-form input[type=datetime],
  1764. .tpl-form-line-form input[type=datetime-local],
  1765. .tpl-form-line-form input[type=date],
  1766. .tpl-form-line-form input[type=month],
  1767. .tpl-form-line-form input[type=time],
  1768. .tpl-form-line-form input[type=week],
  1769. .tpl-form-line-form input[type=email],
  1770. .tpl-form-line-form input[type=url],
  1771. .tpl-form-line-form input[type=tel],
  1772. .tpl-form-line-form input[type=color],
  1773. .tpl-form-line-form select,
  1774. .tpl-form-line-form textarea,
  1775. .am-form-field {
  1776. border: 1px solid #ccc;
  1777. height: 35px;
  1778. }
  1779. &.am-form-group {
  1780. margin-bottom: 0;
  1781. }
  1782. .am-input-group-label {
  1783. height: 35px;
  1784. line-height: 1;
  1785. background-color: #f5f7fa;
  1786. border: 1px solid #dcdfe6;
  1787. color: #909399;
  1788. font-size: 13px;
  1789. border-radius: 4px;
  1790. &.am-input-group-label__left {
  1791. border-top-right-radius: 0;
  1792. border-bottom-right-radius: 0;
  1793. border-right: none;
  1794. }
  1795. &.am-input-group-label__right {
  1796. border-top-left-radius: 0;
  1797. border-bottom-left-radius: 0;
  1798. border-left: none;
  1799. }
  1800. &.am-input-group-label__center {
  1801. border-radius: 0;
  1802. border-left: none;
  1803. border-right: none;
  1804. }
  1805. &.am-input-group-label__none {
  1806. background: none;
  1807. border: none;
  1808. border-radius: 0;
  1809. }
  1810. .am-checkbox-inline {
  1811. padding-top: 0;
  1812. font-size: 13px;
  1813. .am-ucheck-icons {
  1814. line-height: 1.2;
  1815. }
  1816. }
  1817. }
  1818. }
  1819. // 文件上传域
  1820. .am-form-file input[type=file] {
  1821. width: auto;
  1822. font-size: unset;
  1823. background: #000;
  1824. line-height: 110px;
  1825. }
  1826. }
  1827. .am-field-valid:focus,
  1828. .am-form-success .am-form-field:focus {
  1829. box-shadow: none !important;
  1830. -webkit-box-shadow: none !important;
  1831. }
  1832. .am-form-success {
  1833. label {
  1834. color: #656565 !important;
  1835. }
  1836. [class*=icon-] {
  1837. }
  1838. }
  1839. .am-field-valid {
  1840. & + .am-ucheck-icons {
  1841. color: #999;
  1842. }
  1843. }
  1844. .am-form small,
  1845. .help-block small {
  1846. color: #838fa1;
  1847. font-size: 1.2rem;
  1848. }
  1849. /* 图片上传*/
  1850. .uploader-list {
  1851. user-select: none;
  1852. .file-item {
  1853. float: left;
  1854. min-width: 110px;
  1855. position: relative;
  1856. margin: 20px 25px 0 0;
  1857. padding: 4px;
  1858. border: 1px solid #ddd;
  1859. background: #fff;
  1860. img {
  1861. height: 100px;
  1862. }
  1863. .error {
  1864. position: absolute;
  1865. top: 4px;
  1866. left: 4px;
  1867. right: 4px;
  1868. background: red;
  1869. color: white;
  1870. text-align: center;
  1871. height: 20px;
  1872. font-size: 1.3rem;
  1873. line-height: 23px;
  1874. }
  1875. &:hover {
  1876. .file-item-delete {
  1877. display: block;
  1878. }
  1879. }
  1880. .file-item-delete {
  1881. position: absolute;
  1882. top: -10px;
  1883. right: -10px;
  1884. cursor: pointer;
  1885. height: 22px;
  1886. width: 22px;
  1887. line-height: 22px;
  1888. background: rgba(153, 153, 153, 0.7);
  1889. border-radius: 50%;
  1890. text-align: center;
  1891. color: #fff !important;
  1892. display: none;
  1893. &:hover {
  1894. background: #000;
  1895. }
  1896. }
  1897. }
  1898. }
  1899. /* dad.css */
  1900. .dad-noSelect,
  1901. .dad-noSelect * {
  1902. -webkit-touch-callout: none;
  1903. -webkit-user-select: none;
  1904. -moz-user-select: none;
  1905. -ms-user-select: none;
  1906. user-select: none;
  1907. cursor: -webkit-grabbing !important;
  1908. cursor: -moz-grabbing !important;
  1909. }
  1910. .dad-container {
  1911. position: relative;
  1912. -webkit-touch-callout: none;
  1913. -webkit-user-select: none;
  1914. -moz-user-select: none;
  1915. -ms-user-select: none;
  1916. user-select: none;
  1917. &::after {
  1918. content: '';
  1919. clear: both !important;
  1920. display: block;
  1921. }
  1922. }
  1923. .dad-active {
  1924. .dad-draggable-area {
  1925. cursor: -webkit-grab;
  1926. cursor: -moz-grab;
  1927. }
  1928. }
  1929. .dad-draggable-area > *,
  1930. .dad-draggable-area img {
  1931. pointer-events: none;
  1932. }
  1933. .dads-children {
  1934. &.active {
  1935. pointer-events: none;
  1936. }
  1937. }
  1938. .dads-children-clone {
  1939. opacity: 1;
  1940. z-index: 9999;
  1941. pointer-events: none;
  1942. }
  1943. .dads-children-placeholder {
  1944. pointer-events: none;
  1945. overflow: hidden;
  1946. position: absolute !important;
  1947. box-sizing: border-box;
  1948. border: 4px dashed #639bf6;
  1949. margin: 5px;
  1950. text-align: center;
  1951. color: #639bf6;
  1952. font-weight: bold;
  1953. }
  1954. /* 运费规则页面*/
  1955. .add-region {
  1956. .iconfont {
  1957. vertical-align: middle;
  1958. }
  1959. }
  1960. .regional-table {
  1961. p {
  1962. margin: 0;
  1963. }
  1964. .operation {
  1965. text-align: right;
  1966. a {
  1967. margin: 0 3px;
  1968. }
  1969. }
  1970. td {
  1971. vertical-align: middle !important;
  1972. }
  1973. }
  1974. /* 运费规则--区域弹窗*/
  1975. /* 地域选择样式*/
  1976. .regional-choice {
  1977. display: none;
  1978. user-select: none;
  1979. }
  1980. .layui-layer {
  1981. z-index: 2000;
  1982. }
  1983. .layui-layer-content {
  1984. .regional-choice {
  1985. display: block !important;
  1986. }
  1987. }
  1988. .checkbtn {
  1989. a {
  1990. font-size: 1.4rem;
  1991. color: #333;
  1992. text-decoration: none;
  1993. cursor: pointer;
  1994. }
  1995. }
  1996. .fr {
  1997. float: right;
  1998. }
  1999. .clearfloat {
  2000. zoom: 1;
  2001. &:after {
  2002. display: block;
  2003. clear: both;
  2004. content: "";
  2005. visibility: hidden;
  2006. height: 0;
  2007. }
  2008. }
  2009. .place-div {
  2010. label {
  2011. font-weight: 400;
  2012. font-size: 1.4rem;
  2013. }
  2014. input[type=checkbox] {
  2015. margin-right: .3rem;
  2016. }
  2017. & > div {
  2018. width: 100%;
  2019. padding: 10px 30px;
  2020. }
  2021. .checkbtn {
  2022. background-color: #fbfbfb;
  2023. text-align: right;
  2024. img {
  2025. height: 10px;
  2026. margin-left: 3px;
  2027. }
  2028. .ri {
  2029. border-right: none;
  2030. }
  2031. a {
  2032. height: 30px;
  2033. line-height: 30px;
  2034. display: inline-block;
  2035. width: 60px;
  2036. text-align: center;
  2037. }
  2038. }
  2039. .smallplace {
  2040. .ratio {
  2041. color: red;
  2042. }
  2043. label {
  2044. padding-right: 10px;
  2045. text-align: left;
  2046. width: auto;
  2047. float: left;
  2048. cursor: pointer;
  2049. }
  2050. .citys {
  2051. width: auto;
  2052. background-color: #fff;
  2053. position: absolute;
  2054. top: 35px;
  2055. border: 1px solid #ccc;
  2056. z-index: 100;
  2057. visibility: hidden;
  2058. & > i {
  2059. &.jt {
  2060. width: 0;
  2061. height: 0;
  2062. border-left: 8px solid transparent;
  2063. border-right: 8px solid transparent;
  2064. border-bottom: 10px solid #ccc;
  2065. position: absolute;
  2066. top: -10px;
  2067. left: 20px;
  2068. i {
  2069. width: 0;
  2070. height: 0;
  2071. border-left: 8px solid transparent;
  2072. border-right: 8px solid transparent;
  2073. border-bottom: 10px solid #fff;
  2074. position: absolute;
  2075. top: 2px;
  2076. left: -8px;
  2077. }
  2078. }
  2079. }
  2080. .row-div {
  2081. min-width: 250px;
  2082. padding: 10px;
  2083. box-sizing: border-box;
  2084. label {
  2085. span {
  2086. max-width: 175px;
  2087. white-space: nowrap;
  2088. vertical-align: middle;
  2089. font-size: 1.4rem;
  2090. }
  2091. }
  2092. p {
  2093. }
  2094. }
  2095. }
  2096. .place-tooltips {
  2097. &:hover {
  2098. .citys {
  2099. visibility: visible;
  2100. }
  2101. }
  2102. }
  2103. p {
  2104. float: left;
  2105. width: auto;
  2106. margin: 2px 0;
  2107. }
  2108. & > div {
  2109. float: left;
  2110. width: 170px;
  2111. margin: 0;
  2112. padding-bottom: 10px;
  2113. padding-top: 5px;
  2114. position: relative;
  2115. }
  2116. }
  2117. }
  2118. .show-place-div {
  2119. margin-left: 85px;
  2120. font-size: 15px;
  2121. .smallplace {
  2122. label {
  2123. min-width: 105px;
  2124. width: auto;
  2125. }
  2126. input {
  2127. margin-left: 0;
  2128. }
  2129. .citys {
  2130. .row-div {
  2131. p {
  2132. margin: 5px 0 10px 0;
  2133. }
  2134. }
  2135. }
  2136. }
  2137. }
  2138. /* 添加商品页 */
  2139. /* 订单列表 */
  2140. .order-list {
  2141. .am-table {
  2142. tr {
  2143. border: 1px solid #ddd;
  2144. td {
  2145. font-size: 1.3rem;
  2146. border-right: 1px solid #ddd;
  2147. }
  2148. }
  2149. p {
  2150. margin: 0;
  2151. padding: 0.1rem 0;
  2152. }
  2153. .tpl-table-black-operation {
  2154. a {
  2155. display: block;
  2156. padding: 5px 6px;
  2157. margin: 10px 6px;
  2158. }
  2159. }
  2160. /* 分销商 */
  2161. .dealer {
  2162. font-size: 1.2rem;
  2163. .dealer-item span {
  2164. display: inline-block;
  2165. min-width: 6rem;
  2166. }
  2167. }
  2168. }
  2169. }
  2170. .order-list .am-table tr.order-empty,
  2171. .order-list .am-table tr.order-empty td {
  2172. border: none;
  2173. }
  2174. /* 商品详情 */
  2175. .goods-detail {
  2176. min-width: 320px;
  2177. & > div {
  2178. float: left;
  2179. }
  2180. .goods-image {
  2181. margin-right: 0.6rem;
  2182. img {
  2183. width: 72px;
  2184. height: 72px;
  2185. }
  2186. }
  2187. .goods-info {
  2188. width: 220px;
  2189. height: 72px;
  2190. p {
  2191. display: block;
  2192. white-space: normal;
  2193. margin: 0 0 0.3rem 0;
  2194. padding: 0 0.5rem;
  2195. font-size: 1.3rem;
  2196. text-align: left;
  2197. &.goods-title {
  2198. max-height: 40px;
  2199. overflow: hidden;
  2200. text-overflow: ellipsis;
  2201. display: -webkit-box;
  2202. -webkit-box-orient: vertical;
  2203. -webkit-line-clamp: 2;
  2204. text-align: left !important;
  2205. white-space: normal;
  2206. }
  2207. }
  2208. .goods-spec {
  2209. border: none;
  2210. font-size: 1.2rem;
  2211. }
  2212. }
  2213. }
  2214. /* 用户详情 */
  2215. .user-detail {
  2216. min-width: 180px;
  2217. .user-avatar {
  2218. float: left;
  2219. margin-right: 14px;
  2220. img {
  2221. width: 72px;
  2222. height: 72px;
  2223. }
  2224. }
  2225. .detail-info {
  2226. height: 72px;
  2227. float: left;
  2228. text-align: left;
  2229. max-width: 250px;
  2230. }
  2231. }
  2232. /* 订单详情 */
  2233. .widget__order-detail {
  2234. .order-detail-progress {
  2235. height: 26px;
  2236. line-height: 26px;
  2237. background: #f8f8f8;
  2238. border-radius: 13px;
  2239. font-size: 14px;
  2240. text-align: center;
  2241. position: relative;
  2242. margin-bottom: 70px;
  2243. &:before, &:after {
  2244. content: "";
  2245. position: absolute;
  2246. z-index: 2;
  2247. left: 0;
  2248. top: 0;
  2249. bottom: 0;
  2250. border-radius: 13px;
  2251. background: #54aff5;
  2252. }
  2253. &:after {
  2254. background: #8ccdff;
  2255. z-index: 1;
  2256. }
  2257. &.progress-1 {
  2258. &:before {
  2259. width: 0;
  2260. }
  2261. &:after {
  2262. width: 20%;
  2263. }
  2264. }
  2265. &.progress-2 {
  2266. &:before {
  2267. width: 20%;
  2268. }
  2269. &:after {
  2270. width: 40%;
  2271. }
  2272. }
  2273. &.progress-3 {
  2274. &:before {
  2275. width: 40%;
  2276. }
  2277. &:after {
  2278. width: 60%;
  2279. }
  2280. }
  2281. &.progress-4 {
  2282. &:before {
  2283. width: 60%;
  2284. }
  2285. &:after {
  2286. width: 80%;
  2287. }
  2288. }
  2289. &.progress-5 {
  2290. &:before {
  2291. width: 100%;
  2292. }
  2293. &:after {
  2294. width: 100%;
  2295. }
  2296. li {
  2297. &:nth-child(5) {
  2298. color: #fff;
  2299. }
  2300. }
  2301. }
  2302. li {
  2303. width: 20%;
  2304. float: left;
  2305. border-radius: 13px;
  2306. position: relative;
  2307. z-index: 3;
  2308. }
  2309. .tip {
  2310. font-size: 12px;
  2311. padding-top: 10px;
  2312. color: #8c8c8c;
  2313. }
  2314. &.progress-1 li:nth-child(1),
  2315. &.progress-2 li:nth-child(1),
  2316. &.progress-3 li:nth-child(1),
  2317. &.progress-4 li:nth-child(1),
  2318. &.progress-5 li:nth-child(1) {
  2319. color: #fff;
  2320. }
  2321. &.progress-2 li:nth-child(2),
  2322. &.progress-3 li:nth-child(2),
  2323. &.progress-4 li:nth-child(2),
  2324. &.progress-5 li:nth-child(2) {
  2325. color: #fff;
  2326. }
  2327. &.progress-3 li:nth-child(3),
  2328. &.progress-4 li:nth-child(3),
  2329. &.progress-5 li:nth-child(3) {
  2330. color: #fff;
  2331. }
  2332. &.progress-4 li:nth-child(4),
  2333. &.progress-5 li:nth-child(4) {
  2334. color: #fff;
  2335. }
  2336. }
  2337. .td__order-price {
  2338. width: 200px;
  2339. display: inline-block;
  2340. }
  2341. }
  2342. /* 文件库 */
  2343. .file-library {
  2344. .layui-layer-title {
  2345. background-color: #fff;
  2346. border-bottom: none;
  2347. font-size: 1.6rem;
  2348. font-weight: 500;
  2349. }
  2350. .layui-layer-content {
  2351. padding: 0 1rem;
  2352. user-select: none;
  2353. .file-group {
  2354. float: left;
  2355. width: 150px;
  2356. padding-top: 20px;
  2357. .nav-new {
  2358. overflow-y: auto;
  2359. max-height: 340px;
  2360. li {
  2361. position: relative;
  2362. margin: .3rem 0;
  2363. padding: .8rem 2.3rem;
  2364. a {
  2365. i.iconfont {
  2366. font-size: 1.4rem;
  2367. }
  2368. &.group-name {
  2369. color: #595961;
  2370. font-size: 1.3rem;
  2371. }
  2372. &.group-edit {
  2373. display: none;
  2374. position: absolute;
  2375. left: .6rem;
  2376. }
  2377. &.group-delete {
  2378. display: none;
  2379. position: absolute;
  2380. right: .6rem;
  2381. }
  2382. }
  2383. &:hover, &.active {
  2384. background: rgba(48, 145, 242, .1);
  2385. border-radius: 6px;
  2386. .group-name {
  2387. color: #0e90d2;
  2388. }
  2389. }
  2390. &:hover {
  2391. .group-edit, .group-delete {
  2392. display: inline;
  2393. }
  2394. }
  2395. }
  2396. }
  2397. a.group-add {
  2398. display: block;
  2399. margin-top: 1.8rem;
  2400. font-size: 1.2rem;
  2401. padding: 0 2.3rem;
  2402. }
  2403. }
  2404. .file-list {
  2405. float: left;
  2406. .v-box-header {
  2407. padding: 0 2rem 0 1rem;
  2408. margin-bottom: 10px;
  2409. .h-left {
  2410. .tpl-table-black-operation {
  2411. margin: 0 1rem;
  2412. a {
  2413. padding: 6px 10px;
  2414. }
  2415. }
  2416. .am-dropdown-toggle {
  2417. font-size: 1.2rem;
  2418. }
  2419. .am-dropdown-content a {
  2420. font-size: 1.3rem;
  2421. }
  2422. }
  2423. .h-rigth {
  2424. .upload-image .iconfont {
  2425. font-size: 1.2rem;
  2426. }
  2427. }
  2428. }
  2429. }
  2430. .v-box-body {
  2431. width: 660px;
  2432. ul.file-list-item {
  2433. overflow-y: auto;
  2434. height: 380px;
  2435. li {
  2436. position: relative;
  2437. cursor: pointer;
  2438. border-radius: 6px;
  2439. padding: 10px;
  2440. border: 1px solid rgba(0, 0, 0, .05);
  2441. float: left;
  2442. margin: 10px;
  2443. @include transition(All 0.2s ease-in-out);
  2444. &:hover {
  2445. border: 1px solid #16bce2;
  2446. }
  2447. .img-cover {
  2448. width: 120px;
  2449. height: 120px;
  2450. background: no-repeat center center / 100%;
  2451. }
  2452. p {
  2453. &.file-name {
  2454. margin: 5px 0 0 0;
  2455. width: 120px;
  2456. font-size: 1.3rem;
  2457. }
  2458. }
  2459. &.active .select-mask {
  2460. display: block;
  2461. }
  2462. .select-mask {
  2463. display: none;
  2464. position: absolute;
  2465. top: 0;
  2466. bottom: 0;
  2467. left: 0;
  2468. right: 0;
  2469. background: rgba(0, 0, 0, .5);
  2470. text-align: center;
  2471. border-radius: 6px;
  2472. img {
  2473. position: absolute;
  2474. top: 50px;
  2475. left: 45px;
  2476. }
  2477. }
  2478. }
  2479. }
  2480. ul.pagination {
  2481. margin: 0;
  2482. & > li > {
  2483. a, span {
  2484. padding: .3rem .9rem;
  2485. font-size: 1.3rem;
  2486. }
  2487. }
  2488. }
  2489. }
  2490. .v-box-footer {
  2491. }
  2492. }
  2493. }
  2494. /* 文件上传按钮 */
  2495. .webuploader-container {
  2496. position: relative;
  2497. }
  2498. .webuploader-element-invisible {
  2499. position: absolute !important;
  2500. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  2501. clip: rect(1px, 1px, 1px, 1px);
  2502. }
  2503. .webuploader-pick {
  2504. color: #2589ff;
  2505. background-color: #fff;
  2506. border-color: #2589ff;
  2507. font-size: 12px;
  2508. border-radius: 4px;
  2509. outline: 0;
  2510. font-weight: 400;
  2511. padding: .6em 1em;
  2512. outline: none !important;
  2513. }
  2514. .webuploader-pick-hover {
  2515. background: #2589ff;
  2516. color: #fff;
  2517. }
  2518. .webuploader-pick-disable {
  2519. opacity: 0.6;
  2520. pointer-events: none;
  2521. }
  2522. // select-data
  2523. body.select-data {
  2524. background: unset;
  2525. padding: 1rem;
  2526. }
  2527. // 小程序页面链接
  2528. .link-list {
  2529. padding-bottom: 1rem;
  2530. p {
  2531. margin: 0;
  2532. }
  2533. .link-item {
  2534. padding: .8rem 2rem;
  2535. border-bottom: 1px dashed #eee;
  2536. .row {
  2537. margin: .4rem 0;
  2538. font-size: 1.22rem;
  2539. &.page-name {
  2540. font-size: 1.4rem;
  2541. color: #259fdc;
  2542. }
  2543. }
  2544. }
  2545. }
  2546. /* tap切换 */
  2547. .am-tabs {
  2548. .am-tabs-nav {
  2549. border-bottom-color: #efefef;
  2550. li {
  2551. a {
  2552. background: none;
  2553. border: none;
  2554. margin: 0 10px;
  2555. padding: .7em 1em;
  2556. font-size: 1.4rem;
  2557. color: #555;
  2558. border-bottom: 2px solid transparent;
  2559. &:hover, &:focus {
  2560. color: #52abff;
  2561. }
  2562. }
  2563. &.am-active > a, a:hover, a:focus {
  2564. background: none;
  2565. border: none;
  2566. }
  2567. &.am-active > a {
  2568. border-bottom: 2px solid #52abff;
  2569. }
  2570. }
  2571. }
  2572. .am-tabs-bd {
  2573. border: none;
  2574. }
  2575. }
  2576. /* 分销海报设置 */
  2577. [v-cloak] {
  2578. display: none !important;
  2579. }
  2580. .poster-pannel {
  2581. .poster-preview {
  2582. width: 377px;
  2583. height: auto;
  2584. min-height: 500px;
  2585. margin: 0 auto;
  2586. border: 1px solid #ccc;
  2587. position: relative;
  2588. img {
  2589. display: block;
  2590. width: 100%;
  2591. height: auto;
  2592. }
  2593. .drag {
  2594. position: absolute;
  2595. cursor: pointer;
  2596. user-select: none;
  2597. white-space: nowrap;
  2598. top: 0;
  2599. &.pre-avatar {
  2600. width: 70px;
  2601. height: 70px;
  2602. &.circle img {
  2603. border-radius: 100%;
  2604. }
  2605. }
  2606. &.pre-nickName {
  2607. font-size: 14px;
  2608. line-height: 1;
  2609. span {
  2610. display: block;
  2611. }
  2612. }
  2613. &.pre-qrcode {
  2614. width: 100px;
  2615. height: 100px;
  2616. &.circle img {
  2617. border-radius: 100%;
  2618. }
  2619. }
  2620. }
  2621. }
  2622. .pannel__right {
  2623. min-width: 500px;
  2624. max-width: 800px;
  2625. input[type=color] {
  2626. display: inline-block;
  2627. -webkit-appearance: square-button;
  2628. width: 65px;
  2629. height: 30px;
  2630. background-color: #ffffff;
  2631. border: 1px solid #efefef;
  2632. padding: 0 4px;
  2633. margin: 1px 0;
  2634. cursor: pointer;
  2635. }
  2636. }
  2637. }
  2638. /* jstree 插件 */
  2639. .jstree {
  2640. font-size: 1.2rem;
  2641. &.jstree-default .jstree-clicked {
  2642. background: transparent;
  2643. box-shadow: none;
  2644. }
  2645. }
  2646. /* 多规格商品sku信息表格 */
  2647. .spec-sku-tabel {
  2648. input {
  2649. display: inline-block !important;
  2650. }
  2651. }
  2652. /**
  2653. * 文本格式化,超出范围,显示省略号
  2654. */
  2655. @mixin line-clamp($lines, $line-height: 1.3rem) {
  2656. text-overflow: ellipsis;
  2657. display: -webkit-box;
  2658. -webkit-box-orient: vertical;
  2659. -webkit-line-clamp: $lines; // number of lines to show
  2660. overflow: hidden;
  2661. line-height: $line-height;
  2662. max-height: $line-height * $lines;
  2663. }
  2664. /**
  2665. * 省市区三级联动菜单
  2666. */
  2667. .x-region-select {
  2668. margin-bottom: -1rem;
  2669. select {
  2670. display: inline-block;
  2671. width: auto;
  2672. padding-right: 2rem;
  2673. min-width: 10rem;
  2674. margin-right: 1rem;
  2675. margin-bottom: 1rem;
  2676. }
  2677. }
  2678. /* 数据统计 */
  2679. .page-statistics-data {
  2680. .widget {
  2681. padding: 10px 20px 25px;
  2682. .widget-head {
  2683. margin-top: 0;
  2684. margin-bottom: 10px;
  2685. border-bottom: none;
  2686. }
  2687. .widget-body {
  2688. padding: 0;
  2689. }
  2690. }
  2691. .widget-body-center {
  2692. width: auto;
  2693. max-width: 1700px;
  2694. margin: 0 auto;
  2695. }
  2696. // 数据概况
  2697. .widget-survey {
  2698. .widget-head {
  2699. padding: 15px 20px;
  2700. margin-bottom: 20px;
  2701. .widget-title {
  2702. position: absolute;
  2703. font-size: 1.5rem;
  2704. }
  2705. }
  2706. // 筛选条件
  2707. .widget-screen {
  2708. width: 530px;
  2709. margin: 0 auto;
  2710. padding-top: 10px;
  2711. .widget-screen_shortcut {
  2712. height: 34px;
  2713. line-height: 34px;
  2714. margin-left: 20px;
  2715. .shortcut-days {
  2716. font-size: 14px;
  2717. .shortcut-days_item {
  2718. padding: 0 5px;
  2719. a {
  2720. color: #303133;
  2721. &:hover {
  2722. color: #409EFF;
  2723. }
  2724. }
  2725. .shortcut-days_item.item-clear a {
  2726. color: #9c9c9c;
  2727. }
  2728. }
  2729. }
  2730. }
  2731. }
  2732. }
  2733. // 实时概况
  2734. .widget-outline {
  2735. width: 400px;
  2736. height: 117px;
  2737. padding: 20px;
  2738. margin: 0 auto 0 auto;
  2739. flex-basis: 50%;
  2740. .outline-left {
  2741. margin-right: 30px;
  2742. img {
  2743. width: 58px;
  2744. height: 58px;
  2745. }
  2746. }
  2747. .outline-right {
  2748. flex-basis: 50%;
  2749. }
  2750. .item-name {
  2751. color: rgb(102, 102, 102);
  2752. font-size: 1.3rem;
  2753. }
  2754. .item-value {
  2755. color: rgb(51, 51, 51);
  2756. font-size: 2.4rem;
  2757. }
  2758. }
  2759. // 七天交易走势
  2760. .widget-echarts {
  2761. height: 400px;
  2762. width: 100%;
  2763. }
  2764. // 排行榜
  2765. .widget-ranking {
  2766. table tr {
  2767. height: 47px;
  2768. }
  2769. .ranking-img img {
  2770. width: 32px;
  2771. height: 32px;
  2772. }
  2773. .ranking-item-title {
  2774. max-width: 350px;
  2775. }
  2776. }
  2777. }
  2778. .yxs-date-editor {
  2779. .el-range-separator {
  2780. box-sizing: unset;
  2781. }
  2782. }
  2783. // 日期选择
  2784. .yxs-date-editor2 {
  2785. width: 400px;
  2786. color: #606266;
  2787. border-radius: 4px;
  2788. border: 1px solid #DCDFE6;
  2789. padding: 3px 10px;
  2790. .yxs-date__icon {
  2791. font-size: 14px;
  2792. line-height: 24px;
  2793. color: #C0C4CC;
  2794. height: 100%;
  2795. width: 25px;
  2796. text-align: center;
  2797. }
  2798. .yxs-date__input {
  2799. font-size: 13px;
  2800. line-height: 1;
  2801. -webkit-appearance: none;
  2802. -moz-appearance: none;
  2803. border: none;
  2804. outline: 0;
  2805. padding: 0;
  2806. width: 39%;
  2807. color: #606266;
  2808. height: 100%;
  2809. margin: 0;
  2810. text-align: center;
  2811. display: inline-block;
  2812. vertical-align: unset !important;
  2813. }
  2814. .yxs-date__separator {
  2815. line-height: 24px;
  2816. font-size: 13px;
  2817. width: 5%;
  2818. color: #303133;
  2819. height: 100%;
  2820. margin: 0;
  2821. text-align: center;
  2822. display: inline-block;
  2823. }
  2824. }