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

Articles.less 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @import '~antd/lib/style/themes/default.less';
  2. @import '../../utils/utils.less';
  3. .listContent {
  4. .description {
  5. line-height: 22px;
  6. max-width: 720px;
  7. }
  8. .extra {
  9. color: @text-color-secondary;
  10. margin-top: 16px;
  11. line-height: 22px;
  12. & > :global(.ant-avatar) {
  13. vertical-align: top;
  14. margin-right: 8px;
  15. width: 20px;
  16. height: 20px;
  17. position: relative;
  18. top: 1px;
  19. }
  20. & > em {
  21. color: @disabled-color;
  22. font-style: normal;
  23. margin-left: 16px;
  24. }
  25. }
  26. }
  27. a.listItemMetaTitle {
  28. color: @heading-color;
  29. }
  30. .listItemExtra {
  31. width: 272px;
  32. height: 1px;
  33. }
  34. .selfTrigger {
  35. margin-left: 12px;
  36. }
  37. @media screen and (max-width: @screen-xs) {
  38. .selfTrigger {
  39. display: block;
  40. margin-left: 0;
  41. }
  42. .listContent {
  43. .extra {
  44. & > em {
  45. display: block;
  46. margin-left: 0;
  47. margin-top: 8px;
  48. }
  49. }
  50. }
  51. }
  52. @media screen and (max-width: @screen-md) {
  53. .selfTrigger {
  54. display: block;
  55. margin-left: 0;
  56. }
  57. }
  58. @media screen and (max-width: @screen-lg) {
  59. .listItemExtra {
  60. width: 0;
  61. height: 1px;
  62. }
  63. }