common.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. * {
  2. font-family: PingFangSC-Regular, serif;
  3. }
  4. .pageContainer-body {
  5. width: calc(100% - 175px);
  6. height: 100%;
  7. display: inline-block;
  8. }
  9. .pageContainer-content {
  10. width: 100%;
  11. height: calc(100% - 60px);
  12. padding: 5px 10px;
  13. overflow: hidden;
  14. overflow-y: auto;
  15. }
  16. .ant-btn {
  17. margin: 0 3px !important;
  18. }
  19. @font-face {
  20. font-family: numberMH;
  21. src: url(../assets/fonts/Digiface-Regular.ttf);
  22. }
  23. @font-face {
  24. font-family: PingFangSC-Regular;
  25. src: url(../assets/fonts/PingFangSC-Regular.ttf);
  26. }
  27. @font-face {
  28. font-family: PingFangSC-Bold;
  29. src: url(../assets/fonts/PingFangSC-Bold.ttf);
  30. }
  31. /*滚动条样式*/
  32. ::-webkit-scrollbar {
  33. width: 8px;
  34. height: 8px;
  35. }
  36. ::-webkit-scrollbar-thumb {
  37. border-radius: 10px;
  38. background: #dddddd;
  39. }
  40. ::-webkit-scrollbar-track {
  41. border-radius: 10px;
  42. background: #eeeeee;
  43. }
  44. /*边框阴影*/
  45. .border-shadow {
  46. -webkit-box-shadow: 0 0 4px #0000004d;
  47. -moz-box-shadow: 0 0 4px #0000004d;
  48. box-shadow: 0 0 4px #0000004d;
  49. padding: 10px 20px;
  50. }
  51. /* fade-transform */
  52. .fade-transform--move,
  53. .fade-transform-leave-active,
  54. .fade-transform-enter-active {
  55. transition: all .5s;
  56. }
  57. .fade-transform-leave-active {
  58. position: absolute;
  59. }
  60. .fade-transform-enter {
  61. opacity: 0;
  62. transform: translateX(-30px);
  63. }
  64. .fade-transform-leave-to {
  65. opacity: 0;
  66. transform: translateX(30px);
  67. }