UserLayout.less 1.1 KB

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