app.scss 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525
  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: #009688;
  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: #eceef3;
  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. background: #fff;
  56. position: fixed;
  57. top: 0;
  58. width: 100%;
  59. transition: all 0.4s ease-in-out;
  60. //padding-left: 160px;
  61. -webkit-touch-callout: none;
  62. -webkit-user-select: none;
  63. -moz-user-select: none;
  64. -ms-user-select: none;
  65. user-select: none;
  66. }
  67. .tpl-header-logo {
  68. width: 240px;
  69. height: 57px;
  70. display: table;
  71. text-align: center;
  72. position: relative;
  73. z-index: 1300;
  74. a {
  75. display: table-cell;
  76. vertical-align: middle;
  77. }
  78. img {
  79. width: 170px;
  80. }
  81. }
  82. .tpl-header-fluid {
  83. height: 50px;
  84. max-width: 1200px;
  85. margin: 0 auto;
  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. //background-color: #2f3638;
  133. //border: 1px solid #525e62;
  134. border-radius: 0;
  135. background: #fff;
  136. border: 1px solid #ddd;
  137. li {
  138. float: none;
  139. }
  140. .tpl-dropdown-menu-notifications-title {
  141. font-size: 12px;
  142. float: left;
  143. color: rgba(255, 255, 255, 0.7);
  144. color: #616161;
  145. }
  146. .tpl-dropdown-menu-notifications-time {
  147. float: right;
  148. text-align: right;
  149. color: rgba(255, 255, 255, 0.7);
  150. font-size: 11px;
  151. width: 50px;
  152. margin-left: 10px;
  153. }
  154. .tpl-dropdown-menu-notifications {
  155. &:last-child {
  156. .tpl-dropdown-menu-notifications-item {
  157. text-align: center;
  158. border: none;
  159. font-size: 12px;
  160. i {
  161. margin-left: -6px;
  162. }
  163. }
  164. }
  165. }
  166. .tpl-dropdown-menu-messages {
  167. &:last-child {
  168. .tpl-dropdown-menu-messages-item {
  169. text-align: center;
  170. border: none;
  171. font-size: 12px;
  172. i {
  173. margin-left: -6px;
  174. }
  175. }
  176. }
  177. }
  178. .tpl-dropdown-menu-messages-item {
  179. .menu-messages-content {
  180. .menu-messages-content-time {
  181. color: #96a5aa;
  182. }
  183. }
  184. &:hover {
  185. background-color: #f5f5f5;
  186. }
  187. }
  188. }
  189. }
  190. ul.tpl-dropdown-content:before,
  191. ul.tpl-dropdown-content:after {
  192. display: none;
  193. }
  194. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item,
  195. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item {
  196. padding: 12px;
  197. //color: #fff;
  198. line-height: 20px;
  199. border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  200. border-bottom: 1px solid #eee;
  201. color: #999;
  202. }
  203. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  204. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover,
  205. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:focus,
  206. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:focus {
  207. background-color: #465154;
  208. color: #fff;
  209. }
  210. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico,
  211. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico {
  212. line-height: initial;
  213. float: left;
  214. width: 35px;
  215. height: 35px;
  216. border-radius: 50%;
  217. margin-right: 10px;
  218. margin-top: 6px;
  219. overflow: hidden;
  220. }
  221. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico img,
  222. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico img {
  223. width: 100%;
  224. height: auto;
  225. vertical-align: middle;
  226. }
  227. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-time,
  228. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-time {
  229. float: right;
  230. text-align: right;
  231. color: rgba(255, 255, 255, 0.7);
  232. font-size: 11px;
  233. width: 40px;
  234. margin-left: 10px;
  235. }
  236. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content,
  237. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content {
  238. display: block;
  239. font-size: 13px;
  240. margin-left: 45px;
  241. margin-right: 50px;
  242. }
  243. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content .menu-messages-content-time,
  244. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
  245. margin-top: 3px;
  246. color: rgba(255, 255, 255, 0.7);
  247. font-size: 11px;
  248. }
  249. .am-dimmer {
  250. z-index: 1200;
  251. }
  252. .am-modal {
  253. z-index: 1300;
  254. }
  255. .am-datepicker-dropdown {
  256. z-index: 1400;
  257. }
  258. .tpl-content-wrapper {
  259. max-width: 1200px;
  260. margin: 80px auto 0 auto;
  261. transition: all 0.4s ease-in-out;
  262. position: relative;
  263. // 左侧菜单栏
  264. .left-sidebar {
  265. width: 200px;
  266. flex-basis: 200px;
  267. padding: 20px 0;
  268. background: #fff;
  269. border-radius: 3px;
  270. li.sidebar-nav-link {
  271. min-height: 48px;
  272. line-height: 48px;
  273. font-size: 14px;
  274. position: relative;
  275. a {
  276. display: block;
  277. padding-left: 25px;
  278. color: #777;
  279. &:hover {
  280. color: #6af;
  281. }
  282. &.sidebar-nav-link-disabled {
  283. cursor: default;
  284. &:hover {
  285. color: #777;
  286. }
  287. }
  288. }
  289. .sidebar-nav-link-logo {
  290. margin-right: 3px;
  291. width: 20px;
  292. font-size: 16px;
  293. display: inline-block;
  294. }
  295. .sidebar-third-nav-sub {
  296. margin: 0;
  297. a {
  298. padding-left: 55px;
  299. }
  300. }
  301. &.active {
  302. background: #f4f8ff;
  303. &:before {
  304. content: " ";
  305. top: 0;
  306. left: 0;
  307. bottom: 0;
  308. width: 4px;
  309. background: #66a2ff;
  310. position: absolute;
  311. }
  312. }
  313. }
  314. }
  315. // 内容区
  316. .row-content {
  317. flex-basis: calc(100% - 200px);
  318. padding: 0 15px 0 15px;
  319. }
  320. }
  321. .page-header {
  322. background: #424b4f;
  323. margin-top: 0;
  324. margin-bottom: 0;
  325. padding: 40px 0;
  326. border-bottom: 0;
  327. }
  328. .container-fluid {
  329. margin-top: 0;
  330. margin-bottom: 0;
  331. //padding: 40px 0;
  332. border-bottom: 0;
  333. padding-left: 20px;
  334. padding-right: 20px;
  335. }
  336. .row {
  337. margin-right: -10px;
  338. margin-left: -10px;
  339. }
  340. .page-header-description {
  341. margin-top: 4px;
  342. margin-bottom: 0;
  343. font-size: 14px;
  344. //color: #e6e6e6;
  345. color: #666;
  346. }
  347. .page-header-heading {
  348. font-size: 20px;
  349. font-weight: 400;
  350. color: #666;
  351. .page-header-heading-ico {
  352. font-size: 28px;
  353. position: relative;
  354. top: 3px;
  355. }
  356. small {
  357. font-weight: normal;
  358. line-height: 1;
  359. color: #b3b3b3;
  360. }
  361. }
  362. .widget {
  363. width: 100%;
  364. min-height: 148px;
  365. position: relative;
  366. padding: 10px 20px 13px;
  367. background-color: #fff;
  368. color: #333;
  369. box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
  370. border-radius: 3px;
  371. }
  372. .widget-body {
  373. padding: 0 15px;
  374. width: 100%;
  375. }
  376. .widget-head {
  377. width: 100%;
  378. padding: 12px 20px;
  379. border-bottom: 1px solid #eef1f5;
  380. margin-top: 10px;
  381. margin-bottom: 20px;
  382. &:not(:first-child) {
  383. margin-top: 40px;
  384. }
  385. .widget-title {
  386. position: relative;
  387. font-size: 1.5rem;
  388. &::before {
  389. content: '';
  390. position: absolute;
  391. width: 4px;
  392. height: 14px;
  393. background: #00aeff;
  394. top: 6px;
  395. left: -12px;
  396. }
  397. }
  398. }
  399. .tpl-table-black-operation {
  400. a {
  401. display: inline-block;
  402. padding: 5px 6px;
  403. font-size: 12px;
  404. line-height: 12px;
  405. border: 1px solid #36c6d3;
  406. color: #36c6d3;
  407. &:hover {
  408. background: #36c6d3;
  409. color: #fff;
  410. }
  411. &.tpl-table-black-operation-del {
  412. border: 1px solid #e7505a;
  413. color: #e7505a;
  414. &:hover {
  415. background: #e7505a;
  416. color: #fff;
  417. }
  418. }
  419. &.tpl-table-black-operation-green {
  420. border: 1px solid #5eb95e;
  421. color: #5eb95e;
  422. &:hover {
  423. background: #5eb95e;
  424. color: #fff;
  425. }
  426. }
  427. }
  428. }
  429. .tpl-page-state {
  430. width: 100%;
  431. }
  432. .tpl-page-state-title {
  433. font-size: 40px;
  434. font-weight: bold;
  435. color: #838fa1;
  436. }
  437. .tpl-page-state-content {
  438. padding: 10px 0;
  439. }
  440. .tpl-login {
  441. width: 100%;
  442. }
  443. .tpl-login-logo {
  444. max-width: 159px;
  445. height: 205px;
  446. margin: 0 auto 20px auto;
  447. //background: url(../img/logo.png) center no-repeat;
  448. }
  449. .tpl-login-title {
  450. width: 100%;
  451. font-size: 24px;
  452. color: #697882;
  453. strong {
  454. color: #39bae4;
  455. }
  456. }
  457. .tpl-login-content {
  458. //width: 300px;
  459. margin: 12% auto 0;
  460. width: 500px;
  461. padding: 40px 40px 25px;
  462. background-color: #fff;
  463. border-radius: 4px;
  464. }
  465. .tpl-login-remember-me {
  466. color: #b3b3b3;
  467. font-size: 14px;
  468. label {
  469. position: relative;
  470. top: -2px;
  471. }
  472. }
  473. .tpl-login-content-info {
  474. color: #b3b3b3;
  475. font-size: 14px;
  476. }
  477. .cl-p {
  478. padding: 0 !important;
  479. }
  480. .tpl-table-line-img {
  481. max-width: 100px;
  482. padding: 2px;
  483. border: 1px solid #ddd;
  484. }
  485. .tpl-table-list-select {
  486. text-align: right;
  487. }
  488. .fc-button-group,
  489. .fc button {
  490. display: block;
  491. }
  492. .tpl-header-search-box:hover,
  493. .tpl-header-search-box:active .tpl-error-title {
  494. color: #848c90;
  495. }
  496. .tpl-error-title-info {
  497. line-height: 30px;
  498. font-size: 21px;
  499. margin-top: 20px;
  500. text-align: center;
  501. color: #dce2ec;
  502. }
  503. .tpl-error-btn {
  504. background: #03a9f3;
  505. border: 1px solid #03a9f3;
  506. border-radius: 30px;
  507. padding: 6px 20px 8px;
  508. }
  509. .tpl-error-content {
  510. margin-top: 20px;
  511. margin-bottom: 20px;
  512. font-size: 16px;
  513. text-align: center;
  514. color: #96a2b4;
  515. }
  516. .tpl-calendar-box {
  517. background: #fff;
  518. border-radius: 4px;
  519. padding: 20px;
  520. .fc-event {
  521. border-radius: 0;
  522. background: #03a9f3;
  523. border: 1px solid #14b0f6;
  524. }
  525. .fc-axis {
  526. color: #868e8e;
  527. }
  528. .fc-unthemed {
  529. .fc-today {
  530. background: #eee;
  531. }
  532. }
  533. .fc-more {
  534. color: #868e8e;
  535. }
  536. .fc {
  537. th {
  538. color: #868e8e;
  539. font-weight: normal;
  540. font-size: 14px;
  541. padding: 6px 0;
  542. &.fc-widget-header {
  543. background: #32c5d2 !important;
  544. color: #ffffff;
  545. font-size: 14px;
  546. line-height: 20px;
  547. padding: 7px 0;
  548. text-transform: uppercase;
  549. border: none !important;
  550. a {
  551. color: #fff;
  552. }
  553. }
  554. }
  555. }
  556. .fc-center {
  557. h2 {
  558. color: #868e8e;
  559. }
  560. }
  561. .fc-state-default {
  562. background: #fff;
  563. font-size: 14px;
  564. color: #868e8e;
  565. }
  566. .fc-day-number {
  567. color: #868e8e;
  568. padding-right: 6px;
  569. }
  570. }
  571. .tpl-calendar-box .fc th,
  572. .tpl-calendar-box .fc td,
  573. .tpl-calendar-box .fc hr,
  574. .tpl-calendar-box .fc thead,
  575. .tpl-calendar-box .fc tbody,
  576. .tpl-calendar-box .fc-row {
  577. border-color: #eee !important;
  578. }
  579. .tpl-pagination .am-disabled a,
  580. .tpl-pagination li a {
  581. color: #23abf0;
  582. border-radius: 3px;
  583. padding: 6px 12px;
  584. }
  585. .tpl-pagination {
  586. .am-active {
  587. a {
  588. background: #23abf0;
  589. color: #fff;
  590. border: 1px solid #23abf0;
  591. padding: 6px 12px;
  592. }
  593. }
  594. }
  595. .tpl-login-btn {
  596. background-color: #32c5d2;
  597. border: none;
  598. padding: 10px 16px;
  599. font-size: 14px;
  600. line-height: 14px;
  601. outline: none;
  602. }
  603. .tpl-login-btn:hover,
  604. .tpl-login-btn:active {
  605. background: #22b2e1;
  606. color: #fff;
  607. }
  608. .tpl-form-line-form,
  609. .tpl-form-border-form {
  610. }
  611. .tpl-form-border-form input[type=number]:focus,
  612. .tpl-form-border-form input[type=search]:focus,
  613. .tpl-form-border-form input[type=text]:focus,
  614. .tpl-form-border-form input[type=password]:focus,
  615. .tpl-form-border-form input[type=datetime]:focus,
  616. .tpl-form-border-form input[type=datetime-local]:focus,
  617. .tpl-form-border-form input[type=date]:focus,
  618. .tpl-form-border-form input[type=month]:focus,
  619. .tpl-form-border-form input[type=time]:focus,
  620. .tpl-form-border-form input[type=week]:focus,
  621. .tpl-form-border-form input[type=email]:focus,
  622. .tpl-form-border-form input[type=url]:focus,
  623. .tpl-form-border-form input[type=tel]:focus,
  624. .tpl-form-border-form input[type=color]:focus,
  625. .tpl-form-border-form select:focus,
  626. .tpl-form-border-form textarea:focus,
  627. .am-form-field:focus {
  628. -webkit-box-shadow: none;
  629. box-shadow: none;
  630. }
  631. .tpl-form-border-form input[type=number],
  632. .tpl-form-border-form input[type=search],
  633. .tpl-form-border-form input[type=text],
  634. .tpl-form-border-form input[type=password],
  635. .tpl-form-border-form input[type=datetime],
  636. .tpl-form-border-form input[type=datetime-local],
  637. .tpl-form-border-form input[type=date],
  638. .tpl-form-border-form input[type=month],
  639. .tpl-form-border-form input[type=time],
  640. .tpl-form-border-form input[type=week],
  641. .tpl-form-border-form input[type=email],
  642. .tpl-form-border-form input[type=url],
  643. .tpl-form-border-form input[type=tel],
  644. .tpl-form-border-form input[type=color],
  645. .tpl-form-border-form select,
  646. .tpl-form-border-form textarea,
  647. .am-form-field {
  648. display: block;
  649. width: 100%;
  650. line-height: 1.42857;
  651. -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  652. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  653. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  654. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  655. background: 0 0;
  656. border: 1px solid #c2cad8;
  657. text-indent: .5em;
  658. border-radius: 0;
  659. color: #555;
  660. box-shadow: none;
  661. padding-left: 0;
  662. padding-right: 0;
  663. font-size: 14px;
  664. }
  665. .tpl-form-border-form .am-checkbox,
  666. .tpl-form-border-form .am-checkbox-inline,
  667. .tpl-form-border-form .am-form-label,
  668. .tpl-form-border-form .am-radio,
  669. .tpl-form-border-form .am-radio-inline {
  670. margin-top: 0;
  671. margin-bottom: 0;
  672. }
  673. .tpl-form-border-form {
  674. .am-form-group {
  675. &:after {
  676. clear: both;
  677. }
  678. }
  679. .am-form-label {
  680. padding-top: 5px;
  681. font-size: 16px;
  682. color: #888;
  683. font-weight: inherit;
  684. text-align: right;
  685. .tpl-form-line-small-title {
  686. color: #999;
  687. font-size: 12px;
  688. }
  689. }
  690. }
  691. .tpl-form-border-form .am-form-group:after,
  692. .tpl-form-border-form .am-form-group:before {
  693. content: " ";
  694. display: table;
  695. }
  696. .tpl-form-line-form input[type=number]:focus,
  697. .tpl-form-line-form input[type=search]:focus,
  698. .tpl-form-line-form input[type=text]:focus,
  699. .tpl-form-line-form input[type=password]:focus,
  700. .tpl-form-line-form input[type=datetime]:focus,
  701. .tpl-form-line-form input[type=datetime-local]:focus,
  702. .tpl-form-line-form input[type=date]:focus,
  703. .tpl-form-line-form input[type=month]:focus,
  704. .tpl-form-line-form input[type=time]:focus,
  705. .tpl-form-line-form input[type=week]:focus,
  706. .tpl-form-line-form input[type=email]:focus,
  707. .tpl-form-line-form input[type=url]:focus,
  708. .tpl-form-line-form input[type=tel]:focus,
  709. .tpl-form-line-form input[type=color]:focus,
  710. .tpl-form-line-form select:focus,
  711. .tpl-form-line-form textarea:focus,
  712. .am-form-field:focus {
  713. -webkit-box-shadow: none;
  714. box-shadow: none;
  715. }
  716. .tpl-form-line-form input[type=number],
  717. .tpl-form-line-form input[type=search],
  718. .tpl-form-line-form input[type=text],
  719. .tpl-form-line-form input[type=password],
  720. .tpl-form-line-form input[type=datetime],
  721. .tpl-form-line-form input[type=datetime-local],
  722. .tpl-form-line-form input[type=date],
  723. .tpl-form-line-form input[type=month],
  724. .tpl-form-line-form input[type=time],
  725. .tpl-form-line-form input[type=week],
  726. .tpl-form-line-form input[type=email],
  727. .tpl-form-line-form input[type=url],
  728. .tpl-form-line-form input[type=tel],
  729. .tpl-form-line-form input[type=color],
  730. .tpl-form-line-form select,
  731. .tpl-form-line-form textarea,
  732. .am-form-field {
  733. display: block;
  734. width: 100%;
  735. padding: 6px 5px;
  736. line-height: 1.42857;
  737. -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  738. -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  739. transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  740. border: 0;
  741. border-bottom: 1px solid #c2cad8;
  742. color: #555;
  743. box-shadow: none;
  744. font-size: 14px;
  745. }
  746. .am-form {
  747. input[type=text][readonly] {
  748. background: #f7f7f7 !important;
  749. cursor: text;
  750. }
  751. }
  752. .tpl-form-line-form .am-checkbox,
  753. .tpl-form-line-form .am-checkbox-inline,
  754. .tpl-form-line-form .am-form-label,
  755. .tpl-form-line-form .am-radio,
  756. .tpl-form-line-form .am-radio-inline {
  757. margin-top: 0;
  758. margin-bottom: 0;
  759. padding-top: .8rem;
  760. //color: #656565;
  761. }
  762. .am-checkbox, .am-checkbox-inline, .am-radio, .am-radio-inline {
  763. user-select: none;
  764. }
  765. .tpl-form-line-form .am-checkbox .am-ucheck-icons,
  766. .tpl-form-line-form .am-checkbox-inline .am-ucheck-icons,
  767. .tpl-form-line-form .am-form-label .am-ucheck-icons,
  768. .tpl-form-line-form .am-radio .am-ucheck-icons,
  769. .tpl-form-line-form .am-radio-inline .am-ucheck-icons {
  770. line-height: 40px;
  771. }
  772. .am-ucheck-checkbox:checked + .am-ucheck-icons,
  773. .am-ucheck-radio:checked + .am-ucheck-icons {
  774. color: #5bb9ff;
  775. }
  776. .tpl-form-line-form {
  777. .am-form-group {
  778. &:after {
  779. clear: both;
  780. }
  781. }
  782. .am-form-label {
  783. padding-top: .8rem;
  784. font-size: 1.34rem;
  785. color: #656565;
  786. font-weight: inherit;
  787. text-align: right;
  788. .tpl-form-line-small-title {
  789. color: #8c8c8c;
  790. font-size: 12px;
  791. }
  792. }
  793. .am-form-error {
  794. .am-form-label {
  795. color: #dd514c;
  796. }
  797. }
  798. }
  799. .tpl-form-line-form .am-form-group:after,
  800. .tpl-form-line-form .am-form-group:before {
  801. content: " ";
  802. display: table;
  803. }
  804. .tpl-amendment-echarts {
  805. left: -17px;
  806. }
  807. .tpl-user-card {
  808. border: 1px solid #3598dc;
  809. border-top: 2px solid #3598dc;
  810. background: #3598dc;
  811. color: #ffffff;
  812. border-radius: 4px;
  813. }
  814. .tpl-user-card-title {
  815. font-size: 26px;
  816. font-weight: 300;
  817. margin-top: 25px;
  818. margin-bottom: 10px;
  819. }
  820. .achievement-subheading {
  821. font-size: 12px;
  822. margin-top: 0;
  823. margin-bottom: 15px;
  824. }
  825. .achievement-image {
  826. border-radius: 50%;
  827. margin-bottom: 22px;
  828. }
  829. .achievement-description {
  830. margin: 0;
  831. font-size: 12px;
  832. }
  833. .tpl-table-black {
  834. color: #6d7279;
  835. thead {
  836. & > tr {
  837. & > th {
  838. font-size: 1.3rem;
  839. padding: 6px;
  840. }
  841. }
  842. }
  843. tbody {
  844. & > tr {
  845. & > td {
  846. font-size: 1.3rem;
  847. padding: 7px 6px;
  848. }
  849. }
  850. }
  851. tfoot {
  852. & > tr {
  853. & > th {
  854. font-size: 14px;
  855. padding: 6px 0;
  856. }
  857. }
  858. }
  859. }
  860. .am-progress {
  861. height: 12px;
  862. }
  863. .am-progress-title {
  864. font-size: 14px;
  865. margin-bottom: 8px;
  866. }
  867. .widget-fluctuation-tpl-btn {
  868. margin-top: 6px;
  869. display: block;
  870. color: #fff;
  871. font-size: 12px;
  872. padding: 8px 14px;
  873. outline: none;
  874. background-color: #e7505a;
  875. border: 1px solid #e7505a;
  876. &:hover {
  877. background: transparent;
  878. color: #e7505a;
  879. }
  880. }
  881. .text-success {
  882. color: #5eb95e;
  883. }
  884. .widget-function {
  885. a {
  886. color: #838fa1;
  887. &:hover {
  888. color: #a7bdcd;
  889. }
  890. }
  891. }
  892. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
  893. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover {
  894. background-color: #f5f5f5;
  895. }
  896. ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .tpl-dropdown-menu-notifications-time,
  897. ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .tpl-dropdown-menu-notifications-time {
  898. color: #999;
  899. }
  900. .tpl-header {
  901. &.active {
  902. padding-left: 0;
  903. }
  904. }
  905. .tpl-header-logo {
  906. background: #fff;
  907. border-bottom: 1px solid #eee;
  908. }
  909. .widget-color-green {
  910. border: 1px solid #32c5d2;
  911. border-top: 2px solid #32c5d2;
  912. background: #32c5d2;
  913. color: #ffffff;
  914. .widget-fluctuation-period-text {
  915. color: #fff;
  916. }
  917. .widget-head {
  918. border-bottom: 1px solid #2bb8c4;
  919. }
  920. .widget-fluctuation-description-text {
  921. color: #bbe7f6;
  922. }
  923. .widget-function {
  924. a {
  925. color: #42bde5;
  926. &:hover {
  927. color: #fff;
  928. }
  929. }
  930. }
  931. }
  932. @media screen and (max-width: 1024px) {
  933. .left-sidebar {
  934. left: -320px;
  935. top: 50px;
  936. }
  937. .tpl-content-wrapper {
  938. margin-left: 0 !important;
  939. }
  940. .tpl-sidebar-user-panel {
  941. border-top: 1px solid #eee;
  942. }
  943. .tpl-header {
  944. padding-left: 0;
  945. }
  946. }
  947. @media screen and (min-width: 641px) {
  948. [class*=am-u-] {
  949. padding-left: 10px;
  950. padding-right: 10px;
  951. }
  952. }
  953. @media screen and (max-width: 641px) {
  954. .tpl-error-title,
  955. .tpl-login-title {
  956. font-size: 20px;
  957. }
  958. .tpl-login-content {
  959. width: 86%;
  960. padding: 22px 30px 25px;
  961. }
  962. .tpl-header-search {
  963. display: none;
  964. }
  965. ul.tpl-dropdown-content {
  966. position: fixed;
  967. width: 100%;
  968. left: 0;
  969. top: 112px;
  970. right: 0;
  971. }
  972. }
  973. /* table */
  974. .am-table {
  975. border-collapse: collapse;
  976. font-size: 1.4rem;
  977. & > thead {
  978. & > tr {
  979. & > th {
  980. vertical-align: middle;
  981. }
  982. }
  983. }
  984. .item-title {
  985. max-width: 300px;
  986. overflow: hidden;
  987. text-overflow: ellipsis;
  988. display: -webkit-box;
  989. -webkit-box-orient: vertical;
  990. -webkit-line-clamp: 2;
  991. text-align: left !important;
  992. margin: 0;
  993. white-space: normal;
  994. }
  995. p {
  996. margin: 0;
  997. }
  998. }
  999. .am-btn-toolbar {
  1000. .am-btn-group {
  1001. & > .am-btn {
  1002. border-radius: 2px !important;
  1003. margin-right: 10px;
  1004. }
  1005. }
  1006. }
  1007. /* 工具栏 */
  1008. .page_toolbar {
  1009. .am-form-group {
  1010. max-width: 300px;
  1011. margin-left: .5rem;
  1012. .am-form-field, .am-btn {
  1013. border-radius: 2px;
  1014. outline: 0;
  1015. }
  1016. span, .am-selected-list {
  1017. font-size: 1.4rem;
  1018. }
  1019. }
  1020. .am-input-group {
  1021. .am-form-field {
  1022. border-bottom-right-radius: 0;
  1023. border-top-right-radius: 0;
  1024. }
  1025. .am-input-group-btn .am-btn {
  1026. background: #fff;
  1027. border-bottom-left-radius: 0;
  1028. border-top-left-radius: 0;
  1029. &:hover {
  1030. color: #2589ff;
  1031. }
  1032. }
  1033. }
  1034. }
  1035. /* 文字颜色 */
  1036. .x-color-red {
  1037. color: #f00 !important;
  1038. }
  1039. .x-color-green {
  1040. color: #4db14d !important;
  1041. }
  1042. .x-color-yellow {
  1043. color: #fcb500 !important;
  1044. }
  1045. .x-color-blue {
  1046. color: #259fdc !important;
  1047. }
  1048. .x-color-c-gray-5f {
  1049. color: #828282;
  1050. }
  1051. /* flex布局 */
  1052. .dis-flex {
  1053. display: -webkit-box;
  1054. display: -webkit-flex;
  1055. display: -ms-flexbox;
  1056. display: flex;
  1057. }
  1058. .flex-box {
  1059. flex: 1;
  1060. }
  1061. .flex-dir-row {
  1062. flex-direction: row;
  1063. }
  1064. .flex-dir-column {
  1065. -webkit-box-orient: vertical;
  1066. -webkit-flex-direction: column;
  1067. -ms-flex-direction: column;
  1068. flex-direction: column;
  1069. }
  1070. .flex-x-center {
  1071. -webkit-box-pack: center;
  1072. -webkit-justify-content: center;
  1073. -ms-flex-pack: center;
  1074. justify-content: center;
  1075. }
  1076. .flex-x-between {
  1077. -webkit-box-pack: justify;
  1078. -webkit-justify-content: space-between;
  1079. -ms-flex-pack: justify;
  1080. justify-content: space-between;
  1081. }
  1082. .flex-x-around {
  1083. justify-content: space-around;
  1084. }
  1085. .flex-x-end {
  1086. -webkit-box-pack: end;
  1087. -ms-flex-pack: end;
  1088. -webkit-justify-content: flex-end;
  1089. justify-content: flex-end;
  1090. }
  1091. .flex-y-center {
  1092. -webkit-box-align: center;
  1093. -webkit-align-items: center;
  1094. -ms-flex-align: center;
  1095. align-items: center;
  1096. }
  1097. // 提示信息
  1098. .tips {
  1099. .pre {
  1100. padding: 1rem;
  1101. background-color: #fbfdff;
  1102. border: 1px solid #dfeffd;
  1103. white-space: normal;
  1104. font-size: 1.22rem;
  1105. line-height: 1.6;
  1106. color: #259fdc;
  1107. p {
  1108. margin: .5rem 0;
  1109. }
  1110. a {
  1111. color: #00669a;
  1112. &:hover {
  1113. color: #000000;
  1114. }
  1115. }
  1116. }
  1117. }
  1118. /* input滑块 */
  1119. input[type=range] {
  1120. outline: none;
  1121. -webkit-appearance: none;
  1122. background: -webkit-linear-gradient(#61bd12, #61bd12) no-repeat, #ddd;
  1123. height: 3px;
  1124. border-radius: 5px;
  1125. }
  1126. input[type=range]::-webkit-slider-thumb {
  1127. -webkit-appearance: none;
  1128. position: relative;
  1129. height: 15px;
  1130. width: 15px;
  1131. border: 1px solid #d3d3d3;
  1132. border-radius: 50%;
  1133. background: #fff;
  1134. cursor: pointer;
  1135. }
  1136. /* input滑块显示值 */
  1137. .display-value {
  1138. display: inline-block;
  1139. margin-left: .8rem;
  1140. }
  1141. /*分页*/
  1142. .pagination {
  1143. display: inline-block;
  1144. padding-left: 0;
  1145. margin: 20px 0;
  1146. border-radius: 4px;
  1147. & > li {
  1148. display: inline;
  1149. }
  1150. }
  1151. .pagination > li > a,
  1152. .pagination > li > span {
  1153. position: relative;
  1154. float: left;
  1155. padding: 4px 12px;
  1156. line-height: 1.42857143;
  1157. color: #23abf0;
  1158. text-decoration: none;
  1159. background-color: #fff;
  1160. border: 1px solid #ddd;
  1161. border-radius: 3px;
  1162. margin: 0 2px;
  1163. }
  1164. .theme-black .pagination > li > a,
  1165. .theme-black .pagination > li > span {
  1166. color: #fff;
  1167. padding: 6px 12px;
  1168. background: #3f4649;
  1169. border: none;
  1170. }
  1171. .pagination > li:first-child > a,
  1172. .pagination > li:first-child > span {
  1173. margin-left: 0;
  1174. border-top-left-radius: 4px;
  1175. border-bottom-left-radius: 4px;
  1176. }
  1177. .pagination > li:last-child > a,
  1178. .pagination > li:last-child > span {
  1179. border-top-right-radius: 4px;
  1180. border-bottom-right-radius: 4px;
  1181. }
  1182. .pagination > li > a:hover,
  1183. .pagination > li > span:hover,
  1184. .pagination > li > a:focus,
  1185. .pagination > li > span:focus {
  1186. z-index: 2;
  1187. color: #23527c;
  1188. background-color: #eee;
  1189. border-color: #ddd;
  1190. }
  1191. .pagination > .active > a,
  1192. .pagination > .active > span,
  1193. .pagination > .active > a:hover,
  1194. .pagination > .active > span:hover,
  1195. .pagination > .active > a:focus,
  1196. .pagination > .active > span:focus {
  1197. z-index: 3;
  1198. color: #fff;
  1199. cursor: default;
  1200. background-color: #23abf0;
  1201. border-color: #23abf0;
  1202. }
  1203. .theme-black .pagination > .active > a,
  1204. .theme-black .pagination > .active > span,
  1205. .theme-black .pagination > .active > a:hover,
  1206. .theme-black .pagination > .active > span:hover,
  1207. .theme-black .pagination > .active > a:focus,
  1208. .theme-black .pagination > .active > span:focus {
  1209. z-index: 3;
  1210. color: #fff;
  1211. cursor: default;
  1212. background-color: #23abf0;
  1213. border-color: #23abf0;
  1214. }
  1215. .pagination > .disabled > span,
  1216. .pagination > .disabled > span:hover,
  1217. .pagination > .disabled > span:focus,
  1218. .pagination > .disabled > a,
  1219. .pagination > .disabled > a:hover,
  1220. .pagination > .disabled > a:focus {
  1221. color: #777;
  1222. cursor: not-allowed;
  1223. background-color: #fff;
  1224. border-color: #ddd;
  1225. }
  1226. .pagination-lg > li > a,
  1227. .pagination-lg > li > span {
  1228. padding: 10px 16px;
  1229. font-size: 18px;
  1230. line-height: 1.3333333;
  1231. }
  1232. .pagination-lg > li:first-child > a,
  1233. .pagination-lg > li:first-child > span {
  1234. border-top-left-radius: 6px;
  1235. border-bottom-left-radius: 6px;
  1236. }
  1237. .pagination-lg > li:last-child > a,
  1238. .pagination-lg > li:last-child > span {
  1239. border-top-right-radius: 6px;
  1240. border-bottom-right-radius: 6px;
  1241. }
  1242. .pagination-sm > li > a,
  1243. .pagination-sm > li > span {
  1244. padding: 5px 10px;
  1245. font-size: 12px;
  1246. line-height: 1.5;
  1247. }
  1248. .pagination-sm > li:first-child > a,
  1249. .pagination-sm > li:first-child > span {
  1250. border-top-left-radius: 3px;
  1251. border-bottom-left-radius: 3px;
  1252. }
  1253. .pagination-sm > li:last-child > a,
  1254. .pagination-sm > li:last-child > span {
  1255. border-top-right-radius: 3px;
  1256. border-bottom-right-radius: 3px;
  1257. }
  1258. .pagination-total {
  1259. height: 32px;
  1260. margin-top: 20px;
  1261. margin-bottom: 20px;
  1262. .am-vertical-align-middle {
  1263. font-size: 1.4rem;
  1264. }
  1265. }
  1266. /* 搜索表单*/
  1267. .search-form {
  1268. margin-bottom: 20px;
  1269. label {
  1270. padding: 0 10px !important;
  1271. font-weight: normal;
  1272. font-size: 1.4rem;
  1273. text-align: left !important;
  1274. height: 32px;
  1275. line-height: 32px;
  1276. width: 90px;
  1277. }
  1278. input {
  1279. width: auto !important;
  1280. padding: 4px 8px !important;
  1281. line-height: 1.42857 !important;
  1282. font-size: 1.4rem;
  1283. &::placeholder {
  1284. font-size: 1.4rem;
  1285. }
  1286. }
  1287. .item {
  1288. float: left;
  1289. margin-right: 20px;
  1290. &:last-child {
  1291. background-color: #0c7cb5;
  1292. float: right;
  1293. }
  1294. }
  1295. .am-selected {
  1296. float: left;
  1297. .am-btn-default {
  1298. border: 1px solid #ccc;
  1299. }
  1300. }
  1301. }
  1302. /* 表单页面*/
  1303. .am-form {
  1304. .form-require {
  1305. &::after {
  1306. content: "*";
  1307. color: #f00;
  1308. line-height: 18px;
  1309. }
  1310. }
  1311. .form-tab-group {
  1312. display: none;
  1313. &.active {
  1314. display: block;
  1315. }
  1316. }
  1317. .am-form-file {
  1318. padding-top: .4rem;
  1319. .upload-file {
  1320. font-size: 1.22rem;
  1321. padding: .5rem .9rem;
  1322. }
  1323. }
  1324. input[type=color] {
  1325. -webkit-appearance: square-button;
  1326. width: 5rem;
  1327. height: 2.2rem;
  1328. background-color: buttonface;
  1329. cursor: pointer;
  1330. border: 1px solid rgb(220, 220, 220);
  1331. border-image: initial;
  1332. padding: 0 2px;
  1333. }
  1334. input[type=text][disabled] {
  1335. background-color: initial;
  1336. }
  1337. .am-form-success {
  1338. .am-form-file {
  1339. [class*=icon-] {
  1340. color: #fff;
  1341. }
  1342. }
  1343. }
  1344. // 表单组
  1345. .am-input-group {
  1346. .am-input-group-label {
  1347. background: none;
  1348. border: none;
  1349. }
  1350. }
  1351. // 文件上传域
  1352. .am-form-file input[type=file] {
  1353. width: auto;
  1354. font-size: unset;
  1355. background: #000;
  1356. line-height: 110px;
  1357. }
  1358. }
  1359. .am-field-valid:focus,
  1360. .am-form-success .am-form-field:focus {
  1361. box-shadow: none !important;
  1362. -webkit-box-shadow: none !important;
  1363. }
  1364. .am-form-success {
  1365. label {
  1366. color: #656565 !important;
  1367. }
  1368. [class*=icon-] {
  1369. }
  1370. }
  1371. .am-field-valid {
  1372. & + .am-ucheck-icons {
  1373. color: #999;
  1374. }
  1375. }
  1376. .am-form small,
  1377. .help-block small {
  1378. color: #838fa1;
  1379. font-size: 1.2rem;
  1380. }