动态菜单和动态路由的 antd pro

UserLayout.less 1006B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @import '~antd/lib/style/themes/default.less';
  2. .container {
  3. display: flex;
  4. flex-direction: column;
  5. height: 100vh;
  6. overflow: auto;
  7. background: #f0f2f5;
  8. }
  9. .content {
  10. padding: 32px 0;
  11. flex: 1;
  12. }
  13. @media (min-width: @screen-md-min) {
  14. .container {
  15. background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
  16. background-repeat: no-repeat;
  17. background-position: center 110px;
  18. background-size: 100%;
  19. }
  20. .content {
  21. padding: 112px 0 24px 0;
  22. }
  23. }
  24. .top {
  25. text-align: center;
  26. }
  27. .header {
  28. height: 44px;
  29. line-height: 44px;
  30. a {
  31. text-decoration: none;
  32. }
  33. }
  34. .logo {
  35. height: 44px;
  36. vertical-align: top;
  37. margin-right: 16px;
  38. }
  39. .title {
  40. font-size: 33px;
  41. color: @heading-color;
  42. font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
  43. font-weight: 600;
  44. position: relative;
  45. top: 2px;
  46. }
  47. .desc {
  48. font-size: @font-size-base;
  49. color: @text-color-secondary;
  50. margin-top: 12px;
  51. margin-bottom: 40px;
  52. }