UserLayout.less 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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: @layout-body-background;
  8. }
  9. .lang {
  10. text-align: right;
  11. width: 100%;
  12. height: 40px;
  13. line-height: 44px;
  14. :global(.ant-dropdown-trigger) {
  15. margin-right: 24px;
  16. }
  17. }
  18. .content {
  19. padding: 32px 0;
  20. flex: 1;
  21. }
  22. @media (min-width: @screen-md-min) {
  23. .container {
  24. background-repeat: no-repeat;
  25. background-position: center center;
  26. }
  27. .content {
  28. padding: 32px 0 24px 0;
  29. }
  30. }
  31. .top {
  32. text-align: center;
  33. }
  34. .header {
  35. height: 50px;
  36. line-height: 50px;
  37. a {
  38. text-decoration: none;
  39. }
  40. }
  41. .logo {
  42. height: 44px;
  43. vertical-align: top;
  44. margin-right: 16px;
  45. }
  46. .title {
  47. font-size: 33px;
  48. color: @heading-color;
  49. font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  50. font-weight: 600;
  51. position: relative;
  52. top: 2px;
  53. }
  54. .desc {
  55. font-size: @font-size-base;
  56. color: @text-color-secondary;
  57. margin-top: 12px;
  58. margin-bottom: 40px;
  59. }